Semantic exclusions imply the pair-specific record filter
ProvedThreeBoundRecordAllowedAlgorithm.recordAllowedFor_ofboolean-functionsformal-proofsensitivity-separation-213303
Let be weak and strong recipe entries, let be a record, and assume its general cap filter accepts. Suppose every tier satisfies the following additional restrictions: when and , the relevant guard and overlap counts vanish; when a pure positive count is nonzero, differs from the applicable weak/previous-strong target barrier. Then
This separates the mathematical exclusion hypotheses from their executable Boolean filter.
Preamble
import Definitions.Def_SensitivityCampaign import Definitions.Def_SensitivitySeparation import Lean.Elab.Tactic.Omega import Mathlib.Algebra.Order.Ring.Nat import Mathlib.Data.Finset.Union import Mathlib.Data.List.FinRange import Mathlib.Tactic.Ring import Definitions.Def_Sensitivity213303_FullProfileClosure import Definitions.Def_Sensitivity213303_NumericExpressions import Definitions.Def_Sensitivity213303_ProfileClosures import Definitions.Def_Sensitivity213303_Q2RawExpressions namespace ThreeBoundNumeric end ThreeBoundNumeric set_option autoImplicit false set_option maxHeartbeats 4000000 namespace ThreeBoundRecordAllowedAlgorithm end ThreeBoundRecordAllowedAlgorithm open ThreeBoundRecordAllowedAlgorithm open ThreeBoundNumeric
Formal statement
theorem ThreeBoundRecordAllowedAlgorithm.recordAllowedFor_of (caps : Caps) (a c : Entry) (r : Q2Record)
(hallowed : allowedRecord caps c.tolerance r = true)
(hguard : ∀ k, k ≤ c.tolerance →
k < a.tolerance → a.threshold (k+1) ≤ c.threshold k →
r (3+k)=0 ∧ (k=0 → r 6=0) ∧ (k=1 → r 7=0))
(hpositive : ∀ k, k ≤ c.tolerance → r k≠0 →
c.guard ≠ (if k=0 then a.threshold k else min (a.threshold k) (c.threshold (k-1)))) :
recordAllowedFor caps a c r = true := by sorrySource
Original Lean formalization for the Prove2Me sensitivity campaign, RecordAllowedAlgorithm, lines 24–53; source SHA256 0890dfe0ea7f207a310834ba1791f0d3210cfcaa03b2df0efac350fe6fd48bed.