Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Trivial sub-sigma-algebras

Definition
KLSModular_LevyStochCalc_Probability_TrivialSigma

by Lazyfill · Oct 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitiesklskls-conjecturekls-modularlog-concavemodule-contextvendored-levystochcalc

Vendored from LevyStochCalc (https://github.com/cgarryZA/LevyStochCalc). IsTrivialSigma P m means that every mmm-measurable set has PPP-measure 000 or 111. Under a probability measure, trivialSigma mΩ P is the measurable structure consisting of sets measurable for mΩmΩmΩ that are null or conull. The definition bundle records the null-or-conull sigma-algebra and its measurable-space instance.

Original module imports

import LevyStochCalc.Probability.IndepJoin

Original declaration excerpt

Shown in the original module context.

def IsTrivialSigma (P : Measure Ω) (m : MeasurableSpace Ω) : Prop :=
  ∀ A, MeasurableSet[m] A → P A = 0 ∨ P A = 1

Module navigation

Direct project imports: LevyStochCalc/Probability/IndepJoin.

Theorems in source order:

  • IsTrivialSigma.indep
  • isTrivialSigma_comap_of_ae_const

Project result: The KLS conjecture.

Original module · LevyStochCalc.Probability.TrivialSigma · Frozen source 408915f.

Definition code
import Definitions.Def_KLSModular_LevyStochCalc_Probability_IndepJoin

/-
Copyright (c) 2026 Christian Garry. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Christian Garry
-/
-- Vendored from https://github.com/cgarryZA/LevyStochCalc at commit 984dbf0b790031eac05d56fe5a84b65e15e1e932 (upstream path LevyStochCalc/Probability/TrivialSigma.lean; Apache-2.0; provenance in formalization/vendor/vendor-lock.json of the KLS repository)
open MeasureTheory ProbabilityTheory
namespace LevyStochCalc
namespace Probability
variable {Ω : Type*} {mΩ : MeasurableSpace Ω} {P : Measure Ω}
/-- A sub-σ-algebra is `P`-trivial when each of its sets is null or conull. -/
def IsTrivialSigma (P : Measure Ω) (m : MeasurableSpace Ω) : Prop :=
  ∀ A, MeasurableSet[m] A → P A = 0 ∨ P A = 1
variable (mΩ P) in
/-- The σ-algebra of measurable sets that are null or conull. Every trivial sub-σ-algebra of
`mΩ` sits inside it, so a whole family of trivial factors can be absorbed at once. -/
@[reducible]
def trivialSigma [IsProbabilityMeasure P] : MeasurableSpace Ω where
  MeasurableSet' A := MeasurableSet[mΩ] A ∧ (P A = 0 ∨ P A = 1)
  measurableSet_empty := ⟨MeasurableSet.empty, Or.inl measure_empty⟩
  measurableSet_compl := by
    rintro A ⟨hA, h⟩
    refine ⟨hA.compl, ?_⟩
    rcases h with h | h
    · right; rw [prob_compl_eq_one_sub hA, h, tsub_zero]
    · left; rw [prob_compl_eq_one_sub hA, h, tsub_self]
  measurableSet_iUnion := by
    intro f hf
    refine ⟨MeasurableSet.iUnion fun n => (hf n).1, ?_⟩
    by_cases h : ∃ n, P (f n) = 1
    · obtain ⟨n, hn⟩ := h
      exact Or.inr (le_antisymm prob_le_one (hn ▸ measure_mono (Set.subset_iUnion f n)))
    · refine Or.inl (measure_iUnion_null fun n => ?_)
      rcases (hf n).2 with h0 | h1
      · exact h0
      · exact absurd ⟨n, h1⟩ h
end Probability
end LevyStochCalc
Source
Lean source: https://github.com/cgarryZA/LevyStochCalc/blob/984dbf0b790031eac05d56fe5a84b65e15e1e932/LevyStochCalc/Probability/TrivialSigma.lean#L31-L91 (repository human-ai-mathematics/kls-lean, commit 408915f, module `LevyStochCalc.Probability.TrivialSigma`, definition bundle `KLSModular_LevyStochCalc_Probability_TrivialSigma`; the repository is private at upload time). Vendored from https://github.com/cgarryZA/LevyStochCalc at commit 984dbf0b790031eac05d56fe5a84b65e15e1e932 (Apache-2.0; upstream copyright notice retained in the Lean text).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me