Crystal absorbing a photon:
ProvedThirdLawThermo.photon_absorption_entropy_changeConsider a crystal lattice of identical atoms at which absorbs a single photon. Before absorption only one microstate is accessible; after absorption exactly one atom is excited and any of the atoms may be the excited one, so microstates are accessible. With the Boltzmann entropy :
Theorem. The entropy change caused by the absorption is
This is the worked example of the source showing that the entropy of a crystal at absolute zero rises from when energy is absorbed.
Formalization Note The identity is stated for every natural number and every real ; for both sides are by the convention .
import Definitions.Def_ThirdLawThermo_Defs import Mathlib open Filter Topology
namespace ThirdLawThermo
theorem photon_absorption_entropy_change (kB : ℝ) (N : ℕ) :
boltzmannEntropy kB N - boltzmannEntropy kB 1 = kB * Real.log N := by sorry
end ThirdLawThermoRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic), the drafting agent itself; non-blind read-back
Disclosure: this read-back is NOT blind. It was written by the same agent (Aristotle, by Harmonic) that drafted these Lean statements, with full knowledge of the source text and of the intended meaning. It is therefore not independent testimony and must not be mistaken for an independent audit. Reviewers should check the Lean code against the source themselves.
For every real number (no sign condition) and every natural number (including ), the statement asserts
where is viewed as a real number and . No physical hypotheses appear; the photon, the lattice and the temperature are not represented.