math / data /lean /OAI /MathematicalPhysics /CriticalSK /VariationalDefinitions.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.25 kB
import OAI.MathematicalPhysics.CriticalSK.Main
namespace OAI
noncomputable section
open scoped BigOperators Topology NNReal ENNReal
open MeasureTheory ProbabilityTheory Filter
namespace CriticalSK
def continuousMixingAt {n : β„•} (W : Disorder n) (Ξ΅ : ℝ) : ℝ :=
sInf {t : ℝ | 0 ≀ t ∧ βˆ€ x, continuousDistance W t x ≀ Ξ΅}
def discreteMixingAt {n : β„•} (W : Disorder n) (Ξ΅ : ℝ) : β„• :=
sInf {k : β„• | βˆ€ x, discreteDistance W k x ≀ Ξ΅}
def entropy {n : β„•} (W : Disorder n) (g : Spin n β†’ ℝ) : ℝ :=
mean W (fun x => g x * Real.log (g x)) - mean W g * Real.log (mean W g)
def relaxationTime {n : β„•} (W : Disorder n) : ℝ :=
sSup {r : ℝ | βˆƒ f : Spin n β†’ ℝ, 0 < variance W f ∧
r = variance W f / dirichlet W f}
def logSobolevConstant {n : β„•} (W : Disorder n) : ℝ :=
sSup {r : ℝ | βˆƒ f : Spin n β†’ ℝ, 0 < entropy W (fun x => f x ^ 2) ∧
r = entropy W (fun x => f x ^ 2) / dirichlet W f}
def ExponentInProbability (X : (n : β„•) β†’ Disorder n β†’ ℝ) (a : ℝ) : Prop :=
βˆ€ Ξ΄ : ℝ, 0 < Ξ΄ β†’
Tendsto (fun n : β„• => (disorderLaw n).real
{W | (n : ℝ) ^ (a - Ξ΄) ≀ X n W ∧ X n W ≀ (n : ℝ) ^ (a + Ξ΄)})
atTop (𝓝 1)
end CriticalSK
end
end OAI