Download data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinConcentration.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.65 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinConcentration.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinConcentration.lean
-
curl -L -o NSpinConcentration.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Arrays/NSpinConcentration.lean
3.65 kB
| import OAI.Probability.InvariantIsing.Arrays.NSpinComparison | |
| namespace OAI | |
| /-! Applying Haar concentration to the actual Gaussian cascade pressure. -/ | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory | |
| open scoped BigOperators NNReal | |
| namespace InvariantIsing | |
| lemma measurable_rotatedFieldTerminal_joint {N : β} (eig c : Fin N β β) : | |
| Measurable (fun p : SpecialOrthogonal N Γ (Fin N β β) => | |
| rotatedFieldTerminal eig (specialRotation p.1) c p.2) := by | |
| have hE (Ο : Spin N) : Measurable (fun p : SpecialOrthogonal N Γ (Fin N β β) => | |
| rotatedEnergy eig (specialRotation p.1) Ο + fieldEnergy (c + p.2) Ο) := by | |
| apply Measurable.add | |
| Β· exact (Finset.measurable_sum _ fun i _ => | |
| (((measurable_specialRotation_eval (spinVector Ο) i).comp measurable_fst).pow_const 2).const_mul | |
| (eig i)).const_mul (1 / 2 : β) | |
| Β· unfold fieldEnergy | |
| fun_prop | |
| unfold rotatedFieldTerminal logPartition | |
| exact ((Finset.measurable_sum _ fun Ο _ => (hE Ο).exp).const_mul | |
| (Fintype.card (Spin N) : β)β»ΒΉ).log | |
| lemma measurable_rotatedCascadeValue_joint {N : β} (n : β) | |
| (b : β β β) (v : β β ββ₯0) (eig c : Fin N β β) : | |
| Measurable (fun p : SpecialOrthogonal N Γ (Fin N β β) => | |
| rotatedCascadeValue n b v eig (specialRotation p.1) c p.2) := by | |
| induction n generalizing b v with | |
| | zero => exact measurable_rotatedFieldTerminal_joint eig c | |
| | succ n ih => | |
| have hp : Measurable (fun p : (SpecialOrthogonal N Γ (Fin N β β)) Γ (Fin N β β) => | |
| (p.1.1, p.1.2 + p.2)) := | |
| measurable_fst.fst.prodMk (measurable_fst.snd.add measurable_snd) | |
| have hm := (((ih (fun i => b (i + 1)) (fun i => v (i + 1))).comp hp).const_mul (b 0)).exp | |
| exact hm.stronglyMeasurable.integral_prod_right.measurable.log.div_const (b 0) | |
| lemma measurable_rotatedEnrichedPressure {N : β} (n : β) (b : β β β) | |
| (v : β β ββ₯0) (root : ββ₯0) (eig c : Fin N β β) : | |
| Measurable (fun U : SpecialOrthogonal N => | |
| rotatedEnrichedPressure n b v root eig (specialRotation U) c) := by | |
| exact (measurable_rotatedCascadeValue_joint n b v eig c).stronglyMeasurable.integral_prod_right.measurable.const_mul (N : β)β»ΒΉ | |
| /-- Uniform Haar tails for the finite enriched Ising pressure, conditional | |
| only on the precise published concentration input. -/ | |
| theorem haar_enrichedPressure_median_tail (hpub : HaarConcentrationInput) : | |
| β C cβ : β, 0 < C β§ 0 < cβ β§ | |
| β N : β, 3 β€ N β | |
| β ΞΌ : Measure (SpecialOrthogonal N), | |
| IsProbabilityMeasure ΞΌ β ΞΌ.IsMulLeftInvariant β | |
| β n : β, β b : β β β, β v : β β ββ₯0, β root : ββ₯0, | |
| IsingPerceptron.CascadeExponents n b β | |
| β eig c : Fin N β β, β K : β, 0 < K β (β i, |eig i| β€ K) β | |
| β m : β, | |
| (1 / 2 : β) β€ ΞΌ.real {U | rotatedEnrichedPressure n b v root eig (specialRotation U) c β€ m} β§ | |
| (1 / 2 : β) β€ ΞΌ.real {U | m β€ rotatedEnrichedPressure n b v root eig (specialRotation U) c} β§ | |
| β r : β, 0 < r β | |
| ΞΌ.real {U | r β€ |rotatedEnrichedPressure n b v root eig (specialRotation U) c - m|} β€ | |
| C * Real.exp (-cβ * (N : β) * r ^ 2 / K ^ 2) := by | |
| obtain β¨C, cβ, hC, hc, hpβ© := hpub | |
| refine β¨C, cβ, hC, hc, ?_β© | |
| intro N hN ΞΌ hΞΌ hΞΌinv n b v root hb eig c K hK heig | |
| exact hp N hN ΞΌ hΞΌ hΞΌinv _ | |
| (measurable_rotatedEnrichedPressure n b v root eig c) K hK | |
| (fun U V => abs_rotatedEnrichedPressure_sub_rotation_le (by omega) | |
| n b v root hb eig U V c K hK.le heig) | |
| end InvariantIsing | |
| end | |
| end OAI | |