MindFormal v1.0.0One Mind

MindFormal.Tools.ScalarComparison

02.20 / SE1--SE4: scalar comparison with a shared continuous innovation. Only ordinary integrals and the minimal floor regulator enter the proof. The stochastic applications are restricted to constant additive amplitudes.

theorem MindFormal.scalar_last_contact {H c : ℝ} (hH : 0 ≤ H) (d : C(↑(HorizonTime H), ℝ)) (t : ↑(HorizonTime H)) (h0 : d ⟨0, ⋯⟩ ≤ c) (ht : c < d t) :
∃ s ≤ t, d s = c ∧ ∀ u ∈ Set.Icc s t, c ≤ d u

SE1 comparison geometry. A continuous scalar path on a nonnegative finite horizon, starting below a level and ending above it at t, has a last contact with that level before t and stays above it thereafter through t. No stochastic or differentiability hypothesis is used.

structure MindFormal.ScalarDynamics {H : ℝ} (hH : 0 ≤ H) (x w : C(↑(HorizonTime H), ℝ)) (f : ℝ → ℝ) :

SE1--SE4: the primitive scalar reflected integral equation. The regulator starts at zero, is nondecreasing, and is constant on every closed interval of strict positivity. This predicate asserts an equation, not pathwise ordering, a corridor, or a passage probability.

Instances For
    theorem MindFormal.scalarDynamics_of_reflection {H start : ℝ} (hH : 0 ≤ H) (x w F : C(↑(HorizonTime H), ℝ)) (f : ℝ → ℝ) (hf : IntervalIntegrable f MeasureTheory.volume 0 H) (hs : 0 ≤ start) (hF : ∀ (t : ↑(HorizonTime H)), F t = (start + ∫ (s : ℝ) in 0..↑t, f s) + (w t - w ⟨0, ⋯⟩)) (hx : floorReflection F = x) :

    SE1--SE4. The explicit Skorokhod reflection of start plus the integral of an interval-integrable scalar forcing and the centered continuous driver satisfies ScalarDynamics, provided H>=0 and start>=0. All regulator properties, including support at the floor, follow from its running maximum.

    theorem MindFormal.scalar_dissipative_upper_comparison {H δ : ℝ} (hH : 0 ≤ H) (x y w v : C(↑(HorizonTime H), ℝ)) (f g : ℝ → ℝ) (hx : ScalarDynamics hH x w f) (hg : IntervalIntegrable g MeasureTheory.volume 0 H) (hy0 : ∀ (t : ↑(HorizonTime H)), 0 ≤ y t) (hy : ∃ (k : C(↑(HorizonTime H), ℝ)), Monotone ⇑k ∧ ∀ (t : ↑(HorizonTime H)), y t = (y ⟨0, ⋯⟩ + ∫ (s : ℝ) in 0..↑t, g s) + (v t - v ⟨0, ⋯⟩) + k t) (T : ↑(HorizonTime H)) (_hδ : 0 ≤ δ) (hstart : x ⟨0, ⋯⟩ - y ⟨0, ⋯⟩ ≤ δ) (hdriver : ∀ s ≤ T, |w s - w ⟨0, ⋯⟩ - (v s - v ⟨0, ⋯⟩)| ≤ δ) (horder : ∀ s ≤ T, y s ≤ x s → f ↑s ≤ g ↑s) :
    x T - y T ≤ 2 * δ

    The scalar comparison also permits a nonnegative upper path whose regulator is merely increasing. Its regulator need not be supported on the floor. This is the same last-contact argument used by scalar_dissipative_comparison.

    theorem MindFormal.scalar_dissipative_comparison {H δ : ℝ} (hH : 0 ≤ H) (x y w v : C(↑(HorizonTime H), ℝ)) (f g : ℝ → ℝ) (hx : ScalarDynamics hH x w f) (hy : ScalarDynamics hH y v g) (T : ↑(HorizonTime H)) (_hδ : 0 ≤ δ) (hstart : x ⟨0, ⋯⟩ - y ⟨0, ⋯⟩ ≤ δ) (hdriver : ∀ s ≤ T, |w s - w ⟨0, ⋯⟩ - (v s - v ⟨0, ⋯⟩)| ≤ δ) (horder : ∀ s ≤ T, y s ≤ x s → f ↑s ≤ g ↑s) :
    x T - y T ≤ 2 * δ

    SE1 comparison, including a quantitative perturbation. On H>=0 take two scalar reflected integral equations with integrable drifts f,g. Through T suppose f(s)<=g(s) whenever y(s)<=x(s). If their initial difference is at most delta>=0 and their centered drivers differ by at most delta, then x(T)-y(T)<=2 delta. In particular a shared innovation preserves order. The proof uses a last contact and regulator minimality, not drift smoothness.

    theorem MindFormal.scalar_same_innovation_order {H : ℝ} (hH : 0 ≤ H) (x y w : C(↑(HorizonTime H), ℝ)) (f g : ℝ → ℝ) (hx : ScalarDynamics hH x w f) (hy : ScalarDynamics hH y w g) (T : ↑(HorizonTime H)) (hstart : x ⟨0, ⋯⟩ ≤ y ⟨0, ⋯⟩) (horder : ∀ s ≤ T, y s ≤ x s → f ↑s ≤ g ↑s) :
    x T ≤ y T

    SE1--SE3. Two scalar reflected integral equations on H>=0 driven by the identical continuous innovation, with ordered initial states and drift order wherever their states would reverse, remain ordered through T. No conditioning, independence, or smoothness of the time-dependent targets is assumed; integrability and the minimal regulator are in ScalarDynamics.