MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch15.Certificate

theorem MindFormal.Transactions.acceptance_certificate_own {Ω : 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 : LoadComparison B} (R : OutputComparison C) (hH : H ≤ E.horizon) (accept : Fin N) {L U : ℝ} (hL : 0 ≤ L) (hLU : L ≤ U) (hU : U ≤ ↑H) (hw : E.mind.reads.outputs accept = true) (before : ∀ t ∈ Set.Ico 0 L, ∀ (j : Fin N), E.mind.reads.outputs j = true → R.score t j + R.error t j < E.mind.reads.actionBar) (qualifies : E.mind.reads.actionBar ≤ R.score U accept - R.error U accept) (dominates : ∀ t ∈ Set.Icc L U, ∀ (j : Fin N), j ≠ accept → E.mind.reads.outputs j = true → R.score t j + R.error t j < R.score t accept - R.error t accept) :
1 - B.errorProbability ≤ E.ground.μ.real {ω : Ω | ∃ t ∈ Set.Icc L U, E.supportRecord H false 0 ω = (t, Sum.inl accept)}

TX1.10: the accepting output is the actual first native act, with its time bracket, on mass at least one minus the complete coefficient-box bill. The window tests use the independently computed reference and test every enabled output, including outputs outside the offered pair.