MindFormal v1.0.0One Mind

MindFormal.Run.ReportPlans

structure MindFormal.ReportPlan {Ω : 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 𝒩) (m : ℕ) :
Type u_1

04.20, 04.21, 05.14: a finite experimental read selects actual native slots and predicts their labels and windows from the prepared reference. No observed label, corridor, probability or mean is a field of this plan.

Instances For
    def MindFormal.ReportPlan.MarginsAt {Ω : 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 𝒩} {m : ℕ} (P : ReportPlan C m) (z : Ω) :

    04.20, 04.21, 05.14: source score margins for a finite report plan. Present reports require the source winner, preceding-output and all-rival margins with actual release bounds. Absent reports require all enabled outputs below threshold throughout the remaining native search interval.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def MindFormal.ReportPlan.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 𝒩} {m : ℕ} (P : ReportPlan C m) :

      04.20, 04.21, 05.14: reference report margins on the constructed good event.

      Equations
      Instances For
        noncomputable def MindFormal.ReportPlan.observed {Ω : 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 𝒩} {m : ℕ} (P : ReportPlan C m) (z : Ω) (q : Fin m) :

        04.20, 04.21, 05.14: the measured label vector consists of native records from the constructed run, including absence.

        Equations
        Instances For
          noncomputable def MindFormal.ReportPlan.read {Ω : 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 𝒩} {m : ℕ} (P : ReportPlan C m) (code : Ω → (Fin m → Fin N ⊕ Unit) → ℝ) (z : Ω) :

          04.20, 04.21, 05.14: actual finite protocol scoring; the declared coding rule can depend on the prepared stimulus, but is applied to the observed vector, not to the reference or to a supplied outcome variable.

          Equations
          Instances For
            def MindFormal.ReportPlan.predicted {Ω : 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 𝒩} {m : ℕ} (P : ReportPlan C m) (code : Ω → (Fin m → Fin N ⊕ Unit) → ℝ) (z : Ω) :

            04.20, 04.21, 05.14: predicted finite protocol scoring uses exactly the same declared coding rule on the prepared reference label vector.

            Equations
            Instances For
              theorem MindFormal.reportPlan_plan_agreement_at {Ω : 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 𝒩) {m : ℕ} (P : ReportPlan C m) (z : Ω) (hz : z ∈ C.good) (hP : P.MarginsAt z) :
              P.observed z = P.label z

              04.20, 04.21, 05.14: the source reference margins determine every selected native record on the constructed good event. The absent branch is proved by native attainment; no imposed reset or forced next label is used.

              theorem MindFormal.reportPlan_plan_agreement {Ω : 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 𝒩) {m : ℕ} (P : ReportPlan C m) (hP : P.Margins) (z : Ω) :
              z ∈ C.good → P.observed z = P.label z

              04.20, 04.21, 05.14: simultaneous finite native label agreement follows from pointwise source margins on the constructed event, including absence.

              theorem MindFormal.reportPlan_read_finite {Ω : 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 𝒩) {m : ℕ} (P : ReportPlan C m) (hP : P.Margins) (code : Ω → (Fin m → Fin N ⊕ Unit) → ℝ) :
              1 - C.control.failure ≤ C.data.μ.real {z : Ω | P.read code z = P.predicted code z}

              04.21, 05.14--05.18: source reference margins imply finite-horizon agreement of a declared protocol score with probability at least one minus the computed failure. This statement uses no mean or integrability premise.

              theorem MindFormal.reportPlan_event_probability {Ω : 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 𝒩) {m : ℕ} (P : ReportPlan C m) (hP : P.Margins) (event : Ω → (Fin m → Fin N ⊕ Unit) → Prop) :
              C.data.μ.real {z : Ω | event z (P.label z)} - C.control.failure ≤ C.data.μ.real {z : Ω | event z (P.observed z)} ∧ C.data.μ.real {z : Ω | event z (P.observed z)} ≤ C.data.μ.real {z : Ω | event z (P.label z)} + C.control.failure

              04.20, 04.23, 05.17: a coded event in the finite observed vector has probability within the constructed failure of its reference event. The coding predicate and preparation can be dependent on the good event.

              theorem MindFormal.reportPlan_read_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 𝒩) {m : ℕ} (P : ReportPlan C m) (hP : P.Margins) (code : Ω → (Fin m → Fin N ⊕ Unit) → ℝ) {B : ℝ} (hB : 0 ≤ B) (bounded : ∀ (z : Ω) (v : Fin m → Fin N ⊕ Unit), code z v ∈ Set.Icc 0 B) (actualUI : MeasureTheory.Integrable (P.read code) C.data.μ) (referenceUI : MeasureTheory.Integrable (P.predicted code) C.data.μ) :
              |∫ (z : Ω), P.read code z ∂C.data.μ - ∫ (z : Ω), P.predicted code z ∂C.data.μ| ≤ B * C.control.failure

              04.21, 04.23, 05.14--05.18, 05.23: separate mean transfer for finite bounded coding. Integrability of actual and predicted reads is explicitly required, along with range [0,B]; neither follows from the corridor alone.

              theorem MindFormal.reportPlan_read_gap_finite {Ω : 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 𝒩) {m r : ℕ} (P : ReportPlan C m) (Q : ReportPlan C r) (hP : P.Margins) (hQ : Q.Margins) (f : Ω → (Fin m → Fin N ⊕ Unit) → ℝ) (g : Ω → (Fin r → Fin N ⊕ Unit) → ℝ) {d : ℝ} (referenceGap : ∀ z ∈ C.good, d ≤ P.predicted f z - Q.predicted g z) :
              1 - C.control.failure ≤ C.data.μ.real {z : Ω | d ≤ P.read f z - Q.read g z}

              04.20, 04.21, 05.14: same-run finite protocol gap. Source reference label margins and a reference coding gap imply that gap on the actual run except on the constructed exceptional event; no expectation is asserted.

              theorem MindFormal.reportPlan_read_gap_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 𝒩) {m r : ℕ} (P : ReportPlan C m) (Q : ReportPlan C r) (hP : P.Margins) (hQ : Q.Margins) (f : Ω → (Fin m → Fin N ⊕ Unit) → ℝ) (g : Ω → (Fin r → Fin N ⊕ Unit) → ℝ) {d B : ℝ} (hd : 0 ≤ d) (hB : 0 ≤ B) (referenceGap : ∀ z ∈ C.good, d ≤ P.predicted f z - Q.predicted g z) (adverse : ∀ (z : Ω), -B ≤ P.read f z - Q.read g z) (actualUI : MeasureTheory.Integrable (P.read f) C.data.μ) (otherUI : MeasureTheory.Integrable (Q.read g) C.data.μ) :
              d * (1 - C.control.failure) - B * C.control.failure ≤ ∫ (z : Ω), P.read f z ∂C.data.μ - ∫ (z : Ω), Q.read g z ∂C.data.μ

              04.21 S4: a separate mean theorem charges adverse finite coding by B. Both actual reads are integrable; the reference gap and score-margin identifications remain explicit. This is not an uncensored latency theorem.