Key-indexed original record cells
Lax342547.RecordCollision · concepts/Lax342547/RecordCollision.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Refining a key by a unary record preserves accepted key mass. Matching retained record cells sum to the retained collision mass, with nonnegative subprobability weights.
Concept map
Evidence
This concept declares 4 statements. Each proof establishes one of them relative to its assumptions.
1 key_record_mass_nonneg proven
2 key_record_mass_subprobability proven
3 key_record_mass_total proven
4 retained_key_record_identity proven
Lean source view on GitHub
| 1 | import Lax342547.KeyMeasures |
| 2 | import Lax342547.CellAveraging |
| 3 | import Lax342547.CollisionPruning |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Key-indexed original record cells |
| 8 | type: lemma |
| 9 | --- |
| 10 | Refining a key by a unary record preserves accepted key mass. Matching retained record cells sum to the retained collision mass, with nonnegative subprobability weights. |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax342547.RecordCollision |
| 14 | |
| 15 | open Lax342547.KeyMeasures Lax342547.CellAveraging Lax342547.RetainedImages Lax342547.CollisionPruning |
| 16 | |
| 17 | noncomputable def keyRecordMass {Ω Q C : Type} [Fintype Ω] |
| 18 | (ρ : Ω → ℝ) (key : Ω → Q) (record : Ω → C) (accept : Ω → Prop) (q : Q) (c : C) : ℝ := |
| 19 | recordMass ρ (fun ω => (key ω,record ω)) accept (q,c) |
| 20 | |
| 21 | axiom key_record_mass_total {Ω Q C : Type} [Fintype Ω] [Fintype C] |
| 22 | (ρ : Ω → ℝ) (key : Ω → Q) (record : Ω → C) (accept : Ω → Prop) (q : Q) : |
| 23 | (∑ c, keyRecordMass ρ key record accept q c) = keyMass ρ key accept q |
| 24 | |
| 25 | axiom retained_key_record_identity {Q C D : Type} [Fintype Q] [Fintype C] [Fintype D] |
| 26 | (a : Q → C → ℝ) (b : Q → D → ℝ) (τ : ℝ) : |
| 27 | retainedPairs (fun qc : Q × C => a qc.1 qc.2) (fun qd : Q × D => b qd.1 qd.2) |
| 28 | (fun qc qd => qc.1 = qd.1) τ = ∑ q, retained (a q) τ * retained (b q) τ |
| 29 | |
| 30 | axiom key_record_mass_nonneg {Ω Q C : Type} [Fintype Ω] |
| 31 | (ρ : Ω → ℝ) (key : Ω → Q) (record : Ω → C) (accept : Ω → Prop) |
| 32 | (hρ : ∀ ω, 0 ≤ ρ ω) (q : Q) (c : C) : 0 ≤ keyRecordMass ρ key record accept q c |
| 33 | |
| 34 | axiom key_record_mass_subprobability {Ω Q C : Type} [Fintype Ω] [Fintype Q] [Fintype C] |
| 35 | (ρ : Ω → ℝ) (key : Ω → Q) (record : Ω → C) (accept : Ω → Prop) |
| 36 | (hρ : ∀ ω, 0 ≤ ρ ω) (hsum : ∑ ω, ρ ω ≤ 1) : |
| 37 | (∑ q, ∑ c, keyRecordMass ρ key record accept q c) ≤ 1 |
| 38 | |
| 39 | end Lax342547.RecordCollision |
| 40 |
Used by
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments