Download data/lean/OAI/Probability/FreeIsing/Ising/ContinuousResponseAlgebra.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.64 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Ising/ContinuousResponseAlgebra.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FreeIsing/Ising/ContinuousResponseAlgebra.lean
-
curl -L -o ContinuousResponseAlgebra.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FreeIsing/Ising/ContinuousResponseAlgebra.lean
5.64 kB
| import OAI.Probability.FreeIsing.Energy.ArtanhResponseCoefficients | |
| import OAI.Probability.FreeIsing.Ising.CanonicalPosteriorStops | |
| import OAI.Probability.FreeIsing.Ising.ContinuousRootResponse | |
| namespace OAI | |
| noncomputable section | |
| open MeasureTheory | |
| open scoped NNReal | |
| namespace Problem367.IsingObservationFactor | |
| open IsingObservationInnovation IsingCopyEnergy ArtanhMartingaleFormula | |
| variable {d : β} {beta : β} | |
| theorem continuousPosterior_variance_pos (v : TreeVertex d) | |
| (t : ββ₯0) (x : Paths d) : | |
| 0 < 1 - continuousPosterior beta v t x ^ 2 := | |
| sub_pos.mpr (Real.tanh_sq_lt_one _) | |
| theorem firstWeight_mul_continuousRootCovariance | |
| (hb : 0 β€ beta) (v : TreeVertex d) (t : ββ₯0) (x : Paths d) : | |
| firstWeight (continuousPosterior beta (ConnectedHull.root d) t x) * | |
| continuousRootCovariance hb v t x = continuousRootResponse hb v t x := by | |
| change (1 / (1 - continuousPosterior beta (ConnectedHull.root d) t x ^ 2)) * | |
| ((1 - continuousPosterior beta (ConnectedHull.root d) t x ^ 2) * | |
| continuousRootResponse hb v t x) = _ | |
| rw [one_div, β mul_assoc, | |
| inv_mul_cancelβ (continuousPosterior_variance_pos (ConnectedHull.root d) t x).ne', one_mul] | |
| theorem continuousRootCovariance_div_variance | |
| (hb : 0 β€ beta) (v : TreeVertex d) (t : ββ₯0) (x : Paths d) : | |
| continuousRootCovariance hb v t x / | |
| (1 - continuousPosterior beta (ConnectedHull.root d) t x ^ 2) = | |
| continuousRootResponse hb v t x := by | |
| rw [β ArtanhResponseCoefficients.firstWeight_mul] | |
| exact firstWeight_mul_continuousRootCovariance hb v t x | |
| theorem continuousRootCovariance_square_tsum | |
| (hb : 0 β€ beta) (t : ββ₯0) (x : Paths d) : | |
| (β' v, continuousRootCovariance hb v t x ^ 2) = | |
| (1 - continuousPosterior beta (ConnectedHull.root d) t x ^ 2) ^ 2 * | |
| (β' v, continuousRootResponse hb v t x ^ 2) := by | |
| simp only [continuousRootCovariance, continuousPosterior, mul_pow, tsum_mul_left] | |
| theorem secondWeight_mul_continuousRootCovariance_square_tsum | |
| (hb : 0 β€ beta) (t : ββ₯0) (x : Paths d) : | |
| secondWeight (continuousPosterior beta (ConnectedHull.root d) t x) * | |
| (β' v, continuousRootCovariance hb v t x ^ 2) = | |
| continuousPosterior beta (ConnectedHull.root d) t x * | |
| (β' v, continuousRootResponse hb v t x ^ 2) := by | |
| rw [ArtanhResponseCoefficients.secondWeight_mul_tsum_sq] | |
| simp_rw [continuousRootCovariance_div_variance] | |
| theorem continuousRootCovariance_square_tsum_le_response | |
| (hb : 0 β€ beta) (t : ββ₯0) (x : Paths d) : | |
| (β' v, continuousRootCovariance hb v t x ^ 2) β€ | |
| β' v, continuousRootResponse hb v t x ^ 2 := by | |
| rw [continuousRootCovariance_square_tsum] | |
| have h0 := (continuousPosterior_variance_pos (beta := beta) (ConnectedHull.root d) t x).le | |
| have h1 : 1 - continuousPosterior beta (ConnectedHull.root d) t x ^ 2 β€ 1 := | |
| sub_le_self _ (sq_nonneg _) | |
| exact mul_le_of_le_one_left (tsum_nonneg (fun _ => sq_nonneg _)) | |
| (pow_le_oneβ h0 h1) | |
| theorem abs_continuousPosterior_mul_response_square_tsum_le | |
| (hb : 0 β€ beta) (t : ββ₯0) (x : Paths d) : | |
| |continuousPosterior beta (ConnectedHull.root d) t x * | |
| (β' v, continuousRootResponse hb v t x ^ 2)| β€ | |
| β' v, continuousRootResponse hb v t x ^ 2 := by | |
| rw [abs_mul, abs_of_nonneg (show 0 β€ β' v, continuousRootResponse hb v t x ^ 2 | |
| from tsum_nonneg (fun _ => sq_nonneg _))] | |
| exact mul_le_of_le_one_left (tsum_nonneg (fun _ => sq_nonneg _)) | |
| (abs_lt.mpr (continuousPosterior_interior beta (ConnectedHull.root d) t x)).le | |
| theorem firstWeight_mul_stopped_continuousRootCovariance | |
| (hb : 0 β€ beta) (v : TreeVertex d) (Ο : Paths d β WithTop ββ₯0) | |
| (t : ββ₯0) (x : Paths d) : | |
| firstWeight (stoppedProcess (continuousPosterior beta (ConnectedHull.root d)) Ο t x) * | |
| stoppedProcess (continuousRootCovariance hb v) Ο t x = | |
| stoppedProcess (continuousRootResponse hb v) Ο t x := | |
| firstWeight_mul_continuousRootCovariance hb v _ x | |
| theorem firstWeight_stopped_mul_continuousRootCovariance_of_le | |
| (hb : 0 β€ beta) (v : TreeVertex d) (Ο : Paths d β WithTop ββ₯0) | |
| (t : ββ₯0) (x : Paths d) (ht : (t : WithTop ββ₯0) β€ Ο x) : | |
| firstWeight (stoppedProcess (continuousPosterior beta (ConnectedHull.root d)) Ο t x) * | |
| continuousRootCovariance hb v t x = continuousRootResponse hb v t x := by | |
| rw [stoppedProcess_eq_of_le ht] | |
| exact firstWeight_mul_continuousRootCovariance hb v t x | |
| theorem firstWeight_stopped_pullback_mul_continuousRootCovariance_of_le | |
| {Ξ© : Type*} (hb : 0 β€ beta) (v : TreeVertex d) (Ο : Ξ© β Paths d) | |
| (Ο : Ξ© β WithTop ββ₯0) (t : ββ₯0) (Ο : Ξ©) | |
| (ht : (t : WithTop ββ₯0) β€ Ο Ο) : | |
| firstWeight (stoppedProcess | |
| (fun s Ο => continuousPosterior beta (ConnectedHull.root d) s (Ο Ο)) Ο t Ο) * | |
| continuousRootCovariance hb v t (Ο Ο) = continuousRootResponse hb v t (Ο Ο) := by | |
| rw [stoppedProcess_eq_of_le ht] | |
| exact firstWeight_mul_continuousRootCovariance hb v t (Ο Ο) | |
| theorem firstWeight_stopped_copy_mul_continuousRootCovariance_of_le | |
| (hb : 0 β€ beta) (v : TreeVertex d) (j : Bool) | |
| (Ο : Joint d β WithTop ββ₯0) (t : ββ₯0) (q : Joint d) | |
| (ht : (t : WithTop ββ₯0) β€ Ο q) : | |
| firstWeight (stoppedProcess | |
| (copyContinuousPosterior beta (ConnectedHull.root d) j) Ο t q) * | |
| continuousRootCovariance hb v t (projection j q) = | |
| continuousRootResponse hb v t (projection j q) := | |
| firstWeight_stopped_pullback_mul_continuousRootCovariance_of_le hb v | |
| (projection j) Ο t q ht | |
| end Problem367.IsingObservationFactor | |
| end | |
| end OAI | |