Soundness of rational value and derivative enclosures for finite theta branches
ProvedMasulloRH.HeightTwoScalar.theta_row_soundLet be a theta-row certificate, let select its direct or reflected branch, and suppose its rational validity conditions hold. Supply the exponential endpoint inequalities specified by the row; the reflected branch additionally requires the two bounds for its prefactor .
Let denote the chosen finite theta model with truncation index , and let be its explicit derivative expression, both defined in MasulloRH_ThetaCertificate. Then every in the row's interval satisfies
The rational checks include the intermediate product, polynomial and moment-polynomial enclosures. The exponential inequalities remain explicit hypotheses, normally supplied by the separate exponential-certificate soundness theorem. This statement concerns finite branch models. Their comparison with the actual infinite theta function, and the branch restrictions needed for truncation-error bounds, are separate obligations.
import Mathlib import Definitions.Def_MasulloRH_ThetaCertificate set_option autoImplicit false open scoped BigOperators open Set _root_.MasulloRH.CertifiedExp _root_.MasulloRH.Certificates open _root_.MasulloRH.HeightTwoScalar
theorem MasulloRH.HeightTwoScalar.theta_row_sound
(q : ThetaRow) (reflected : Bool) (hq : q.Valid reflected)
(eiL : (q.iL : ℝ) ≤ Real.exp (q.iArgL : ℝ))
(eiU : Real.exp (q.iArgU : ℝ) ≤ (q.iU : ℝ))
(erL : (q.rL : ℝ) ≤ Real.exp (q.rArgL : ℝ))
(erU : Real.exp (q.rArgU : ℝ) ≤ (q.rU : ℝ))
(epref : reflected = true →
(q.prefL : ℝ) ≤ Real.exp (q.prefArgL : ℝ) ∧
Real.exp (q.prefArgU : ℝ) ≤ (q.prefU : ℝ)) :
∀ x ∈ Set.Icc (q.left : ℝ) (q.right : ℝ),
((q.valueL : ℝ) ≤ thetaBranchModel 6 reflected x ∧
thetaBranchModel 6 reflected x ≤ (q.valueU : ℝ)) ∧
((q.derivL : ℝ) ≤ thetaBranchDerivative 6 reflected x ∧
thetaBranchDerivative 6 reflected x ≤ (q.derivU : ℝ)) := by sorry