PerturbationCoefficient.lean
1module23public import SubentropyCertificates.LogEnclosure4public import D5.S3.Quantum.Subentropy.UniformIntegrals5import all SubentropyCertificates.CounterexampleIntegral67/-! The exact integral in the three-label comparison in Section 6.2. -/8@[expose] public section9noncomputable section10open MeasureTheory Set11namespace SubentropyCertificates.ThreeLabelPerturbation12open D5.S3.Quantum.Subentropy.UniformIntegrals13open SubentropyCertificates.QuantumCounterexample1415def kernel (t : ℝ) : ℝ := 1 / ((1+2*t/3)*(1+t/6)^4)1617private def decomp (t : ℝ) := 128/27*diff (3/2) 6 t +18 (-64/3)*(1/(t+6)^2) + (-96)*(1/(t+6)^3) + (-432)*(1/(t+6)^4)1920private theorem partial_fraction {t : ℝ} (ht : 0 < t) : kernel t = decomp t := by21 have h1 : 0 < t+3/2 := by linarith22 have h2 : 0 < t+6 := by linarith23 have h3 : 0 < 1+2*t/3 := by linarith24 have h4 : 0 < 1+t/6 := by linarith25 unfold kernel decomp diff26 field_simp27 ring2829/-- Equation (non-dominance-coefficient), including convergence of its integral. -/30theorem coefficient_integral : IntegrableOn kernel (Ioi 0) ∧31 (∫ t in Ioi (0 : ℝ), kernel t) = (256*Real.log 2-150)/27 := by32 have ev (n : ℕ) : Evaluates (fun t : ℝ ↦ 1/(t+6)^(n+2))33 (1/(((n:ℝ)+1)*6^(n+1))) := inverse_power 6 (by norm_num) n34 have h := eval_add (eval_add (eval_add35 (eval_scale (128/27) (eval_diff (3/2) 6 (by norm_num) (by norm_num)))36 (eval_scale (-64/3) (ev 0))) (eval_scale (-96) (ev 1))) (eval_scale (-432) (ev 2))37 have he : ∀ t ∈ Ioi (0:ℝ), kernel t = decomp t := fun _ ht ↦ partial_fraction ht38 refine ⟨h.1.congr_fun (fun t ht ↦ (he t ht).symm) measurableSet_Ioi, ?_⟩39 rw [setIntegral_congr_fun measurableSet_Ioi he]40 rw [show (∫ t in Ioi (0:ℝ), decomp t) = _ from h.2]41 rw [← Real.log_div (by norm_num) (by norm_num), show (6:ℝ)/(3/2) = 2^2 by norm_num,42 Real.log_pow]43 norm_num44 ring4546/-- The displayed coefficient strictly exceeds the quadratic leading coefficient. -/47theorem coefficient_gt_one : 1 < (256*Real.log 2-150)/27 := by48 have h := (SubentropyCertificates.LogEnclosure.rational_log_enclosure (y := 2)49 (by norm_num) 4).150 norm_num [Finset.sum_range_succ] at h51 linarith5253end SubentropyCertificates.ThreeLabelPerturbation
Axioms used
Choose a statement to see which axioms its proof uses.