File size: 4,607 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | import OAI.Probability.InvariantIsing.Cavity.CavityFrameLogBound
import OAI.Probability.InvariantIsing.Cavity.CavityRotationLogMean
import OAI.Probability.InvariantIsing.Cavity.CavityProjectorPartition
import OAI.Probability.InvariantIsing.Cavity.CavityProjectorHaarMean
namespace OAI
/-! Integrability of the canonical base partition and the random-block
cavity logarithm under the product Haar law. -/
noncomputable section
open MeasureTheory ProbabilityTheory IsingPerceptron
namespace InvariantIsing
lemma cavity_canonical_log_partition {N m d depth : β}
(k : Fin m β β) (e : (((a : Fin m) Γ Fin (k a)) β Fin d) β Fin N)
(aβ : Fin d β Fin m) (V : Orthogonal N) (T : LabeledTree depth)
(lam v : Fin m β β) (u : β β β) (t : β) :
cavityProjectorLogPartition T (fun a => t*lam a+2*perturbationScale N*v a) u
(cavityLabeledProjectorAction V (cavityCanonicalProjectorFrame k e aβ)).1 =
cavityRotationLogMean T
(diagonalPerturbedEigenvalues
(fun i => lam (Sum.elim (fun w => w.1) aβ (e.symm i)))
(cavityBaseGroup k e aβ) v t) (cavityBaseGroup k e aβ) u V := by
rw [cavityCanonicalProjectorFrame_action_fst]
exact cavity_projector_log_partition _ V T lam v u t
lemma integrable_cavity_canonical_log_partition {N m d depth : β}
(k : Fin m β β) (e : (((a : Fin m) Γ Fin (k a)) β Fin d) β Fin N)
(aβ : Fin d β Fin m) (Ξ½ : Measure (Orthogonal N)) [IsProbabilityMeasure Ξ½]
(T : LabeledTree depth) (lam v : Fin m β β) (u : β β β)
(hu : β j, |u j| β€ 2) (t : β) :
Integrable (fun V => cavityProjectorLogPartition T
(fun a => t*lam a+2*perturbationScale N*v a) u
(cavityLabeledProjectorAction V (cavityCanonicalProjectorFrame k e aβ)).1) Ξ½ := by
simp_rw [cavity_canonical_log_partition k e aβ]
exact integrable_cavityRotationLogMean Ξ½ T _ _ u hu
lemma cavity_canonical_capped_log_bound {N n m d depth : β}
(k : Fin m β β) (e : (((a : Fin m) Γ Fin (k a)) β Fin d) β Fin N)
(aβ : Fin d β Fin m) (V : Orthogonal N) (T : LabeledTree depth)
(lam v : Fin m β β) (u : β β β) (hu : β j, |u j| β€ 2)
(t cap Ξ΄ : β) (hcap : 0 β€ cap) (A : CavityFactorBlocks d n) {D : β}
(hAb : cavityFactorSize A.1 A.2.1 A.2.2 β€ D) :
|cavityProjectorCappedLog T (fun a => t*lam a+2*perturbationScale N*v a)
u t cap Ξ΄ A (cavityLabeledProjectorAction V (cavityCanonicalProjectorFrame k e aβ))| β€
(|t| *D+|Ξ΄|)*(1+N) := by
let g : Fin N β Fin m := fun i => Sum.elim (fun w => w.1) aβ (e.symm i)
let p := cavityLabeledProjectorAction V (cavityCanonicalProjectorFrame k e aβ)
have hp : p.1=fun a => cavitySpectralProjector V (cavitySpectralGroup g a) :=
cavityCanonicalProjectorFrame_action_fst k e aβ V
have hS : p.2.transpose*p.2=1 := cavity_canonical_action_frame_gram k e aβ V
exact cavity_projector_capped_log_bound g V T lam v u hu t cap Ξ΄ hcap A hAb p hp hS
lemma integrable_cavity_canonical_capped_log {Ξ© : Type*} [MeasurableSpace Ξ©]
{N n m d depth : β} (P : Measure Ξ©) [IsProbabilityMeasure P]
(Ξ½ : Measure (Orthogonal N)) [IsProbabilityMeasure Ξ½]
(k : Fin m β β) (e : (((a : Fin m) Γ Fin (k a)) β Fin d) β Fin N)
(aβ : Fin d β Fin m) (T : LabeledTree depth)
(lam v : Fin m β β) (u : β β β) (hu : β j, |u j| β€ 2)
(t cap Ξ΄ : β) (hcap : 0 β€ cap)
(A : Ξ© β CavityFactorBlocks d n) (hA : Measurable A) {D : β}
(hAb : β Ο, cavityFactorSize (A Ο).1 (A Ο).2.1 (A Ο).2.2 β€ D) :
Integrable (fun q : Ξ© Γ Orthogonal N => cavityProjectorCappedLog T
(fun a => t*lam a+2*perturbationScale N*v a) u t cap Ξ΄ (A q.1)
(cavityLabeledProjectorAction q.2 (cavityCanonicalProjectorFrame k e aβ))) (P.prod Ξ½) := by
have hp : Measurable (fun q : Ξ© Γ Orthogonal N =>
cavityLabeledProjectorAction q.2 (cavityCanonicalProjectorFrame k e aβ)) :=
(measurable_cavityCanonicalProjectorAction k e aβ).comp measurable_snd
have hm := measurable_cavityProjectorCappedLog T
(fun a => t*lam a+2*perturbationScale N*v a) u t cap Ξ΄
(fun q : Ξ© Γ Orthogonal N => A q.1) (hA.comp measurable_fst)
(fun q : Ξ© Γ Orthogonal N =>
cavityLabeledProjectorAction q.2 (cavityCanonicalProjectorFrame k e aβ)) hp
apply Integrable.of_bound hm.aestronglyMeasurable ((|t| *D+|Ξ΄|)*(1+N))
apply ae_of_all
intro q
rw [Real.norm_eq_abs]
exact cavity_canonical_capped_log_bound k e aβ q.2 T lam v u hu t cap Ξ΄ hcap (A q.1) (hAb q.1)
end InvariantIsing
end
end OAI
|