OAI/Analysis/Littlewood/ProductProbability.lean
34 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.AsymptoticallyMinimalLittlewood.Nibble.coinWeightline 15 - def
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectationline 18 - def
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHitline 21 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_prodline 24 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.coinWeight_sumline 32 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.coinWeight_nonnegline 37 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_constline 43 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_addline 46 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_subline 50 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_mul_constline 54 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_const_mulline 58 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_sumline 62 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_monoline 67 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_nonnegline 71 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.exists_le_expectationline 75 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHit_eqline 94 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHit_nonnegline 106 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHit_le_oneline 110 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHit_unionline 114 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_noHitline 119 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.one_sub_pow_leline 135 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHit_covariance_leline 141 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHit_sum_varianceline 159Source documentation
The second-moment estimate used for every residual degree. Each test set has size at most L and each independent edge-bit occurs in at most K tests.
lemma noHit_sum_variance {I : Type uI} [DecidableEq I] {p : ℝ} (hp : 0 ≤ p) (hp1 : p ≤ 1) (S : Finset I) (A : I → Finset E) {K L : ℝ} (hK0 : 0 ≤ K) (hL : ∀ i ∈ S, ((A i).card : ℝ) ≤ L) (hK : ∀ e, ((S.filter fun i ↦ e ∈ A i).card : ℝ) ≤ K) : let Y : (E → Bool) → ℝ := fun s ↦ ∑ i ∈ S, noHit (A i) s … - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.pow_bonferroniline 216 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.markov_indicatorline 228 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.chebyshev_indicatorline 237 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.exists_of_three_bad_boundsline 250 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.noHit_mean_errorline 262 - def
OAI.AsymptoticallyMinimalLittlewood.Nibble.selectedIndicatorline 292Source documentation
A Bernoulli indicator, for counting selected edges.
def selectedIndicator (e : E) (s : E → Bool) : ℝ := if s e then 1 else 0 …
- lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.selectedIndicator_eqline 295 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.selectedIndicator_nonnegline 300 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_selectedline 304 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation_selected_mulline 310 - lemma
OAI.AsymptoticallyMinimalLittlewood.Nibble.exists_controlled_outcomeline 325Source documentation
Simultaneous second-moment control of many local tests, one global test, and a nonnegative collision count. No randomness remains in the conclusion.
lemma exists_controlled_outcome {I : Type uI} [DecidableEq I] {p : ℝ} (hp : 0 ≤ p) (hp1 : p ≤ 1) (U : Finset I) (Y : I → (E → Bool) → ℝ) (Z W : (E → Bool) → ℝ) {V Vz M t b u c : ℝ} (ht : 0 < t) (hb : 0 < b) (hu : 0 < u) (hc : 0 < c) (hY : ∀ i ∈ U, expectation p (fun s ↦ (Y i s - expectation p (Y i))^2) ≤ V) (hZ : expectation p (fun s ↦ (Z s - expectation p Z)^2) ≤ Vz) (hW0 : ∀ s, 0 ≤ W s) (hW : expectation p W ≤ M) (hV : 4 * U.card * V ≤ t^2*b) (hVz : 4*Vz ≤ u^2) (hM : 4*M ≤ c) : ∃ s, (((U.filter fun i ↦ t < |Y i s - expectation p (Y i)|).card : ℝ) ≤ b) ∧ |Z s - expectation p Z| ≤ u ∧ W s ≤ c := by …Mentions: OAI.AsymptoticallyMinimalLittlewood.Nibble.expectation