MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch13.DescribedRace

def MindFormal.DescribedChoice.binaryKeep {N : ℕ} (port : Fin 2 ↪o Fin N) (j : Fin N) :
Equations
Instances For
    def MindFormal.DescribedChoice.binaryScore {N : ℕ} (port : Fin 2 ↪o Fin N) (score : Fin 2 → ℝ) (j : Fin N) :
    Equations
    Instances For
      theorem MindFormal.DescribedChoice.binaryScore_port {N : ℕ} (port : Fin 2 ↪o Fin N) (score : Fin 2 → ℝ) (i : Fin 2) :
      binaryScore port score (port i) = score i
      theorem MindFormal.DescribedChoice.binary_native_general {Ω : 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) (port : Fin 2 ↪o Fin N) (hH : H ≤ E.horizon) (hcell : C.cells = 1) (hstart : ∀ (i : Fin 2), C.start (port i) = 0) (ex0 dT ev0 L bridge : ℝ) (hex : 0 ≤ ex0) (hdT : 0 ≤ dT) (hev : 0 ≤ ev0) (hL : 0 ≤ L) (hbridge : 0 ≤ bridge) (hbx : 0 ≤ B.ϖx) (hbv : 0 ≤ B.ϖv) (h_enter : ∀ (i : Fin 2), C.startError (port i) ≤ ex0) (h_errors : ∀ (j : Fin N), 0 ≤ C.error 0 j) (h_support : ∀ (i : Fin 2), (C.error 0 (port i) + ∑ j : Fin N, C.error 0 j) / E.mind.activity.σ ≤ dT) (h_value : ∀ (i : Fin 2) (b : Fin n) (a : T), R.initialError (port i) b a ≤ ev0) (h_activity_read : ∀ (i : Fin 2), R.activityModulus (port i) ≤ 1) (h_value_read : ∀ (i : Fin 2), ∑ b : Fin n, ∑ a : T, R.valueModulus (port i) b a ≤ L) (score : Fin 2 → ℝ) (offset χ : ℝ) (h_encoding : ∀ (i : Fin 2), ∀ t ∈ Set.Icc 0 ↑H, |physicalReadReal E.mind.reads.output (C.reference (port i) t) (R.value (port i)) - (C.reference (port i) t + offset + χ * score i)| ≤ bridge) (h_outside : ∀ s0 ∈ B.starts, ∀ (s : PhysicalState N n T Λ), InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv ↑s → ∀ (j : Fin N), E.mind.reads.outputs j = true → j ≠ port 0 → j ≠ port 1 → (E.mind.reads.scores false) s j < E.mind.reads.actionBar) (h_outputs : ∀ (i : Fin 2), E.mind.reads.outputs (port i) = true) (w : Fin 2) (h_margin : ∀ (i : Fin 2), ex0 + dT + 4 * B.ϖx + L * (ev0 + B.Kv * ↑H + B.ϖv) + bridge < E.mind.reads.actionBar - (offset + χ * score i)) (h_pairs : ∀ (j : Fin 2), j ≠ w → 0 < normalizedTarget E.mind.activity.σ E.mind.activity.g (C.load 0) (port j) → (E.mind.reads.actionBar - (offset + χ * score w) + (ex0 + dT + 4 * B.ϖx + L * (ev0 + B.Kv * ↑H + B.ϖv) + bridge)) * normalizedTarget E.mind.activity.σ E.mind.activity.g (C.load 0) (port j) < (E.mind.reads.actionBar - (offset + χ * score j) - (ex0 + dT + 4 * B.ϖx + L * (ev0 + B.Kv * ↑H + B.ϖv) + bridge)) * normalizedTarget E.mind.activity.σ E.mind.activity.g (C.load 0) (port w)) (h_deadline : E.mind.reads.actionBar - (offset + χ * score w) + (ex0 + dT + 4 * B.ϖx + L * (ev0 + B.Kv * ↑H + B.ϖv) + bridge) ≤ referenceActivity E.mind.activity.ν (normalizedTarget E.mind.activity.σ E.mind.activity.g (C.load 0) (port w)) 0 ↑H) :
      1 - B.errorProbability ≤ E.ground.μ.real {ω : Ω | ∃ t ∈ Set.Icc 0 ↑H, E.supportRecord H false 0 ω = (t, Sum.inl (port w))}

      The complete unequal-target binary product comparison. All targets come from the same full reference pool; native score envelopes and the event bill are derived by the existing transfer.

      theorem MindFormal.DescribedChoice.binary_native {Ω : 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) (port : Fin 2 ↪o Fin N) (hH : H ≤ E.horizon) (hcell : C.cells = 1) (hstart : ∀ (i : Fin 2), C.start (port i) = 0) (ex0 dT ev0 L bridge : ℝ) (hex : 0 ≤ ex0) (hdT : 0 ≤ dT) (hev : 0 ≤ ev0) (hL : 0 ≤ L) (hbridge : 0 ≤ bridge) (hbx : 0 ≤ B.ϖx) (hbv : 0 ≤ B.ϖv) (h_enter : ∀ (i : Fin 2), C.startError (port i) ≤ ex0) (h_errors : ∀ (j : Fin N), 0 ≤ C.error 0 j) (h_support : ∀ (i : Fin 2), (C.error 0 (port i) + ∑ j : Fin N, C.error 0 j) / E.mind.activity.σ ≤ dT) (h_value : ∀ (i : Fin 2) (b : Fin n) (a : T), R.initialError (port i) b a ≤ ev0) (h_activity_read : ∀ (i : Fin 2), R.activityModulus (port i) ≤ 1) (h_value_read : ∀ (i : Fin 2), ∑ b : Fin n, ∑ a : T, R.valueModulus (port i) b a ≤ L) (score : Fin 2 → ℝ) (offset χ target : ℝ) (hT : 0 < target) (h_targets : ∀ (i : Fin 2), normalizedTarget E.mind.activity.σ E.mind.activity.g (C.load 0) (port i) = target) (h_encoding : ∀ (i : Fin 2), ∀ t ∈ Set.Icc 0 ↑H, |physicalReadReal E.mind.reads.output (C.reference (port i) t) (R.value (port i)) - (C.reference (port i) t + offset + χ * score i)| ≤ bridge) (h_outside : ∀ s0 ∈ B.starts, ∀ (s : PhysicalState N n T Λ), InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv ↑s → ∀ (j : Fin N), E.mind.reads.outputs j = true → j ≠ port 0 → j ≠ port 1 → (E.mind.reads.scores false) s j < E.mind.reads.actionBar) (h_outputs : ∀ (i : Fin 2), E.mind.reads.outputs (port i) = true) (w : Fin 2) (h_margin : ∀ (i : Fin 2), ex0 + dT + 4 * B.ϖx + L * (ev0 + B.Kv * ↑H + B.ϖv) + bridge < E.mind.reads.actionBar - (offset + χ * score i)) (h_gap : ∀ (j : Fin 2), j ≠ w → 2 * (ex0 + dT + 4 * B.ϖx + L * (ev0 + B.Kv * ↑H + B.ϖv) + bridge) < χ * (score w - score j)) (h_deadline : E.mind.reads.actionBar - (offset + χ * score w) + (ex0 + dT + 4 * B.ϖx + L * (ev0 + B.Kv * ↑H + B.ϖv) + bridge) ≤ referenceActivity E.mind.activity.ν target 0 ↑H) :
      1 - B.errorProbability ≤ E.ground.μ.real {ω : Ω | ∃ t ∈ Set.Icc 0 ↑H, E.supportRecord H false 0 ω = (t, Sum.inl (port w))}

      The equal-target specialization derives its product margins from the complete score difference rather than assuming them.

      noncomputable def MindFormal.DescribedChoice.framingScore (G L : ℝ → ℝ) (wg wl population : ℝ) (description : Bool → Fin 2 → ℝ) (frame : Bool) (i : Fin 2) :

      The complete FR1.2 scores retain independently calibrated description contributions on both programs in both frames.

      Equations
      Instances For
        noncomputable def MindFormal.DescribedChoice.framingGap (G L : ℝ → ℝ) (wg wl population : ℝ) (description : Bool → Fin 2 → ℝ) (frame : Bool) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.DescribedChoice.framing_gap_eq (G L : ℝ → ℝ) (wg wl population : ℝ) (description : Bool → Fin 2 → ℝ) (frame : Bool) :
          framingScore G L wg wl population description frame (if frame = true then 1 else 0) - framingScore G L wg wl population description frame (if frame = true then 0 else 1) = framingGap G L wg wl population description frame