Joint sensitivity of two true tolerant families
ProvedPaley11987Verified.Sensitivity2075.tolerant_pair_oneFor a Boolean function on a finite coordinate set, write and for its sensitivity and block sensitivity. For an input , let , where flips coordinate .
Let be a tournament, its labels, and a nested family of Boolean functions on a finite coordinate set. Write for the tolerant family obtained from target level , guard level , and tolerance . The symbols denote the five conditional bounds on the sets defined in the accompanying profile interface. All indices and cost parameters are natural numbers; subtraction between natural numbers is truncated at zero.
Suppose has vertices and constant outdegree , and its labels take values. Let count coordinates at which both and change when flipped. Let and bound this count for ordered pairs of levels of whose current values are both false and both true, respectively. Choose levels and , and an input where both and are true. Then the joint sensitivity functional from the transfer foundation satisfies
The claim holds for all natural and all finite child coordinate sets. It bounds a pair of true output levels using the corresponding child pair bounds.
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.Pow import Mathlib.Analysis.SpecialFunctions.Log.Deriv 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.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.Prod import Mathlib.Data.Fintype.Sum 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 import Definitions.Def_Paley11987Support_019 set_option autoImplicit false set_option Elab.async false
theorem Paley11987Verified.Sensitivity2075.tolerant_pair_one :
∀ {n k r : Nat} {I : Type} [inst : Fintype.{0} I] (T : OAI.Paper320.Tournament k) (label : Fin k → Fin k → Fin r)
(F : Fin n → (I → Bool) → Bool),
@OAI.Paper320.NestedFamily n I F →
∀ (o q : Nat),
(∀ (i : Fin k),
@Eq.{1} Nat
(@Finset.card.{0} (Fin k)
(@Finset.filter.{0} (Fin k) (@Digraph.Adj.{0} (Fin k) (@OAI.Paper320.Tournament.toDigraph k T) i)
(fun a =>
Classical.propDecidable (@Digraph.Adj.{0} (Fin k) (@OAI.Paper320.Tournament.toDigraph k T) i a))
(@Finset.univ.{0} (Fin k) (Fin.fintype k))))
o) →
∀ (Z Y : Fin n → Fin n → Nat),
@Sensitivity205.PairBound n I inst F Bool.false Z →
@Sensitivity205.PairBound n I inst F Bool.true Y →
∀ (Ai Aj Gi Gj : Fin n),
@LE.le.{0} (Fin n) (@instLEFin n) Ai Aj →
@LE.le.{0} (Fin n) (@instLEFin n) Gj Gi →
∀ (x : Prod.{0, 0} (Prod.{0, 0} (Fin k) (Fin r)) I → Bool),
@Eq.{1} Bool (@Sensitivity2075.tolerantFamily n k r I T label F Ai Gi q x) Bool.true →
@Eq.{1} Bool (@Sensitivity2075.tolerantFamily n k r I T label F Aj Gj q x) Bool.true →
@LE.le.{0} Nat instLENat
(@OAI.Paper320.jointSensitivityAt (Prod.{0, 0} (Prod.{0, 0} (Fin k) (Fin r)) I)
(@instFintypeProd.{0, 0} (Prod.{0, 0} (Fin k) (Fin r)) I
(@instFintypeProd.{0, 0} (Fin k) (Fin r) (Fin.fintype k) (Fin.fintype r)) inst)
(@Sensitivity2075.tolerantFamily n k r I T label F Ai Gi q)
(@Sensitivity2075.tolerantFamily n k r I T label F Aj Gj q) x)
(@HAdd.hAdd.{0, 0, 0} Nat Nat Nat (@instHAdd.{0} Nat instAddNat)
(@HMul.hMul.{0, 0, 0} Nat Nat Nat (@instHMul.{0} Nat instMulNat) r (Y Ai Aj))
(@HMul.hMul.{0, 0, 0} Nat Nat Nat (@instHMul.{0} Nat instMulNat)
(@HSub.hSub.{0, 0, 0} Nat Nat Nat (@instHSub.{0} Nat instSubNat) o q) (Z Gj Gi))) := by sorry