MindFormal v1.0.0One Mind

MindFormal.Run.A1067NativeFlowKernel.Subst

The flow at random parameters (P3-61 C.2: "approximating stopping times from above and using (C3) verifies the version used at a random native event"). Along a random schedule and from a start known at time 0, the localized equation reads a predictable mode. Two such solutions with the same labels obey the flow's moment bound with the random parameter gap. When the start and the schedule take finitely many values, the solution is, almost surely, the flow's solution at its own parameter: on the start's finitely many events known at time 0 the flow's solutions are glued, and until the first time the random schedule departs from a fixed one the two equations coincide.

noncomputable def MindFormal.A1067NativeFlowKernel.rpar {N k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (inp : InputFamily N) (H ρ : NNReal) (z : ℝ) (S : RSched ℱ H k N) :
NNReal × Ω → (Fin N → ℝ) × (Fin N → ℝ)

The parameter path of a random schedule at a stimulus: the input and the schedule's mode.

Equations
Instances For
    theorem MindFormal.A1067NativeFlowKernel.measurable_rpar {N k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (inp : InputFamily N) (H ρ : NNReal) (z : ℝ) (S : RSched ℱ H k N) :
    Measurable (rpar inp H ρ z S)
    noncomputable def MindFormal.A1067NativeFlowKernel.rCoeff {N n p q m k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (I : EquationInstance N n (Fin p) (Fin q) (Fin m)) (hI : GroupsWorld.HSInstanceAdmission I) (inp : InputFamily N) (H ρ U R : NNReal) (z : ℝ) (S : RSched ℱ H k N) :

    The localized coefficients along a random schedule.

    Equations
    Instances For
      def MindFormal.A1067NativeFlowKernel.rθ {N n p q k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (s : Ω → St N n p q) (z : ℝ) (S : RSched ℱ H k N) (ω : Ω) :
      Par N n p q k

      The flow parameter of a random schedule from a random start.

      Equations
      Instances For
        theorem MindFormal.A1067NativeFlowKernel.rpar_eq_flowPar {N n p q k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (inp : InputFamily N) (H ρ : NNReal) (z : ℝ) (S : RSched ℱ H k N) (s : Ω → St N n p q) (u : NNReal) (ω ω' : Ω) :
        rpar inp H ρ z S (u, ω) = flowPar inp H ρ (S.label ω) (rθ s z S ω) (u, ω')
        theorem MindFormal.A1067NativeFlowKernel.flowStart_rθ {N n p q k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (H R : NNReal) (s : Ω → St N n p q) (z : ℝ) (S : RSched ℱ H k N) (ω ω' : Ω) :
        flowStart R (rθ s z S ω) ω' = clampBox R (s ω)

        Rounding the start #

        noncomputable def MindFormal.A1067NativeFlowKernel.roundSt {N n p q : ℕ} (l : ℕ) (x : St N n p q) :
        St N n p q

        Rounding a state down to the dyadic grid of mesh 2⁻ˡ.

        Equations
        Instances For
          theorem MindFormal.A1067NativeFlowKernel.dist_roundSt_le {N n p q : ℕ} (l : ℕ) (x : St N n p q) :
          dist (roundSt l x) x ≤ (2 ^ l)⁻¹

          The moment bound at random parameters #

          theorem MindFormal.A1067NativeFlowKernel.stabData_rflow_le {N n p q m k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (I : EquationInstance N n (Fin p) (Fin q) (Fin m)) (hI : GroupsWorld.HSInstanceAdmission I) (inp : InputFamily N) (H ρ U R : NNReal) {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (m' : ℕ) (w : Ω → Fin k → Fin N) (θ θ' : Ω → Par N n p q k) :
          (stabData 2 H m' (Idx N n p q) (Fin m) μ (fun (ω : Ω) => flowStart R (θ ω) ω) (fun (ω : Ω) => flowStart R (θ' ω) ω) (fun (x : NNReal × Ω) => flowGap I hI inp H ρ U R (w x.2) (θ x.2) (θ' x.2) x) fun (x : NNReal × Ω) => flowGap I hI inp H ρ U R (w x.2) (θ x.2) (θ' x.2) x) ≤ flowDataConst I hI inp H U R m' * ∫⁻ (ω : Ω), ENNReal.ofReal ‖θ ω - θ' ω‖ ^ (m' + 1) ∂μ

          The size of the data at random parameters, as a multiple of the mean parameter gap.

          theorem MindFormal.A1067NativeFlowKernel.rflow_moment {N n p q m k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (I : EquationInstance N n (Fin p) (Fin q) (Fin m)) (hI : GroupsWorld.HSInstanceAdmission I) (inp : InputFamily N) (H ρ U R : NNReal) {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} (hB : BrownianFiltration μ ℱ B) (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (m' : ℕ) (z : ℝ) (S S' : RSched ℱ H k N) (hl : S.label = S'.label) {s s' : Ω → St N n p q} (hs : MeasureTheory.StronglyMeasurable s) (hs' : MeasureTheory.StronglyMeasurable s') {W W' : NNReal → Ω → St N n p q} (hW : (rCoeff I hI inp H ρ U R z S).IsSolution B (PathReflection.floor mindFloor) (fun (ω : Ω) => clampBox R (s ω)) W) (hW' : (rCoeff I hI inp H ρ U R z S').IsSolution B (PathReflection.floor mindFloor) (fun (ω : Ω) => clampBox R (s' ω)) W') :
          ∫⁻ (ω : Ω), (⨆ (r : NNReal), ⨆ (_ : r ≤ H), ‖W r ω - W' r ω‖ₑ) ^ ↑(2 * m' + 2) ∂μ ≤ flowDataConst I hI inp H U R m' * flowExp I hI H U R m' * ∫⁻ (ω : Ω), ENNReal.ofReal ‖rθ s z S ω - rθ s' z S' ω‖ ^ (m' + 1) ∂μ

          The moment bound at random parameters: two solutions along random schedules with the same labels, from starts known at time 0, at the same stimulus, differ in the mean (2m' + 2)-th power of their running maximum by at most the flow's constant times the mean (m' + 1)-th power of the parameter gap.

          The first departure from a fixed schedule #

          noncomputable def MindFormal.A1067NativeFlowKernel.RSched.depart {N k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) (w : Fin k → Fin N) (d : Fin k → NNReal) (ω : Ω) :

          The first departure of a random schedule from fixed labels w and times d: the earliest time at which some focus differs in time or label (⊤ when none does).

          Equations
          Instances For
            theorem MindFormal.A1067NativeFlowKernel.RSched.depart_eq_top {N k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) {ω : Ω} :
            S.depart (S.label ω) (fun (j : Fin k) => S.time j ω) ω = ⊤
            theorem MindFormal.A1067NativeFlowKernel.RSched.isStoppingTime_depart {N k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) (w : Fin k → Fin N) (d : Fin k → NNReal) :
            theorem MindFormal.A1067NativeFlowKernel.RSched.mode_eq_of_le_depart {N k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (ρ : NNReal) (S : RSched ℱ H k N) {w : Fin k → Fin N} {d : Fin k → NNReal} (hd : ∀ (j : Fin k), d j ≤ H) {u : NNReal} {ω : Ω} (hu : ↑u ≤ S.depart w d ω) :
            mode ρ S (u, ω) = schedMode H ρ w (fun (j : Fin k) => ↑(d j)) u

            Before its first departure, a random schedule attends as the fixed one.

            Finitely many values #

            theorem MindFormal.A1067NativeFlowKernel.rsol_eq_flowSol_fin {N n p q m k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (I : EquationInstance N n (Fin p) (Fin q) (Fin m)) (hI : GroupsWorld.HSInstanceAdmission I) (inp : InputFamily N) (H ρ U R : NNReal) {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} (hB : BrownianFiltration μ ℱ B) (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) (z : ℝ) (S : RSched ℱ H k N) {s : Ω → St N n p q} (hsF : (Set.range s).Finite) (hs : ∀ (a : St N n p q), MeasurableSet {ω : Ω | s ω = a}) (hSF : ∀ (j : Fin k), (Set.range (S.time j)).Finite) {W : NNReal → Ω → St N n p q} (hW : (rCoeff I hI inp H ρ U R z S).IsSolution B (PathReflection.floor mindFloor) (fun (ω : Ω) => clampBox R (s ω)) W) :
            ∀ᵐ (ω : Ω) ∂μ, ∀ (t : NNReal), W t ω = flowSol I hI inp H ρ U R hB hnull (S.label ω) (rθ s z S ω) t ω

            At finitely many values the solution is the flow's. Along a random schedule whose times take finitely many values, from a start known at time 0 with finitely many values, the solution is almost surely the flow's solution at its own parameter and labels.

            The limit #

            theorem MindFormal.A1067NativeFlowKernel.dist_round_times_le {N k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} {H : NNReal} (S : RSched ℱ H k N) (l : ℕ) (ω : Ω) :
            dist ((S.round l).times ω) (S.times ω) ≤ (2 ^ l)⁻¹
            theorem MindFormal.A1067NativeFlowKernel.rsol_eq_version {N n p q m k : ℕ} {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {ℱ : MeasureTheory.Filtration NNReal mΩ} (I : EquationInstance N n (Fin p) (Fin q) (Fin m)) (hI : GroupsWorld.HSInstanceAdmission I) (inp : InputFamily N) (H ρ U R : NNReal) {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : Fin m → NNReal → Ω → ℝ} (hB : BrownianFiltration μ ℱ B) (hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s) {Y : (Fin k → Fin N) → Par N n p q k → Ω → C(↑(HorizonTime ↑H), St N n p q)} (hY : ∀ (w : Fin k → Fin N) (θ : Par N n p q k), Y w θ =ᵐ[μ] pathOn H (flowSol I hI inp H ρ U R hB hnull w θ) ⋯) (hYc : ∀ (w : Fin k → Fin N) (ω : Ω), Continuous fun (θ : Par N n p q k) => Y w θ ω) (z : ℝ) (S : RSched ℱ H k N) {s : Ω → St N n p q} (hs : MeasureTheory.StronglyMeasurable s) {W : NNReal → Ω → St N n p q} (hW : (rCoeff I hI inp H ρ U R z S).IsSolution B (PathReflection.floor mindFloor) (fun (ω : Ω) => clampBox R (s ω)) W) :
            ∀ᵐ (ω : Ω) ∂μ, pathOn H W ⋯ ω = Y (S.label ω) (rθ (fun (ω : Ω) => clampBox R (s ω)) z S ω) ω

            The solution along a random schedule is the flow's version at its random parameter (P3-61 C.2, the restart property). Along a random schedule, from a start known at time 0, the solution's path on [0, H] is almost surely the flow's continuous version at the clamped start, the stimulus and the schedule's times, read at the schedule's labels.