Pratik Patil

CrossoverEndpoints.lean

1module23public import SubentropyCertificates.BinaryLogIntervals45/-! Appendix F.3. Exact signs at the two decimal endpoints using 50 logarithm terms. -/6@[expose] public section7set_option maxRecDepth 1000008set_option maxHeartbeats 30000009namespace SubentropyCertificates.BinaryIntervals10open SubentropyCertificates.LogEnclosure SubentropyCertificates.ClassicalCurve11open SubentropyCertificates.SmallOverlap1213private def leftEnd : ℚ := 767875711400/100000000000014private def rightEnd : ℚ := 767875711401/10000000000001516private theorem left_rational :17    logUpper 50 2 - 1/2 - phiLo 50 4 ((1-leftEnd)/2) - phiLo 50 3 (leftEnd^2/4) < 0 := by18  decide +kernel1920private theorem right_rational :21    0 < logLower 50 2 - 1/2 - phiHi 50 4 ((1-rightEnd)/2) - phiHi 50 3 (rightEnd^2/4) := by22  decide +kernel2324/-- Exact signs of q(s)−Φ₂(s²/4) at the endpoints printed in Appendix F.3. -/25theorem crossover_endpoint_signs :26    let s : ℝ := 767875711400/100000000000027    let t : ℝ := 767875711401/100000000000028    conditionalCurve s - phi 0 (s^2/4) < 0 ∧ 0 < conditionalCurve t - phi 0 (t^2/4) := by29  have h₁ := comparison_interval 50 4 3 (s:=leftEnd) (by decide +kernel) (by decide +kernel) (by decide +kernel) (by decide +kernel)30  have h₂ := comparison_interval 50 4 3 (s:=rightEnd) (by decide +kernel) (by decide +kernel) (by decide +kernel) (by decide +kernel)31  have hL := h₁.2.trans_lt (show ((_ : ℚ) : ℝ) < 0 by exact_mod_cast left_rational)32  have hR := h₂.1.trans_lt' (show 0 < ((_ : ℚ) : ℝ) by exact_mod_cast right_rational)33  simpa only [leftEnd,rightEnd,Rat.cast_div,Rat.cast_ofNat] using And.intro hL hR3435end SubentropyCertificates.BinaryIntervals

Axioms used

Choose a statement to see which axioms its proof uses.