cfahlgren1's picture
download
raw
4.75 kB
17
def plantedRelabelEquiv (g : TreeAut d) :
    ((TreeVertex d → IsingSpin) × (TreeVertex d → ℝ)) ≃ᵐ
      ((TreeVertex d → IsingSpin) × (TreeVertex d → ℝ)) where
body · 13 lines
  toFun := Prod.map (relabel g) (relabel g)
  invFun := fun p => (fun v => p.1 (g.toEquiv v), fun v => p.2 (g.toEquiv v))
  left_inv := by
    rintro ⟨sigma, noise⟩
    apply Prod.ext <;> funext v <;> simp [relabel]
  right_inv := by
    rintro ⟨sigma, noise⟩
    apply Prod.ext <;> funext v <;> simp [relabel]
  measurable_toFun := (measurable_relabel g).prodMap (measurable_relabel g)
  measurable_invFun := by
    apply Measurable.prodMk <;>
      exact Measurable.of_eval (fun _ => (measurable_pi_apply _).comp
        (by fun_prop))
34
theorem measurable_plantedRelabel_observationSigma (g : TreeAut d) (t : ℝ) :
    Measurable[observationSigma (TreeVertex d) t,
      observationSigma (TreeVertex d) t] (plantedRelabelEquiv g) := by
proof · 4 lines
  apply measurable_comap_iff.mpr
  have heq : observation t ∘ plantedRelabelEquiv g = relabel g ∘ observation t := rfl
  rw [heq]
  exact (measurable_relabel g).comp (comap_measurable (observation t))
42
theorem measurable_plantedRelabel_symm_observationSigma (g : TreeAut d) (t : ℝ) :
    Measurable[observationSigma (TreeVertex d) t,
      observationSigma (TreeVertex d) t] (plantedRelabelEquiv g).symm := by
proof · 6 lines
  apply measurable_comap_iff.mpr
  have heq : observation t ∘ (plantedRelabelEquiv g).symm =
      (fun x v => x (g.toEquiv v)) ∘ observation t := rfl
  rw [heq]
  exact (Measurable.of_eval (fun _ => measurable_pi_apply _)).comp
    (comap_measurable (observation t))
52
theorem posteriorMagnetization_relabel_ae {theta : ℝ}
    {mu : Measure (TreeVertex d → IsingSpin)} (hmu : HasFreeIsingLaw theta mu)
    (nu : Measure ℝ) [IsProbabilityMeasure nu] (t : ℝ) (g : TreeAut d)
    (v : TreeVertex d) :
    posteriorMagnetization (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu)))
      t v ∘ plantedRelabelEquiv g =ᵐ[mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))]
    posteriorMagnetization (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu)))
      t (g.toEquiv.symm v) := by
proof · 7 lines
  let := hmu.isProbabilityMeasure
  exact condExp_comp_measurePreserving_equiv
    (observationSigma_le (TreeVertex d) t) (plantedRelabelEquiv g)
    (measurePreserving_planted_relabel hmu nu g)
    (measurable_plantedRelabel_observationSigma g t)
    (measurable_plantedRelabel_symm_observationSigma g t)
    (integrable_plantedSpin (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))) v)
68
def posteriorArray (rho : Measure ((TreeVertex d → IsingSpin) × (TreeVertex d → ℝ)))
    (t : ℝ) (p : (TreeVertex d → IsingSpin) × (TreeVertex d → ℝ)) : TreeVertex d → ℝ :=
body · 1 line
  fun v => posteriorMagnetization rho t v p
72
theorem measurable_posteriorArray
    (rho : Measure ((TreeVertex d → IsingSpin) × (TreeVertex d → ℝ))) (t : ℝ) :
    Measurable (posteriorArray rho t) :=
proof · 1 line
  Measurable.of_eval (fun v => measurable_posteriorMagnetization rho t v)
77
theorem posteriorArray_relabel_ae {theta : ℝ}
    {mu : Measure (TreeVertex d → IsingSpin)} (hmu : HasFreeIsingLaw theta mu)
    (nu : Measure ℝ) [IsProbabilityMeasure nu] (t : ℝ) (g : TreeAut d) :
    posteriorArray (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))) t ∘
      plantedRelabelEquiv g =ᵐ[mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))]
    relabel g ∘ posteriorArray (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))) t := by
proof · 3 lines
  filter_upwards [ae_all_iff.mpr (fun v => posteriorMagnetization_relabel_ae hmu nu t g v)]
    with p hp
  exact funext hp
87
theorem posteriorArrayLaw_relabel {theta : ℝ}
    {mu : Measure (TreeVertex d → IsingSpin)} (hmu : HasFreeIsingLaw theta mu)
    (nu : Measure ℝ) [IsProbabilityMeasure nu] (t : ℝ) (g : TreeAut d) :
    ((mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))).map
      (posteriorArray (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))) t)).map
      (relabel g) =
    (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))).map
      (posteriorArray (mu.prod (Measure.infinitePi (fun _ : TreeVertex d => nu))) t) := by
proof · 3 lines
  exact FactorTransport.map_invariant_of_ae_equivariant
    (measurePreserving_planted_relabel hmu nu g) (measurable_relabel g)
    (measurable_posteriorArray _ t) (posteriorArray_relabel_ae hmu nu t g)

Xet Storage Details

Size:
4.75 kB
·
Xet hash:
358b9acc5df8f6be4693bc6229088cd2b67a62a0a494832157483f3cd29b1175

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