MindFormal v1.0.0One Mind

MindFormal.Run.OwnNoiseToolkit.NativeLossIntegral

A progressive, pathwise integrable signed loss on the original native experiment. State, original correlated energy, forward factor and its variation share one constructed stop. No uncut loading moment is assumed.

structure MindFormal.StateExperiment.NativeLoss {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) :
Type u_1

A loss coefficient with its derived information and local regularity. There is no sign, deterministic bound, or expected-integrability field.

Instances For
    @[reducible, inline]
    noncomputable abbrev MindFormal.StateExperiment.NativeLoss.factor {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) :
    NNReal → Ω → ℝ
    Equations
    Instances For
      @[reducible, inline]
      noncomputable abbrev MindFormal.StateExperiment.NativeLoss.variation {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) :
      NNReal → Ω → ℝ
      Equations
      Instances For
        noncomputable def MindFormal.StateExperiment.NativeLoss.nativeJointControllers {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) :
        Fin 4 → NNReal → Ω → ℝ
        Equations
        Instances For
          theorem MindFormal.StateExperiment.NativeLoss.nativeJointControllers_continuous {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (i : Fin 4) (ω : Ω) :
          Continuous fun (t : NNReal) => L.nativeJointControllers a i t ω
          noncomputable def MindFormal.StateExperiment.NativeLoss.nativeJointExit {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) :
          Equations
          Instances For
            theorem MindFormal.StateExperiment.NativeLoss.nativeJointExit_stopping {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) :
            theorem MindFormal.StateExperiment.NativeLoss.nativeJointExit_exhausts {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (ω : Ω) (H : NNReal) :
            ∀ᶠ (k : ℕ) in Filter.atTop, ↑H < L.nativeJointExit a (↑k + 2) ω

            One joint sequence exhausts every finite horizon on each continuous native draw, allowing removal of all four local bounds together.

            theorem MindFormal.StateExperiment.NativeLoss.nativeJointExit_energy_le {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) :
            theorem MindFormal.StateExperiment.NativeLoss.nativeJointExit_expected_energy {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) :
            theorem MindFormal.StateExperiment.NativeLoss.linearNoise_jointExit_integral {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) :

            The original stopped innovation is the original common-source integral at the joint energy/state/factor/variation stop.

            theorem MindFormal.StateExperiment.NativeLoss.nativeJointExit_factor_le {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (hR : 1 ≤ R) (ω : Ω) {t : NNReal} (ht : ↑t ≤ L.nativeJointExit a R ω) :
            |L.factor t ω| ≤ ↑R
            @[reducible, inline]
            noncomputable abbrev MindFormal.StateExperiment.NativeLoss.nativeStoppedFactor {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) :
            NNReal → Ω → ℝ
            Equations
            Instances For
              theorem MindFormal.StateExperiment.NativeLoss.nativeStoppedFactor_continuous {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (ω : Ω) :
              Continuous fun (t : NNReal) => L.nativeStoppedFactor a R t ω
              theorem MindFormal.StateExperiment.NativeLoss.nativeStoppedFactor_le {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (hR : 1 ≤ R) (t : NNReal) (ω : Ω) :
              |L.nativeStoppedFactor a R t ω| ≤ ↑R
              noncomputable def MindFormal.StateExperiment.NativeLoss.nativeCutLoss {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (s : ℝ) (ω : Ω) :
              Equations
              Instances For
                noncomputable def MindFormal.StateExperiment.NativeLoss.nativeCutFactor {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (s : ℝ) (ω : Ω) :
                Equations
                Instances For
                  theorem MindFormal.StateExperiment.NativeLoss.nativeCutLoss_integrable {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (ω : Ω) :
                  theorem MindFormal.StateExperiment.NativeLoss.nativeCutFactor_eq {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R s : NNReal) (ω : Ω) :
                  L.nativeCutFactor a R (↑s) ω = L.nativeStoppedFactor a R s ω

                  The forward factor of the cut loss is exactly the original stopped factor, including after the working horizon.

                  theorem MindFormal.StateExperiment.NativeLoss.nativeCutFactor_predictable {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) :
                  theorem MindFormal.StateExperiment.NativeLoss.nativeCutFactor_le {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (hR : 1 ≤ R) (t : NNReal) (ω : Ω) :
                  |L.nativeCutFactor a R (↑t) ω| ≤ ↑R
                  noncomputable def MindFormal.StateExperiment.NativeLoss.nativeAllWeightedRow {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (hR : 1 ≤ R) (j : J) :
                  Equations
                  Instances For
                    theorem MindFormal.StateExperiment.NativeLoss.nativeAllWeightedRow_parts {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (R : NNReal) (hR : 1 ≤ R) :

                    Absolute-continuity parts at every time on one event. The actual cut loss supplies the a.e. derivative; no derivative is taken through the stop.

                    theorem MindFormal.StateExperiment.NativeLoss.nativeAllWeightedRow_remove {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) :

                    All joint levels disappear uniformly over the working horizon on one probability-one event. The original unbounded row and original integrable loss remain in the resulting formula.

                    noncomputable def MindFormal.StateExperiment.NativeLoss.integral {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (t : NNReal) (ω : Ω) :

                    The forward integral is constructed from the original localized L² integrals. Its definition contains no integration-by-parts expression.

                    Equations
                    Instances For
                      theorem MindFormal.StateExperiment.NativeLoss.integral_parts {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) :
                      ∀ᵐ (ω : Ω) ∂E.ground.μ, ∀ t ≤ E.horizon, L.integral a t ω = OwnNoiseToolkit.integratedLossFactor (fun (s : ℝ) => L.coefficient s ω) ↑t * E.linearNoise a t ω - ∫ (s : ℝ) in 0..↑t, E.linearNoise a s.toNNReal ω * (L.coefficient s ω * OwnNoiseToolkit.integratedLossFactor (fun (r : ℝ) => L.coefficient r ω) s)

                      A single full-measure event identifies the original forward integral at every time of the finite run. The loss can have either sign.

                      theorem MindFormal.StateExperiment.NativeLoss.integral_localized {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) :
                      ∀ᵐ (ω : Ω) ∂E.ground.μ, ∀ᶠ (k : ℕ) in Filter.atTop, ∀ t ≤ E.horizon, ItoFiltration.itoVecCont E.ground.brownian E.horizon (L.nativeAllWeightedRow a (↑k + 2) ⋯) t ω = L.integral a t ω

                      One sufficiently large joint level works for all times at once.

                      theorem MindFormal.StateExperiment.NativeLoss.integral_adapted {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) :
                      theorem MindFormal.StateExperiment.NativeLoss.integral_min {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) (t : NNReal) (ω : Ω) :
                      L.integral a (min t E.horizon) ω = L.integral a t ω
                      theorem MindFormal.StateExperiment.NativeLoss.integral_continuous {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : StateExperiment Ω N n T Λ J} (L : E.NativeLoss) (a : CoordinateIndex (Fin N) n T Λ → ℝ) :
                      ∀ᵐ (ω : Ω) ∂E.ground.μ, Continuous fun (t : NNReal) => L.integral a t ω