The finite simultaneous unary mixer estimate
Lax342547.UnaryMixers · concepts/Lax342547/UnaryMixers.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The union runs only over nonzero bounded-rank profiles, tags, and labels. All non-Z fixings are already covered by each individual bad event. The finite estimate gives a simultaneous choice whenever its explicit upper bound is below one. No unit law appears in that choice.
Concept map
Evidence
This concept declares 7 statements. Each proof establishes one of them relative to its assumptions.
1 exists_for_large_n proven
2 exists_of_failureBound_lt_one proven
3 exists_uniform_unary proven
4 failureBound_le_geometric proven
5 failureBound_lt_one proven
6 simultaneous_failure_bound proven
7 uniform_of_good proven
Lean source view on GitHub
| 1 | import Lax342547.UnaryRowLaw |
| 2 | import Lax342547.ProfileCounting |
| 3 | import Lax342547.CoordinateCounts |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: The finite simultaneous unary mixer estimate |
| 8 | type: lemma |
| 9 | --- |
| 10 | The union runs only over nonzero bounded-rank profiles, tags, and labels. |
| 11 | All non-Z fixings are already covered by each individual bad event. |
| 12 | The finite estimate gives a simultaneous choice whenever its explicit |
| 13 | upper bound is below one. No unit law appears in that choice. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax342547.UnaryMixers |
| 17 | |
| 18 | open Lax342547.MomentSpace Lax342547.TagGeometry Lax342547.ConcreteGeometry |
| 19 | open Lax342547.ConcreteCut Lax342547.CutProfiles Lax342547.UnaryRowLaw |
| 20 | |
| 21 | abbrev Test (k n b degree K : ℕ) := |
| 22 | {x : Profile k n b degree // ∑ e, (x.val e).rank ≤ K} × Tag k × (Fin b → Binary) |
| 23 | |
| 24 | noncomputable instance (k n b degree K : ℕ) : Fintype (Test k n b degree K) := Fintype.ofFinite _ |
| 25 | |
| 26 | def Good {k n b degree r₀ J : ℕ} {hr : 2 * r₀ ≤ n} |
| 27 | (D : Testers (k := k) (b := b) (degree := degree) hr) (K s₀ : ℕ) |
| 28 | (M : Index (Component (Tag k)) J → Moment k n b degree) : Prop := |
| 29 | ∀ x : Profile k n b degree, x ≠ 0 → (∑ e, (x.val e).rank ≤ K) → |
| 30 | ∀ l s, ¬ UnaryBad D x l s s₀ M |
| 31 | |
| 32 | def UniformUnary {k n b degree r₀ J : ℕ} {hr : 2 * r₀ ≤ n} |
| 33 | (D : Testers (k := k) (b := b) (degree := degree) hr) (K s₀ : ℕ) |
| 34 | (M : Index (Component (Tag k)) J → Moment k n b degree) : Prop := |
| 35 | ∀ x : Profile k n b degree, x ≠ 0 → (∑ e, (x.val e).rank ≤ K) → ∀ l s, |
| 36 | ∃ W : Submodule Binary (Module.Dual Binary (Fin n → Binary)), |
| 37 | Module.finrank Binary W ≤ 4 * J * (2 * k) * K ∧ |
| 38 | ∀ z : Base k n → Binary, ∀ hz : ∀ i, i ∉ allowedBase k n l → z i = 0, |
| 39 | 2 * (J - s₀) ≤ (FormalQuadratic.polarMatrix (fun v => |
| 40 | gradient D (leftMixers M) (rightMixers M) x (UnaryMixer.atomAlongZ l s z hz v))).rank ∧ |
| 41 | ∀ u v, (∀ a ∈ W, a u = a v) → |
| 42 | gradient D (leftMixers M) (rightMixers M) x (UnaryMixer.atomAlongZ l s z hz u) = |
| 43 | gradient D (leftMixers M) (rightMixers M) x (UnaryMixer.atomAlongZ l s z hz v) |
| 44 | |
| 45 | noncomputable def testCountBound (k n b degree K : ℕ) : ℕ := |
| 46 | ((K + 1) ^ Fintype.card (Component (Tag k)) * |
| 47 | 2 ^ (Fintype.card (Coordinate k n b degree) * K + K * K)) * (2 * k + 1) * 2 ^ b |
| 48 | |
| 49 | open scoped ENNReal |
| 50 | |
| 51 | noncomputable def failureBound (k n b degree J K s₀ : ℕ) : ℝ≥0∞ := |
| 52 | testCountBound k n b degree K * |
| 53 | (2 ^ (2 * J * K ^ 2 + (s₀ + 1) * (4 * J * (2 * k) * K)) / 2 ^ ((s₀ + 1) * n)) |
| 54 | |
| 55 | noncomputable def threshold (k b degree J K s₀ : ℕ) : ℕ := |
| 56 | (K + 1) ^ Fintype.card (Component (Tag k)) * (2 * k + 1) * 2 ^ b * |
| 57 | 2 ^ ((∑ j ∈ Finset.range (degree + 1), b.choose j) * K + K * K + |
| 58 | (2 * J * K ^ 2 + (s₀ + 1) * (4 * J * (2 * k) * K))) |
| 59 | |
| 60 | axiom failureBound_le_geometric (k n b degree J K s₀ : ℕ) |
| 61 | (hmargin : (∑ j ∈ Finset.range (degree + 1), b.choose j) * ((2 * k + 1) ^ 2 + 3) * K ≤ s₀) : |
| 62 | failureBound k n b degree J K s₀ ≤ (threshold k b degree J K s₀ : ℝ≥0∞) / 2 ^ n |
| 63 | |
| 64 | axiom uniform_of_good {k n b degree r₀ J K s₀ : ℕ} {hr : 2 * r₀ ≤ n} |
| 65 | (D : Testers (k := k) (b := b) (degree := degree) hr) |
| 66 | (M : Index (Component (Tag k)) J → Moment k n b degree) |
| 67 | (hM : Good D K s₀ M) : UniformUnary D K s₀ M |
| 68 | |
| 69 | axiom failureBound_lt_one (k n b degree J K s₀ : ℕ) |
| 70 | (hmargin : (∑ j ∈ Finset.range (degree + 1), b.choose j) * ((2 * k + 1) ^ 2 + 3) * K ≤ s₀) |
| 71 | (hn : threshold k b degree J K s₀ ≤ n) : |
| 72 | failureBound k n b degree J K s₀ < 1 |
| 73 | |
| 74 | axiom simultaneous_failure_bound {k n b degree r₀ J K : ℕ} {hr : 2 * r₀ ≤ n} |
| 75 | (hk : 0 < k) (D : Testers (k := k) (b := b) (degree := degree) hr) (s₀ : ℕ) : |
| 76 | (PMF.uniformOfFintype (Index (Component (Tag k)) J → Moment k n b degree)).toOuterMeasure |
| 77 | {M | ¬ Good D K s₀ M} ≤ failureBound k n b degree J K s₀ |
| 78 | |
| 79 | axiom exists_of_failureBound_lt_one {k n b degree r₀ J K : ℕ} {hr : 2 * r₀ ≤ n} |
| 80 | (hk : 0 < k) (D : Testers (k := k) (b := b) (degree := degree) hr) (s₀ : ℕ) |
| 81 | (hsmall : failureBound k n b degree J K s₀ < 1) : |
| 82 | ∃ M : Index (Component (Tag k)) J → Moment k n b degree, Good D K s₀ M |
| 83 | |
| 84 | axiom exists_for_large_n (k b degree J K s₀ : ℕ) (hk : 0 < k) |
| 85 | (hmargin : (∑ j ∈ Finset.range (degree + 1), b.choose j) * ((2 * k + 1) ^ 2 + 3) * K ≤ s₀) : |
| 86 | ∃ n₀, ∀ n, n₀ ≤ n → ∀ r₀ (hr : 2 * r₀ ≤ n) |
| 87 | (D : Testers (k := k) (b := b) (degree := degree) hr), |
| 88 | ∃ M : Index (Component (Tag k)) J → Moment k n b degree, Good D K s₀ M |
| 89 | |
| 90 | axiom exists_uniform_unary (k b degree J K s₀ : ℕ) (hk : 0 < k) |
| 91 | (hmargin : (∑ j ∈ Finset.range (degree + 1), b.choose j) * ((2 * k + 1) ^ 2 + 3) * K ≤ s₀) : |
| 92 | ∃ n₀, ∀ n, n₀ ≤ n → ∀ r₀ (hr : 2 * r₀ ≤ n) |
| 93 | (D : Testers (k := k) (b := b) (degree := degree) hr), |
| 94 | ∃ M : Index (Component (Tag k)) J → Moment k n b degree, UniformUnary D K s₀ M |
| 95 | |
| 96 | end Lax342547.UnaryMixers |
| 97 |
Used by
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments