openAI-math-dataset / lean /OAI /NumberTheory /DukePrimeDegree /Entropy /ConditionalInformationLowerBound.lean
Download lean/OAI/NumberTheory/DukePrimeDegree/Entropy/ConditionalInformationLowerBound.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.08 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/DukePrimeDegree/Entropy/ConditionalInformationLowerBound.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/NumberTheory/DukePrimeDegree/Entropy/ConditionalInformationLowerBound.lean
-
curl -L -o ConditionalInformationLowerBound.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/DukePrimeDegree/Entropy/ConditionalInformationLowerBound.lean
3.08 kB
Lean 4 · 2
declarations statementsfull
lemma clipped_future_sigma_le (T : Y → Y) (Q : Y → ℕ)
(m : MeasurableSpace Y)
(hfuture : (⨆ k : ℕ, observationSigma (fun y => Q (T^[k+1] y))) ≤ m)
(N : ℕ) : (⨆ k, observationSigma (futureName T (heightClip Q N) k)) ≤ m := by proof · 18 lines
let : MeasurableSpace Y := m
have hcoord (k : ℕ) : Measurable (fun y => Q (T^[k+1] y)) :=
(comap_measurable _).mono ((le_iSup _ k).trans hfuture) le_rfl
apply iSup_le
intro k
apply observationSigma_le
intro w
have hName : Measurable (futureName T (heightClip Q N) k) := by
apply measurable_pi_iff.mpr
intro i
have heq : (fun y => futureName T (heightClip Q N) k y i) =
heightClip (fun y => Q (T^[i.val+1] y)) N := by
funext y
apply Fin.ext
simp only [futureName, orbitName, heightClip, Function.iterate_succ_apply]
rw [heq]
exact heightClip_measurable (hcoord i.val) N
exact hName (measurableSet_singleton w)theorem conditionalInformation_integral_le_metricEntropy
(m : MeasurableSpace Y) [mY : MeasurableSpace Y]
(μ : Measure Y) [IsProbabilityMeasure μ]
{T : Y → Y} (hT : MeasurePreserving T μ μ)
(Q : Y → ℕ) (hQ : Measurable Q) (hm : m ≤ mY)
(hfuture : (⨆ k : ℕ, observationSigma (fun y => Q (T^[k+1] y))) ≤ m)
(hpos : ∀ᵐ y ∂μ,
0 < (μ[({z | Q z = Q y}.indicator (fun _ => (1 : ℝ))) | m]) y)
(hint : Integrable (conditionalInformation μ Q m) μ) :
ENNReal.ofReal (∫ y, conditionalInformation μ Q m y ∂μ) ≤ measureEntropy μ T := by proof · 16 lines
have hclip := conditionalSigmaEntropy_heightClip_tendsto m μ Q hQ hm hpos hint
apply le_of_tendsto (ENNReal.continuous_ofReal.continuousAt.tendsto.comp hclip)
apply Filter.Eventually.of_forall
intro N
have hP := heightClip_measurable hQ N
have hle : conditionalSigmaEntropy μ (heightClip Q N) m ≤
observationEntropyRate μ T (heightClip Q N) := by
rw [observationEntropyRate_eq_futureConditional μ hT _
(fun a => hP (measurableSet_singleton a))]
exact conditionalSigmaEntropy_antitone μ _
(fun a => hP (measurableSet_singleton a))
(clipped_future_sigma_le T Q m hfuture N) hm
apply (ENNReal.ofReal_le_ofReal hle).trans
unfold measureEntropy
exact le_iSup_of_le (N+1) (le_iSup_of_le (heightClip Q N)
(le_iSup_of_le (fun a => hP (measurableSet_singleton a)) le_rfl))Outline