structure
MindFormal.MatchedSaving.ReadCertificate
{Ω : 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 : OwnBox E H}
(C : PreparationComparison B)
:
Type u_1
Primitive M8 read tests on arbitrary physical box states. The only response headrooms are G and N; every other output is excluded separately. The complete reference bank and the actual entering errors are retained. This specializes to OwnBox's pointwise loading contract, not general M8.
- go : Fin N
- stay : Fin N
- readLip (ω : Ω) : ω ∈ B.stream → ∀ (s : PhysicalState N n T Λ), InCorridorBox (↑(E.start.state ω)) 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‖
Instances For
noncomputable def
MindFormal.MatchedSaving.ReadCertificate.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.ReadCertificate.guard ω t i = ((E.supportHistory ω).reads.guards false) ((E.supportHistory ω).realPath t) i
Instances For
noncomputable def
MindFormal.MatchedSaving.ReadCertificate.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.ReadCertificate.score ω t i = ((E.supportHistory ω).reads.scores false) ((E.supportHistory ω).realPath t) i
Instances For
theorem
MindFormal.MatchedSaving.ReadCertificate.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 : OwnBox E H}
{C : PreparationComparison B}
(R : ReadCertificate 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 OwnBox's actual contract.