Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Invariant sets have zero or full phase length

Proved
BianchiIX.invariant_set_volume_zero_or_compl_zero

by trppppp · Nov 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

bianchi-ix-era-statisticsdynamical-systems

Let λ\lambdaλ be Lebesgue measure on R\mathbb RR, and let λ0\lambda_0λ0​ be its restriction to (0,1)(0,1)(0,1). The Gauss measure is

dμG(x)=1log⁡2 (1+x) dλ0(x).d\mu_G(x)=\frac{1}{\log2\,(1+x)}\,d\lambda_0(x).dμG​(x)=log2(1+x)1​dλ0​(x).

Write w(x)=1/(log⁡2 (1+x))w(x)=1/(\log2\,(1+x))w(x)=1/(log2(1+x)) and P(x)=log⁡(1+x)/log⁡2P(x)=\log(1+x)/\log2P(x)=log(1+x)/log2 for x≥0x\geq0x≥0.

Let T(x)=1/x−⌊1/x⌋T(x)=1/x-\lfloor1/x\rfloorT(x)=1/x−⌊1/x⌋ for x≠0x\ne0x=0, with T(0)=0T(0)=0T(0)=0. For b≥1b\geq1b≥1, write gb(x)=1/(b+x)g_b(x)=1/(b+x)gb​(x)=1/(b+x), using the total reciprocal 0−1=00^{-1}=00−1=0. If EEE is Borel and T−1(E)=ET^{-1}(E)=ET−1(E)=E, then

λ0(E)=0orλ0(Ec)=0.\lambda_0(E)=0\quad\text{or}\quad\lambda_0(E^c)=0.λ0​(E)=0orλ0​(Ec)=0.
Preamble
import Definitions.Def_BianchiIX_Statistics_GaussCoding
import Mathlib.Analysis.Calculus.Deriv.Inv
import Mathlib.Analysis.Calculus.Deriv.Add
import Mathlib.Analysis.SpecificLimits.Basic
import Mathlib.Data.List.Induction
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Mathlib.Data.PNat.Basic
import Mathlib.MeasureTheory.Constructions.BorelSpace.Metrizable
import Mathlib.Data.Rat.Floor
import Mathlib.NumberTheory.Real.Irrational
import Mathlib.Order.OrderIsoNat
import Mathlib.Analysis.SpecialFunctions.Log.Deriv
import Mathlib.MeasureTheory.Group.MeasurableEquiv
import Mathlib.MeasureTheory.Measure.Regular
import Mathlib.MeasureTheory.Function.JacobianOneDim
import Mathlib.MeasureTheory.Measure.WithDensity
import Mathlib.MeasureTheory.Function.Floor
import Mathlib.Dynamics.Ergodic.MeasurePreserving
import Mathlib.Dynamics.Ergodic.Ergodic

open Set Filter MeasureTheory
open scoped ENNReal
open BianchiIX

Formal statement
theorem BianchiIX.invariant_set_volume_zero_or_compl_zero {E : Set ℝ} (hE : MeasurableSet E)
    (hinv : gaussMap ⁻¹' E = E) :
    (volume.restrict (Ioo (0 : ℝ) 1)) E = 0 ∨
      (volume.restrict (Ioo (0 : ℝ) 1)) Eᶜ = 0 := by sorry
Source
https://github.com/l46430640-del/ERA-STATISTICS-FORMAL/blob/d74c241819f896ab8d050b21ace80c8e90eabd9e/BianchiIX/Statistics/GaussErgodic.lean#L60-L78

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me