theoremHasFreeIsingLaw.condIndepFun_selected_outside_component
{d : ℕ} {theta : ℝ} {ABι : Type*}
[MeasurableSpaceA] [StandardBorelSpaceA] [MeasurableSpaceB]
{μ : Measure (TreeVertex d →IsingSpin)} [IsFiniteMeasure μ]
(hμ : HasFreeIsingLaw theta μ) (h0 : -1≤ theta) (h1 : theta ≤1)
(ν : MeasureA) [IsProbabilityMeasure ν]
{F : IsingSpin→A→B} (hF : Measurable (Function.uncurry F))
(c : Fin d) (v : ι →TreeVertex d) (hv : ∀ i, ¬ [c] <+: (v i).val) :
CondIndepFun
((inferInstance : MeasurableSpaceIsingSpin).comap
(funp : (TreeVertex d →IsingSpin) × (TreeVertex d →A) =>
p.1 (RootedBroadcast.root d)))
((measurable_pi_apply (RootedBroadcast.root d)).comp measurable_fst).comap_le
(fun p i =>F (p.1 (v i)) (p.2 (v i)))
(fun p i =>F (p.1 (componentIndexVertex (c := c) i))
(p.2 (componentIndexVertex i)))
(μ.prod (Measure.infinitePi (fun_ : TreeVertex d => ν))) :=by
proof · 27
lines
letG : NoisyRootOtherDataA c → (ι →B) :=fun p i =>F (noisyRootOtherDecode c p ⟨v i, hv i⟩).1
(noisyRootOtherDecode c p ⟨v i, hv i⟩).2havehG : MeasurableG:=by
apply Measurable.of_eval
intro i
exact hF.comp (measurable_noisyRootOtherDecode c ⟨v i, hv i⟩)
let w (i : ComponentIndex c) : RootedBroadcast.BranchVertex c :=
⟨componentIndexVertex i, by simp [componentIndexVertex, componentVertex]⟩
letH : ((RootedBroadcast.BranchVertex c →IsingSpin) ×
(RootedBroadcast.BranchVertex c →A)) → (ComponentIndex c →B) :=fun p i =>F (p.1 (w i)) (p.2 (w i))
havehH : MeasurableH:=by
apply Measurable.of_eval
intro i
exact hF.comp (showMeasurable (funp :
(RootedBroadcast.BranchVertex c →IsingSpin) ×
(RootedBroadcast.BranchVertex c →A) => (p.1 (w i), p.2 (w i))) fromby fun_prop)
havehGcomp : G∘ noisyRootOtherArray c =
fun p i =>F (p.1 (v i)) (p.2 (v i)) :=by
funext p i
change F (noisyRootOtherDecode c (noisyRootOtherArray c p) ⟨v i, hv i⟩).1
(noisyRootOtherDecode c (noisyRootOtherArray c p) ⟨v i, hv i⟩).2 = _
rw [noisyRootOtherDecode_array]
have h := (hμ.condIndepFun_noisy_root_others_branch h0 h1 (fun _ => ν) c).comp hG hH
rw [hGcomp] at h
exact h