MindFormal v1.0.0One Mind

MindFormal.Tools.PathwiseContinuation

02.12: bounds along a reflected integral path and continuation by cutoffs. Only continuous additive drivers are used; the stochastic application is restricted to constant amplitudes. Time-dependent forcing is integrated in the ordinary Bochner sense. No global growth of assembled products is presumed.

noncomputable def MindFormal.forcingInput {H : ℝ} {I : Type u_1} [Fintype I] (hH : 0 ≤ H) (f : ℝ → I → ℝ) (hf : IntervalIntegrable f MeasureTheory.volume 0 H) (start : I → ℝ) (w : C(↑(HorizonTime H), I → ℝ)) :
C(↑(HorizonTime H), I → ℝ)

02.12: a start plus ordinary integrated forcing and continuous driver.

Equations
Instances For
    noncomputable def MindFormal.reflectedForcing {H : ℝ} {I : Type u_1} [Fintype I] (hH : 0 ≤ H) (reflect : I → Bool) (f : ℝ → I → ℝ) (hf : IntervalIntegrable f MeasureTheory.volume 0 H) (start : I → ℝ) (w : C(↑(HorizonTime H), I → ℝ)) :
    C(↑(HorizonTime H), I → ℝ)

    02.12: reflection of a start, integrable forcing and continuous additive path. Separating forcing from state permits estimates along a solution.

    Equations
    Instances For
      theorem MindFormal.reflectedForcing_growth_bound {H : ℝ} {I : Type u_1} [Fintype I] (hH : 0 ≤ H) (reflect : I → Bool) (f : ℝ → I → ℝ) (hf : IntervalIntegrable f MeasureTheory.volume 0 H) {C : ℝ} (hC : 0 ≤ C) (start : I → ℝ) (w x : C(↑(HorizonTime H), I → ℝ)) (hg : ∀ (t : ↑(HorizonTime H)), ‖f ↑t‖ ≤ C * (1 + ‖x t‖)) (hx : reflectedForcing hH reflect f hf start w = x) (t : ↑(HorizonTime H)) :
      ‖x t‖ ≤ 2 * (‖start‖ + ‖w‖ + C * H) * Real.exp (2 * C * H)

      02.12, constant-amplitude pathwise bound. For H>=0, finite coordinates, any floor mask/start, integrable forcing f and continuous paths w,x, suppose x is the reflection of start+integral(f)+w. If C>=0 and only along this path norm(f(t))<=C*(1+norm(x(t))), then every x(t) has norm at most 2*(norm(start)+norm(w)+CH)exp(2CH). No global drift growth, differentiable driver, probabilistic estimate or bound on the solution is assumed.

      def MindFormal.projectPath {H : ℝ} {I : Type u_1} {J : Type u_2} (p : J → I) (x : C(↑(HorizonTime H), I → ℝ)) :
      C(↑(HorizonTime H), J → ℝ)

      02.12: read any finite family of state coordinates as a continuous path.

      Equations
      Instances For
        def MindFormal.coordinateProjection {I : Type u_1} {J : Type u_2} [Fintype I] [Fintype J] (p : J → I) :
        (I → ℝ) →L[ℝ] J → ℝ

        02.12: the continuous linear coordinate projection used to commute ordinary integrals with the activity/trace/learned coordinate reads.

        Equations
        Instances For
          theorem MindFormal.productReflection_project {H : ℝ} {I : Type u_1} {J : Type u_2} (p : J → I) (reflect : I → Bool) (x : C(↑(HorizonTime H), I → ℝ)) :

          02.12, constant-amplitude projection step. For any coordinate map p and floor mask, projecting a continuous reflected input equals reflecting the projected input with the projected mask. No injectivity is required.

          theorem MindFormal.forcing_project_integrable {I : Type u_1} {J : Type u_2} [Fintype I] [Fintype J] (p : J → I) {f : ℝ → I → ℝ} {H : ℝ} (hf : IntervalIntegrable f MeasureTheory.volume 0 H) :
          IntervalIntegrable (fun (t : ℝ) (j : J) => f t (p j)) MeasureTheory.volume 0 H

          02.12, constant-amplitude projection step. For finite coordinate types, every coordinate projection of interval-integrable forcing is integrable; this uses an ordinary continuous linear map, not a stochastic integral.

          theorem MindFormal.reflectedForcing_project {H : ℝ} {I : Type u_1} {J : Type u_2} [Fintype I] [Fintype J] (hH : 0 ≤ H) (p : J → I) (reflect : I → Bool) (f : ℝ → I → ℝ) (hf : IntervalIntegrable f MeasureTheory.volume 0 H) (start : I → ℝ) (w : C(↑(HorizonTime H), I → ℝ)) :
          projectPath p (reflectedForcing hH reflect f hf start w) = reflectedForcing hH (reflect ∘ p) (fun (t : ℝ) (j : J) => f t (p j)) ⋯ (start ∘ p) (projectPath p w)

          02.12, constant-amplitude projection step. On H>=0 with finite coordinates, projection of a reflected start+forcing-integral+driver is the same reflected integral path in the selected coordinates. The forcing is interval integrable and the additive driver continuous; no solution or growth bound is assumed. This permits activity and trace estimates before learning.

          theorem MindFormal.vectorClamp_project_norm {I : Type u_1} {J : Type u_2} [Fintype J] (p : J → I) {R : ℝ} (hR : 0 ≤ R) (z : I → ℝ) :
          ‖fun (j : J) => vectorClamp R hR z (p j)‖ ≤ ‖fun (j : J) => z (p j)‖

          02.12, constant-amplitude cutoff estimate. For finite coordinates, a nonnegative cutoff radius, any state and any coordinate projection, clamping cannot increase the projected state's maximum norm. This preserves each stage's growth estimate independently of the learned-coordinate cutoff.