Indistinguishable stochastic processes
DefinitionKLS408915f_BrownianMotion_Auxiliary_Indistinguishablefunctional-inequalitieskls-408915fkls-conjecturelog-concavevendored-brownianmotion
Vendored from the BrownianMotion library (https://github.com/RemyDegenne/brownian-motion, commit a7ad7af662044313bc80a7c0756360fb3745f931). ProbabilityTheory.Indistinguishable P X Y means that for -almost every outcome, for every index . The notation X ≡ᵐ[P] Y is provided, together with transitivity.
Superseded upload. This snapshot was replaced by the readable modular upload KLSModular_BrownianMotion_Auxiliary_Indistinguishable: open the replacement. The replacement preserves the source snapshot and mathematical statement, with source-module imports and identifiers without a commit suffix. This historical node remains available for existing imports.
Definition code
import Mathlib.MeasureTheory.Measure.MeasureSpaceDef
/-
Copyright (c) 2026 Etienne Marion. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Etienne Marion
-/
-- Vendored from https://github.com/RemyDegenne/brownian-motion at commit a7ad7af662044313bc80a7c0756360fb3745f931 (upstream path BrownianMotion/Auxiliary/Indistinguishable.lean; Apache-2.0; provenance in formalization/vendor/vendor-lock.json of the KLS repository)
section
open MeasureTheory
namespace ProbabilityTheory
variable {ι Ω E : Type*} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X Y Z : ι → Ω → E}
/-- Two processes are indistinguishable if almost surely they agree everywhere. -/
def Indistinguishable (P : Measure Ω) (X Y : ι → Ω → E) : Prop :=
∀ᵐ ω ∂P, ∀ t, X t ω = Y t ω
/-- Two processes are indistinguishable if almost surely they agree everywhere. -/
notation3:50 X " ≡ᵐ[" P:50 "] " Y:50 => Indistinguishable P X Y
namespace Indistinguishable
@[trans]
protected lemma trans (h1 : X ≡ᵐ[P] Y) (h2 : Y ≡ᵐ[P] Z) : X ≡ᵐ[P] Z := by
filter_upwards [h1, h2] with ω h t
grind
instance : IsTrans (ι → Ω → E) (· ≡ᵐ[P] ·) := ⟨fun _ _ _ ↦ .trans⟩
end Indistinguishable
end ProbabilityTheory
Source
Lean source: https://github.com/RemyDegenne/brownian-motion/blob/a7ad7af662044313bc80a7c0756360fb3745f931/BrownianMotion/Auxiliary/Indistinguishable.lean#L18-L43 (repository human-ai-mathematics/kls-lean, commit 408915f, module `BrownianMotion.Auxiliary.Indistinguishable`, definition bundle `KLS408915f_BrownianMotion_Auxiliary_Indistinguishable`; the repository is private at upload time). Vendored from https://github.com/RemyDegenne/brownian-motion at commit a7ad7af662044313bc80a7c0756360fb3745f931 (Apache-2.0; upstream copyright notice retained in the Lean text).