Documentation

Marginis.MiyabeNiesStephan2018

Randomness and Solovay degrees #

Miyabe, Nies, Stephan

Page 3 says:

We sometimes identify a real α with its binary expansion X ∈ 2^ω and the corresponding set X = {n ∈ ℕ : X (n) = 1 }

Here we prove the well known fact that this representation is not unique.

We also show that consequently, if we use Mathlib's current definition of the pullback measure as of June 23, 2024 as a basis for a measure on Cantor space, the Cantor space gets measure 0.

However, if we use Etienne Marion's KolmogorovExtension4 library things work out well.

theorem geom_summable :
Summable fun (n : ) => 1 / 2 ^ n.succ
def halfminus (n : ) :
Equations
Instances For
    def halfplus (n : ) :
    Equations
    Instances For
      noncomputable def fairCoin'' :
      Equations
      Instances For
        noncomputable def fairCoin :
        Equations
        Instances For
          Equations
          Instances For
            Equations
            Instances For
              noncomputable def β'measure (p : NNReal) (hp : p 1) :
              Equations
              Instances For
                theorem fairValue (b : Bool) :
                fairCoin b = 1 / 2
                theorem fairValue'' (b : Bool) :
                fairCoin'' b = 1 / 2
                theorem bernoulliValueTrue'' (p : NNReal) (hp : p 1) :
                (PMF.bernoulli p hp) true = p
                theorem bernoulliValueFalse'' (p : NNReal) (hp : p 1) :
                (PMF.bernoulli p hp) false = 1 - p
                theorem bernoulliSingletonTrue'' (p : NNReal) (hp : p 1) :
                theorem bernoulliSingletonFalse'' (p : NNReal) (hp : p 1) :
                (β'measure p hp) {false} = 1 - p
                theorem fairSingleton'' (b : Bool) :
                β' {b} = 1 / 2
                theorem fairSingleton (b : Bool) :
                β {b} = 1 / 2
                noncomputable def μ_bernoulli (p : NNReal) (hp : p 1) :
                MeasureTheory.Measure ((i : ) → (fun (x : ) => Bool) i)

                The Bernoulli measure with parameter p.

                Equations
                Instances For
                  theorem bernoulliUniv'' (p : NNReal) (hp : p 1) :