The Bernoulli witness for the symbolic entropy–dimension identity #
The conditional headline dimH_eq_ksEntropy_div_log_two
(Oseledets/Multifractal/SymbolicDimension.lean) is stated for an abstract ergodic
shift-invariant probability measure on the one-sided full shift with positive coordinate-partition
entropy. This file lays the foundation of the concrete Bernoulli witness that discharges those
two conditionals: it equips the full shift Shift α₀ over a finite alphabet with the i.i.d.
(Bernoulli) product measure of a single-symbol law ν, and supplies the easy structural facts.
The construction proceeds in (currently three) foundation nodes.
- N1 (probability). The Bernoulli measure
bern ν := Measure.infinitePi (fun _ => ν)is a probability measure whenνis. - N2 (measure preservation). The left shift
shiftMappreservesbern ν: the preimage of a measurable boxSet.pi ↑s tis the box re-indexed byn ↦ n + 1, and both sides evaluate byinfinitePi_pito the same finite product ofν-masses (every marginal is the sameν, andFinset.prod_mapabsorbs the injective reindex). - N4b (positive entropy). The single-symbol Shannon entropy
Hnu ν := ∑ i, negMulLog (ν {i}).toRealis strictly positive onceνcharges two distinct symbols, because every summand is nonnegative and the two charged ones are strictly positive.
The ergodicity (N3) and the entropy identification (N4a, Hnu ν = ksEntropy) are separate later
nodes; they are not attempted here.
Definitions #
The Bernoulli (i.i.d.) measure on the one-sided full shift Shift α₀: the infinite product
of the single-symbol law ν over all coordinates.
Equations
- Oseledets.Multifractal.bern ν = MeasureTheory.Measure.infinitePi fun (x : ℕ) => ν
Instances For
The single-symbol Shannon entropy of the law ν:
Hnu ν = ∑ i, negMulLog (ν {i}).toReal. For a Bernoulli measure this is the Kolmogorov–Sinai
entropy of the coordinate partition (proved in a later node).
Instances For
N1 — the Bernoulli measure is a probability measure #
N1. The Bernoulli measure is a probability measure. (The global instance on infinitePi
does not fire through the bern definition, so it is provided explicitly.)
N2 — the shift preserves the Bernoulli measure #
The coordinate-shift embedding n ↦ n + 1 of ℕ into itself. Used to re-index a measurable
box under the shift preimage.
Equations
- Oseledets.Multifractal.shiftEmb = { toFun := fun (n : ℕ) => n + 1, inj' := Oseledets.Multifractal.shiftEmb._proof_1 }
Instances For
N2 box preimage. The shiftMap-preimage of a measurable box Set.pi ↑s t is the box over
the re-indexed support s.map shiftEmb with the symbol sets shifted by one:
shiftMap ⁻¹' (Set.pi ↑s t) = Set.pi ↑(s.map shiftEmb) (fun n => t (n - 1)).
N2. The left shift map preserves the Bernoulli measure bern ν. The preimage of a box
re-indexes by n ↦ n + 1 (preimage_shiftMap_pi); both sides evaluate by infinitePi_pi to the
same finite product of ν-masses, since every marginal is the same ν and Finset.prod_map
absorbs the injective reindex.
N4b — the single-symbol entropy is positive #
The mass (ν {a}).toReal of any single symbol lies in [0, 1].
N4b. The single-symbol Shannon entropy Hnu ν is strictly positive once ν charges two
distinct symbols i ≠ j with positive toReal-mass. Every summand negMulLog (ν {a}).toReal is
nonnegative (the mass lies in [0, 1]), and the i-summand is strictly positive because
(ν {i}).toReal ∈ (0, 1): the upper bound (ν {i}).toReal < 1 follows from
ν {i} + ν {j} ≤ ν univ = 1 (disjoint singletons) together with 0 < (ν {j}).toReal.