Actual vanishing predictions on a retained population
Lax342547.RetainedEmptyPredictions · concepts/Lax342547/RetainedEmptyPredictions.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The aggregate generic parameter error gives an explicit discarded-mass bound, while the actual whole cut-space residual and common diagonal coefficient vanish exactly on retained units.
Concept map
Evidence
This concept declares 3 statements. Each proof establishes one of them relative to its assumptions.
1 prediction_error_le_total proven
2 prediction_error_nonneg proven
3 retained_vanishing_predictions proven
Lean source view on GitHub
| 1 | import Lax342547.EmptyPredictions |
| 2 | import Lax342547.MomentTails |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Actual vanishing predictions on a retained population |
| 7 | type: lemma |
| 8 | --- |
| 9 | The aggregate generic parameter error gives an explicit discarded-mass bound, while the actual whole cut-space residual and common diagonal coefficient vanish exactly on retained units. |
| 10 | -/ |
| 11 | |
| 12 | namespace Lax342547.RetainedEmptyPredictions |
| 13 | |
| 14 | open Lax342547.MomentSpace Lax342547.Atoms Lax342547.TagGeometry Lax342547.ConcreteCut |
| 15 | open Lax342547.ConcreteGeometry Lax342547.RetainedImages Lax342547.RelativeEntropy |
| 16 | open Lax342547.AtomParameters |
| 17 | open scoped BigOperators |
| 18 | |
| 19 | noncomputable def predictionError {k n b degree r : ℕ} (hr : 2*r ≤ n) |
| 20 | (φ : Module.Dual Binary (Profile k n b degree)) (γ : Binary) (l : Tag k) (s : Fin b → Binary) : ℝ := |
| 21 | cellMass (fun _ : Fin (ParameterSize n l Flavor.generic) → Binary => |
| 22 | 1/(2 : ℝ)^(ParameterSize n l Flavor.generic)) |
| 23 | (fun x => φ (parameterAtom (degree := degree) l s Flavor.generic x)+ |
| 24 | γ*eta (b := b) (degree := degree) hr (pointMoment selectorEval s (parameterBase l Flavor.generic x)) ≠ 0) |
| 25 | |
| 26 | noncomputable def totalPredictionError {k n b degree r : ℕ} (hr : 2*r ≤ n) |
| 27 | (φ : Module.Dual Binary (Profile k n b degree)) (γ : Binary) (E : Finset (Fin b → Binary)) : ℝ := by |
| 28 | classical |
| 29 | exact ∑ l : Tag k,∑ s : Fin b → Binary,if s ∈ E then 0 else predictionError hr φ γ l s |
| 30 | |
| 31 | axiom prediction_error_nonneg {k n b degree r : ℕ} (hr : 2*r ≤ n) |
| 32 | (φ : Module.Dual Binary (Profile k n b degree)) (γ : Binary) (l : Tag k) (s : Fin b → Binary) : |
| 33 | 0 ≤ predictionError hr φ γ l s |
| 34 | |
| 35 | axiom prediction_error_le_total {k n b degree r : ℕ} (hr : 2*r ≤ n) |
| 36 | (φ : Module.Dual Binary (Profile k n b degree)) (γ : Binary) (E : Finset (Fin b → Binary)) |
| 37 | (l : Tag k) (s : Fin b → Binary) (hs : s ∉ E) : |
| 38 | predictionError hr φ γ l s ≤ totalPredictionError hr φ γ E |
| 39 | |
| 40 | axiom retained_vanishing_predictions {U : Type} [Fintype U] {k n b degree r : ℕ} |
| 41 | (hr : 2*r ≤ n) (hr0 : 0 < r) (β : U → ℝ) |
| 42 | (φ : U → Module.Dual Binary (Profile k n b degree)) (γ : U → Binary) |
| 43 | (E : U → Finset (Fin b → Binary)) (ε : ℝ) (hβ : Probability β) |
| 44 | (hE : ∀ u,2^(degree+degree)*(E u).card < 2^b) |
| 45 | (herr : (∑ u,β u*totalPredictionError hr (φ u) (γ u) (E u)) ≤ ε) : |
| 46 | 1-4*ε ≤ cellMass β (fun u => γ u = 0 ∧ φ u = 0) |
| 47 | |
| 48 | end Lax342547.RetainedEmptyPredictions |
| 49 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments