Supplement Numeric Expressions — sensitivity certificate definitions
DefinitionSensitivity213981Formal_Supplement_NumericExpressionsboolean-functionssensitivitysensitivity-213981-formal
The definitions for Numeric Expressions 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 ThreeBoundNumeric.Expr.minimum.
Definition code
import Definitions.Def_Sensitivity213981Formal_Namespaces
import Definitions.Def_Sensitivity213981Formal_NumericExpressions
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
namespace Sensitivity213981Formal
section
/- Homogeneous arithmetic expressions for the exact sensitivity transfer.
Every operation is interpreted in Nat. In particular subtraction is truncated
subtraction, which commutes with multiplication by every natural scalar. -/
set_option autoImplicit false
namespace ThreeBoundNumeric
open ThreeBoundFullProfile
def Expr.minimum {n : ℕ} (first : Expr n) (es : List (Expr n)) : Expr n :=
es.foldl .min first
end ThreeBoundNumeric
end
end Sensitivity213981Formal
Source