OAI/Combinatorics/ProgressionColoring/FairBitTail.lean
8 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.QuantitativeVanDerWaerden.FairBitTail.weightline 21Source documentation
Each independent fair-bit assignment has this product weight.
def weight (_ω : Label → Bool) : ℝ := ∏ _i : Label, (1 / 2 : ℝ)
- theorem
OAI.QuantitativeVanDerWaerden.FairBitTail.weight_nonnegline 23 - def
OAI.QuantitativeVanDerWaerden.FairBitTail.deviationline 29Source documentation
The centered deficit contributed by one bit.
def deviation (b x : Bool) : ℝ := if x = b then -(1 / 2 : ℝ) else 1 / 2
- theorem
OAI.QuantitativeVanDerWaerden.FairBitTail.sum_deviationline 31 - theorem
OAI.QuantitativeVanDerWaerden.FairBitTail.exponential_momentline 49Source documentation
The exact moment generating function on any distinct label support.
theorem exponential_moment (S : Finset Label) (b : Bool) : (∑ ω : Label → Bool, weight ω * Real.exp (∑ i ∈ S, deviation b (ω i))) = Real.cosh (1 / 2 : ℝ) ^ S.card := by …Mentions: OAI.QuantitativeVanDerWaerden.FairBitTail.weight, OAI.QuantitativeVanDerWaerden.FairBitTail.deviation
- theorem
OAI.QuantitativeVanDerWaerden.FairBitTail.exponential_moment_leline 75 - theorem
OAI.QuantitativeVanDerWaerden.FairBitTail.one_bit_tailline 88Source documentation
Exponential Markov for the lower tail of either selected bit.
theorem one_bit_tail (S : Finset Label) (b : Bool) : (∑ ω : Label → Bool, if 4 * (S.filter fun i => ω i = b).card < S.card then weight ω else 0) ≤ Real.exp (-(S.card : ℝ) / 8) := by … - theorem
OAI.QuantitativeVanDerWaerden.FairBitTail.balancing_tailline 127Source documentation
Some bit has fewer than a quarter of the tested labels with probability at most
2 exp(-|S|/8). The empty support is included.theorem balancing_tail (S : Finset Label) : (∑ ω : Label → Bool, if ∃ b : Bool, 4 * (S.filter fun i => ω i = b).card < S.card then weight ω else 0) ≤ 2 * Real.exp (-(S.card : ℝ) / 8) := by …