MindFormal v1.0.0One Mind

MindFormal.Equations.NativeRecursion

theorem MindFormal.native_schedule_exists {N : ℕ} (guard score : ℝ → Fin N → ℝ) (H pause : ℝ) (hp : 0 < pause) (hc : ∀ (i : Fin N), ContinuousOn (fun (t : ℝ) => guard t i) (Set.Ici 0)) :
Nonempty (NativeSchedule guard score H pause)

02.12, IV/V. A finite candidate family with guards continuous on nonnegative time and a strictly positive pause has a complete native schedule on any real horizon H. Ranking scores are arbitrary. Releases and first qualifying events are constructed recursively; no event or selected label is assumed. This is pathwise and needs neither probability nor a noise-amplitude restriction.

theorem MindFormal.native_event_time_lower {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (schedule : NativeSchedule guard score H pause) (n : ℕ) (t : ℝ) (i : Fin N) :
(schedule.search n).event = some (t, i) → ↑n * pause ≤ t

02.12. For any supplied native schedule, the n-th recorded event occurs no earlier than n times its positive refractory pause. This includes the first event at zero as an allowed case and proves the separation needed for the finite-horizon count; the path, guard and ranking functions are otherwise unrestricted.

theorem MindFormal.native_event_index_cap {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (schedule : NativeSchedule guard score H pause) {n : ℕ} {t : ℝ} {i : Fin N} (he : (schedule.search n).event = some (t, i)) :
n ≤ ⌊H / pause⌋₊

02.12. On any real horizon H, every recorded index n in a native schedule is at most floor(H/pause). The positive pause is part of the schedule. This proves the endpoint-inclusive count cap from actual native events rather than from a separately supplied sequence of event times.

theorem MindFormal.native_schedule_finite_count {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (schedule : NativeSchedule guard score H pause) :
{n : ℕ | (schedule.search n).event ≠ none}.Finite ∧ {n : ℕ | (schedule.search n).event ≠ none}.ncard ≤ 1 + ⌊H / pause⌋₊

02.12. For a supplied native schedule on a finite candidate family and any real horizon, the set of recorded slots is finite and contains at most 1 + floor(H/pause) elements. Empty candidate families and deferral are allowed. Applied separately to IV and V this gives the focus and action caps with pause rho and theta, respectively.

theorem MindFormal.native_schedule_events_unique {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (left right : NativeSchedule guard score H pause) (n : ℕ) :
(left.search n).event = (right.search n).event

02.12, IV/V. Two schedules on the same finite family of guards, scores, horizon and pause record exactly the same optional event in every slot. Their release values after terminal deferral need not agree. The theorem proves uniqueness of the entire timed record, including ties, from the native definitions alone.

noncomputable def MindFormal.nativeScheduleOfPaths {N : ℕ} (guard score : ℝ → Fin N → ℝ) (H pause : ℝ) (hp : 0 < pause) (hc : ∀ (i : Fin N), ContinuousOn (fun (t : ℝ) => guard t i) (Set.Ici 0)) :
NativeSchedule guard score H pause

02.12, IV/V: the schedule constructed from continuous guards and a positive pause.

Equations
Instances For
    noncomputable def MindFormal.nativeFocusPulse {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (schedule : NativeSchedule guard score H pause) (t : ℝ) (i : Fin N) :

    02.12, IV: the pulse equals one precisely on the selected half-open focus windows.

    Equations
    Instances For
      theorem MindFormal.native_event_separated {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (schedule : NativeSchedule guard score H pause) {n m : ℕ} {t u : ℝ} {i j : Fin N} (hnm : n < m) (hn : (schedule.search n).event = some (t, i)) (hm : (schedule.search m).event = some (u, j)) :
      t + pause ≤ u

      02.12, IV/V. In any native schedule, two actual events with indices n<m have times separated by at least its positive pause. The guards, scores and real horizon are arbitrary; the schedule supplies attainment, terminal deferral and the actual next-release rule. This is the refractory separation clause.

      theorem MindFormal.native_focus_pulse_unique {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (left right : NativeSchedule guard score H pause) (t : ℝ) (i : Fin N) :

      02.12, IV. For two supplied native schedules on identical finite guards, scores, horizon and pause, the half-open focus pulses agree at every real time and label. No continuity or probability assumption beyond the native records is added. Thus choosing a witness in nativeScheduleOfPaths does not choose a pulse.