TH2: the second law as coarse-grained entropy monotonicity #
Category: conceptually 1-Mathlib (CSD-free general quantum statistical
mechanics) with a CSD reading; kept in the CSD.Thermo tree alongside TH1
because its physical content is the CSD H-theorem.
The CSD thermodynamic picture (specs/thermo-plan.md): the fine-grained
de-isolation flow is unitary, hence entropy-conserving (Liouville /
reversibility); irreversibility enters through coarse-graining — passing
to the pointer-basis diagonal (dephasing). This module proves the
H-theorem form of the second law for that coarse-graining:
`S(ρ) ≤ S(pinch ρ)`,
pinching (dephasing to the pointer-basis diagonal) never decreases the von
Neumann entropy. The fine-grained step conserves entropy
(vonNeumannEntropy_conj_unitary, K1); the coarse-graining step increases
it. Together: reversible microdynamics, entropy increase from
coarse-graining — the Boltzmann/Gibbs picture, native to the CSD substrate.
Main results #
pinch: the pointer-basis dephasing / coarse-graining mapρ ↦ diagonal (fun i => (ρ i i).re). Hermitian; trace-preserving on densities; positive-definite when the pointer weights are all positive.vonNeumannEntropy_le_pinching(TH2, the H-theorem): for a densityρwith strictly positive pointer weights,S(ρ) ≤ S(pinch ρ). Via Klein's inequalityD(ρ ‖ pinch ρ) ≥ 0and the diagonal identityTr(ρ · log(pinch ρ)) = Tr(pinch ρ · log(pinch ρ)) = −S(pinch ρ).entropy_reversible_then_coarsegrain(the second-law statement): a fine-grained unitary step conserves entropy and the following coarse-graining does not decrease it, soS(ρ) ≤ S(pinch (U ρ Uᴴ)).entropy_production_nonneg(the sign of the second law): the entropy gained by pinching,S(pinch ρ) − S(ρ) ≥ 0. Its pure-state instance (S(ρ)=0, Born weights on the diagonal) is the entropy-production witness of the decoherence tier (LF6-B.3,decohere_vonNeumann_entropy_nonneg), recovered here as an instance of the general monotonicity.
Honest scope #
The strict-positivity hypothesis on the pointer weights (pinch ρ
positive-definite) is Klein's support condition; without it the finite
negMulLog-junk expression can misbehave (the same discipline as
relEntropy_nonneg). For a pure state with a vanishing Born weight the
inequality still holds by continuity, but the clean Klein route needs full
support; the pure-state corollary is stated under it. This is the
H-theorem for a SPECIFIC coarse-graining (the pointer-basis pinch), not a
universal second law, and it is a statement about the coarse-graining map,
not a proof that a given state thermalises dynamically (that needs
mixing / ETH; the CSD-microdynamics reading rests on the shared SO-1/D1
residue, as across the thermo track).
Provenance #
Foundational-triple only (propext, Classical.choice, Quot.sound); no
sorry, no new axioms. Reuses K1 (vonNeumannEntropy,
vonNeumannEntropy_diagonal, vonNeumannEntropy_conj_unitary) and the
Klein / relative-entropy layer (klein_inequality, cfc_eq_conj_diagonal,
re_trace_self_log); nothing is re-proved.
The pointer-basis pinching (dephasing) map #
The pointer-basis pinching (dephasing) map: replace ρ by the diagonal
matrix of its (real) diagonal entries. This is the coarse-graining that
discards the off-diagonal coherences in the pointer basis — the irreversible
step of a de-isolation measurement.
Equations
- CSD.Thermo.pinch ρ = Matrix.diagonal fun (i : n) => ↑(ρ i i).re
Instances For
pinch ρ is Hermitian (a real-diagonal matrix).
On a Hermitian ρ, the pinched diagonal entry IS the original diagonal
entry: ρ i i = (ρ i i).re, since Hermitian forces real diagonal.
Pinching preserves the trace of a Hermitian matrix (real diagonal): the diagonal is untouched.
Pinching a trace-one density gives a trace-one density.
The continuous functional calculus of a real function on the pinched
(diagonal) state is diagonal: cfc f (pinch ρ) = diagonal (f ∘ pointer-weights).
Instance of cfc_eq_conj_diagonal at the trivial diagonalisation U = 1.
The cross term Tr(ρ · log(pinch ρ)) #
The diagonal cross-term identity. Re Tr(ρ · cfc log (pinch ρ)) sees
only the diagonal of ρ, so it collapses to the pointer-weight sum
∑ᵢ (ρ i i).re · log((ρ i i).re) = −S(pinch ρ). This is the crux of the
H-theorem: the relative-entropy cross term is the pinched self-entropy.
The H-theorem #
TH2 — the second law (H-theorem for pointer-basis coarse-graining).
For a density ρ with strictly positive pointer weights, pinching does not
decrease the von Neumann entropy:
`S(ρ) ≤ S(pinch ρ)`.
Proof: Klein's inequality gives Tr(ρ log ρ) ≥ Tr(ρ log(pinch ρ)); the RHS is
−S(pinch ρ) by the diagonal cross-term identity, the LHS is −S(ρ) by
re_trace_self_log.
The second-law statement: reversible step + coarse-graining #
The second-law statement. A fine-grained unitary step (the reversible de-isolation microdynamics) conserves entropy, and the subsequent coarse-graining (pinching to the pointer basis) does not decrease it:
`S(ρ) = S(U ρ Uᴴ) ≤ S(pinch (U ρ Uᴴ))`.
The entropy of the isolated (unitarily-evolved) system is unchanged; all entropy production is in the coarse-graining.
Entropy production is non-negative (restatement of TH2): the entropy
gained by pinching, S(pinch ρ) − S(ρ), is ≥ 0. This is the sign of the
second law — coarse-graining produces entropy, never destroys it. The pure-state
instance (S(ρ) = 0, so S(pinch ρ) ≥ 0 with the Born weights on the
diagonal) is the entropy-production witness already recorded at LF6-B.3
(decohere_vonNeumann_entropy_nonneg); here it is the general monotonicity.