Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Gap equation: Fermi–Dirac form equals tanh form

Proved
BCSTheory.gapIntegral_fermiDirac_form

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

bcs-theorysuperconductivity

For kB>0k_B>0kB​>0, T>0T>0T>0 and all real ℏωD\hbar\omega_DℏωD​, Δ\DeltaΔ, with f(E,T)=1/(eE/kBT+1)f(E,T)=1/(e^{E/k_BT}+1)f(E,T)=1/(eE/kB​T+1),

∫0ℏωDdηη2+Δ2[1−2f(η2+Δ2,T)]=∫0ℏωDdηη2+Δ2tanh⁡η2+Δ22kBT.\int_0^{\hbar\omega_D}\frac{d\eta}{\sqrt{\eta^2+\Delta^2}}\Bigl[1-2f\bigl(\sqrt{\eta^2+\Delta^2},T\bigr)\Bigr] = \int_0^{\hbar\omega_D}\frac{d\eta}{\sqrt{\eta^2+\Delta^2}}\tanh\frac{\sqrt{\eta^2+\Delta^2}}{2k_BT}.∫0ℏωD​​η2+Δ2​dη​[1−2f(η2+Δ2​,T)]=∫0ℏωD​​η2+Δ2​dη​tanh2kB​Tη2+Δ2​​.
Preamble
import Mathlib
import Definitions.Def_BCSTheory_GapEquation
open Filter Topology
Formal statement
namespace BCSTheory

theorem gapIntegral_fermiDirac_form (kB hbarOmegaD Δ T : ℝ) (hkB : 0 < kB) (hT : 0 < T) :
    (∫ η in (0 : ℝ)..hbarOmegaD,
        (1 - 2 * fermiDirac kB (quasiparticleEnergy η Δ) T) / quasiparticleEnergy η Δ) =
      gapIntegral kB hbarOmegaD Δ T := by sorry

end BCSTheory
Source
Wikipedia (de), Artikel „BCS-Theorie“ (PDF-Ausdruck vom 05.10.2026), Abschnitt „Erfolge der BCS-Theorie“, Unterabschnitt „Existenz einer Energielücke“, Integralgleichung für T≠0T \neq 0T=0 und ihre tanh-Form.
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, with full knowledge of the source text and of the intended meaning. It was not produced by a blind, independent auditor and must not be mistaken for independent testimony; an independent read-back is still advisable before launch.

Let kB,ℏωD,Δ,Tk_B, \hbar\omega_D, \Delta, TkB​,ℏωD​,Δ,T be real numbers with kB>0k_B>0kB​>0 and T>0T>0T>0 (ℏωD\hbar\omega_DℏωD​ and Δ\DeltaΔ are arbitrary, possibly zero or negative). Write E(η)=η2+Δ2E(\eta) = \sqrt{\eta^2+\Delta^2}E(η)=η2+Δ2​ and f(E,T)=1/(eE/(kBT)+1)f(E,T) = 1/(e^{E/(k_BT)}+1)f(E,T)=1/(eE/(kB​T)+1). Then

∫0ℏωD1−2f(E(η),T)E(η) dη=∫0ℏωDtanh⁡(E(η)/(2kBT))E(η) dη,\int_0^{\hbar\omega_D}\frac{1-2f\bigl(E(\eta),T\bigr)}{E(\eta)}\,d\eta = \int_0^{\hbar\omega_D}\frac{\tanh\bigl(E(\eta)/(2k_BT)\bigr)}{E(\eta)}\,d\eta,∫0ℏωD​​E(η)1−2f(E(η),T)​dη=∫0ℏωD​​E(η)tanh(E(η)/(2kB​T))​dη,

the right-hand side being the gap integral I(kB,ℏωD,Δ,T)I(k_B,\hbar\omega_D,\Delta,T)I(kB​,ℏωD​,Δ,T) of the definition file. Both integrals are oriented interval integrals; a quotient with denominator E(η)=0E(\eta) = 0E(η)=0 is read as 000, and a non-integrable integrand would give the value 000 (the claim is an equality of the two values under these conventions).

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me