openAI-math-dataset / lean /OAI /MathematicalPhysics /CriticalSK /VariationalDefinitions.lean
roseking's picture
Add lean source and binary files (part 87)
d5b562f verified
Raw History Blame Contribute Delete
1.25 kB
10
def continuousMixingAt {n : ℕ} (W : Disorder n) (ε : ℝ) : ℝ :=
body · 1 line
  sInf {t : ℝ | 0 ≤ t ∧ ∀ x, continuousDistance W t x ≤ ε}
13
def discreteMixingAt {n : ℕ} (W : Disorder n) (ε : ℝ) : ℕ :=
body · 1 line
  sInf {k : ℕ | ∀ x, discreteDistance W k x ≤ ε}
16
def entropy {n : ℕ} (W : Disorder n) (g : Spin n → ℝ) : ℝ :=
body · 1 line
  mean W (fun x => g x * Real.log (g x)) - mean W g * Real.log (mean W g)
19
def relaxationTime {n : ℕ} (W : Disorder n) : ℝ :=
body · 2 lines
  sSup {r : ℝ | ∃ f : Spin n → ℝ, 0 < variance W f ∧
    r = variance W f / dirichlet W f}
23
def logSobolevConstant {n : ℕ} (W : Disorder n) : ℝ :=
body · 2 lines
  sSup {r : ℝ | ∃ f : Spin n → ℝ, 0 < entropy W (fun x => f x ^ 2) ∧
    r = entropy W (fun x => f x ^ 2) / dirichlet W f}
27
def ExponentInProbability (X : (n : ℕ) → Disorder n → ℝ) (a : ℝ) : Prop :=
body · 4 lines
  ∀ δ : ℝ, 0 < δ →
    Tendsto (fun n : ℕ => (disorderLaw n).real
      {W | (n : ℝ) ^ (a - δ) ≤ X n W ∧ X n W ≤ (n : ℝ) ^ (a + δ)})
      atTop (𝓝 1)