MindFormal v1.0.0One Mind

MindFormal.Equations.Foundations

@[reducible, inline]
abbrev MindFormal.CoordinateIndex (C : Type u_1) (n : ℕ) (T : Type u_2) (Λ : Type u_3) :
Type (max u_1 (max (max u_3 u_1) u_2 u_1) u_1)

02.1's scalar coordinate indices: relations, activity, values, and traces.

Equations
Instances For
    theorem MindFormal.coordinate_count (C : Type u_1) (T : Type u_2) (Λ : Type u_3) [Fintype C] [Fintype T] [Fintype Λ] (n : ℕ) :

    02.1: counting the four sorts of physical coordinate gives the printed dimension formula for finite contents, value horizons and trace rates. This is coordinate counting; it does not claim the physical state alone is Markov.

    def MindFormal.valueDrift {C : Type u_1} {E : Type u_2} (presence : C → ℝ) (response : E → ℝ) :

    III's instantaneous systematic value change at one horizon, with one common response vector. Innovations are a separate object.

    Equations
    Instances For
      theorem MindFormal.valueDrift_rank_le_one {C : Type u_1} {E : Type u_2} [Finite C] [Fintype E] (presence : C → ℝ) (response : E → ℝ) :
      (valueDrift presence response).rank ≤ 1

      02.9: at a fixed horizon III's systematic drift matrix has rank at most one. This does not constrain the innovation matrix or finite-time changes.

      theorem MindFormal.valueDrift_proportional {C : Type u_1} {E : Type u_2} (presence : C → ℝ) (response : E → ℝ) (i j : C) (b : E) :
      presence j * valueDrift presence response i b - presence i * valueDrift presence response j b = 0

      02.9: all systematic value changes are proportional to traced presence; the cross-multiplied identity holds even when a presence is zero.

      theorem MindFormal.valueDrift_zero {C : Type u_1} {E : Type u_2} (presence : C → ℝ) :
      (valueDrift presence fun (x : E) => 0) = 0

      02.9: zero common surprise response removes the systematic drift. In III, zero surprise implies this premise because k(0)=0; noise is not removed.

      theorem MindFormal.valueDrift_cross_derivative (presence_i η presenceRate_j presence_j τ δ₀ v₀ : ℝ) (response : ℝ → ℝ) (responsePartial : ℝ) (hk : HasDerivAt response responsePartial δ₀) :
      HasDerivAt (fun (v : ℝ) => presence_i * η * response (δ₀ + (presenceRate_j - presence_j / τ) * (v - v₀))) (presence_i * η * responsePartial * (presenceRate_j - presence_j / τ)) v₀

      02.9: varying one other value element changes this drift component by presence_i * eta * the response partial derivative * (presenceRate_j - presence_j/tau). The response is the coordinate slice of k with other surprise elements fixed; all activity, traces, input and attention are fixed, and differentiability is explicit. This is the printed cross-value derivative, not a time derivative.

      structure MindFormal.Observation (Run : Type u_1) (Out : Type u_2) [MeasurableSpace Run] [MeasurableSpace Out] :
      Type (max u_1 u_2)

      03.1: a measurable read of a supplied complete run. The Run type must carry the history and protocol in an application; no Markov assertion is built in.

      Instances For
        noncomputable def MindFormal.observationDistribution {Run : Type u_1} {Out : Type u_2} [MeasurableSpace Run] [MeasurableSpace Out] (observation : Observation Run Out) (μ : MeasureTheory.Measure Run) :

        03.1: the distribution of an observation is the pushforward of the run measure, distinct in type from one realized value observation.read run.

        Equations
        Instances For
          theorem MindFormal.firstContact_eq_zero {G : ℝ → ℝ} {release hit : ℝ} (ht : release ≤ hit) (hG : ContinuousOn G (Set.Icc release hit)) (hstart : G release < 0) (hend : 0 ≤ G hit) (hbefore : ∀ (t : ℝ), release ≤ t → t < hit → G t < 0) :
          G hit = 0

          03.10: a continuous qualification function, negative at release and strictly negative until its attained first qualifying time, equals zero there. This pathwise theorem includes continuous noisy paths but assumes a supplied run; it does not prove existence or the distribution of the first time.

          theorem MindFormal.focus_qualification (x α Y ι : ℝ) :
          0 ≤ min (x - α) (Y - ι) ↔ α ≤ x ∧ ι ≤ Y

          03.10: a focus candidate qualifies exactly when both awareness and the attention read qualify; the continuous guard is their minimum.

          theorem MindFormal.awareness_contact {α Y ι : ℝ} (hY : ι < Y) :
          min (α - α) (Y - ι) = 0 ∧ ι < Y

          03.10: reaching awareness can make the focus guard exactly zero while the attention score already exceeds its threshold; hY states that strict excess.