Rational Basis for the Robin Certificate
Abstract
Sharp rational logarithm bounds and an exact rational checker certify the additive Robin gap at 10080 without floating-point assumptions.
Definition 1.1 (Truncated atanh expansion).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.atanhPartial (✓ std3).
Source. Repository-derived.
Commentary.
For real t and natural K, atanhPartial is twice the sum over natural j with 0 <= j < K of t^(2j+1)/(2j+1). The denominator is coerced to the reals. This is the defining expression in the ZECKENDORF_EULER_5040 appendix.
Definition 1.2 (Atanh reduction parameter).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.atanhParameter (✓ std3).
Source. Repository-derived.
Commentary.
For real y, atanhParameter is exactly (y-1)/(y+1), as stated in the ZECKENDORF_EULER_5040 appendix.
Theorem 1.3 (Atanh parameter interval).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.atanhParameter_lt_third (✓ std3). ∎
Source. Repository-derived.
Commentary.
For 1 <= y < 2, the appendix parameter is nonnegative and strictly less than 1/3. This elementary estimate is stated as in the ZECKENDORF_EULER_5040 appendix.
Definition 1.4 (Named logarithm remainder).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.logRemainder (✓ std3).
Source. Repository-derived.
Commentary.
For real y and natural K, logRemainder is exactly log y minus the truncated atanh series evaluated at atanhParameter y.
Theorem 1.5 (Sharp logarithm expansion remainder).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.log_expansion_remainder_bound (✓ std3). ∎
Source. Repository-derived.
Commentary.
For 1 <= y < 2, substitute t=(y-1)/(y+1). The logarithm exceeds the finite sum by a nonnegative remainder bounded by 2t^(2K+1)/((2K+1)(1-t^2)). The sharp factor 1/(2K+1) is proved by an integral majorant. This is the first boxed statement of the ZECKENDORF_EULER_5040 appendix and an elementary atanh-series remainder estimate stated there.
Theorem 1.6 (Termwise logarithmic estimate).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.log_harmonic_term_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
For positive real x, the displayed strict two-sided estimate bounds log((x+1)/x)-1/(x+1). It is the elementary appendix estimate used to prove A.1, stated as in ZECKENDORF_EULER_5040.
Theorem 1.7 (Euler–Mascheroni tail identity).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.eulerMascheroni_tail_identity (✓ std3). ∎
Source. Repository-derived.
Commentary.
附录展示的尾和恒等式
Theorem 1.8 (Euler–Mascheroni remainder bracket A.1).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.eulerMascheroni_remainder_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
For every natural N >= 1, this is exactly equation (A.1) of the ZECKENDORF_EULER_5040 appendix. The proof squeezes strictly monotone and antitone corrected harmonic sequences to the Euler–Mascheroni constant; this elementary harmonic-asymptotic estimate is stated as in that appendix.
Theorem 1.9 (Pinned decimal bounds for log 2).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.log_two_decimal_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
This companion records the two certified Mathlib decimal inequalities for log 2. Its consumer is eulerMascheroni_decimal_bounds through the logarithm-of-1000 calculation.
Theorem 1.10 (Decimal Euler–Mascheroni bracket).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.eulerMascheroni_decimal_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
The N=1000 specialization of A.1, together with the sharp logarithm expansion, proves 0.5772155 < gamma_EM < 0.5772161 in the Lean kernel.
Definition 1.11 (Rational interval data).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.RationalBracket (✓ std3).
Source. Repository-derived.
Commentary.
RationalBracket is a structure with rational fields lower and upper. It is data; endpoint order and semantic containment are checked separately.
Definition 1.12 (Semantic bracket containment).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.Contains (✓ std3).
Source. Repository-derived.
Commentary.
Contains b x means that the rational endpoints b.lower and b.upper, each coerced to the reals, enclose x with non-strict inequalities.
Definition 1.13 (Truncated rational exponential).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.expPartial (✓ std3).
Source. Repository-derived.
Commentary.
For rational q and natural term count, expPartial is Mathlib’s exponential formal-series partial sum evaluated at q.
Theorem 1.14 (Finite-sum form of the exponential partial sum).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.expPartial_eq_sum (✓ std3). ∎
Source. Repository-derived.
Commentary.
The Mathlib formal-series wrapper equals the rational indexed sum over natural i in range terms of q^i/i!.
Definition 1.15 (Additive Robin gap).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.robinDelta (✓ std3).
Source. Repository-derived.
Commentary.
The additive Robin gap exp(gamma_EM) times n times log(log n), minus sigma_1(n), is an auxiliary quantity of this module. The volume’s chapter-9 margin Delta(n) = gamma_EM + log(log(log n)) - log(sigma_1(n)/n) is a different (logarithmic) quantity, formalized in the companion module GoldenCell5040Certificate. Only the signs of the two agree, and no identity between them is claimed here. Its exact rational basis follows 「ZECKENDORF_EULER_5040 附录」.
Definition 1.16 (Rational positivity predicate).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.RobinPositiveJudge (✓ std3).
Source. Repository-derived.
Commentary.
This module’s own auxiliary judge for the additive Robin gap checks ordered gamma and log-log brackets, nonnegative lower endpoints, and one strict rational inequality. sigma_1(n) and n are coerced to rationals. Its exact rational basis follows 「ZECKENDORF_EULER_5040 附录」; no floating-point value enters this predicate.
Definition 1.17 (Decidability of the rational judge).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.robinPositiveJudgeDecidable (✓ std3).
Source. Repository-derived.
Commentary.
For every natural input and rational bracket pair, the checker predicate has the explicitly named Decidable instance robinPositiveJudgeDecidable.
Theorem 1.18 (Soundness of the rational checker).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.robinPositiveJudge_sound (✓ std3). ∎
Source. Repository-derived.
Commentary.
Valid semantic brackets and this module’s own auxiliary judge imply positivity of the additive Robin gap. The proof lower-bounds exp(gamma_EM) by the truncated Taylor sum from the exact rational basis in 「ZECKENDORF_EULER_5040 附录」 and uses monotonicity. This is the general result named by the checker utility record, not an identity with the volume’s logarithmic margin.
Theorem 1.19 (Logarithm bounds after binary scaling).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.log_pow_two_mul_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
For positive natural k and 1 <= y < 2, the appendix log-2 bracket and sharp atanh remainder give the displayed enclosure of log(2^k y).
Theorem 1.20 (Transfer a checked atanh calculation).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.rational_log_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
An exact identity x=2^k y and a checked pair of rational endpoint inequalities transfer to lo < log x < hi. This public helper is consumed by module 2.
Theorem 1.21 (Transfer logarithm endpoint bounds).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.log_interval_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
For 0<a<x<b, a certified lower bound for log a and upper bound for log b transfer across strict monotonicity of the real logarithm.
Theorem 1.22 (Rational bounds for log 10080).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.log_10080_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
The public exact-rational calculation encloses log 10080 between the displayed endpoints.
Theorem 1.23 (Rational bounds for log log 10080).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.logLog_10080_bounds (✓ std3). ∎
Source. Repository-derived.
Commentary.
The public interval transfer encloses log(log 10080); its endpoints are those stored in logLog10080Bracket.
Definition 1.24 (Concrete gamma checker input).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.gammaBracket (✓ std3).
Source. Repository-derived.
Commentary.
gammaBracket is exactly the pair 5772155/10000000 and 5772161/10000000.
Definition 1.25 (Concrete log-log checker input).
Formalization. D5/S3/Arith/GoldenResource/RobinRationalBasis.logLog10080Bracket (✓ std3).
Source. Repository-derived.
Commentary.
logLog10080Bracket is exactly the pair 55529789/25000000 and 222119157/100000000.
Theorem 1.26 (First exact checker computation).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.robin_positive_judge_10080 (✓ std3). ∎
Source. Repository-derived.
Commentary.
Kernel reduction proves that four exponential terms make the rational checker true at n=10080. The exact divisor sum sigma_1(10080)=39312 is proved privately.
Theorem 1.27 (Positive additive Robin gap at 10080).
Proof. Machine-checked in Lean as D5/S3/Arith/GoldenResource/RobinRationalBasis.robin_delta_10080_pos (✓ std3). ∎
Source. Repository-derived.
Commentary.
Checker soundness, the two semantic brackets, and the decided four-term input from the exact rational basis in 「ZECKENDORF_EULER_5040 附录」 prove that this module’s own auxiliary additive Robin gap is positive at 10080 without floating point; this is not an identity with the volume’s logarithmic margin.
References
- Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.Contains - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.RationalBracket - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.RobinPositiveJudge - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.atanhParameter - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.atanhParameter_lt_third - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.atanhPartial - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.eulerMascheroni_decimal_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.eulerMascheroni_remainder_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.eulerMascheroni_tail_identity - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.expPartial - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.expPartial_eq_sum - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.gammaBracket - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.logLog10080Bracket - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.logLog_10080_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.logRemainder - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.log_10080_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.log_expansion_remainder_bound - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.log_harmonic_term_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.log_interval_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.log_pow_two_mul_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.log_two_decimal_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.rational_log_bounds - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.robinDelta - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.robinPositiveJudgeDecidable - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.robinPositiveJudge_sound - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.robin_delta_10080_pos - Truth anchor:
D5/S3/Arith/GoldenResource/RobinRationalBasis.robin_positive_judge_10080