MindFormal v1.0.0One Mind

MindFormal.Tools.RefractoryOccupation

Deterministic facts about the existing native first-crossing recursion. The guard has one candidate and is the supplied sign path. Missing events remain ⊤; they are never replaced by arbitrary finite search times.

noncomputable def MindFormal.RefractoryOccupation.event (x : NNReal → ℝ) (θ : NNReal) (n : ℕ) :

The existing native event recursion specialized to one sign guard.

Equations
Instances For

    Closed-horizon event indices: the initial event and an event exactly at the right endpoint are included. An absent event is excluded.

    Equations
    Instances For
      noncomputable def MindFormal.RefractoryOccupation.count (x : NNReal → ℝ) (θ H : NNReal) :

      The actual cardinality of the finite closed-horizon index set.

      Equations
      Instances For
        theorem MindFormal.RefractoryOccupation.event_add_pause_le {x : NNReal → ℝ} (hc : Continuous x) (θ : NNReal) (n : ℕ) :
        event x θ n + ↑θ ≤ event x θ (n + 1)

        A later search is released one whole pause after its predecessor.

        Successive events cannot run backwards, including after termination.

        theorem MindFormal.RefractoryOccupation.event_lower {x : NNReal → ℝ} (hc : Continuous x) (θ : NNReal) (n : ℕ) :
        ↑(↑n * θ) ≤ event x θ n

        Positive pauses force an increasing deterministic lower bound on event times, without assuming that any later event exists.

        theorem MindFormal.RefractoryOccupation.index_le_floor {x : NNReal → ℝ} (hc : Continuous x) {θ : NNReal} (hθ : 0 < θ) {H : NNReal} {n : ℕ} (hn : n ∈ indices x θ H) :

        Every index counted at a finite horizon is bounded by ⌊H/θ⌋.

        theorem MindFormal.RefractoryOccupation.indices_finite {x : NNReal → ℝ} (hc : Continuous x) {θ : NNReal} (hθ : 0 < θ) (H : NNReal) :
        (indices x θ H).Finite

        Local finiteness comes from the pause alone; no recurrence or existence of infinitely many acts is assumed.

        theorem MindFormal.RefractoryOccupation.count_le {x : NNReal → ℝ} (hc : Continuous x) {θ : NNReal} (hθ : 0 < θ) (H : NNReal) :
        count x θ H ≤ ⌊H / θ⌋₊ + 1

        The closed-horizon count retains the initial-act allowance.

        theorem MindFormal.RefractoryOccupation.event_zero {x : NNReal → ℝ} (hc : Continuous x) (h0 : 0 ≤ x 0) (θ : NNReal) :
        event x θ 0 = 0

        If the guard is initially eligible, the first native act is exactly at zero. In particular it is present even when the horizon is zero.

        theorem MindFormal.RefractoryOccupation.event_contact {x : NNReal → ℝ} (hc : Continuous x) (θ : NNReal) {n : ℕ} {s : NNReal} (he : event x θ n = ↑s) :
        0 ≤ x s

        A finite native event is eligible at its own time.

        theorem MindFormal.RefractoryOccupation.event_separated {x : NNReal → ℝ} (hc : Continuous x) (θ : NNReal) {n m : ℕ} (hnm : n < m) {s t : NNReal} (hs : event x θ n = ↑s) (ht : event x θ m = ↑t) :
        s + θ ≤ t

        Distinct finite event times are separated by a full pause.

        theorem MindFormal.RefractoryOccupation.event_eq_top_of_eq_top {x : NNReal → ℝ} (hc : Continuous x) (θ : NNReal) {n m : ℕ} (hnm : n ≤ m) (hn : event x θ n = ⊤) :
        event x θ m = ⊤

        Once a search has no future event, all subsequent events are absent.

        theorem MindFormal.RefractoryOccupation.positive_covered {x : NNReal → ℝ} (hc : Continuous x) (h0 : 0 ≤ x 0) {θ : NNReal} (hθ : 0 < θ) {t : NNReal} (ht : 0 ≤ x t) :
        ∃ (n : ℕ) (s : NNReal), event x θ n = ↑s ∧ s ≤ t ∧ t < s + θ

        At a nonnegative sign time, some preceding native act still has its refractory interval covering that time. The right end is open: an eligible time exactly at release produces the next act.

        noncomputable def MindFormal.RefractoryOccupation.time {x : NNReal → ℝ} {θ H : NNReal} (n : ↑(indices x θ H)) :

        The finite time attached to a closed-horizon native index.

        Equations
        Instances For
          theorem MindFormal.RefractoryOccupation.event_time {x : NNReal → ℝ} {θ H : NNReal} (n : ↑(indices x θ H)) :
          event x θ ↑n = ↑(time n)

          Extracting a finite event time preserves the original native event.

          theorem MindFormal.RefractoryOccupation.time_le {x : NNReal → ℝ} {θ H : NNReal} (n : ↑(indices x θ H)) :
          time n ≤ H

          A counted event's extracted time lies in the closed horizon.

          Full refractory intervals of the acts counted by H, including the possible final interval's overhang beyond H.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Refractory coverage is a measurable countable union of half-open intervals, whether or not local finiteness has yet been established.

            theorem MindFormal.RefractoryOccupation.refractory_subset (x : NNReal → ℝ) (θ H : NNReal) :
            refractory x θ H ⊆ Set.Ico 0 (↑H + ↑θ)

            Only one pause's width can overhang the observation horizon.

            theorem MindFormal.RefractoryOccupation.refractory_disjoint {x : NNReal → ℝ} (hc : Continuous x) (θ H : NNReal) :
            Pairwise fun (n m : ↑(indices x θ H)) => Disjoint (Set.Ico (↑(time n)) (↑(time n) + ↑θ)) (Set.Ico (↑(time m)) (↑(time m) + ↑θ))

            Full refractory intervals are disjoint. Contact at a release time belongs to the later act's interval.

            theorem MindFormal.RefractoryOccupation.refractory_length {x : NNReal → ℝ} (hc : Continuous x) {θ : NNReal} (hθ : 0 < θ) (H : NNReal) :
            MeasureTheory.volume.real (refractory x θ H) = ↑θ * ↑(count x θ H)

            The total length of the full disjoint refractory intervals is the pause multiplied by the closed-horizon count.

            theorem MindFormal.RefractoryOccupation.positive_subset_refractory {x : NNReal → ℝ} (hc : Continuous x) (h0 : 0 ≤ x 0) {θ : NNReal} (hθ : 0 < θ) (H : NNReal) :
            Set.Icc 0 ↑H ∩ {t : ℝ | 0 ≤ x t.toNNReal} ⊆ refractory x θ H

            Every nonnegative sign time in the observation window lies in a refractory interval of a counted native act.

            theorem MindFormal.RefractoryOccupation.negative_refractory_zero {x : NNReal → ℝ} (hc : Continuous x) (θ H : NNReal) {t : ℝ} (ht : t ∈ refractory x θ H) (hneg : x t.toNNReal < 0) :
            BrownianOccupation.zeroWindow (fun (u : ℝ) => x u.toNNReal) (↑θ) t

            A negative sign occurring during a refractory interval has a zero in its preceding pause window, by continuity and eligibility at the act. This is a pointwise inclusion and needs no zero-set-null hypothesis.

            theorem MindFormal.RefractoryOccupation.comparison {x : NNReal → ℝ} (hc : Continuous x) (h0 : 0 ≤ x 0) {θ : NNReal} (hθ : 0 < θ) (H : NNReal) :
            0 ≤ ↑θ * ↑(count x θ H) - BrownianOccupation.positiveTime (fun (t : ℝ) => x t.toNNReal) ↑H ∧ ↑θ * ↑(count x θ H) - BrownianOccupation.positiveTime (fun (t : ℝ) => x t.toNNReal) ↑H ≤ ↑θ + BrownianOccupation.zeroTime (fun (t : ℝ) => x t.toNNReal) ↑θ ↑H

            Deterministic ST15 comparison for the existing native first-crossing recursion. Events in closed [0,H] are all counted, including zero and the right endpoint. Missing later events are permitted.