Every profile-closure inference preserves a valid Boolean bound
ProvedSensitivity213981Formal.ThreeBoundNumeric.ClosureCertificate.rule_sound_twoboolean-functionssensitivitysensitivity-213981-formal
Let be a nested Boolean family, and let be one of the defined profile-closure rules. If natural numbers give valid semantic bounds at the rule's two source coordinates, then
holds. The combination is for one-source monotonicity rules, for the union rule, and for partition rules. This theorem makes a finite closure certificate a proof of profile bounds rather than a numerical heuristic.
Preamble
import Definitions.Def_Sensitivity213981Formal_ClosureCertificate import Definitions.Def_Sensitivity213981Formal_Namespaces import Definitions.Def_Sensitivity213981Formal_NamespacesComplete import Definitions.Def_Sensitivity213981Formal_ProfileClosures import Definitions.Def_Sensitivity213981Formal_Supplement_FullProfileClosure import Definitions.Def_SensitivityCampaign import Definitions.Def_SensitivitySeparation import Lean.Elab.Tactic.Omega import Mathlib.Algebra.Order.Ring.Nat import Mathlib.Data.Finset.Lattice.Fold import Mathlib.Data.Finset.Union import Mathlib.Data.Fintype.Pi import Mathlib.Data.Fintype.Powerset import Mathlib.Data.List.FinRange import Mathlib.Tactic.Ring set_option autoImplicit false set_option maxHeartbeats 0 set_option maxRecDepth 200000
Formal statement
theorem Sensitivity213981Formal.ThreeBoundNumeric.ClosureCertificate.rule_sound_two :
∀ {n : Nat} {I : Type} [inst : Fintype.{0} I] (F : Fin n → (I → Bool) → Bool)
(hF :
@Sensitivity213981Formal.ThreeBoundProfiles.Nested (Fin n) I
(@PartialOrder.toPreorder.{0} (Fin n) (@Fin.instPartialOrder n)) F)
(r : Sensitivity213981Formal.ThreeBoundFullProfile.Rule n) (x y : Nat)
(hx :
@Sensitivity213981Formal.ThreeBoundFullProfile.Sem n I inst F
(@Sensitivity213981Formal.ThreeBoundNumeric.ClosureCertificate.source₀ n r) x)
(hy :
@Sensitivity213981Formal.ThreeBoundFullProfile.Sem n I inst F
(@Sensitivity213981Formal.ThreeBoundNumeric.ClosureCertificate.source₁ n r) y),
@Sensitivity213981Formal.ThreeBoundFullProfile.Sem n I inst F
(@Sensitivity213981Formal.ThreeBoundFullProfile.Rule.target n r)
(@Sensitivity213981Formal.ThreeBoundNumeric.ClosureCertificate.combine n r x y) := by sorrySource