MindFormal v1.0.0One Mind

MindFormal.Tools.A716RecallConsumers.ProbabilityAllowance

Probability endpoint allowances and the margins they protect.

theorem MindFormal.A716RecallConsumers.probability_allowance {p pstar Flo Fhi ε : ℝ} (hp : p ∈ Set.Icc 0 1) (hs : pstar ∈ Set.Icc 0 1) (hlo : max 0 (Flo - ε) ≤ p) (hhi : p ≤ min 1 (Fhi + ε)) :
|p - pstar| ≤ min 1 (ε + max (Fhi - pstar) (pstar - Flo))

The two Brownian-length endpoints give the printed probability error. The final minimum uses the fact that both probabilities are in [0,1].

theorem MindFormal.A716RecallConsumers.protected_direction {p₁ p₂ r₁ r₂ Δ₁ Δ₂ : ℝ} (h₁ : |p₁ - r₁| ≤ Δ₁) (h₂ : |p₂ - r₂| ≤ Δ₂) (hgap : Δ₁ + Δ₂ < r₂ - r₁) :
p₁ < p₂
theorem MindFormal.A716RecallConsumers.protected_criterion {p r Δ θ : ℝ} (h : |p - r| ≤ Δ) (hmargin : θ + Δ < r) :
θ < p
theorem MindFormal.A716RecallConsumers.protected_failure {p r Δ θ : ℝ} (h : |p - r| ≤ Δ) (hmargin : r + Δ < θ) :
p < θ
theorem MindFormal.A716RecallConsumers.gaussian_tail_allocation {S H ε : ℝ} (hS : 0 < S) (hH : 0 < H) (hε : 0 < ε) (hε₁ : ε < 1) :
have b := S * √(2 * H * Real.log (2 / ε)); 0 < b ∧ 2 * Real.exp (-b ^ 2 / (2 * S ^ 2 * H)) = ε

The printed loading-error allocation attains its requested tail price. This is a martingale tail allocation, with no independence premise.