MindFormal v1.0.0One Mind

MindFormal.Example.LeadConfidence.DecisionBox

@[reducible, inline]
abbrev MindFormal.LeadConfidence.WriterIndex (N n : ℕ) (T : Type u_3) :
Type u_3
Equations
Instances For
    def MindFormal.LeadConfidence.writerCoord {N n : ℕ} {T : Type u_1} {Λ : Type u_2} :
    WriterIndex N n T → CoordinateIndex (Fin N) n T Λ
    Equations
    Instances For
      def MindFormal.LeadConfidence.writerCap {N n : ℕ} {T : Type u_1} (W v : ℝ) :
      WriterIndex N n T → ℝ
      Equations
      Instances For
        theorem MindFormal.LeadConfidence.decision_box_closure {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} (G : Ω → PhysicalGlobalData N n T Λ) (ω : Ω) (H : NNReal) (fav riv : Fin N) {a X Xr W v : ℝ} (hax : a ≤ X) (hxr : X ≤ Xr) (F b : WriterIndex N n T → ℝ) (bx : Fin N → ℝ) (hF : ∀ (c : WriterIndex N n T), 0 ≤ F c) (hb : ∀ (c : WriterIndex N n T), 0 ≤ b c) (read : ∀ t ∈ Set.Icc 0 ↑H, ∀ i ∈ {fav, riv}, 0 ≤ ((G ω).reads.guards false) ((G ω).realPath t) i ↔ a ≤ mindActivity ((G ω).state t) i) (start : ∀ i ∈ {fav, riv}, mindActivity ((G ω).state 0) i < a) (rstart : ∀ (i : Fin N) (l : Λ), mindTrace ((G ω).state 0) i l ≤ Xr) (xcap : ∀ i ∉ {fav, riv}, max (mindActivity ((G ω).state 0) i) (1 - (G ω).data.activity.g) + 2 * bx i ≤ X) (coeff : ∀ t ≤ H, ∀ (s : MindState (Fin N) n T Λ), InCorridorBox 0 X Xr W v s → ∀ (c : WriterIndex N n T), |assembledDrift (G ω).data ((G ω).input ↑t) ((G ω).pulse ↑t) s (writerCoord c)| ≤ F c) (noise : ∀ t ≤ H, ↑t ≤ (G ω).hitTime false 0 → ↑t ≤ writerExit G writerCoord (writerCap W v) ω → (∀ (c : WriterIndex N n T), |(G ω).driver t (writerCoord c)| ≤ b c) ∧ ∀ i ∉ {fav, riv}, |(G ω).driver t (Sum.inr (Sum.inl i))| ≤ bx i) (close : ∀ (c : WriterIndex N n T), |(G ω).state 0 (writerCoord c)| + F c * ↑H + b c < writerCap W v c) :
        have U := ItoFiltration.stopTime ((G ω).hitTime false 0) H; ↑U < writerExit G writerCoord (writerCap W v) ω ∧ ∀ t ≤ U, InCorridorBox 0 X Xr W v ((G ω).state ↑t) ∧ ∀ (c : WriterIndex N n T), |(G ω).state (↑t) (writerCoord c) - (G ω).state 0 (writerCoord c)| ≤ F c * ↑t + b c

        OC1.13 closes the full relation/value box before the first actual native slot. Activities and traces are derived from native qualification and only the nonanswer innovations; the retained answer contrast is never priced as small. Coefficient bounds are verified on the box, not on the unknown path.