All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Two State probability fst

CanonicalEnsemble.twoState_probability_fst

Plain-language statement

Probability of the first state (energy E₀) in closed form.

Exact Lean statement

lemma twoState_probability_fst (E₀ E₁ : ℝ) (T : Temperature) :
    (twoState E₀ E₁).probability T 0 = 1 / 2 * (1 + Real.tanh (β T * (E₁ - E₀) / 2))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma twoState_probability_fst (E₀ E₁ : ) (T : Temperature) :    (twoState E₀ E₁).probability T 0 = 1 / 2 * (1 + Real.tanh (β T * (E₁ - E₀) / 2)) := by  set x := β T * (E₁ - E₀) / 2  set C := β T * (E₀ + E₁) / 2  have hE0 : - β T * E₀ = x - C := by    simp [x, C]; ring  have hE1 : - β T * E₁ = -x - C := by    simp [x, C]; ring  rw [probability, mathematicalPartitionFunction_of_fintype]  simp only [twoState, Fin.sum_univ_two, Fin.isValue]  rw [hE0, hE1]  rw [Real.tanh_eq_sinh_div_cosh, Real.sinh_eq, Real.cosh_eq]  simp only [Real.exp_sub, Real.exp_neg]  field_simp  ring
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/StatisticalMechanics/CanonicalEnsemble/TwoState.lean:61-75

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record