MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07Concepts.FiniteProtocols

Finite experimental scores use the existing ReportPlan and the existing native schedule. The source windows may depend on the received history. Their releases are consequences of the earlier actual windows, never premises.

def MindFormal.Concepts.consecutivePlan {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (K : ℕ) (label : Ω → Fin K → Fin N) (lo hi : Ω → Fin K → ℝ) :

A finite selection of consecutive native slots, using the existing plan. Labels are prepared reference labels, not observed actions.

Equations
Instances For
    theorem MindFormal.Concepts.consecutivePlan_margins {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {K : ℕ} (label : Ω → Fin K → Fin N) (lo hi : Ω → Fin K → ℝ) (w : (z : Ω) → z ∈ C.good → (q : Fin K) → LearningWindowMargins C z (label z q) (lo z q) (hi z q)) (initial : ∀ (z : Ω) (hz : z ∈ C.good) (h : 0 < K), (w z hz ⟨0, h⟩).phase ≤ 0) (next : ∀ (z : Ω) (hz : z ∈ C.good) (q : Fin K) (h : ↑q + 1 < K), (w z hz ⟨↑q + 1, h⟩).phase ≤ lo z q + C.data.pause false ∧ hi z q + C.data.pause false ≤ hi z ⟨↑q + 1, h⟩) :
    (consecutivePlan C K label lo hi).Margins

    Release induction for history-dependent source windows. This extends the constant-label whole-record use to the existing plan's sample-dependent labels. The only local native step is learningRun_window_at; the next release is read from that step's actual act. No new record or certificate interface is defined.

    theorem MindFormal.Concepts.finite_score_mean {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {K : ℕ} (P : ReportPlan C K) (hw : P.Margins) (code : Ω → (Fin K → Fin N ⊕ Unit) → ℝ) {a b : ℝ} (hab : a ≤ b) (range : ∀ (z : Ω) (v : Fin K → Fin N ⊕ Unit), code z v ∈ Set.Icc a b) (ha : MeasureTheory.Integrable (P.read code) C.data.μ) (hr : MeasureTheory.Integrable (P.predicted code) C.data.μ) :
    |∫ (z : Ω), P.read code z ∂C.data.μ - ∫ (z : Ω), P.predicted code z ∂C.data.μ| ≤ (b - a) * C.control.failure

    The range width, rather than the largest absolute rating, is the mean error. Both reads use one coding function applied to native/reference vectors. Integrability is a measurement-domain condition, not a mean identification.

    theorem MindFormal.Concepts.finite_event_error {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {K : ℕ} (P : ReportPlan C K) (hw : P.Margins) (event : Ω → (Fin K → Fin N ⊕ Unit) → Prop) :
    |C.data.μ.real {z : Ω | event z (P.observed z)} - C.data.μ.real {z : Ω | event z (P.label z)}| ≤ C.control.failure

    Finite experiment event perturbation is derived from native source margins. The entry's reference event can depend on the full received stream.

    theorem MindFormal.Concepts.observed_measurable {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {K : ℕ} (P : ReportPlan C K) :

    A native vector is measurable because each of its slots is the constructed measurable native record.

    theorem MindFormal.Concepts.finite_score_center {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {K : ℕ} (P : ReportPlan C K) (hw : P.Margins) (code : Ω → (Fin K → Fin N ⊕ Unit) → ℝ) (meas : Measurable (Function.uncurry code)) {a b r : ℝ} (hab : a ≤ b) (range : ∀ (z : Ω) (v : Fin K → Fin N ⊕ Unit), code z v ∈ Set.Icc a b) (calibration : ∀ (z : Ω), P.predicted code z = r) :
    |∫ (z : Ω), P.read code z ∂C.data.μ - r| ≤ (b - a) * C.control.failure

    Bounded measurable scoring needs no separately supplied integrability claim. The reference center is an identity of the declared calibration.

    theorem MindFormal.Concepts.native_score_center {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (C : StateLearning Ω N n T Λ J) (hC : C.Contained) (hu : C.control.εu = 0) {K : ℕ} (label : Ω → Fin K → Fin N) (lo hi : Ω → Fin K → ℝ) (w : (z : Ω) → z ∈ C.run.good → (q : Fin K) → LearningWindowMargins C.run z (label z q) (lo z q) (hi z q)) (initial : ∀ (z : Ω) (hz : z ∈ C.run.good) (h : 0 < K), (w z hz ⟨0, h⟩).phase ≤ 0) (next : ∀ (z : Ω) (hz : z ∈ C.run.good) (q : Fin K) (h : ↑q + 1 < K), (w z hz ⟨↑q + 1, h⟩).phase ≤ lo z q + C.run.data.pause false ∧ hi z q + C.run.data.pause false ≤ hi z ⟨↑q + 1, h⟩) (code : Ω → (Fin K → Fin N ⊕ Unit) → ℝ) (meas : Measurable (Function.uncurry code)) {a b r : ℝ} (hab : a ≤ b) (range : ∀ (z : Ω) (v : Fin K → Fin N ⊕ Unit), code z v ∈ Set.Icc a b) (calibration : ∀ (z : Ω), (consecutivePlan C.run K label lo hi).predicted code z = r) :
    (∀ᵐ (z : Ω) ∂C.run.data.μ, z ∈ C.run.good → C.experiment.OnOwnNoise z C.horizon) ∧ |∫ (z : Ω), (consecutivePlan C.run K label lo hi).read code z ∂C.run.data.μ - r| ≤ (b - a) * C.control.failure

    Every moving-state family is admitted through StateLearning. The computed error and good event retain values, writes, focus and action returns. Only source score windows and their calendar separation are supplied.

    theorem MindFormal.Concepts.finite_score_ensemble {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {K : ℕ} (P : ReportPlan C K) (hw : P.Margins) (labelsMeasurable : Measurable P.label) (code : Ω → (Fin K → Fin N ⊕ Unit) → ℝ) (meas : Measurable (Function.uncurry code)) {a b : ℝ} (hab : a ≤ b) (range : ∀ (z : Ω) (v : Fin K → Fin N ⊕ Unit), code z v ∈ Set.Icc a b) :
    |∫ (z : Ω), P.read code z ∂C.data.μ - ∫ (z : Ω), P.predicted code z ∂C.data.μ| ≤ (b - a) * C.control.failure

    General prepared ensembles: a bounded measurable function of the reference vector may vary with the board or participant. Neither a constant reference score nor a supplied reference mean is required.