Uniform relative Gram normalization errors
Lax342547.HistogramGram · concepts/Lax342547/HistogramGram.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The actual injective Gram event differs from its independent-bit factor by at most twice the column-rank exception. Independent groups multiply with an additive relative error budget, including growing slot batches.
Concept map
Evidence
This concept declares 5 statements. Each proof establishes one of them relative to its assumptions.
1 half_ambient_error proven
2 independent_groups_error proven
3 normalized_bounds proven
4 normalized_error proven
5 product_error proven
Lean source view on GitHub
| 1 | import Lax342547.GramNormalization |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Uniform relative Gram normalization errors |
| 6 | type: lemma |
| 7 | --- |
| 8 | The actual injective Gram event differs from its independent-bit factor |
| 9 | by at most twice the column-rank exception. Independent groups multiply |
| 10 | with an additive relative error budget, including growing slot batches. |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax342547.HistogramGram |
| 14 | |
| 15 | open Lax342547.MomentSpace |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | noncomputable def normalized {I J N : Type} [Fintype I] [Fintype J] [Fintype N] |
| 19 | [DecidableEq I] [DecidableEq J] [DecidableEq N] (G : Matrix I J Binary) : ℝ := |
| 20 | (2 : ℝ)^(Fintype.card I*Fintype.card J)*(Lax342547.GramNormalization.probability (N := N) G).toReal |
| 21 | |
| 22 | axiom normalized_bounds {I J N : Type} [Fintype I] [Fintype J] [Fintype N] |
| 23 | [DecidableEq I] [DecidableEq J] [DecidableEq N] (G : Matrix I J Binary) |
| 24 | (hN : Fintype.card I+Fintype.card J ≤ Fintype.card N) : |
| 25 | 0 ≤ normalized (N := N) G ∧ normalized (N := N) G ≤ 1 ∧ |
| 26 | 1-2*((2 : ℝ)^(Fintype.card I+Fintype.card J)/(2 : ℝ)^Fintype.card N) ≤ normalized (N := N) G |
| 27 | |
| 28 | axiom normalized_error {I J N : Type} [Fintype I] [Fintype J] [Fintype N] |
| 29 | [DecidableEq I] [DecidableEq J] [DecidableEq N] (G : Matrix I J Binary) |
| 30 | (hN : Fintype.card I+Fintype.card J ≤ Fintype.card N) : |
| 31 | |normalized (N := N) G-1| ≤ |
| 32 | 2*((2 : ℝ)^(Fintype.card I+Fintype.card J)/(2 : ℝ)^Fintype.card N) |
| 33 | |
| 34 | axiom product_error {D : Type} (S : Finset D) (q ε : D → ℝ) |
| 35 | (hq : ∀ d ∈ S,0 ≤ q d ∧ q d ≤ 1) (hε : ∀ d ∈ S,0 ≤ ε d) |
| 36 | (herr : ∀ d ∈ S,1-ε d ≤ q d) : |
| 37 | |(∏ d ∈ S,q d)-1| ≤ ∑ d ∈ S,ε d |
| 38 | |
| 39 | axiom independent_groups_error {S N : Type} [Fintype S] [Fintype N] [DecidableEq N] |
| 40 | {I J : S → Type} [∀ s,Fintype (I s)] [∀ s,Fintype (J s)] |
| 41 | [∀ s,DecidableEq (I s)] [∀ s,DecidableEq (J s)] |
| 42 | (G : ∀ s,Matrix (I s) (J s) Binary) |
| 43 | (hN : ∀ s,Fintype.card (I s)+Fintype.card (J s) ≤ Fintype.card N) : |
| 44 | |(∏ s,normalized (N := N) (G s))-1| ≤ |
| 45 | ∑ s,2*((2 : ℝ)^(Fintype.card (I s)+Fintype.card (J s))/(2 : ℝ)^Fintype.card N) |
| 46 | |
| 47 | axiom half_ambient_error {I J N : Type} [Fintype I] [Fintype J] [Fintype N] |
| 48 | [DecidableEq I] [DecidableEq J] [DecidableEq N] (G : Matrix I J Binary) |
| 49 | (hN : Fintype.card I+Fintype.card J ≤ Fintype.card N/2) : |
| 50 | |normalized (N := N) G-1| ≤ 2/(2 : ℝ)^(Fintype.card N/2) |
| 51 | |
| 52 | end Lax342547.HistogramGram |
| 53 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments