MindFormal v1.0.0One Mind

MindFormal.Equations.NativeCore

structure MindFormal.NativeSearch {N : ℕ} (guard score : ℝ → Fin N → ℝ) (release H : ℝ) :

02.12, IV/V: a finite-horizon native search, censored at H. guard is the action score minus threshold or min(activity-awareness, attention-threshold). score is the score used to rank eligible labels; Fin order is fixed priority. These are definitions of the search, not a prescribed winning label.

  • continuous_guard (i : Fin N) : ContinuousOn (fun (t : ℝ) => guard t i) (Set.Icc release H)

    02.12. Each candidate's qualification read is continuous on the search interval [release,H].

  • event : Option (ℝ × Fin N)

    02.12 native records: absent means deferral through H; present is time and label.

  • attained (t : ℝ) (i : Fin N) : self.event = some (t, i) → release ≤ t ∧ t ≤ H ∧ 0 ≤ guard t i

    02.12 first attained hit: a recorded label qualifies within the search interval.

  • earliest (t : ℝ) (i : Fin N) : self.event = some (t, i) → ∀ (s : ℝ), release ≤ s → s < t → ∀ (j : Fin N), guard s j < 0

    02.12. Whenever an event is recorded, every candidate is strictly unqualified from release up to, but excluding, the recorded time.

  • maximal (t : ℝ) (i : Fin N) : self.event = some (t, i) → ∀ (j : Fin N), 0 ≤ guard t j → score t j ≤ score t i

    02.12 IV/V: at the hit the largest score among eligible candidates is selected.

  • priority (t : ℝ) (i : Fin N) : self.event = some (t, i) → ∀ (j : Fin N), 0 ≤ guard t j → score t j = score t i → i ≤ j

    02.12 fixed priority resolves equal scores among eligible candidates.

  • deferred : self.event = none → ∀ t ∈ Set.Icc release H, ∀ (i : Fin N), guard t i < 0

    02.12. An absent event requires every candidate to be strictly unqualified at every time in [release,H]. This field constrains that search interval.

Instances For
    structure MindFormal.NativeSchedule {N : ℕ} (guard score : ℝ → Fin N → ℝ) (H pause : ℝ) :

    02.12: successive native searches with a positive refractory interval. Later releases are linked to the actual earlier event, never to a nominal time. Slots after deferral remain deferred. Focus and action use separate instances.

    • positive_pause : 0 < pause

      02.12 and IV/V: the refractory interval is strictly positive.

    • release : ℕ → ℝ

      02.12 IV/V: release times, with unused slots allowed beyond the horizon.

    • initial_release : self.release 0 = 0

      02.12 IV/V: the initial search opens at zero.

    • search (n : ℕ) : NativeSearch guard score (self.release n) H

      02.12: each slot obeys the same native first-hit definition.

    • next_release (n : ℕ) (t : ℝ) (i : Fin N) : (self.search n).event = some (t, i) → self.release (n + 1) = t + pause

      02.12 refractory rule: the next search opens one pause after the actual event.

    • terminal (n : ℕ) : (self.search n).event = none → (self.search (n + 1)).event = none

      02.12 censored records: no later event can follow deferral through H.

    Instances For
      theorem MindFormal.finite_priority_max {N : ℕ} (eligible : Finset (Fin N)) (score : Fin N → ℝ) (hne : eligible.Nonempty) :
      ∃ i ∈ eligible, (∀ j ∈ eligible, score j ≤ score i) ∧ ∀ j ∈ eligible, score j = score i → i ≤ j

      03.10: for any finite nonempty set of eligible labels and arbitrary real scores, a label maximizes the scores and is first in the fixed order among all equal-score maximizers. This proves the finite selection step of IV/V; it requires no independence or continuity of the ranking scores.

      theorem MindFormal.native_search_exists {N : ℕ} (guard score : ℝ → Fin N → ℝ) (release H : ℝ) (hc : ∀ (i : Fin N), ContinuousOn (fun (t : ℝ) => guard t i) (Set.Icc release H)) :
      Nonempty (NativeSearch guard score release H)

      03.10: for a finite candidate family whose qualification guards are continuous on the closed interval from release to H, a native search exists, with arbitrary real ranking scores and the fixed label priority. This includes empty candidate sets and empty search intervals. The earliest hit and its label are constructed from the paths; constructing an admitted stochastic run remains outside this pathwise result.

      theorem MindFormal.native_event_unique {N : ℕ} {guard score : ℝ → Fin N → ℝ} {release H : ℝ} (left right : NativeSearch guard score release H) :
      left.event = right.event

      03.10: two native searches on the same finite family of guards, ranking scores, release and horizon have exactly the same optional event. This includes the deferral case and all score ties; it proves uniqueness of the event without assuming a winner or a positive event probability.