target rank bound — Boolean sensitivity certificate
ProvedSensitivity213981Formal.ThreeBoundMinmaxRank.target_rank_boundboolean-functionssensitivitysensitivity-213981-formal
The following universally quantified assertion holds for the finite sets, Boolean families, tournament data, and profile coordinates defined in the imported interfaces. Each binder specifies the domain of its variable, and bracketed conditions specify finite or ordered structures.
Here ; denotes the finite subsets of . Named functions and predicates refer to their definitions in the cited source. This result supplies the corresponding target rank bound step in the verified -level sensitivity construction.
Preamble
import Definitions.Def_Sensitivity213981Formal_MinmaxB import Definitions.Def_Sensitivity213981Formal_MinmaxEntryMatch import Definitions.Def_Sensitivity213981Formal_MinmaxPairData import Definitions.Def_Sensitivity213981Formal_MinmaxRankExpressions import Definitions.Def_Sensitivity213981Formal_Namespaces import Definitions.Def_Sensitivity213981Formal_NamespacesComplete import Definitions.Def_Sensitivity213981Formal_Q2RawExpressions import Definitions.Def_Sensitivity213981Formal_RankProfileBounds import Definitions.Def_Sensitivity213981Formal_Supplement_FullProfileClosure import Definitions.Def_Sensitivity213981Formal_Supplement_GradedPositiveBoundary import Definitions.Def_Sensitivity213981Formal_Supplement_NumericExpressions import Definitions.Def_SensitivityCampaign import Definitions.Def_SensitivitySeparation import Lean.Elab.Tactic.Omega import Mathlib.Algebra.BigOperators.Field import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.GroupWithZero.Units.Equiv import Mathlib.Algebra.Order.Archimedean.Basic import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Algebra.Order.BigOperators.GroupWithZero.Finset import Mathlib.Algebra.Order.GroupWithZero.Basic import Mathlib.Algebra.Order.Ring.Nat import Mathlib.Algebra.Order.Ring.Pow import Mathlib.Analysis.SpecialFunctions.Log.Deriv import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Combinatorics.Digraph.Basic import Mathlib.Combinatorics.Hall.Finite import Mathlib.Data.Fin.Basic import Mathlib.Data.Finset.Card import Mathlib.Data.Finset.Lattice.Fold import Mathlib.Data.Finset.Powerset import Mathlib.Data.Finset.Prod import Mathlib.Data.Finset.Sort import Mathlib.Data.Finset.Union import Mathlib.Data.Fintype.Basic import Mathlib.Data.Fintype.BigOperators import Mathlib.Data.Fintype.EquivFin import Mathlib.Data.Fintype.Option import Mathlib.Data.Fintype.Pi import Mathlib.Data.Fintype.Powerset import Mathlib.Data.Fintype.Prod import Mathlib.Data.Fintype.Sum import Mathlib.Data.List.FinRange import Mathlib.Data.List.Sort import Mathlib.Data.Nat.Basic import Mathlib.Data.Nat.Choose.Basic import Mathlib.Data.Rat.Cast.Order import Mathlib.Logic.Equiv.Fin.Basic import Mathlib.NumberTheory.JacobiSum.Basic import Mathlib.NumberTheory.LegendreSymbol.Basic import Mathlib.Order.Interval.Finset.Nat import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.FinCases import Mathlib.Tactic.IntervalCases import Mathlib.Tactic.Linarith import Mathlib.Tactic.NormNum import Mathlib.Tactic.NormNum.Prime import Mathlib.Tactic.Positivity import Mathlib.Tactic.Push import Mathlib.Tactic.Ring import Mathlib.Tactic.Tauto set_option autoImplicit false set_option maxHeartbeats 0 set_option maxRecDepth 200000
Formal statement
theorem Sensitivity213981Formal.ThreeBoundMinmaxRank.target_rank_bound :
∀ {n : Nat} {I V : Type} [inst : Fintype.{0} I] [Fintype.{0} V] (F : Fin n → (I → Bool) → Bool)
(hF :
@Sensitivity213981Formal.ThreeBoundProfiles.Nested (Fin n) I
(@PartialOrder.toPreorder.{0} (Fin n) (@Fin.instPartialOrder n)) F)
(v : Sensitivity213981Formal.ThreeBoundFullProfile.Profile n)
(hv : @Sensitivity213981Formal.ThreeBoundFullProfile.Upper n I inst F v)
(e : Sensitivity213981Formal.ThreeBoundMinmaxRank.Entry) (d : Nat) (t u : Fin n)
(htu : @LE.le.{0} (Fin n) (@instLEFin n) t u)
(ht : @Eq.{1} Nat (@Fin.val n t) (Sensitivity213981Formal.ThreeBoundMinmaxNumeric.Entry.lowerAt e d))
(hu : @Eq.{1} Nat (@Fin.val n u) (Sensitivity213981Formal.ThreeBoundMinmaxNumeric.Entry.upperAt e d))
(x : Prod.{0, 0} (Prod.{0, 0} V Bool) I → Bool) (w : V) (side : Bool) (rx ry : Fin n)
(hx :
@Sensitivity213981Formal.ThreeBoundRankProfiles.RankState n I F
(@Sensitivity213981Formal.ThreeBoundWitness.child I V x w (Bool.not side)) rx)
(hy :
@Sensitivity213981Formal.ThreeBoundRankProfiles.RankState n I F
(@Sensitivity213981Formal.ThreeBoundWitness.child I V x w side) ry)
(hxy : @LE.le.{0} (Fin n) (@instLEFin n) rx ry)
(hmm :
@Eq.{1} Bool
(@Sensitivity213981Formal.ThreeBoundMinmaxTransfer.mm (Fin n) I F t u
(@Sensitivity213981Formal.ThreeBoundWitness.child I V x w Bool.false)
(@Sensitivity213981Formal.ThreeBoundWitness.child I V x w Bool.true))
Bool.true),
@LE.le.{0} Nat instLENat
(@Finset.card.{0} (Prod.{0, 0} (Prod.{0, 0} V Bool) I)
(@Sensitivity213981Formal.ThreeBoundMinmaxTransfer.mmTargetBits (Fin n) I V inst F t u x w))
(@Sensitivity213981Formal.ThreeBoundNumeric.Expr.eval n v
(@HAdd.hAdd.{0, 0, 0} (Sensitivity213981Formal.ThreeBoundNumeric.Expr n)
(Sensitivity213981Formal.ThreeBoundNumeric.Expr n) (Sensitivity213981Formal.ThreeBoundNumeric.Expr n)
(@instHAdd.{0} (Sensitivity213981Formal.ThreeBoundNumeric.Expr n)
(@Sensitivity213981Formal.ThreeBoundNumeric.instAddExpr_q2RawExpressions n))
(Sensitivity213981Formal.ThreeBoundRankProfiles.downRankExpr n
(Sensitivity213981Formal.ThreeBoundMinmaxRank.need n e (@Fin.val n ry) d) (@Fin.val n rx))
(Sensitivity213981Formal.ThreeBoundRankProfiles.downRankExpr n
(Sensitivity213981Formal.ThreeBoundMinmaxRank.need n e (@Fin.val n rx) d) (@Fin.val n ry)))) := by sorrySource