Soundness of uniform lower bounds for finite lookup tables
ProvedSensitivity213981Formal.ThreeBoundNumeric.NatTable.lowerCheck_soundboolean-functionssensitivitysensitivity-213981-formal
For a natural-valued binary lookup table T and a natural number b, a successful recursive lowerCheck(b,T) certifies b ≤ T(i) for every natural-number index i.
Preamble
import Definitions.Def_Sensitivity213981Formal_Namespaces import Definitions.Def_Sensitivity213981Formal_NamespacesComplete import Definitions.Def_Sensitivity213981Formal_NatTableChecks 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.NatTable.lowerCheck_sound :
∀ (bound : Nat) (table : Sensitivity213981Formal.ThreeBoundNumeric.NatTable)
(h : @Eq.{1} Bool (Sensitivity213981Formal.ThreeBoundNumeric.NatTable.lowerCheck bound table) Bool.true) (i : Nat),
@LE.le.{0} Nat instLENat bound (Sensitivity213981Formal.ThreeBoundNumeric.NatTable.get table i) := by sorrySource