math / data /lean /OAI /Probability /InvariantIsing /Arrays /NSpinConcentration.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
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