MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.OwnNoiseToolkit.IntegratedReadCertificate

structure MindFormal.MatchedSaving.IntegratedReadCertificate {Ω : 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} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) :
Type u_1

Primitive M8 response read tests and reference/error-tube rival tests. The only response headrooms are G and N; every other output is excluded by the printed reference clearance and its local activity/full-bank moduli. The complete reference bank and the actual entering errors are retained. The event uses original state-stopped integrated brackets; no pointwise loading cap is assumed.

Instances For
    noncomputable def MindFormal.MatchedSaving.IntegratedReadCertificate.guard {Ω : 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} (ω : Ω) (t : ℝ) (i : Fin N) :
    Equations
    Instances For
      noncomputable def MindFormal.MatchedSaving.IntegratedReadCertificate.score {Ω : 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} (ω : Ω) (t : ℝ) (i : Fin N) :
      Equations
      Instances For
        theorem MindFormal.MatchedSaving.IntegratedReadCertificate.barriers {Ω : 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} {B : IntegratedBox E H} {C : IntegratedPreparationComparison B} (R : IntegratedReadCertificate C) {ω : Ω} (hgood : E.own.data.toPhysicalNoiseData.Good ω) (hstream : ω ∈ B.stream) (hbox : ∀ t ∈ Set.Icc 0 ↑H, InIntegratedBox B.X B.Xr B.W B.V ((E.supportHistory ω).state t)) (hnoise : ∀ t ∈ Set.Icc 0 ↑H, ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t.toNNReal c| ≤ B.allowance c) (t : ℝ) :
        t ∈ Set.Icc 0 ↑H → (∀ (i : Fin N), i = R.go ∨ i = R.stay → (C.reference ω i t ≤ R.head ω i - R.error ω i → guard ω t i < 0) ∧ (R.head ω i + R.error ω i ≤ C.reference ω i t → 0 ≤ guard ω t i)) ∧ ∀ (i : Fin N), i ≠ R.go → i ≠ R.stay → guard ω t i < 0

        Read inequalities on a fixed original physical path. The whole-event theorems below construct these hypotheses from stopped original energy.

        theorem MindFormal.MatchedSaving.IntegratedReadCertificate.event {Ω : 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} {B : IntegratedBox E H} {C : IntegratedPreparationComparison B} (R : IntegratedReadCertificate C) (hH : H ≤ E.horizon) :
        ∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ B.stream ∧ 1 - B.errorProbability ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, ∀ t ∈ Set.Icc 0 ↑H, (∀ (i : Fin N), i = R.go ∨ i = R.stay → (C.reference ω i t ≤ R.head ω i - R.error ω i → guard ω t i < 0) ∧ (R.head ω i + R.error ω i ≤ C.reference ω i t → 0 ≤ guard ω t i)) ∧ ∀ (i : Fin N), i ≠ R.go → i ≠ R.stay → guard ω t i < 0

        Both read barriers and every competing-output exclusion are derived on the same measurable original-own-run event. No read outcome or good event is an input. The allowance bill is exactly IntegratedBox's actual contract.