Download lean/OAI/NumberTheory/DukePrimeDegree/Entropy/BilateralConditionalSupport.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremae_condDistrib_self_fiber
{SY : Type*} [MeasurableSpaceS] [MeasurableEqS]
[MeasurableSpaceY] [StandardBorelSpaceY] [NonemptyY]
(μ : MeasureY) [IsProbabilityMeasure μ]
(f : Y→S) (hf : Measurable f) :
∀ᵐ s ∂μ.map f, ∀ᵐ y ∂condDistrib id f μ s, f y=s :=by
proof · 7
lines
haveH:= ae_graph_condKernel_fiber μ f hf
change ∀ᵐ s ∂(μ.map (fun y => (f y,y))).fst,
∀ᵐ y ∂(μ.map (fun y => (f y,y))).condKernel s, f y=s at Hhavehm : (μ.map (fun y => (f y,y))).fst=μ.map f :=Measure.fst_map_prodMk hf measurable_id
rw [hm] at H
simpa only [condDistrib,id_eq] usingH
defbilateralNameObservation {n : ℕ}
(ell : Fin n →ℝ) (hell : ∑ i, ell i=0) (Q : X n →ℕ)
(x : X n) : (ℕ→ℕ) × (ℕ→ℕ) :=
body · 2
lines
(fun k =>Q ((fun z => rightAction z (diagonalOneParameter ell hell (-1)))^[k] x),
fun k =>Q ((fun z => rightAction z (diagonalOneParameter ell hell 1))^[k] x))
theoremmeasurable_bilateralNameObservation {n : ℕ}
(ell : Fin n →ℝ) (hell : ∑ i, ell i=0)
(Q : X n →ℕ) (hQ : MeasurableQ) :
Measurable (bilateralNameObservation ell hell Q) :=by
proof · 5
lines
have hT (t : ℝ) : Measurable (funz : X n =>
rightAction z (diagonalOneParameter ell hell t)) :=
(continuous_rightAction _).measurable
exact (measurable_pi_iff.mpr fun k => hQ.comp ((hT (-1)).iterate k)).prodMk
(measurable_pi_iff.mpr fun k => hQ.comp ((hT 1).iterate k))
theorembilateralNameObservation_eq_iff {n : ℕ}
(ell : Fin n →ℝ) (hell : ∑ i, ell i=0)
(Q : X n →ℕ) (x y : X n) :
bilateralNameObservation ell hell Q y = bilateralNameObservation ell hell Q x ↔
y ∈ bilateralNameFiber ell hell Q x :=by
proof · 2
lines
simp only [bilateralNameObservation,Prod.mk.injEq,funext_iff,bilateralNameFiber,
mem_ofPred_eq]
Almost every conditional measure for the actual bilateral itinerary
law is supported on the geometric fiber of any representative.
theoremae_bilateral_condKernel_fiber {n : ℕ}
(ell : Fin n →ℝ) (hell : ∑ i, ell i=0)
(Q : X n →ℕ) (hQ : MeasurableQ)
(μ : Measure (X n)) [IsProbabilityMeasure μ] :
letF:= bilateralNameObservation ell hell Q
proof · 8
lines
let ρ := μ.map (fun x => (F x,x))
∀ᵐ s ∂ρ.fst, ∀ x, F x=s →∀ᵐ y ∂ρ.condKernel s, y ∈ bilateralNameFiber ell hell Q x :=byhave h := ae_graph_condKernel_fiber μ _ (measurable_bilateralNameObservation ell hell Q hQ)
filter_upwards [h] with s hs
intro x hx
filter_upwards [hs] with y hy
exact (bilateralNameObservation_eq_iff ell hell Q x y).mp (hy.trans hx.symm)