MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch03.Optimizer

theorem MindFormal.live_03_19 {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (winner : Fin N) {μ : ℝ} (hout : C.data.reads.outputs winner = true) (herr : C.error < μ) (OC13winner : C.data.reads.actionBar + μ ≤ C.score winner ↑C.horizon) (OC13rivals : ∀ (j : Fin N), j ≠ winner → C.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.horizon, C.score j t ≤ C.data.reads.actionBar - μ) :
C.good ⊆ C.act 0 winner 0 ↑C.horizon ∧ 1 - C.control.failure ≤ C.data.μ.real (C.act 0 winner 0 ↑C.horizon)

03.19 OC13: the SOURCE terminal score clearance and rival clearance, with computed full-state-to-output error strictly below mu, give first native choice H by L with probability >=1-failure. All objects are the constructed objects; initial release is proved zero. No ordering of nominal crossing times substitutes for these score margins.

noncomputable def MindFormal.LiveData.utility {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (w : Fin n → ℝ) (τ : T) (i : Fin N) (z : Ω) (t : ℝ) :

03.19 OC1,OC14: the actual weighted value of a candidate at the declared value horizon, using the same fixed weights for all candidates.

Equations
Instances For
    noncomputable def MindFormal.LiveData.referenceUtility {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (w : Fin n → ℝ) (τ : T) (i : Fin N) (t : ℝ) :

    03.19 OC14: the weighted value of the source's verified reference.

    Equations
    Instances For
      theorem MindFormal.live_utility_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 : LiveData Ω N n T Λ J 𝒩) (w : Fin n → ℝ) (τ : T) (i : Fin N) {z : Ω} (hz : z ∈ C.good) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑C.horizon) :
      |C.utility w τ i z t - C.referenceUtility w τ i t| ≤ (∑ b : Fin n, |w b|) * C.control.error

      03.19 OC14: coordinate errors from the constructed state corridor give the weighted value allowance ||w||_1 E_v with E_v=P.error. Weights may have either sign; the declared value horizon, candidate and time in [0,H] are arbitrary. No utility-distance conclusion is supplied as a premise.

      theorem MindFormal.live_03_19_value {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (winner : Fin N) (w : Fin n → ℝ) (τ : T) {μ : ℝ} (hout : C.data.reads.outputs winner = true) (herr : C.error < μ) (OC13winner : C.data.reads.actionBar + μ ≤ C.score winner ↑C.horizon) (OC13rivals : ∀ (j : Fin N), j ≠ winner → C.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.horizon, C.score j t ≤ C.data.reads.actionBar - μ) (OC14 : ∀ (j : Fin N), j ≠ winner → C.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.horizon, (2 * ∑ b : Fin n, |w b|) * C.control.error < C.referenceUtility w τ winner t - C.referenceUtility w τ j t) :
      1 - C.control.failure ≤ C.data.μ.real {z : Ω | z ∈ C.act 0 winner 0 ↑C.horizon ∧ ∀ (j : Fin N), j ≠ winner → C.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.horizon, C.utility w τ j z t < C.utility w τ winner z t}

      03.19 OC13--OC14: with the same fixed weights and source reference utility gap >2||w||_1 E_v throughout the certified interval, the first native score winner also remains the unique current-value winner there, jointly with probability >=1-failure. A constant reference value turns this into OC14's initial gap. The computed P.error is an admissible value bound.