MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch13.DescribedMaximal

theorem MindFormal.DescribedChoice.native_score_maximal {Ω : 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) (k : ℕ) (ω : Ω) (t : ℝ) (w i : Fin N) (he : E.supportRecord H false k ω = (t, Sum.inl w)) (hi : E.mind.reads.outputs i = true) :

Maximality of an attained native output applies to every other output: an unqualified alternative is already below the qualified winner.

theorem MindFormal.DescribedChoice.native_reference_gap {Ω : 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) (endTime H p : NNReal) (k : ℕ) (ω : Ω) (R : FrozenReference E.mind.drift H) (e : ℝ) (t : ↑(HorizonTime ↑H)) (w i : Fin N) (he : E.supportRecord endTime false k ω = (↑p + ↑t, Sum.inl w)) (hi : E.mind.reads.outputs i = true) (herr : ∀ (i : Fin N), |(E.mind.reads.scores false) ((E.supportHistory ω).realPath (↑p + ↑t)) i - referenceScore E R t i| ≤ e) :
referenceScore E R t i - referenceScore E R t w ≤ 2 * e

A native answer can lose at most twice the proved read error in the verified reference. This is derived from the actual search's maximality.