The arrow of time at the macroscopic projection #
Category: 7-SigmaLayer (the record layer — Paper C A7).
BACKLOG #109, out of the records→spacetime scoping note's ST-3.
The corpus's second law is Thermo's: coarse-grained entropy monotonicity for a specific
coarse-graining (pinching to a pointer basis). The scoping note said the specification wanted was
π′, the macroscopic-coordinate projection — and since #102 chose it and #103–#107 made it stable,
the second law can be stated at π′. That is what this file does.
What is proved #
recordLaw c p— the macroscopic law: the pushforward of the ontic measure along the record string. A probability measure on the finite macrostate type;macroKernel c p F— the macro dynamics induced by a fine dynamics, with no extra input: the conditional law of the next macrostate given the present one (diracon the null macrostates, so it is Markov on the nose), and ★★macroStep_apply_mul/ ★★★comp_recordLaw— one step of it sends the macroscopic law to the pushforward alongπ′ ∘ F, which is the chain rule for this projection;- ★★★
comp_recordLaw_of_measurePreserving— Liouville forces the reference law. If the fine dynamics preserves the ontic measure then the Born record law is stationary for the induced macro kernel. The arrow's reference law is therefore not posited: it is the record law itself, fixed by the invariance of the ontic measure; - ★★★
antitone_klDiv_recordLaw— the second law atπ′: along the induced dynamics, every macroscopic law's relative entropy from the Born record law is non-increasing, monotonically in the number of steps. A Lyapunov function, with no detailed balance, symmetry or double stochasticity assumed; - ★★
comp_recordLaw_sigmaShiftand ★★★antitone_klDiv_recordLaw_sigmaShift— and the corpus's own dynamics is an instance: a record write preserves the epistemic measure (#103), so its induced macro kernel has the Born record law stationary and carries the arrow; - ★★
klDiv_recordLaw_sigmaShift— but the write itself produces nothing. #103's exact invariance of the macroscopic law says the divergence from any reference is unchanged by a write, however large. The production is in the conditional step, never in the write; - ★★
measureEntropy_recordLaw_le(added with #110) — the macroscopic entropy of a record is at most its capacity: ak-context record string overN + 1codes carries at mostk · log (N + 1)of Shannon entropy, whatever the preparation and whatever the context family. Unconditional, and the only entropy statement available here — see the scope note.
Honest scope #
⚠️ The kernel is induced, not derived from an interaction. macroKernel is the conditional law of
π′ ∘ F given π′; it exists for any measurable F and says nothing about why F is the physical
dynamics. The de-isolation obligation of DeIsolationFlow.lean and #108's
readyPrep hypothesis are untouched.
⚠️ Divergence, not Shannon entropy. The arrow here is "relative entropy from the Born record law
decreases", which is the modern form. #110 supplied the missing identity
(klDiv μ uniform = ofReal (log card − measureEntropy μ)), but turning the arrow into "Shannon
entropy increases" also needs the reference law to be uniform, and the Born record law is not —
for a genuine superposition it is the spread of Born weights. So the entropy form of the H-theorem is
proved in Mathlib/InformationTheory/FiniteEntropy.lean for a uniform-preserving kernel and is not
claimed for the record dynamics; what #110 buys here is the unconditional capacity bound
measureEntropy_recordLaw_le.
⚠️ Monotone is not strictly decreasing, and no rate is claimed. Nothing here says the divergence
reaches 0, or that it decreases at all at any particular step: a kernel can be the identity. Mixing,
relaxation rates and the H-theorem's strict form are not addressed.
⚠️ One preparation, one context family. Everything is at a fixed p and a fixed c; nothing
varies the preparation or compares families.
⚠️ This is not an arrow on the event order. The monotone quantity is a divergence between
macroscopic laws under a discrete step count, not a time orientation of
CV/RecordCausalOrder.lean's causal order, and nothing here bears on
a metric, a volume element or a continuum limit.
References: records-to-spacetime-scoping.md ST-3;
future-work.md; Mathlib/InformationTheory/KlDivArrow.lean,
Mathlib/InformationTheory/FiniteEntropy.lean (#110),
MacrostateStability.lean (#103), RecordMacrostate.lean (#102), MacroProjection.lean (#99),
ArenaTransport.lean (#107), Thermo/FreeEnergy.lean (vonNeumannEntropy_le_pinching, the pinching
second law this stands beside); specs/BACKLOG.md #110, #109, #107, #103, #102, #100, #99.
The macroscopic law #
The macroscopic law of a context family at a preparation: the pushforward of the ontic measure along the record string of #102.
Equations
Instances For
A record write produces nothing #
★ The macroscopic law is exactly invariant under a record write, which is #103's
map_recordString_sigmaShift in the vocabulary of this file.
★★ So a record write produces no relative entropy, however large it is: the divergence of the
macroscopic law from any reference law is unchanged. Whatever an arrow of time at π′ comes from,
it is not the write.
The macro dynamics induced by a fine dynamics #
One step of the induced macro dynamics: the conditional law of the next macrostate given the
present one. On a macrostate of zero ontic measure there is nothing to condition on, and the step is
dirac, which keeps the kernel Markov without affecting anything (such a macrostate carries no
weight).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The induced macro kernel. Measurability is free: the macrostate type is finite.
Equations
- CSD.RecordLayer.macroKernel c p F = { toFun := CSD.RecordLayer.macroStep c p F, measurable' := ⋯ }
Instances For
★★ The weighted step is the joint measure. Multiplying one step of the macro dynamics by the
weight of the macrostate it starts from clears the conditioning, and what is left is the ontic measure
of "now in v, next in s". This is the identity the chain rule for π′ runs on.
★★★ One step of the induced macro dynamics is the pushforward along π′ ∘ F. The macroscopic
law evolves by the macro kernel exactly as the ontic measure evolves by F and is then read: the
conditional step loses nothing and adds nothing.
Liouville forces the reference law, and the arrow follows #
★★★ Liouville forces the reference law. If the fine dynamics preserves the ontic measure, the Born record law is stationary for the macro dynamics it induces.
This is the step that makes an arrow at π′ a theorem rather than a posit: the reference law the
divergence is measured from is not chosen, it is the macroscopic law itself, fixed by the invariance of
the ontic measure.
★★★ The second law at π′. Along the macro dynamics induced by a measure-preserving fine
dynamics, every macroscopic law's relative entropy from the Born record law is non-increasing, and
monotonically so in the number of steps.
No detailed balance, symmetry or double stochasticity is assumed: the only input is that the fine dynamics preserves the ontic measure, which is Liouville.
The corpus's own dynamics is an instance #
★★ A record write is such a dynamics. #103's measurePreserving_sigmaShift makes the Born
record law stationary for the macro kernel a write induces.
★★★ So the arrow holds for the corpus's own record dynamics: under the macro kernel a record write induces, every macroscopic law relaxes monotonically toward the Born record law.
Read together with klDiv_recordLaw_sigmaShift this says exactly where the production sits: the write
moves the macroscopic law not at all, and all of the monotone behaviour is the conditional step — the
coarse-graining, not the dynamics.
The capacity of a record #
★★ The macroscopic entropy of a record is at most its capacity. A k-context record string
over N + 1 codes carries at most k · log (N + 1) of Shannon entropy — whatever the preparation,
and whatever the context family.
This is #110's maximum-entropy theorem at π′, and it is the only unconditional entropy statement
available here: the arrow of this file is in divergence form, because the Born record law it is
measured from is not uniform.