MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.OwnNoiseToolkit.IntegratedComparison

structure MindFormal.MatchedSaving.IntegratedPreparationComparison {Ω : 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} {H : NNReal} (B : IntegratedBox E H) :
Type (max u_1 u_2)

M8's preparation-indexed fixed comparison. The bounds are inequalities on arbitrary box states and coefficients in every native mode. The entering state is retained, and no event, winner or trajectory enclosure is a field. IntegratedBox supplies primitive strict-box and stopped integrated-energy data; no pointwise loading bound is introduced.

Instances For
    noncomputable def MindFormal.MatchedSaving.IntegratedPreparationComparison.target {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) (ω : Ω) (i : Fin N) :
    Equations
    Instances For
      noncomputable def MindFormal.MatchedSaving.IntegratedPreparationComparison.reference {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) (ω : Ω) (i : Fin N) (t : ℝ) :
      Equations
      Instances For
        def MindFormal.MatchedSaving.IntegratedPreparationComparison.Ex {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) :
        Equations
        Instances For
          def MindFormal.MatchedSaving.IntegratedPreparationComparison.Ev {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) :
          Equations
          Instances For
            theorem MindFormal.MatchedSaving.IntegratedPreparationComparison.Ex_nonneg {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) :
            0 ≤ C.Ex
            theorem MindFormal.MatchedSaving.IntegratedPreparationComparison.Ev_nonneg {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) :
            0 ≤ C.Ev
            theorem MindFormal.MatchedSaving.IntegratedPreparationComparison.target_bound {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) {ω : Ω} (hstream : ω ∈ B.stream) {s : MindState (Fin N) n T Λ} (hbox : InIntegratedBox B.X B.Xr B.W B.V s) {u q : Fin N → ℝ} (hu : 0 ≤ u) (hinput : u ∈ B.inputs) (hq : ∀ (i : Fin N), q i ∈ {0, 1}) (i : Fin N) :

            Every transformed content contributes to the target allowance. The existing Lipschitz theorem is sharper than M8's stated numerator.

            theorem MindFormal.MatchedSaving.IntegratedPreparationComparison.activity_error {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) {ω : Ω} (hgood : E.own.data.toPhysicalNoiseData.Good ω) (hstream : ω ∈ B.stream) (hbox : ∀ t ∈ Set.Icc 0 ↑H, InIntegratedBox B.X B.Xr B.W B.V ((E.supportHistory ω).state t)) (hnoise : ∀ t ∈ Set.Icc 0 ↑H, ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t.toNNReal c| ≤ B.allowance c) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑H) (i : Fin N) :
            |(E.supportHistory ω).x t i - C.reference ω i t| ≤ C.Ex

            Reflected I is compared with its zero-start held-load calculation; the actual starting activity remains in the entering error.

            theorem MindFormal.MatchedSaving.IntegratedPreparationComparison.value_error {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) {ω : Ω} (hgood : E.own.data.toPhysicalNoiseData.Good ω) (hstream : ω ∈ B.stream) (hbox : ∀ t ∈ Set.Icc 0 ↑H, InIntegratedBox B.X B.Xr B.W B.V ((E.supportHistory ω).state t)) (hnoise : ∀ t ∈ Set.Icc 0 ↑H, ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t.toNNReal c| ≤ B.allowance c) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑H) (i : Fin N) (b : Fin n) (a : T) :
            |(E.supportHistory ω).v t i b a - C.value ω i b a| ≤ C.Ev

            The complete III bank is integrated coordinate by coordinate; no value writer or surprise term is removed from IntegratedBox.value_cap.

            theorem MindFormal.MatchedSaving.IntegratedPreparationComparison.event {Ω : 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} {H : NNReal} {B : IntegratedBox E H} (C : IntegratedPreparationComparison B) (hH : H ≤ E.horizon) :
            ∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ B.stream ∧ 1 - B.errorProbability ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, ∀ t ∈ Set.Icc 0 ↑H, (∀ (i : Fin N), |(E.supportHistory ω).x t i - C.reference ω i t| ≤ C.Ex) ∧ ∀ (i : Fin N) (b : Fin n) (a : T), |(E.supportHistory ω).v t i b a - C.value ω i b a| ≤ C.Ev

            The same derived measurable own-noise/first-exit event carries both errors, for arbitrary preparation dependence and without independence.