cfahlgren1/math / lean /OAI /Probability /FreeIsing /Trees /BroadcastJointLaw.lean
cfahlgren1's picture
download
raw
1.59 kB
import OAI.Probability.FreeIsing.Estimates.LabelDecomposition
import OAI.Probability.FreeIsing.Spins.Twist
import OAI.Probability.FreeIsing.Trees.RootedBroadcastLaw
namespace OAI
noncomputable section
open MeasureTheory
namespace Problem367.RootedBroadcast
theorem map_factor_rest (d : ℕ) (theta : ℝ) (v : TreeVertex d) :
(labelMeasure d).map
(fun U => (factor theta U v, fun w : NonrootVertex d => U w.val)) =
(uniform01.map fairSpin).prod
(Measure.infinitePi (fun _ : NonrootVertex d => uniform01)) := by
have hf : Measurable (fun Y : NonrootVertex d → ℝ => rootlessFactor theta Y v) :=
(measurable_pi_apply v).comp (measurable_rootlessFactor d theta)
have ht := measurePreserving_fairSpin_twist
(Measure.infinitePi (fun _ : NonrootVertex d => uniform01)) hf
have hj : Measurable (fun U : TreeVertex d → ℝ =>
(fairSpin (U (root d)), fun w : NonrootVertex d => U w.val)) :=
(measurable_fairSpin.comp (measurable_pi_apply (root d))).prodMk
(measurable_pi_iff.mpr (fun w => measurable_pi_apply w.val))
calc
_ = ((labelMeasure d).map
(fun U => (fairSpin (U (root d)), fun w : NonrootVertex d => U w.val))).map
(fun p : IsingSpin × (NonrootVertex d → ℝ) =>
(spinMul p.1 (rootlessFactor theta p.2 v), p.2)) := by
rw [Measure.map_map ht.measurable hj]
congr 1
funext U
exact Prod.ext (factor_root_decomposition theta U v) rfl
_ = _ := by
rw [LabelDecomposition.map_fairSpin_rest]
exact ht.map_eq
end Problem367.RootedBroadcast
end
end OAI

Xet Storage Details

Size:
1.59 kB
·
Xet hash:
9f1fcfdf95e83d5fb3174db3920fcec574931a3274d0b41785e6db2b0fc75059

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.