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.
- go : Fin N
- stay : Fin N
- readLip (ω : Ω) : ω ∈ B.stream → ∀ (s : PhysicalState N n T Λ), InIntegratedBox B.X B.Xr B.W B.V ↑s → ∀ (i : Fin N), i = self.go ∨ i = self.stay → |E.mind.reads.output ((physicalReadState i) s) - physicalReadReal E.mind.reads.output (mindActivity (↑s) i) (C.value ω i)| ≤ self.valueLip ω i * ‖mindValue (↑s) i - C.value ω i‖
- rivals : IntegratedRivalCertificate C self.go self.stay
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
- MindFormal.MatchedSaving.IntegratedReadCertificate.guard ω t i = ((E.supportHistory ω).reads.guards false) ((E.supportHistory ω).realPath t) i
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
- MindFormal.MatchedSaving.IntegratedReadCertificate.score ω t i = ((E.supportHistory ω).reads.scores false) ((E.supportHistory ω).realPath t) i
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 : ℝ)
:
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.