Thermodynamics · PhysLib theorem

An Ideal-Gas Adiabatic Product Law

For two positive ideal-gas states with equal particle number and equal entropy, PhysLib proves the dimensionless relation (Uₐ/Uᵦ)^c(Vₐ/Vᵦ) = 1.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

Equal entropy at fixed particle number forces a logarithmic relation between the energy and volume ratios; exponentiation packages it as a product equal to one.

Context

Why it matters

The theorem is a substantial positive-domain derivation of a dimensionless adiabatic invariant directly from an explicit ideal-gas entropy formula.

Inside the proof

Proof architecture

The proof unfolds the ideal-gas entropy at two positive states, cancels their shared constants and particle number, then moves from logarithms to the final real-power product.

Step 1

Compare equal-entropy states

The hypothesis places states a and b at the same entropy with the same particle number while the positivity assumptions make every logarithmic ratio legal.

S(Uₐ,Vₐ,N) = S(Uᵦ,Vᵦ,N)

Show the Lean ingredients
hSentropyhUahVa

Step 2

Isolate logarithmic ratios

After expanding entropy and canceling common reference terms, the equality becomes a weighted energy-ratio logarithm plus a volume-ratio logarithm equal to zero.

c log(Uₐ/Uᵦ) + log(Vₐ/Vᵦ) = 0

Show the Lean ingredients
adiabatic_relation_loghlog

Step 3

Exponentiate to the product law

Real-log and real-power identities convert the additive zero relation into the dimensionless multiplicative invariant stated by the theorem.

(Uₐ/Uᵦ)^c (Vₐ/Vᵦ) = 1

Show the Lean ingredients
Real.rpow_def_of_posReal.exp_addReal.exp_log

Authoritative formal type

Exact PhysLib statement

adiabatic_relation_UaUbVaVb {s0 U0 V0 N0 c R Ua Ub Va Vb N : ℝ} (hUa : 0 < Ua) (hUb : 0 < Ub) (hVa : 0 < Va) (hVb : 0 < Vb) (hN : 0 < N) (hU0 : 0 < U0) (hV0 : 0 < V0) (hR : 0 < R) (hS : entropy c R s0 U0 V0 N0 Ua Va N = entropy c R s0 U0 V0 N0 Ub Vb N) : (Ua / Ub).rpow c * (Va / Vb) = 1

This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationadiabatic_relation_UaUbVaVb
Source modulePhyslib.Thermodynamics.IdealGas.Basic
Source footprint38 nonempty lines in this declaration · 182 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab