MindFormal v1.0.0One Mind

MindFormal.Equations.NativeRecordMeasurability

theorem MindFormal.native_event_priority_code {N : ℕ} {guard score : ℝ → Fin N → ℝ} {r H t : ℝ} (s : NativeSearch guard score r H) (i : Fin N) (he : s.event = some (t, i)) :
nativePriorityCode (guard t) (score t) = i.castSucc

02.12: exact finite-priority identification at any recorded native hit. For arbitrary native guards/scores and a supplied event (t, i), the priority code evaluated on that already determined state is i. No winner is postulated beyond the event's native attainment, maximum and tie rules.

noncomputable def MindFormal.compactNativeRecord {H : ℝ} {N : ℕ} (hH : 0 ≤ H) (p : NativeSearchData H N) (score : ℝ → Fin N → ℝ) :
ℝ × Fin (N + 1)

02.12: the compact search's real time and finite label encoding. A hit has its actual time/label; deferral has time H+1 and the separate last label.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.compactNativeRecord_exact {H : ℝ} {N : ℕ} (hH : 0 ≤ H) (p : NativeSearchData H N) (score : ℝ → Fin N → ℝ) :
    compactNativeRecord hH p score = (compactNativeSearch hH p score).event.elim (H + 1, Fin.last N) fun (q : ℝ × Fin N) => (q.1, q.2.castSucc)

    02.12: the constructed compact record is exactly the existing native search event, for H>=0, finitely many labels, nonnegative release, a supplied continuous compact guard path and arbitrary scores, with explicit deferral encoding. This proves that the measurable time/priority construction preserves the native selector including ties.

    theorem MindFormal.compactNativeRecord_measurable_parameters {Ω : Type u_1} [MeasurableSpace Ω] {H : ℝ} {N : ℕ} (hH : 0 ≤ H) (release : Ω → NNReal) (guard : Ω → C(↑(HorizonTime H), Fin N → ℝ)) (score : Ω → ℝ → Fin N → ℝ) (hr : Measurable release) (hg : Measurable guard) (hs : Measurable fun (p : Ω × ℝ) => score p.1 p.2) :
    Measurable fun (z : Ω) => compactNativeRecord hH (release z, guard z) (score z)

    02.12, B3: for H>=0, finitely many labels, an arbitrary measurable parameter space, measurable nonnegative releases and continuous-guard paths, and ranking scores jointly measurable in parameter and time, the complete compact native record is measurable. Scores may carry information absent from the qualification guard. This proves the event-map kernel needed by the random switch recursion.