Actual gradient-realized cells in the collision averaging law
Lax342547.ActualCellCollision · concepts/Lax342547/ActualCellCollision.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The checked retained-cell theorem is expressed in the ambient conditional laws used by finite record averaging. All targets are constructed from actual recipes, and both cell caps come from the original PMF leaf min-entropy.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax342547.RawCellEntropy |
| 2 | import Lax342547.CellRepresentatives |
| 3 | import Lax342547.GradientRealization |
| 4 | |
| 5 | import Lax342547.RawRetainedCells |
| 6 | import Lax342547.ConditionalPairs |
| 7 | |
| 8 | /-! |
| 9 | --- |
| 10 | title: Actual gradient-realized cells in the collision averaging law |
| 11 | type: lemma |
| 12 | --- |
| 13 | The checked retained-cell theorem is expressed in the ambient conditional laws used by finite record averaging. All targets are constructed from actual recipes, and both cell caps come from the original PMF leaf min-entropy. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax342547.ActualCellCollision |
| 17 | |
| 18 | open Lax342547.MomentSpace Lax342547.ConcreteGeometry Lax342547.TagGeometry Lax342547.CutProfiles |
| 19 | open Lax342547.ConcreteCut Lax342547.PairedWitnesses Lax342547.PairedRecipes |
| 20 | open Lax342547.ExactPins Lax342547.ReferencePins Lax342547.QueryReference Lax342547.QueryIndependence |
| 21 | open Lax342547.RawBaselines Lax342547.JoinedRecords Lax342547.RealCellLaws Lax342547.FrozenCellDirections |
| 22 | open Lax342547.TableContractions Lax342547.KeySpans Lax342547.PrimalGramTests Lax342547.HoleRelation |
| 23 | open scoped ENNReal |
| 24 | |
| 25 | axiom realized_conditional_four_holes {k n b degree r J K : ℕ} {hr : 2 * r ≤ n} {H N : Type} |
| 26 | [Fintype H] [Fintype N] {M : Moment k n b degree} |
| 27 | (hk0 : 0 < k) (W : Lists k n b degree r hr) (pA pB : PMF (Unit (H := H) (N := N) (E := M))) |
| 28 | (P Q : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N) |
| 29 | (hP : P.rank ≤ K) (hQ : Q.rank ≤ K) |
| 30 | (A B : Fin 2 → Finset (Fin b → Binary)) |
| 31 | (hA : Lax342547.PinLabelExclusions.Covers P A (2*K+28)) |
| 32 | (hB : Lax342547.PinLabelExclusions.Covers Q B (2*K+28)) |
| 33 | (C D : Unit (H := H) (N := N) (E := M) → Prop) |
| 34 | (refA refB : Unit (H := H) (N := N) (E := M)) (hAr : C refA) (hBr : D refB) |
| 35 | (hC : ∀ o, C o → o ∈ P.event observation ∧ leftTuple W o = leftTuple W refA ∧ |
| 36 | leftRecord W Q refB o = leftRecord W Q refB refA) |
| 37 | (hD : ∀ o, D o → o ∈ Q.event observation ∧ rightTuple W o = rightTuple W refB ∧ |
| 38 | rightRecord W P refA o = rightRecord W P refA refB) |
| 39 | (hkey : leftTuple W refA = rightTuple W refB) |
| 40 | (testers : Testers (k := k) (b := b) (degree := degree) hr) |
| 41 | (L R : Fin J → Component (Tag k) → Component (Tag k) → Moment k n b degree) |
| 42 | (holes : HoleData (Component (Tag k) → Lax342547.RawFrames.Frame (Coordinate k n b degree) H N M) |
| 43 | (Profile k n b degree) (Component (Tag k) → Matrix N N Binary)) |
| 44 | (hrole : holes.a = testers.role) (hgradient : holes.T = gradient testers L R) |
| 45 | (hU : ∀ o, holes.U o = (Lax342547.RawFrames.profileMap o).comp (Profile k n b degree).subtype) |
| 46 | (hu : ∀ o, holes.u o = Lax342547.RawFrames.profileContraction o) |
| 47 | (T : Lax342547.SmallTables.Table P Q) (hT : Lax342547.SmallTables.Injecting T) |
| 48 | (hrecipe : ScalarRecipe W testers L R refA refB T A B) |
| 49 | (hgradients : ∀ i, Lax342547.ConcreteRecipes.RecipeGradients testers L R |
| 50 | (endpointAtoms W i) (oppositeP W refB i)) |
| 51 | (hgradients' : ∀ z, Lax342547.ConcreteRecipes.RecipeGradients testers L R |
| 52 | (endpointAtoms (flip W) z) (oppositeP (flip W) refA z)) |
| 53 | (hadmissible : Lax342547.SmallTables.Admissible T observation observation refA refB) |
| 54 | (hdegree : 6*(2*K+28)+4 ≤ degree) |
| 55 | (hmargin : 28*J*Fintype.card (Component (Tag k)) + |
| 56 | Lax342547.CompressedResidual.quotientBound k b degree K (14*K+140) + 2*K+4*(3*K+28) < 970*r) |
| 57 | (hchannels : 1000*r ≤ Fintype.card H) |
| 58 | (ζ : ℝ) (hζ : 0 ≤ ζ) (hζsmall : ζ ≤ 1/1000) |
| 59 | (hk : 2*ζ*Fintype.card (Lax342547.QuerySlots.Slot W) ≤ (1/500 : ℝ)) |
| 60 | (hmassA : (2 : ℝ)^(-((Fintype.card (Lax342547.QuerySlots.Slot W) : ℝ)+1/100)*Fintype.card N) ≤ |
| 61 | (pA.toOuterMeasure {o | C o}).toReal) |
| 62 | (hmassB : (2 : ℝ)^(-((Fintype.card (Lax342547.QuerySlots.Slot W) : ℝ)+1/100)*Fintype.card N) ≤ |
| 63 | (pB.toOuterMeasure {o | D o}).toReal) |
| 64 | (hcapA : ∀ T : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N, |
| 65 | 1 ≤ P.relativeRank T → pA.toOuterMeasure (T.event observation) ≤ |
| 66 | ((2 : ℝ≥0∞)^(-(1-2*ζ)*Fintype.card N))^(P.relativeRank T)) |
| 67 | (hcapB : ∀ T : Pin (Component (Tag k) × Bool) (Fin 2 × (Coordinate k n b degree ⊕ H)) N, |
| 68 | 1 ≤ Q.relativeRank T → pB.toOuterMeasure (T.event observation) ≤ |
| 69 | ((2 : ℝ≥0∞)^(-(1-2*ζ)*Fintype.card N))^(Q.relativeRank T)) |
| 70 | (hsmall : (2 : ℝ)^(-(45/100 : ℝ)*Fintype.card N) ≤ |
| 71 | 1/(2 : ℝ)^(16 * Fintype.card (Component (Tag k)) * Fintype.card H * Fintype.card (Coordinate k n b degree)+1)) : by |
| 72 | classical |
| 73 | exact 1/(2 : ℝ)^(16 * Fintype.card (Component (Tag k)) * Fintype.card H * Fintype.card (Coordinate k n b degree)+1) ≤ |
| 74 | Lax342547.CellAveraging.pairEventMass |
| 75 | (Lax342547.RetainedImages.conditionalLaw (weights pA) C) |
| 76 | (Lax342547.RetainedImages.conditionalLaw (weights pB) D) |
| 77 | (fun x y => ∀ i z, Hole holes (x i) (y z)) |
| 78 | |
| 79 | end Lax342547.ActualCellCollision |
| 80 |
Builds on
Used by
none
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments