cfahlgren1/math / lean /OAI /Probability /Perceptron /Interpolation /AnnealedMarkedReplica.lean
cfahlgren1's picture
download
raw
1.59 kB
import Mathlib
import OAI.Probability.Perceptron.Interpolation.KernelInfiniteReplica
namespace OAI
noncomputable section
open MeasureTheory ProbabilityTheory Filter Set
namespace SphericalPerceptronFreeEnergy
variable {A S : Type*} [MeasurableSpace A] [MeasurableSpace S]
variable (κ : Kernel A S) [IsMarkovKernel κ] (P : Measure A) [IsProbabilityMeasure P]
variable (H : A→S→ℝ) (hH : Measurable (Function.uncurry H))
lemma annealedInfiniteReplica_marked_prefix (hexp : ∀ᵐ a ∂P,
Integrable (fun x => Real.exp (H a x)) (κ a)) (r : ℕ) {G : A→(Fin r→S)→ℝ}
(hG : Measurable (Function.uncurry G)) {B : ℝ} (hGB : ∀ a x,|G a x|≤B) :
(∫ a,G a.1 (fun i => a.2 i.val) ∂annealedInfiniteReplicaMeasure κ P H hH)=
∫ a,gibbsReplicaMean (κ a) (H a) r (G a) ∂P := by
let := gibbsProbabilityKernel_markov κ H hH
have hm : Measurable (fun a : A×(ℕ→S) => G a.1 (fun i : Fin r => a.2 i.val)) :=
hG.comp (measurable_fst.prodMk (by fun_prop))
have hi : Integrable (fun a : A×(ℕ→S) => G a.1 (fun i : Fin r => a.2 i.val))
(annealedInfiniteReplicaMeasure κ P H hH) :=
Integrable.of_bound hm.aestronglyMeasurable B (ae_of_all _ fun a => by
simpa only [Real.norm_eq_abs] using hGB a.1 (fun i => a.2 i.val))
rw [annealedInfiniteReplicaMeasure,Measure.integral_compProd hi]
apply integral_congr_ae
filter_upwards [hexp] with a ha
rw [kernelInfiniteReplica_prefix_integral _ a r hG.of_uncurry_left]
exact gibbsProbabilityKernel_replica_integral κ H hH a ha r (G a)
end SphericalPerceptronFreeEnergy
end
end OAI

Xet Storage Details

Size:
1.59 kB
·
Xet hash:
610481bb79969ab99d14ac6d8f111e5107facd13feab0b07c9b4cdf8c3a8cad2

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