Tiny-cover four-bit parity bounds
Lax342547.FourPhaseParity · concepts/Lax342547/FourPhaseParity.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Four even-support characters exactly recover the compatible-pair probability; twelve remaining characters contribute an explicit error, preserving inverse-polynomial mass.
Concept map
Evidence
This concept declares 8 statements. Each proof establishes one of them relative to its assumptions.
1 duplicate_injective proven
2 even_character_sum proven
3 even_iff_duplicate proven
4 four_phase_parity_lower proven
5 odd_character_card proven
6 phase_duplicate proven
7 tiny_four_phase_lower proven
8 tiny_four_phase_positive proven
Lean source view on GitHub
| 1 | import Lax342547.FourierTests |
| 2 | import Lax342547.TinyCompatibility |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Tiny-cover four-bit parity bounds |
| 7 | type: lemma |
| 8 | --- |
| 9 | Four even-support characters exactly recover the compatible-pair probability; twelve remaining characters contribute an explicit error, preserving inverse-polynomial mass. |
| 10 | -/ |
| 11 | |
| 12 | namespace Lax342547.FourPhaseParity |
| 13 | |
| 14 | open Lax342547.MomentSpace Lax342547.Walsh Lax342547.FourierTests |
| 15 | open Lax342547.RelativeEntropy Lax342547.CellAveraging |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | def duplicate (t : Fin 2 → Binary) : Fin 4 → Binary := ![t 0,t 0,t 1,t 1] |
| 19 | def parity (b : Fin 4 → Binary) : Fin 2 → Binary := ![b 0+b 1,b 2+b 3] |
| 20 | abbrev Even (t : Fin 4 → Binary) : Prop := t 0 = t 1 ∧ t 2 = t 3 |
| 21 | |
| 22 | axiom phase_duplicate (t : Fin 2 → Binary) (b : Fin 4 → Binary) : |
| 23 | phase (duplicate t) b = phase t (parity b) |
| 24 | |
| 25 | axiom duplicate_injective : Function.Injective duplicate |
| 26 | |
| 27 | axiom even_iff_duplicate (t : Fin 4 → Binary) : |
| 28 | Even t ↔ ∃ s, duplicate s = t |
| 29 | |
| 30 | axiom even_character_sum {Ω : Type} [Fintype Ω] |
| 31 | (ρ : Ω → ℝ) (bits : Ω → Fin 4 → Binary) : |
| 32 | (∑ t ∈ Finset.univ.filter Even, characterMean ρ bits 0 t) = |
| 33 | 4*patternMass ρ (fun ω => parity (bits ω)) 0 |
| 34 | |
| 35 | axiom odd_character_card : (Finset.univ.filter (fun t : Fin 4 → Binary => ¬ Even t)).card = 12 |
| 36 | |
| 37 | axiom four_phase_parity_lower {Ω : Type} [Fintype Ω] |
| 38 | (ρ : Ω → ℝ) (bits : Ω → Fin 4 → Binary) (ε : ℝ) |
| 39 | (hodd : ∀ t, ¬ Even t → |characterMean ρ bits 0 t| ≤ ε) : |
| 40 | patternMass ρ (fun ω => parity (bits ω)) 0/4-3*ε/4 ≤ patternMass ρ bits 0 |
| 41 | |
| 42 | axiom tiny_four_phase_lower {Ω : Type} [Fintype Ω] [DecidableEq Ω] |
| 43 | (μ : Ω → ℝ) (F : Matrix Ω Ω Binary) (bits : Ω × Ω → Fin 4 → Binary) (d N : ℕ) (ε : ℝ) |
| 44 | (hμ : Probability μ) (hdiag : ∀ a, F a a = 0) (hrank : F.rank ≤ d*N) |
| 45 | (hparity : ∀ a b, parity (bits (a,b)) = ![F a b,F b a]) |
| 46 | (hodd : ∀ t, ¬ Even t → |characterMean (fun ab : Ω × Ω => μ ab.1*μ ab.2) bits 0 t| ≤ ε) : |
| 47 | 1/(16*(1+(d : ℝ)*N)^4)-3*ε/4 ≤ |
| 48 | patternMass (fun ab : Ω × Ω => μ ab.1*μ ab.2) bits 0 |
| 49 | |
| 50 | axiom tiny_four_phase_positive {Ω : Type} [Fintype Ω] [DecidableEq Ω] |
| 51 | (μ : Ω → ℝ) (F : Matrix Ω Ω Binary) (bits : Ω × Ω → Fin 4 → Binary) (d N : ℕ) (ε : ℝ) |
| 52 | (hμ : Probability μ) (hdiag : ∀ a, F a a = 0) (hrank : F.rank ≤ d*N) |
| 53 | (hparity : ∀ a b, parity (bits (a,b)) = ![F a b,F b a]) |
| 54 | (hodd : ∀ t, ¬ Even t → |characterMean (fun ab : Ω × Ω => μ ab.1*μ ab.2) bits 0 t| ≤ ε) |
| 55 | (hε : ε ≤ 1/(24*(1+(d : ℝ)*N)^4)) : |
| 56 | 1/(32*(1+(d : ℝ)*N)^4) ≤ |
| 57 | patternMass (fun ab : Ω × Ω => μ ab.1*μ ab.2) bits 0 |
| 58 | |
| 59 | end Lax342547.FourPhaseParity |
| 60 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments