File size: 5,257 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 88 89 90 91 | import OAI.Probability.InvariantIsing.Arrays.NSpinTensorFlatMean
import OAI.Probability.InvariantIsing.Arrays.TensorGaussianMean
import OAI.Probability.InvariantIsing.Arrays.TensorProfiles
namespace OAI
/-! Rotation comparison for the actual disorder-averaged tensor cascade pressure. -/
noncomputable section
open MeasureTheory ProbabilityTheory IsingPerceptron
open scoped BigOperators NNReal
namespace InvariantIsing
lemma measurable_tensorEnrichedPressure {N m k : β} (eig c : Fin N β β)
(I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β)
(n : β) (b : β β β) (v : β β SpinTensorIndex I degree β ββ₯0)
(root : SpinTensorIndex I degree β ββ₯0) :
Measurable (fun U : SpecialOrthogonal N =>
tensorEnrichedPressure eig (specialRotation U) c I degree amplitude n b v root) :=
(measurable_tensorCascadeValue_joint eig c I degree amplitude n b v).stronglyMeasurable.integral_prod_right.measurable.const_mul (N : β)β»ΒΉ
/-- Gaussian covariance comparison transfers through the exact flat-model
mean identity to the backward recursion pressure itself. -/
theorem abs_tensorEnrichedPressure_sub_rotation_le {N m k : β} (hN : 0 < N)
(eig c : Fin N β β) (U V : SpecialOrthogonal N)
(K : β) (hK : 0 β€ K) (heig : β i, |eig i| β€ K)
(I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β)
(n : β) (b : β β β) (hb : CascadeExponents n b)
(site : β β ββ₯0) (monomial : β β Fin k β ββ₯0) :
let v := fun i => tensorVarianceProfile I degree (site i) (monomial i)
|tensorEnrichedPressure eig (specialRotation U) c I degree amplitude n b (fun i => v (i + 1)) (v 0) -
tensorEnrichedPressure eig (specialRotation V) c I degree amplitude n b (fun i => v (i + 1)) (v 0)| β€
(K + 2 * (N : β)β»ΒΉ * (β i : Fin (n + 1), β j, (monomial i j : β) * amplitude j ^ 2 *
β a, (degree j a : β))) * frobeniusDistance U V := by
intro v
let F := fun R T => β« g : β β β,
tensorFlatLog eig (specialRotation R) c I degree amplitude n v (T, g) βgaussianCoordinates
have hi (R : SpecialOrthogonal N) : Integrable (F R)
(labeledCascadeLaw n b : Measure (LabeledTree n)) :=
(tensorFlatLog_integrable eig (specialRotation R) c I degree amplitude n b v).integral_prod_left
let L := K * N + 2 * (β i : Fin (n + 1), β j, (monomial i j : β) * amplitude j ^ 2 *
β a, (degree j a : β))
have hbound (T : LabeledTree n) : |F U T - F V T| β€ L * frobeniusDistance U V := by
exact tensorLeafLogMean_abs_sub_le hN eig c U V K hK heig I degree amplitude n
(fun i => site i) (fun i => monomial i)
(labeledSpinReference n (uniformSpinPrior N : Measure (Spin N)) T)
have hm : |(β« T, F U T β(labeledCascadeLaw n b : Measure (LabeledTree n))) -
β« T, F V T β(labeledCascadeLaw n b : Measure (LabeledTree n))| β€ L * frobeniusDistance U V := by
rw [β integral_sub (hi U) (hi V), β Real.norm_eq_abs]
simpa only [probReal_univ, mul_one] using
norm_integral_le_of_norm_le_const (ΞΌ := (labeledCascadeLaw n b : Measure (LabeledTree n)))
(C := L * frobeniusDistance U V) (ae_of_all _ fun T => by
simpa only [Real.norm_eq_abs] using hbound T)
rw [tensorEnrichedPressure_eq_flat_mean hN eig (specialRotation U) c I degree amplitude n b v hb,
tensorEnrichedPressure_eq_flat_mean hN eig (specialRotation V) c I degree amplitude n b v hb,
β mul_sub, abs_mul, abs_of_nonneg (show 0 β€ (N : β)β»ΒΉ from inv_nonneg.mpr (Nat.cast_nonneg _))]
refine (mul_le_mul_of_nonneg_left hm (by positivity)).trans_eq ?_
have hn : (N : β) β 0 := Nat.cast_ne_zero.mpr hN.ne'
dsimp only [L]
field_simp
/-- For the manuscript's tree power increments, the rotation modulus
depends on the perturbation amplitudes and degrees, not the cascade depth. -/
theorem abs_tensorPathPressure_sub_rotation_le {N m k : β} (hN : 0 < N)
(eig c : Fin N β β) (U V : SpecialOrthogonal N)
(K : β) (hK : 0 β€ K) (heig : β i, |eig i| β€ K)
(I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β)
(n : β) (treeDegree : Fin k β β) (h : β β β)
(b : β β β) (hb : CascadeExponents n b) :
let v := tensorPathProfile I degree n treeDegree h
|tensorEnrichedPressure eig (specialRotation U) c I degree amplitude n b (fun i => v (i + 1)) (v 0) -
tensorEnrichedPressure eig (specialRotation V) c I degree amplitude n b (fun i => v (i + 1)) (v 0)| β€
(K + 2 * (N : β)β»ΒΉ * (β j, amplitude j ^ 2 * β a, (degree j a : β))) * frobeniusDistance U V := by
intro v
have hc := abs_tensorEnrichedPressure_sub_rotation_le hN eig c U V K hK heig I degree amplitude n b hb
(varianceIncrement h) (fun i j => varianceIncrement (monomialPath n (treeDegree j)) i)
refine hc.trans ?_
apply mul_le_mul_of_nonneg_right ?_ (show 0 β€ frobeniusDistance U V from Real.sqrt_nonneg _)
have hc := mul_le_mul_of_nonneg_left
(tensorPathProfile_rotation_cap degree amplitude n treeDegree)
(show 0 β€ 2 * (N : β)β»ΒΉ by positivity)
linarith
end InvariantIsing
end
end OAI
|