Simultaneous agreement of linear cross Gram tests on retained cells
Lax342547.ScalarGramAgreement · concepts/Lax342547/ScalarGramAgreement.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Expand the actual family of scalar Gram tests into coefficient characters. Frozen agreement and all-rank conditional image caps imply agreement of the entire family at cost two to the number of tests plus one.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax342547.RetainedCharacters |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Simultaneous agreement of linear cross Gram tests on retained cells |
| 6 | type: lemma |
| 7 | --- |
| 8 | Expand the actual family of scalar Gram tests into coefficient characters. Frozen agreement and all-rank conditional image caps imply agreement of the entire family at cost two to the number of tests plus one. |
| 9 | -/ |
| 10 | |
| 11 | namespace Lax342547.ScalarGramAgreement |
| 12 | |
| 13 | open Lax342547.MomentSpace Lax342547.Walsh Lax342547.ConcreteGeometry |
| 14 | open Lax342547.CoefficientPhase Lax342547.PushforwardWalsh Lax342547.RetainedCharacters |
| 15 | open Lax342547.FourierTests |
| 16 | |
| 17 | noncomputable def coefficient {I S : Type} [Fintype S] |
| 18 | (tests : S → Matrix I I Binary) (t : S → Binary) : Matrix I I Binary := |
| 19 | ∑ s, t s • tests s |
| 20 | |
| 21 | noncomputable def actualBits {I S N : Type} [Fintype I] [Fintype N] |
| 22 | (tests : S → Matrix I I Binary) (X Y : Matrix N I Binary) : S → Binary := |
| 23 | fun s => coefficientPair (tests s) X Y |
| 24 | |
| 25 | noncomputable def targetBits {I S : Type} [Fintype I] |
| 26 | (tests : S → Matrix I I Binary) (T : LinearMap.BilinForm Binary (I → Binary)) : S → Binary := by |
| 27 | classical |
| 28 | exact fun s => matrixPair (LinearMap.BilinForm.toMatrix' T) (tests s) |
| 29 | |
| 30 | axiom coefficient_character {I S N : Type} [Fintype I] [Fintype S] [Fintype N] |
| 31 | (tests : S → Matrix I I Binary) (t : S → Binary) (X Y : Matrix N I Binary) |
| 32 | (T : LinearMap.BilinForm Binary (I → Binary)) : by |
| 33 | classical |
| 34 | exact phase t (actualBits tests X Y) * phase t (targetBits tests T) = |
| 35 | sign (coefficientPair (coefficient tests t) X Y + |
| 36 | matrixPair (LinearMap.BilinForm.toMatrix' T) (coefficient tests t)) |
| 37 | |
| 38 | axiom scalar_gram_agreement {ΩA ΩB I S N : Type} |
| 39 | [Fintype ΩA] [Fintype ΩB] [Fintype I] [Fintype S] [Fintype N] |
| 40 | (α : ΩA → ℝ) (β : ΩB → ℝ) |
| 41 | (X : ΩA → Matrix N I Binary) (Y : ΩB → Matrix N I Binary) |
| 42 | (D E : Submodule Binary (I → Binary)) (T : LinearMap.BilinForm Binary (I → Binary)) |
| 43 | (tests : S → Matrix I I Binary) |
| 44 | (hα : ∀ a, 0 ≤ α a) (hβ : ∀ b, 0 ≤ β b) |
| 45 | (hαsum : ∑ a, α a = 1) (hβsum : ∑ b, β b = 1) |
| 46 | (hD : ∀ a b v, v ∈ D → ∀ w, actualForm (X a) (Y b) v w = T v w) |
| 47 | (hE : ∀ a b v w, w ∈ E → actualForm (X a) (Y b) v w = T v w) |
| 48 | (hcapA : ∀ r (A : Matrix I (Fin r) Binary), Function.Injective (D.mkQ.comp A.mulVecLin) → |
| 49 | ∀ x, push α (fun a => factorImage A (X a)) x ≤ |
| 50 | (2 : ℝ)^(-(95/100 : ℝ)*(r * Fintype.card N))) |
| 51 | (hcapB : ∀ r (B : Matrix I (Fin r) Binary), Function.Injective (E.mkQ.comp B.mulVecLin) → |
| 52 | ∀ y, push β (fun b => factorImage B (Y b)) y ≤ |
| 53 | (2 : ℝ)^(-(95/100 : ℝ)*(r * Fintype.card N))) |
| 54 | (hsmall : (2 : ℝ)^(-(45/100 : ℝ)*Fintype.card N) ≤ |
| 55 | 1 / (2 : ℝ)^(Fintype.card S + 1)) : |
| 56 | 1 / (2 : ℝ)^(Fintype.card S + 1) ≤ |
| 57 | patternMass (fun ab : ΩA × ΩB => α ab.1 * β ab.2) |
| 58 | (fun ab => actualBits tests (X ab.1) (Y ab.2)) (targetBits tests T) |
| 59 | |
| 60 | end Lax342547.ScalarGramAgreement |
| 61 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments