Actual independent leaf averaging and original-law collision cost
Lax342547.LeafCollision · concepts/Lax342547/LeafCollision.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Finite PMF mixtures preserve the actual leaf masses. Affine collision bounds average over independent leaves without renormalization, skipped pairs remain valid, and squared restriction recovery gives the explicit original-law exponential lower bound.
Concept map
Evidence
This concept declares 5 statements. Each proof establishes one of them relative to its assumptions.
1 mixture_real_weights proven
2 original_law_exponential_collision proven
3 real_pair_mixture proven
4 skipped_collision_bound proven
5 weighted_collision_lower proven
Lean source view on GitHub
| 1 | import Lax342547.IndependentMixtures |
| 2 | import Lax342547.ParameterCellAveraging |
| 3 | import Lax342547.CollisionCosts |
| 4 | import Lax342547.CellAveraging |
| 5 | |
| 6 | /-! |
| 7 | --- |
| 8 | title: Actual independent leaf averaging and original-law collision cost |
| 9 | type: lemma |
| 10 | --- |
| 11 | Finite PMF mixtures preserve the actual leaf masses. Affine collision bounds average over independent leaves without renormalization, skipped pairs remain valid, and squared restriction recovery gives the explicit original-law exponential lower bound. |
| 12 | -/ |
| 13 | |
| 14 | namespace Lax342547.LeafCollision |
| 15 | |
| 16 | open Lax342547.RealCellLaws Lax342547.PairRecovery Lax342547.ParameterCellAveraging |
| 17 | open scoped ENNReal |
| 18 | |
| 19 | axiom mixture_real_weights {Ω J : Type} [Fintype J] |
| 20 | (p : J → PMF Ω) (p₀ : PMF Ω) (w : J → ℝ≥0∞) |
| 21 | (hw : ∀ j, w j ≠ ⊤) (hp : ∀ a, p₀ a = ∑ j, w j * p j a) (a : Ω) : |
| 22 | weights p₀ a = ∑ j, (w j).toReal * weights (p j) a |
| 23 | |
| 24 | axiom real_pair_mixture {ΩA ΩB J K : Type} |
| 25 | [Fintype ΩA] [Fintype ΩB] [Fintype J] [Fintype K] |
| 26 | (p : J → PMF ΩA) (q : K → PMF ΩB) (p₀ : PMF ΩA) (q₀ : PMF ΩB) |
| 27 | (w : J → ℝ≥0∞) (v : K → ℝ≥0∞) |
| 28 | (hw : ∀ j, w j ≠ ⊤) (hv : ∀ k, v k ≠ ⊤) |
| 29 | (hp : ∀ a, p₀ a = ∑ j, w j * p j a) (hq : ∀ b, q₀ b = ∑ k, v k * q k b) |
| 30 | (H : ΩA → ΩB → Prop) : |
| 31 | pairMass (weights p₀) (weights q₀) H = |
| 32 | average (fun j => (w j).toReal) (fun k => (v k).toReal) |
| 33 | (fun j k => pairMass (weights (p j)) (weights (q k)) H) |
| 34 | |
| 35 | axiom weighted_collision_lower {ΩA ΩB J K : Type} |
| 36 | [Fintype ΩA] [Fintype ΩB] [Fintype J] [Fintype K] |
| 37 | (p : J → PMF ΩA) (q : K → PMF ΩB) (p₀ : PMF ΩA) (q₀ : PMF ΩB) |
| 38 | (w : J → ℝ≥0∞) (v : K → ℝ≥0∞) |
| 39 | (hw : ∀ j, w j ≠ ⊤) (hv : ∀ k, v k ≠ ⊤) |
| 40 | (hwsum : ∑ j, (w j).toReal = 1) (hvsum : ∑ k, (v k).toReal = 1) |
| 41 | (hp : ∀ a, p₀ a = ∑ j, w j * p j a) (hq : ∀ b, q₀ b = ∑ k, v k * q k b) |
| 42 | (H : ΩA → ΩB → Prop) (overlap : J → K → ℝ) (keys error agreement : ℝ) |
| 43 | (hbound : ∀ j k, agreement*(overlap j k-error)/keys ≤ |
| 44 | pairMass (weights (p j)) (weights (q k)) H) : |
| 45 | agreement*(average (fun j => (w j).toReal) (fun k => (v k).toReal) overlap-error)/keys ≤ |
| 46 | pairMass (weights p₀) (weights q₀) H |
| 47 | |
| 48 | axiom skipped_collision_bound {ΩA ΩB : Type} [Fintype ΩA] [Fintype ΩB] |
| 49 | (p : PMF ΩA) (q : PMF ΩB) (H : ΩA → ΩB → Prop) |
| 50 | (use : Prop) (overlap keys error agreement : ℝ) |
| 51 | (hkeys : 0 < keys) (herror : 0 ≤ error) (hagreement : 0 ≤ agreement) |
| 52 | (hbound : use → agreement*(overlap-error)/keys ≤ pairMass (weights p) (weights q) H) : by |
| 53 | classical |
| 54 | exact agreement*((if use then overlap else 0)-error)/keys ≤ pairMass (weights p) (weights q) H |
| 55 | |
| 56 | axiom original_law_exponential_collision {Ω J : Type} [Fintype Ω] [Fintype J] |
| 57 | (σ : PMF Ω) (S : Set Ω) (hS : ∃ o ∈ S, o ∈ σ.support) |
| 58 | (p : J → PMF Ω) (w : J → ℝ≥0∞) (hw : ∀ j, w j ≠ ⊤) |
| 59 | (hwsum : ∑ j, (w j).toReal = 1) |
| 60 | (hp : ∀ a, (σ.filter S hS) a = ∑ j, w j * p j a) |
| 61 | (H : Ω → Ω → Prop) (overlap : J → J → ℝ) (k η N keys error agreement : ℝ) |
| 62 | (hkeys : 0 < keys) (hkeybound : keys ≤ (2:ℝ)^(k*N)) |
| 63 | (hoverlap : (2:ℝ)^(-η*N) ≤ average (fun j => (w j).toReal) (fun j => (w j).toReal) overlap) |
| 64 | (herror : error ≤ (2:ℝ)^(-N/200)) (hscale : 1 ≤ (1/200-η)*N) |
| 65 | (hagreement : (2:ℝ)^(-N/50) ≤ agreement) |
| 66 | (hmass : (2:ℝ)^(-η*N) ≤ (σ.toOuterMeasure S).toReal) |
| 67 | (hbound : ∀ j l, agreement*(overlap j l-error)/keys ≤ pairMass (weights (p j)) (weights (p l)) H) : |
| 68 | (2:ℝ)^(-((k+1/50+3*η)*N)-1) ≤ |
| 69 | ((independentPair σ σ).toOuterMeasure {ab | H ab.1 ab.2}).toReal |
| 70 | |
| 71 | end Lax342547.LeafCollision |
| 72 |
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