MindFormal v1.0.0One Mind

MindFormal.Run.NativeProcesses

@[instance_reducible]

02.12: the usual discrete sigma algebra on the finite optional contents.

Equations
noncomputable def MindFormal.recordContent {N : ℕ} (h : { h : FiniteActionHistory (Fin N) // ChronologicalHistory h }) (t : ℝ) :

02.12, D8/D9: extract the optional content at the exact time t from a chronological finite record. There is no content between record times.

Equations
Instances For
    theorem MindFormal.chronological_label_unique {N : ℕ} (h : FiniteActionHistory (Fin N)) (hh : ChronologicalHistory h) {t : ℝ} {i j : Fin N} {k l : ℕ} (hk : ↑h k = (t, Sum.inl i)) (hl : ↑h l = (t, Sum.inl j)) :
    i = j

    02.12, IV/V: chronological records cannot contain different labels at the same time. Finite support alone would not imply this; strict ordering of occupied record slots supplies the necessary uniqueness.

    theorem MindFormal.recordContent_some {N : ℕ} (h : { h : FiniteActionHistory (Fin N) // ChronologicalHistory h }) (t : ℝ) (i : Fin N) :
    recordContent h t = some i ↔ ∃ (k : ℕ), ↑↑h k = (t, Sum.inl i)

    02.12, IV/V pointwise identity: for any chronological finite record, the optional content equals i exactly when that record contains (t,i). The choice operation introduces no new event or label assumption.

    theorem MindFormal.recordContent_none {N : ℕ} (h : { h : FiniteActionHistory (Fin N) // ChronologicalHistory h }) (t : ℝ) :
    recordContent h t = none ↔ ¬∃ (i : Fin N) (k : ℕ), ↑↑h k = (t, Sum.inl i)

    02.12, IV/V off-event identity: at every real time with no record entry the content process is none, and conversely. This is pointwise, including zero and endpoints, for any chronological finite record.

    02.12, adaptation building block: reading an optional content at a fixed real time is measurable on the space of chronological finite histories. Its fibers are countable unions of measurable occupied-slot equalities.

    noncomputable def MindFormal.nativeContentProcess {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (c : Bool) (t : NNReal) (z : Ω) :

    02.12, D8/D9: content-valued optional native process on the actual constructed run. True is focus, false action. The record horizon is the evaluation time itself, so the definition uses only available history.

    Equations
    Instances For
      theorem MindFormal.nativeContentProcess_adapted {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (c : Bool) :

      02.12, ground/D8/D9: both content-valued native processes are adapted to the original completed filtration of the constructed run. Only PhysicalNoiseData's primitive hypotheses are used; record adaptation is proved by the existing construction and the extraction is measurable.

      theorem MindFormal.nativeContentProcess_records {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (c : Bool) (t : NNReal) (z : Ω) (i : Fin N) :
      nativeContentProcess S c t z = some i ↔ ∃ (k : ℕ), (((S.globalData z).native (↑t) c).search k).event = some (↑t, i)

      02.12, IV/V: on the constructed run, the optional process is i at t exactly at a native record (t,i). Both clocks, all primitive data, arbitrary content sets and nonnegative t are covered, with no event premise.

      theorem MindFormal.nativeContentProcess_off_event {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (c : Bool) (t : NNReal) (z : Ω) :
      nativeContentProcess S c t z = none ↔ ¬∃ (i : Fin N) (k : ℕ), (((S.globalData z).native (↑t) c).search k).event = some (↑t, i)

      02.12, IV/V: the content-valued process is absent at exactly the times with no native record. This transfers the pointwise off-event clause to the actual global run, rather than only to its auxiliary timed slot arrays.

      noncomputable def MindFormal.constructedFocus {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) :
      NNReal → Ω → Option (Fin N)

      02.12, D8/IV: the actual optional focus at a nonnegative time.

      Equations
      Instances For
        noncomputable def MindFormal.constructedAction {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) :
        NNReal → Ω → Option (Fin N)

        02.12, D9/V: the actual optional action at a nonnegative time.

        Equations
        Instances For
          theorem MindFormal.nativeContentProcess_selection {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (c : Bool) (t : NNReal) (z : Ω) (i : Fin N) (hi : nativeContentProcess S c t z = some i) :
          have G := S.globalData z; have R := G.native (↑t) c; ∃ (k : ℕ), (R.search k).event = some (↑t, i) ∧ R.release k ≤ ↑t ∧ 0 ≤ (G.reads.guards c) (G.realPath ↑t) i ∧ (∀ (s : ℝ), R.release k ≤ s → s < ↑t → ∀ (j : Fin N), (G.reads.guards c) (G.realPath s) j < 0) ∧ (∀ (j : Fin N), 0 ≤ (G.reads.guards c) (G.realPath ↑t) j → (G.reads.scores c) (G.realPath ↑t) j ≤ (G.reads.scores c) (G.realPath ↑t) i) ∧ (∀ (j : Fin N), 0 ≤ (G.reads.guards c) (G.realPath ↑t) j → (G.reads.scores c) (G.realPath ↑t) j = (G.reads.scores c) (G.realPath ↑t) i → i ≤ j) ∧ R.release (k + 1) = ↑t + S.pause c

          02.12, IV/V selection and clocks: whenever the constructed optional process takes content i at t, its actual native slot qualifies, has the first hit after its release, maximizes eligible scores with the declared Fin priority, and opens the next search after exactly its refractory pause. The hypotheses are only the primitive solver datum, clock, realization, nonnegative time and observed optional content; no native specification is assumed.

          theorem MindFormal.constructed_focus_IV {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (t : NNReal) (z : Ω) (i : Fin N) (hi : constructedFocus S t z = some i) :
          have P := (S.globalData z).realPath ↑t; have Y := fun (j : Fin N) => S.reads.attention ((physicalReadState j) P); S.reads.awarenessBar ≤ mindActivity (↑P) i ∧ S.reads.attentionBar ≤ Y i ∧ (∀ (j : Fin N), S.reads.awarenessBar ≤ mindActivity (↑P) j → Y j ≤ Y i) ∧ ∀ (j : Fin N), S.reads.awarenessBar ≤ mindActivity (↑P) j → Y j = Y i → i ≤ j

          02.12, IV in the book's full aware-set grain: an observed optional focus i is aware, reaches the attention threshold, maximizes Y over EVERY aware content (including those below the attention threshold), and wins equal-score ties by the declared order. Only primitive solver data, a realization, nonnegative time and the observed content are hypotheses.

          theorem MindFormal.constructed_action_V {Ω : 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} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (t : NNReal) (z : Ω) (i : Fin N) (hi : constructedAction S t z = some i) :
          have P := (S.globalData z).realPath ↑t; have O := fun (j : Fin N) => S.reads.output ((physicalReadState j) P); S.reads.outputs i = true ∧ S.reads.actionBar ≤ O i ∧ (∀ (j : Fin N), S.reads.outputs j = true → O j ≤ O i) ∧ ∀ (j : Fin N), S.reads.outputs j = true → O j = O i → i ≤ j

          02.12, V in the book's full output-set grain: an observed optional action i belongs to the output set, reaches the action threshold, maximizes O over EVERY output content (including those below threshold), and wins equal scores by the declared order. The only hypotheses are primitive solver data, a realization, nonnegative time and the observed optional action.