Buckets:
| import OAI.Probability.InvariantIsing.Arrays.NSpinVariance | |
| namespace OAI | |
| /-! Haar variance for the Frobenius moduli used by the perturbed model. -/ | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory | |
| namespace InvariantIsing | |
| lemma haar_frobeniusLipschitz_memLp_two (hpub : HaarConcentrationInput) | |
| (N : ℕ) (hN : 3 ≤ N) (μ : Measure (SpecialOrthogonal N)) [IsProbabilityMeasure μ] | |
| (hμinv : μ.IsMulLeftInvariant) (f : SpecialOrthogonal N → ℝ) (hf : Measurable f) | |
| (L : ℝ) (hL : 0 < L) | |
| (hLip : ∀ U V, |f U - f V| ≤ L * frobeniusDistance U V) : MemLp f 2 μ := by | |
| obtain ⟨C, a, hC, ha, hp⟩ := hpub | |
| obtain ⟨m, _, _, ht⟩ := hp N hN μ inferInstance hμinv f hf L hL hLip | |
| have hn : (0 : ℝ) < N := by exact_mod_cast (show 0 < N by omega) | |
| have hd := (integral_sq_sub_le_of_gaussian_tail μ f hf m C | |
| (a * N / L ^ 2) hC.le (by positivity) (fun r hr => by | |
| simpa only [show -a * (N : ℝ) * r ^ 2 / L ^ 2 = -(a * N / L ^ 2) * r ^ 2 by ring] | |
| using ht r hr)).1 | |
| have hD := (memLp_two_iff_integrable_sq (hf.sub_const m).aestronglyMeasurable).mpr hd | |
| convert hD.add (memLp_const m) using 1 | |
| ext U | |
| simp only [Pi.add_apply, sub_add_cancel] | |
| /-- The published concentration input bounds every measurable Frobenius | |
| Lipschitz observable, with constants independent of dimension. -/ | |
| theorem haar_frobeniusLipschitz_variance (hpub : HaarConcentrationInput) : | |
| ∃ C : ℝ, 0 < C ∧ | |
| ∀ N : ℕ, 3 ≤ N → | |
| ∀ μ : Measure (SpecialOrthogonal N), | |
| IsProbabilityMeasure μ → μ.IsMulLeftInvariant → | |
| ∀ f : SpecialOrthogonal N → ℝ, Measurable f → | |
| ∀ L : ℝ, 0 < L → | |
| (∀ U V, |f U - f V| ≤ L * frobeniusDistance U V) → | |
| variance f μ ≤ C * L ^ 2 / N := by | |
| obtain ⟨C, a, hC, ha, hp⟩ := hpub | |
| refine ⟨C / a, by positivity, ?_⟩ | |
| intro N hN μ hμ hμinv f hf L hL hLip | |
| let : IsProbabilityMeasure μ := hμ | |
| obtain ⟨m, _, _, ht⟩ := hp N hN μ hμ hμinv f hf L hL hLip | |
| have hn : (0 : ℝ) < N := by exact_mod_cast (show 0 < N by omega) | |
| have hb := variance_le_of_gaussian_median_tail μ f hf m C | |
| (a * N / L ^ 2) hC.le (by positivity) (fun r hr => by | |
| simpa only [show -a * (N : ℝ) * r ^ 2 / L ^ 2 = -(a * N / L ^ 2) * r ^ 2 by ring] | |
| using ht r hr) | |
| refine hb.trans_eq ?_ | |
| field_simp | |
| end InvariantIsing | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 2.37 kB
- Xet hash:
- 67e69ff7ccad5dbd19f5056c0f3dba97b52fb1858fda6e406645004f98f1da24
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.