MindFormal v1.0.0One Mind

MindFormal.Example.A705SupportPrograms.ReturnAct

The actual first act on a sample path: a path within ε of the reference on [0, δ] crosses the threshold first at some τ ∈ (0, δ), which is the native V act; |τ - t*| is at most 10 ‖scoreL‖ ε; and the sign of τ - t* follows the projected linear response.

theorem MindFormal.A705SupportPrograms.Return.first_crossing {x : ℝ → ResponsiveSearch.Coord → ℝ} (hx : Continuous x) (hx0 : x 0 = s0) {ε : ℝ} (hε : ‖scoreL‖ * ε < Obar C.δ - ↑C.a) (hclose : ∀ t ∈ Set.Icc 0 C.δ, ‖x t - ybar t‖ ≤ ε) :
∃ τ ∈ Set.Ioo 0 C.δ, scoreL (x τ) = ↑C.a ∧ (∀ s ∈ Set.Ico 0 τ, scoreL (x s) < ↑C.a) ∧ |τ - C.tstar| ≤ 10 * (‖scoreL‖ * ε)

The first crossing of a path near the reference.

theorem MindFormal.A705SupportPrograms.Return.actual_first_act {Ω : Type u_1} [MeasurableSpace Ω] (G : EquationGround Ω ResponsiveSearch.Coord) (hG : CompletedEquationGround G) (χ : ℝ) (hχ : 0 < χ) (ω : Ω) (H : NNReal) {τ : ℝ} (hτ : τ ∈ Set.Ioo 0 C.δ) (hτH : τ ≤ ↑H) (hτa : scoreL (((expR G hG χ hχ).supportHistory ω).state τ) = ↑C.a) (hbefore : ∀ s ∈ Set.Ico 0 τ, scoreL (((expR G hG χ hχ).supportHistory ω).state s) < ↑C.a) :
((((expR G hG χ hχ).supportHistory ω).native (↑H) false).search 0).event = some (τ, 1)

The actual run's first native V act is the first crossing.