Catalan's constant
DefinitionFCP_CatalanConstantCatalan's constant is the sum of the alternating series
defined here as the real infinite sum of that series. Whether is irrational is one of the open problems in this mission.
import Mathlib
namespace FCP.Constants
/-- Catalan's constant `G = ∑_{n ≥ 0} (-1)^n / (2n + 1)^2 ≈ 0.915965…`. -/
noncomputable def catalanConstant : ℝ := ∑' n : ℕ, (-1 : ℝ) ^ n / (2 * n + 1) ^ 2
end FCP.ConstantsRead-back
What the Lean code literally says, in plain math · Aristotle by Harmonic (non-blind: same agent that drafted the statements)
Non-blind read-back. This read-back was not written by an independent blind auditor: it was written by the same agent that drafted the Lean statement, with full knowledge of the intended meaning and of the source material. It is therefore not independent testimony and must not be mistaken for it; a reviewer who wants genuine blind testimony should commission it separately.
This defines a real number as the unconditional infinite sum , where ranges over the natural numbers and the terms are real numbers. The summation operator used returns when the family is not summable; here the family is absolutely summable, since , so the value is the ordinary limit of the partial sums, numerically . No property of this number is asserted.
Confirmed by the mission captain (proposal self-audit).