Download data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinTensorFrozenFluctuation.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 19.8 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinTensorFrozenFluctuation.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinTensorFrozenFluctuation.lean
-
curl -L -o NSpinTensorFrozenFluctuation.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinTensorFrozenFluctuation.lean
19.8 kB
| import OAI.Probability.InvariantIsing.Arrays.NSpinTensorFlatLaw | |
| import OAI.Probability.InvariantIsing.Pressure.PressureDifferenceConcentration | |
| namespace OAI | |
| /-! Transfer the actual three-disorder pressure moments to one frozen Gaussian CGF. -/ | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory IsingPerceptron | |
| open scoped BigOperators NNReal ENNReal | |
| namespace InvariantIsing | |
| private lemma joint_map_eq_of_conditional_map_eq {Ξ© G E : Type*} | |
| [MeasurableSpace Ξ©] [MeasurableSpace G] [MeasurableSpace E] | |
| (P : Measure Ξ©) (Q : Measure G) [SFinite Q] | |
| (f g : Ξ© Γ G β E) (hf : Measurable f) (hg : Measurable g) | |
| (he : β Ο, Q.map (fun z => f (Ο, z)) = Q.map (fun z => g (Ο, z))) : | |
| (P.prod Q).map f = (P.prod Q).map g := by | |
| apply Measure.ext | |
| intro s hs | |
| rw [Measure.map_apply hf hs, Measure.map_apply hg hs, | |
| Measure.prod_apply (hf hs), Measure.prod_apply (hg hs)] | |
| apply lintegral_congr_ae | |
| refine ae_of_all P fun Ο => ?_ | |
| have h := congrArg (fun Ξ½ : Measure E => Ξ½ s) (he Ο) | |
| have hfΟ : Measurable (fun z => f (Ο, z)) := hf.comp (measurable_const.prodMk measurable_id) | |
| have hgΟ : Measurable (fun z => g (Ο, z)) := hg.comp (measurable_const.prodMk measurable_id) | |
| rw [Measure.map_apply hfΟ hs, Measure.map_apply hgΟ hs] at h | |
| exact h | |
| private lemma tensorNamespacedLog_conditional_law {N m k : β} (eig c : Fin N β β) | |
| (U : SpecialOrthogonal N) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (T : LabeledTree n) (treeDegree : Fin k β β) (h : β β β) : | |
| gaussianCoordinates.map (fun g => tensorFlatLog eig (specialRotation U) c I degree amplitude n | |
| (tensorPathProfile I degree n treeDegree h) (T, g)) = | |
| gaussianCoordinates.map (fun g => tensorNamespacedLog eig c I degree amplitude n treeDegree h ((U, T), g)) := by | |
| let Ξ½ := labeledSpinReference n (uniformSpinPrior N : Measure (Spin N)) T | |
| let H := fun x : Spin N Γ LabeledLeaf n => rotatedEnergy eig (specialRotation U) x.1 + fieldEnergy c x.1 | |
| let K := fun F : Spin N Γ LabeledLeaf n β β => Real.log (β« x, Real.exp (H x + F x) βΞ½) | |
| have : β F : (Spin N Γ LabeledLeaf n β β), IsProbabilityMeasure ((fun _ => Ξ½) F) := | |
| fun _ => by | |
| change IsProbabilityMeasure (labeledSpinReference n (uniformSpinPrior N : Measure (Spin N)) T) | |
| infer_instance | |
| have hE : Measurable (fun p : (Spin N Γ LabeledLeaf n β β) Γ (Spin N Γ LabeledLeaf n) => H p.2 + p.1 p.2) := by | |
| apply measurable_from_prod_countable_left | |
| intro x | |
| have hc : Measurable (fun _ : Spin N Γ LabeledLeaf n β β => H x) := measurable_const | |
| exact hc.add (measurable_pi_apply x) | |
| have hK : Measurable K := (measurable_random_referencePartition | |
| (Ξ½ := fun _ : Spin N Γ LabeledLeaf n β β => Ξ½) measurable_const hE).log | |
| let v : Fin (n + 1) β SpinTensorIndex I degree β ββ₯0 := | |
| fun i => tensorPathProfile I degree n treeDegree h i | |
| have hleft : Measurable (fun g x => cylinderField | |
| (tensorLeafCoefficients (specialRotation U) I degree amplitude n v x) g) := | |
| Measurable.of_eval (fun _ => measurable_cylinderField _) | |
| have hright : Measurable (fun g x => cylinderField | |
| (tensorNamespacedCoefficients (specialRotation U) I degree amplitude n v x) g) := | |
| Measurable.of_eval (fun _ => measurable_cylinderField _) | |
| change gaussianCoordinates.map (K β (fun g x => cylinderField | |
| (tensorLeafCoefficients (specialRotation U) I degree amplitude n v x) g)) = | |
| gaussianCoordinates.map (K β (fun g x => cylinderField | |
| (tensorNamespacedCoefficients (specialRotation U) I degree amplitude n v x) g)) | |
| rw [β Measure.map_map hK hleft, β Measure.map_map hK hright, tensorNamespacedFields_law] | |
| private lemma measurable_tensorLeafField_joint {N m k : β} | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (v : Fin (n + 1) β SpinTensorIndex I degree β ββ₯0) | |
| (x : Spin N Γ LabeledLeaf n) : | |
| Measurable (fun p : SpecialOrthogonal N Γ (β β β) => | |
| cylinderField (tensorLeafCoefficients (specialRotation p.1) I degree amplitude n v x) p.2) := by | |
| simp only [tensorLeafCoefficients, cylinderField_feature] | |
| apply Finset.measurable_sum | |
| intro i _ | |
| exact (((measurable_spinTensorFeature I degree amplitude x.1 i.2).comp measurable_fst).const_mul _).mul | |
| ((measurable_pi_apply (treeFeatureTag n x.2 i)).comp measurable_snd) | |
| private lemma measurable_tensorJointLog {N : β} (eig c : Fin N β β) (n : β) | |
| (Y : (((SpecialOrthogonal N Γ LabeledTree n) Γ (β β β)) Γ (Spin N Γ LabeledLeaf n)) β β) | |
| (hY : Measurable Y) : | |
| Measurable (fun p : (SpecialOrthogonal N Γ LabeledTree n) Γ (β β β) => | |
| Real.log (β« x : Spin N Γ LabeledLeaf n, | |
| Real.exp (rotatedEnergy eig (specialRotation p.1.1) x.1 + fieldEnergy c x.1 + Y (p, x)) | |
| βlabeledSpinReference n (uniformSpinPrior N : Measure (Spin N)) p.1.2)) := by | |
| have hbase : Measurable (fun p : (((SpecialOrthogonal N Γ LabeledTree n) Γ (β β β)) Γ | |
| (Spin N Γ LabeledLeaf n)) => rotatedEnergy eig (specialRotation p.1.1.1) p.2.1 + fieldEnergy c p.2.1) := by | |
| apply measurable_from_prod_countable_left | |
| intro x | |
| have hr : Measurable (fun U : SpecialOrthogonal N => rotatedEnergy eig (specialRotation U) x.1) := by | |
| unfold rotatedEnergy | |
| exact (Finset.measurable_sum _ fun i _ => | |
| ((measurable_specialRotation_eval (spinVector x.1) i).pow_const 2).const_mul (eig i)).const_mul (1 / 2 : β) | |
| exact (hr.comp measurable_fst.fst).add_const (fieldEnergy c x.1) | |
| let Ξ½ := fun p : (SpecialOrthogonal N Γ LabeledTree n) Γ (β β β) => | |
| labeledSpinReference n (uniformSpinPrior N : Measure (Spin N)) p.1.2 | |
| have : β p, IsProbabilityMeasure (Ξ½ p) := fun p => by | |
| change IsProbabilityMeasure (labeledSpinReference n (uniformSpinPrior N : Measure (Spin N)) p.1.2) | |
| infer_instance | |
| exact (measurable_random_referencePartition (Ξ½ := Ξ½) | |
| ((measurable_labeledSpinReference_general n (uniformSpinPrior N : Measure (Spin N))).comp measurable_fst.snd) | |
| (hbase.add hY)).log | |
| lemma measurable_tensorNamespacedLog {N m k : β} (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (treeDegree : Fin k β β) (h : β β β) : | |
| Measurable (tensorNamespacedLog eig c I degree amplitude n treeDegree h) := by | |
| let v : Fin (n + 1) β SpinTensorIndex I degree β ββ₯0 := | |
| fun i => tensorPathProfile I degree n treeDegree h i | |
| have hY : Measurable (fun p : (((SpecialOrthogonal N Γ LabeledTree n) Γ (β β β)) Γ | |
| (Spin N Γ LabeledLeaf n)) => | |
| cylinderField (tensorNamespacedCoefficients (specialRotation p.1.1.1) I degree amplitude n v p.2) p.1.2) := by | |
| apply measurable_from_prod_countable_left | |
| intro x | |
| have hp : Measurable (fun p : (SpecialOrthogonal N Γ LabeledTree n) Γ (β β β) => | |
| (p.1.1, p.2)) := measurable_fst.fst.prodMk measurable_snd | |
| convert (measurable_tensorNamespacedFields_joint I degree amplitude n v x).comp hp using 1 | |
| rfl | |
| exact measurable_tensorJointLog eig c n _ hY | |
| private lemma measurable_tensorJointFlatLog {N m k : β} (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (treeDegree : Fin k β β) (h : β β β) : | |
| Measurable (fun p : (SpecialOrthogonal N Γ LabeledTree n) Γ (β β β) => | |
| tensorFlatLog eig (specialRotation p.1.1) c I degree amplitude n | |
| (tensorPathProfile I degree n treeDegree h) (p.1.2, p.2)) := by | |
| let v : Fin (n + 1) β SpinTensorIndex I degree β ββ₯0 := | |
| fun i => tensorPathProfile I degree n treeDegree h i | |
| have hY : Measurable (fun p : (((SpecialOrthogonal N Γ LabeledTree n) Γ (β β β)) Γ | |
| (Spin N Γ LabeledLeaf n)) => | |
| cylinderField (tensorLeafCoefficients (specialRotation p.1.1.1) I degree amplitude n v p.2) p.1.2) := by | |
| apply measurable_from_prod_countable_left | |
| intro x | |
| have hp : Measurable (fun p : (SpecialOrthogonal N Γ LabeledTree n) Γ (β β β) => | |
| (p.1.1, p.2)) := measurable_fst.fst.prodMk measurable_snd | |
| convert (measurable_tensorLeafField_joint I degree amplitude n v x).comp hp using 1 | |
| rfl | |
| exact measurable_tensorJointLog eig c n _ hY | |
| def tensorNamespacedPressure {N m k : β} (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (treeDegree : Fin k β β) (h : β β β) | |
| (p : (SpecialOrthogonal N Γ LabeledTree n) Γ (β β β)) : β := | |
| (N : β)β»ΒΉ * tensorNamespacedLog eig c I degree amplitude n treeDegree h p | |
| /-- The tensor pressure has the marked-cascade pressure law, | |
| including the Haar rotation. This is a law identity, stronger than matching means. -/ | |
| theorem tensorNamespacedPressure_law {N m k : β} | |
| (ΞΌ : Measure (SpecialOrthogonal N)) [IsProbabilityMeasure ΞΌ] (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (b : β β β) (treeDegree : Fin k β β) (h : β β β) (hb : CascadeExponents n b) : | |
| HasLaw (tensorNamespacedPressure eig c I degree amplitude n treeDegree h) | |
| ((ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0))).map | |
| (tensorDisorderPressure eig c I degree amplitude n)) | |
| ((ΞΌ.prod (labeledCascadeLaw n b : Measure (LabeledTree n))).prod gaussianCoordinates) := by | |
| let P := ΞΌ.prod (labeledCascadeLaw n b : Measure (LabeledTree n)) | |
| let F := fun p : (SpecialOrthogonal N Γ LabeledTree n) Γ (β β β) => | |
| tensorFlatLog eig (specialRotation p.1.1) c I degree amplitude n | |
| (tensorPathProfile I degree n treeDegree h) (p.1.2, p.2) | |
| let G := tensorNamespacedLog eig c I degree amplitude n treeDegree h | |
| have hF : Measurable F := measurable_tensorJointFlatLog eig c I degree amplitude n treeDegree h | |
| have hG : Measurable G := measurable_tensorNamespacedLog eig c I degree amplitude n treeDegree h | |
| have he : (P.prod gaussianCoordinates).map F = (P.prod gaussianCoordinates).map G := | |
| joint_map_eq_of_conditional_map_eq P gaussianCoordinates F G hF hG | |
| (fun Ο => tensorNamespacedLog_conditional_law eig c Ο.1 I degree amplitude n Ο.2 treeDegree h) | |
| let S := fun x : β => (N : β)β»ΒΉ * x | |
| have hS : Measurable S := measurable_id.const_mul _ | |
| have hes : (P.prod gaussianCoordinates).map (S β F) = (P.prod gaussianCoordinates).map (S β G) := by | |
| rw [β Measure.map_map hS hF, β Measure.map_map hS hG, he] | |
| have hactual := (hasLaw_map (measurable_tensorDisorderPressure eig c I degree amplitude n).aemeasurable).comp | |
| (tensorFlatToDisorder_measurePreserving ΞΌ I degree n b (tensorPathProfile I degree n treeDegree h)).hasLaw | |
| have hflat := hactual.congr (tensorFlatPressure_eq_disorder_ae ΞΌ eig c I degree amplitude n b | |
| (tensorPathProfile I degree n treeDegree h) hb) | |
| refine β¨(hG.const_mul (N : β)β»ΒΉ).aemeasurable, ?_β© | |
| exact hes.symm.trans hflat.map_eq | |
| /-- Transport both the second moment and the exact variance and mean. -/ | |
| theorem tensorNamespacedPressure_moments {N m k : β} | |
| (ΞΌ : Measure (SpecialOrthogonal N)) [IsProbabilityMeasure ΞΌ] (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (b : β β β) (treeDegree : Fin k β β) (h : β β β) (hb : CascadeExponents n b) | |
| (hF : MemLp (tensorDisorderPressure eig c I degree amplitude n) 2 | |
| (ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0)))) : | |
| let Q := (ΞΌ.prod (labeledCascadeLaw n b : Measure (LabeledTree n))).prod gaussianCoordinates | |
| let R := ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0)) | |
| let F := tensorNamespacedPressure eig c I degree amplitude n treeDegree h | |
| MemLp F 2 Q β§ variance F Q = variance (tensorDisorderPressure eig c I degree amplitude n) R β§ | |
| (β« p, F p βQ) = β« p, tensorDisorderPressure eig c I degree amplitude n p β R := by | |
| intro Q R F | |
| have hlaw := tensorNamespacedPressure_law ΞΌ eig c I degree amplitude n b treeDegree h hb | |
| have hid : MemLp id 2 (R.map (tensorDisorderPressure eig c I degree amplitude n)) := | |
| (memLp_map_measure_iff aestronglyMeasurable_id hF.aemeasurable).mpr hF | |
| refine β¨hlaw.memLp hid, hlaw.variance_eq.trans (variance_id_map hF.aemeasurable), ?_β© | |
| exact hlaw.integral_eq.trans (integral_map hF.aemeasurable aestronglyMeasurable_id) | |
| /-- Freezing one Gaussian namespace preserves the pressure law at every | |
| value of that namespace's amplitude, including zero. -/ | |
| theorem tensorFrozenPressure_moments {N m k : β} | |
| (ΞΌ : Measure (SpecialOrthogonal N)) [IsProbabilityMeasure ΞΌ] (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (b : β β β) (treeDegree : Fin k β β) (h : β β β) (hb : CascadeExponents n b) | |
| (j : Fin k) (t : β) | |
| (hF : MemLp (tensorDisorderPressure eig c I degree (Function.update amplitude j t) n) 2 | |
| (ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0)))) : | |
| let Q := (tensorFrozenLaw ΞΌ n b j).prod gaussianCoordinates | |
| let R := ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0)) | |
| let F := fun p => (N : β)β»ΒΉ * tensorFrozenPartitionLog eig c I degree amplitude n treeDegree h j t p | |
| MemLp F 2 Q β§ | |
| variance F Q = variance (tensorDisorderPressure eig c I degree (Function.update amplitude j t) n) R β§ | |
| (β« p, F p βQ) = β« p, tensorDisorderPressure eig c I degree (Function.update amplitude j t) n p β R := by | |
| intro Q R F | |
| have hp := tensorFrozenInsertion_measurePreserving ΞΌ n b j | |
| have hm := tensorNamespacedPressure_moments ΞΌ eig c I degree (Function.update amplitude j t) | |
| n b treeDegree h hb hF | |
| refine β¨hm.1.comp_measurePreserving hp, ?_, ?_β© | |
| Β· exact (hp.variance_fun_comp hm.1.aemeasurable).trans hm.2.1 | |
| Β· exact (hp.hasLaw.integral_comp hm.1.aestronglyMeasurable).trans hm.2.2 | |
| lemma tensorFrozenCGF_eq_scaled_difference {N m k : β} (hN : 0 < N) | |
| (ΞΌ : Measure (SpecialOrthogonal N)) [IsProbabilityMeasure ΞΌ] (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (b : β β β) (treeDegree : Fin k β β) (h : β β β) | |
| (hh : Monotone h) (h0 : 0 β€ h 0) (j : Fin k) (t : β) : | |
| tensorFrozenCGF eig c I degree amplitude n treeDegree h j t =α΅[ | |
| (tensorFrozenLaw ΞΌ n b j).prod gaussianCoordinates] | |
| (fun p => (N : β) * | |
| ((N : β)β»ΒΉ * tensorFrozenPartitionLog eig c I degree amplitude n treeDegree h j t p - | |
| (N : β)β»ΒΉ * tensorFrozenPartitionLog eig c I degree amplitude n treeDegree h j 0 p)) := by | |
| filter_upwards [tensorFrozenCGF_eq_log_difference ΞΌ eig c I degree amplitude n b treeDegree h hh h0 j t] | |
| with p hp | |
| rw [hp] | |
| have hn : (N : β) β 0 := Nat.cast_ne_zero.mpr (Nat.ne_of_gt hN) | |
| field_simp | |
| /-- The expected frozen CGF is the volume times the difference of the | |
| two actual all-disorder pressures. -/ | |
| theorem tensorFrozenCGF_mean {N m k : β} (hN : 0 < N) | |
| (ΞΌ : Measure (SpecialOrthogonal N)) [IsProbabilityMeasure ΞΌ] (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (b : β β β) (treeDegree : Fin k β β) (h : β β β) | |
| (hh : Monotone h) (h0 : 0 β€ h 0) (hb : CascadeExponents n b) (j : Fin k) (t : β) | |
| (hF : β a : β, a = t β¨ a = 0 β | |
| MemLp (tensorDisorderPressure eig c I degree (Function.update amplitude j a) n) 2 | |
| (ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0)))) : | |
| let Q := (tensorFrozenLaw ΞΌ n b j).prod gaussianCoordinates | |
| let R := ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0)) | |
| (β« p, tensorFrozenCGF eig c I degree amplitude n treeDegree h j t p βQ) = | |
| (N : β) * ((β« p, tensorDisorderPressure eig c I degree (Function.update amplitude j t) n p β R) - | |
| β« p, tensorDisorderPressure eig c I degree (Function.update amplitude j 0) n p β R) := by | |
| intro Q R | |
| have hmt := tensorFrozenPressure_moments ΞΌ eig c I degree amplitude n b treeDegree h hb j t (hF t (Or.inl rfl)) | |
| have hmz := tensorFrozenPressure_moments ΞΌ eig c I degree amplitude n b treeDegree h hb j 0 (hF 0 (Or.inr rfl)) | |
| rw [integral_congr_ae (tensorFrozenCGF_eq_scaled_difference hN ΞΌ eig c I degree amplitude n b treeDegree h hh h0 j t), | |
| integral_const_mul, integral_sub (hmt.1.integrable (by norm_num)) (hmz.1.integrable (by norm_num)), | |
| hmt.2.2, hmz.2.2] | |
| /-- The actual full-disorder pressure variance controls the centered | |
| selected-field CGF. The two pressures may be dependent. -/ | |
| theorem tensorFrozenCGF_centered_L1_bound {N m k : β} (hN : 0 < N) | |
| (ΞΌ : Measure (SpecialOrthogonal N)) [IsProbabilityMeasure ΞΌ] (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (degree : Fin k β Fin m β β) (amplitude : Fin k β β) | |
| (n : β) (b : β β β) (treeDegree : Fin k β β) (h : β β β) | |
| (hh : Monotone h) (h0 : 0 β€ h 0) (hb : CascadeExponents n b) (j : Fin k) (t B : β) | |
| (hF : β a : β, a = t β¨ a = 0 β | |
| MemLp (tensorDisorderPressure eig c I degree (Function.update amplitude j a) n) 2 | |
| (ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0)))) | |
| (hv : β a : β, a = t β¨ a = 0 β | |
| variance (tensorDisorderPressure eig c I degree (Function.update amplitude j a) n) | |
| (ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0))) β€ B) : | |
| let Q := (tensorFrozenLaw ΞΌ n b j).prod gaussianCoordinates | |
| let Z := tensorFrozenCGF eig c I degree amplitude n treeDegree h j t | |
| MemLp Z 2 Q β§ (β« p, |Z p - β« p', Z p' βQ| βQ) β€ 2 * N * Real.sqrt B := by | |
| intro Q Z | |
| let F := fun a p => (N : β)β»ΒΉ * tensorFrozenPartitionLog eig c I degree amplitude n treeDegree h j a p | |
| have ht : t = t β¨ t = 0 := Or.inl rfl | |
| have hz : (0 : β) = t β¨ (0 : β) = 0 := Or.inr rfl | |
| have hmt := tensorFrozenPressure_moments ΞΌ eig c I degree amplitude n b treeDegree h hb j t (hF t ht) | |
| have hmz := tensorFrozenPressure_moments ΞΌ eig c I degree amplitude n b treeDegree h hb j 0 (hF 0 hz) | |
| have he : Z =α΅[Q] fun p => (N : β) * (F t p - F 0 p) := by | |
| exact tensorFrozenCGF_eq_scaled_difference hN ΞΌ eig c I degree amplitude n b treeDegree h hh h0 j t | |
| simpa only [abs_of_nonneg (show (0 : β) β€ N from Nat.cast_nonneg N)] using | |
| centered_scaled_difference_L1_bound Q hmt.1 hmz.1 | |
| (hmt.2.1.trans_le (hv t ht)) (hmz.2.1.trans_le (hv 0 hz)) he | |
| end InvariantIsing | |
| end | |
| end OAI | |