MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch12.FeeCalibration

theorem MindFormal.Judgment.fee_ratio_error {a q b δ ε : ℝ} (he : ε < 1) (hb : 1 - ε ≤ b) (hδ : 0 ≤ δ) (error : |a - q * b| ≤ δ) :
|a / b - q| ≤ δ / (1 - ε)

Conditioning a proved numerator error pays the actual completion mass.

theorem MindFormal.Judgment.fee_conditioning {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (D C K good : Set Ω) (hD : MeasurableSet D) (hg : MeasurableSet good) (Q : Ω → ℝ) (hQi : MeasureTheory.IntegrableOn Q D μ) (range : ∀ ω ∈ D, Q ω ∈ Set.Icc (1 / 2) 1) (q ε dQ : ℝ) (hq : q ∈ Set.Icc (1 / 2) 1) (he : ε < 1) (hdQ : 0 ≤ dQ) (mass : 1 - ε ≤ μ.real good) (complete : good ⊆ D) (same : ∀ ω ∈ good, ω ∈ C ↔ ω ∈ K) (rating : ∀ ω ∈ good, |Q ω - q| ≤ dQ) :
0 < μ.real D ∧ |μ.real (D ∩ C) / μ.real D - μ.real K| ≤ 2 * ε / (1 - ε) ∧ |(∫ (ω : Ω) in D, Q ω ∂μ) / μ.real D - q| ≤ (dQ + ε / 2) / (1 - ε) ∧ |(∫ (ω : Ω) in D, Q ω ∂μ) / μ.real D - μ.real (D ∩ C) / μ.real D - (q - μ.real K)| ≤ (dQ + 5 / 2 * ε) / (1 - ε)

VN9.8. This calculation is used only after the original answer and rating good event is derived. Failure may depend arbitrarily on the key.

noncomputable def MindFormal.Judgment.feeAnswerRecord {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (fav riv : Ω → Fin N) (r : Ω → ℝ) (ω : Ω) :

The original selected first-answer slot. This is a statistic of the existing record, not a new record or run interface.

Equations
Instances For
    def MindFormal.Judgment.feeCompleted {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (fav riv : Ω → Fin N) (r : Ω → ℝ) (slot : Ω → ℕ) (band : Set (Fin N)) (delay : ℝ) :
    Set Ω
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MindFormal.Judgment.feeRating {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (slot : Ω → ℕ) (ell : Fin N → ℝ) (ω : Ω) :
      Equations
      Instances For