A good sample from the explicit container budget
Lax342547.GoodSamples · concepts/Lax342547/GoodSamples.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The vertex and disjoint pair exception tails sum over the finite container family. If their explicit total budget is less than one, a sample avoiding every terminal exception event exists.
Concept map
Evidence
This concept declares 4 statements. Each proof establishes one of them relative to its assumptions.
1 bad_sample_bound proven
2 cell_mass_or proven
3 exists_good_sample proven
4 mass_less_one_exists_complement proven
Lean source view on GitHub
| 1 | import Lax342547.DisjointSampling |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: A good sample from the explicit container budget |
| 6 | type: lemma |
| 7 | --- |
| 8 | The vertex and disjoint pair exception tails sum over the finite container family. If their explicit total budget is less than one, a sample avoiding every terminal exception event exists. |
| 9 | -/ |
| 10 | |
| 11 | namespace Lax342547.GoodSamples |
| 12 | |
| 13 | open Lax342547.RelativeEntropy Lax342547.FiniteSampling Lax342547.RetainedImages Lax342547.CellAveraging |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | noncomputable def Bad {Ω : Type} {m : ℕ} (S : Ω → Prop) (E : Ω → Ω → Prop) (k : ℕ) |
| 17 | (sample : Fin m → Ω) : Prop := by |
| 18 | classical |
| 19 | exact k ≤ (Finset.univ.filter (fun i => S (sample i))).card ∨ |
| 20 | ∃ a : Fin k × Bool ↪ Fin m, ∀ j, E (sample (a (j,false))) (sample (a (j,true))) |
| 21 | |
| 22 | axiom cell_mass_or {Ω : Type} [Fintype Ω] |
| 23 | (ρ : Ω → ℝ) (S T : Ω → Prop) (hρ : ∀ x, 0 ≤ ρ x) : |
| 24 | cellMass ρ (fun x => S x ∨ T x) ≤ cellMass ρ S+cellMass ρ T |
| 25 | |
| 26 | axiom bad_sample_bound {Ω : Type} [Fintype Ω] (μ : Ω → ℝ) (S : Ω → Prop) (E : Ω → Ω → Prop) |
| 27 | (m k : ℕ) (M κ : ℝ) (hμ : Probability μ) (_hM : 0 < M) (_hκ : 0 < κ) |
| 28 | (hS : cellMass μ S < 1/M) (hE : pairEventMass μ μ E < 1/κ) : |
| 29 | cellMass (productLaw (fun _ : Fin m => μ)) (Bad S E k) ≤ |
| 30 | (m.choose k : ℝ)*(1/M)^k+(m : ℝ)^(2*k)*(1/κ)^k |
| 31 | |
| 32 | axiom mass_less_one_exists_complement {Ω : Type} [Fintype Ω] |
| 33 | (ρ : Ω → ℝ) (A : Ω → Prop) (hρ : Probability ρ) (hA : cellMass ρ A < 1) : ∃ x, ¬ A x |
| 34 | |
| 35 | axiom exists_good_sample {Ω J : Type} [Fintype Ω] |
| 36 | (μ : Ω → ℝ) (C : Finset J) (S : J → Ω → Prop) (E : J → Ω → Ω → Prop) |
| 37 | (m k : ℕ) (M κ : ℝ) (hμ : Probability μ) (hM : 0 < M) (hκ : 0 < κ) |
| 38 | (hS : ∀ c ∈ C, cellMass μ (S c) < 1/M) |
| 39 | (hE : ∀ c ∈ C, pairEventMass μ μ (E c) < 1/κ) |
| 40 | (hbudget : (C.card : ℝ)*((m.choose k : ℝ)*(1/M)^k+(m : ℝ)^(2*k)*(1/κ)^k) < 1) : |
| 41 | ∃ sample : Fin m → Ω, ∀ c ∈ C, ¬ Bad (S c) (E c) k sample |
| 42 | |
| 43 | end Lax342547.GoodSamples |
| 44 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments