Download data/lean/OAI/Probability/InvariantIsing/Arrays/FullPerturbationMinima.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.97 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Arrays/FullPerturbationMinima.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/InvariantIsing/Arrays/FullPerturbationMinima.lean
-
curl -L -o FullPerturbationMinima.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Arrays/FullPerturbationMinima.lean
6.97 kB
| import OAI.Probability.InvariantIsing.Arrays.TensorMinimumFluctuations | |
| import OAI.Probability.InvariantIsing.Arrays.TensorGGMinimum | |
| import OAI.Probability.InvariantIsing.Arrays.FullPerturbationVariance | |
| namespace OAI | |
| /-! For the complete perturbation, both coordinate minima force the | |
| GhirlandaβGuerra errors to vanish. -/ | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory IsingPerceptron | |
| open scoped BigOperators | |
| namespace InvariantIsing | |
| def tensorPerturbationPressureMean {N m : β} | |
| (ΞΌ : Measure (SpecialOrthogonal N)) (eig c : Fin N β β) | |
| (I : Fin m β Finset (Fin N)) (u : Fin N β β) (v : Fin m β β) (t : β) | |
| (n : β) (b h : β β β) : β := | |
| let degree := fun j : Fin N => enumeratedSpectralDegree m j | |
| let treeDegree := fun j : Fin N => enumeratedTreeDegree m j | |
| β« p, tensorDisorderPressure (diagonalPerturbedEigenvalues eig I v t) c I degree | |
| (tensorPerturbationAmplitude N u) n p | |
| β(ΞΌ.prod (tensorRootTreeLaw I degree n b | |
| (fun i => tensorPathProfile I degree n treeDegree h (i + 1)) | |
| (tensorPathProfile I degree n treeDegree h 0))) | |
| def diagonalMinimumCenter (N : β) (w : β) : β := | |
| let a := N * perturbationScale N | |
| 2 * (N / a ^ 2) * (a * w - a * (3 / 2)) | |
| /-- For the manuscript's full finite perturbation, genuine pressure-coordinate | |
| minima give a GG residual bounded by two explicit rates tending to zero. -/ | |
| theorem fullPerturbationPressure_minimumGG (hhaar : HaarConcentrationInput) | |
| (hgauss : GaussianLipschitzVarianceInput) : | |
| β C : β, 0 < C β§ | |
| β N : β, 3 β€ N β | |
| β ΞΌ : Measure (SpecialOrthogonal N), IsProbabilityMeasure ΞΌ β ΞΌ.IsMulLeftInvariant β | |
| β m : β, β eig c : Fin N β β, β K : β, 0 < K β (β i, |eig i| β€ K) β | |
| β I : Fin m β Finset (Fin N), β u : Fin N β β, (β j, u j β Set.Icc (1 : β) 2) β | |
| β v : Fin m β β, (β a, v a β Set.Icc (1 : β) 2) β β t : β, |t| β€ 1 β | |
| β n : β, β b : β β β, CascadeExponents n b β | |
| β h : β β β, Monotone h β 0 β€ h 0 β β H : β, h n β€ H β | |
| let M := tensorPerturbationPressureMean ΞΌ eig c I (n := n) (b := b) (h := h) | |
| let degree := fun j : Fin N => enumeratedSpectralDegree m j | |
| let treeDegree := fun j : Fin N => enumeratedTreeDegree m j | |
| let L := 4 * (β« T, (Real.log (rawTreeTotal n T).toReal) ^ 2 | |
| β(rawCascadeLaw n b : Measure (RawTree n))) + H + 4 + C * (K + 4 * m + 8) ^ 2 | |
| perturbationScale N β€ 1 / 32 β contactStep N β€ 1 / 4 β | |
| (β (j : Fin N) (w : β), w β Set.Icc (1 : β) 2 β | |
| -M u v t + perturbationWeight j * (u j - 3 / 2) ^ 2 β€ | |
| -M (Function.update u j w) v t + perturbationWeight j * (w - 3 / 2) ^ 2) β | |
| (β (a : Fin m) (w : β), w β Set.Icc (1 : β) 2 β | |
| -M u v t + (v a - 3 / 2) ^ 2 β€ -M u (Function.update v a w) t + (w - 3 / 2) ^ 2) β | |
| β j : Fin N, β q : β, β B : β, 0 β€ B β | |
| β D : SpecialOrthogonal N β (Fin (q + 1) β Spin N Γ LabeledLeaf n) β β, | |
| Measurable (Function.uncurry D) β (β U Ο, |D U Ο| β€ B) β | |
| |tensorSpectralGGResidual ΞΌ (diagonalPerturbedEigenvalues eig I v t) c I degree | |
| (tensorPerturbationAmplitude N u) n b treeDegree h j D| β€ | |
| contactGGRate N j L B + | |
| 2 * B * (β a, (degree j a : β)) * diagonalContactRate N L := by | |
| obtain β¨C, hC, hvarβ© := fullPerturbationPressure_variance hhaar hgauss | |
| refine β¨C, hC, ?_β© | |
| intro N hN ΞΌ hΞΌ hΞΌinv m eig c K hK heig I u hu v hv t ht n b hb h hh h0 H hH | |
| M degree treeDegree L he hs hminu hminv j q B hB D hD hDb | |
| let : IsProbabilityMeasure ΞΌ := hΞΌ | |
| have hNp : 0 < N := by omega | |
| have hua : β j, |u j| β€ 2 := fun j => abs_le.mpr β¨by linarith [(hu j).1], (hu j).2β© | |
| have hva : β a, |v a| β€ 2 := fun a => abs_le.mpr β¨by linarith [(hv a).1], (hv a).2β© | |
| let amplitude := tensorPerturbationAmplitude N u | |
| 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)) | |
| have hgu (w : β) (hw : |w| β€ 2) : | |
| MemLp (tensorDisorderPressure (diagonalPerturbedEigenvalues eig I v t) c I degree | |
| (Function.update amplitude j (perturbationAmplitude N j * w)) n) 2 R β§ | |
| variance (tensorDisorderPressure (diagonalPerturbedEigenvalues eig I v t) c I degree | |
| (Function.update amplitude j (perturbationAmplitude N j * w)) n) R β€ L / N := by | |
| simpa only [tensorPerturbationAmplitude_update] using | |
| hvar N hN ΞΌ hΞΌ hΞΌinv m eig c K hK heig I (Function.update u j w) | |
| (update_abs_le_two hua j hw) v hva t ht n b hb h hh h0 H hH | |
| have hgv (a : Fin m) (w : β) (hw : |w| β€ 2) : | |
| MemLp (tensorDisorderPressure (diagonalPerturbedEigenvalues eig I (Function.update v a w) t) | |
| c I degree amplitude n) 2 R β§ | |
| variance (tensorDisorderPressure (diagonalPerturbedEigenvalues eig I (Function.update v a w) t) | |
| c I degree amplitude n) R β€ L / N := by | |
| exact hvar N hN ΞΌ hΞΌ hΞΌinv m eig c K hK heig I u hua (Function.update v a w) | |
| (update_abs_le_two hva a hw) t ht n b hb h hh h0 H hH | |
| have hdiag (a : Fin m) : tensorNamespacedObservableAverage ΞΌ (diagonalPerturbedEigenvalues eig I v t) | |
| c I degree amplitude n b treeDegree h | |
| (fun U x => |projectedOverlap (specialRotation U) (I a) x.1 x.1 - diagonalMinimumCenter N (v a)|) β€ | |
| diagonalContactRate N L := by | |
| have hd := tensorDiagonal_fluctuation_at_minimum hNp ΞΌ eig c I degree amplitude n b treeDegree h | |
| hh h0 hb v t a (v a) L (hv a) he hs (fun w hw => (hgv a w hw).1) | |
| (fun w hw => (hgv a w hw).2) (by | |
| dsimp only | |
| intro w hw | |
| simpa only [M, tensorPerturbationPressureMean, Function.update_eq_self] using hminv a w hw) | |
| simpa only [Function.update_eq_self, diagonalMinimumCenter] using hd | |
| have hgm : β w β Set.Icc (1 : β) 2, | |
| -tensorGaussianCoordinatePressure ΞΌ (diagonalPerturbedEigenvalues eig I v t) c I degree amplitude | |
| n b treeDegree h j (u j) + perturbationWeight j * (u j - 3 / 2) ^ 2 β€ | |
| -tensorGaussianCoordinatePressure ΞΌ (diagonalPerturbedEigenvalues eig I v t) c I degree amplitude | |
| n b treeDegree h j w + perturbationWeight j * (w - 3 / 2) ^ 2 := by | |
| intro w hw | |
| simpa only [amplitude, M, tensorPerturbationPressureMean, tensorGaussianCoordinatePressure, β tensorPerturbationAmplitude_update, | |
| Function.update_eq_self] using hminu j w hw | |
| have hg := tensorGaussianGG_at_minimum hNp ΞΌ (diagonalPerturbedEigenvalues eig I v t) c I degree | |
| amplitude n b treeDegree h hh h0 hb j (u j) L (hu j) (by linarith) hs rfl | |
| (fun w hw => (hgu w hw).1) (fun w hw => (hgu w hw).2) hgm B hB D hD hDb | |
| (fun a => diagonalMinimumCenter N (v a)) (fun _ => diagonalContactRate N L) hdiag | |
| simpa only [β Finset.sum_mul, mul_assoc] using hg | |
| end InvariantIsing | |
| end | |
| end OAI | |