Record Set Lookup — sensitivity certificate definitions
DefinitionSensitivity213981Formal_RecordSetLookupboolean-functionssensitivitysensitivity-213981-formal
The definitions for Record Set Lookup in the Boolean sensitivity construction. This interface preserves the data, predicates, finite structures, and essential constructor facts of the verified source module. All variables, indexing types, and numerical constants have the meanings specified by these definitions. The subsequent certificate theorems establish the required bounds; this interface adds no unproved assumptions.
The principal source declarations are ThreeBoundRecordLookup.Tree, ThreeBoundRecordLookup.Tree.elements.
Definition code
import Definitions.Def_Sensitivity213981Formal_Namespaces import Definitions.Def_Sensitivity213981Formal_Q2Enumeration import Definitions.Def_SensitivityCampaign import Definitions.Def_SensitivitySeparation import Lean.Elab.Tactic.Omega import Mathlib.Data.Finset.Sort import Mathlib.Data.List.FinRange import Mathlib.Data.List.Sort namespace Sensitivity213981Formal section /- A finite exact-row search tree. Search soundness does not assume that the tree is ordered: a successful search always matches an actual leaf. -/ set_option autoImplicit false namespace ThreeBoundRecordLookup inductive Tree where | leaf : List ℕ → Tree | branch : List ℕ → Tree → Tree → Tree def Tree.elements : Tree → List (List ℕ) | .leaf row => [row] | .branch _ left right => left.elements ++ right.elements end ThreeBoundRecordLookup end end Sensitivity213981Formal
Source