Documentation

CsdLean4.RecordLayer.FlowRecordHistory

A de-isolation flow's record history #

Category: 7-SigmaLayer (the record layer — Paper C A7). BACKLOG #131, obligation 1 — and the cheapest test of that row's blocker (II).

The audit (specs/two-wing-experiment-scoping.md §5) recorded a real obstruction: LF6's de-isolation flow moves the base and preserves fsMeasure, while the Born and record statements are made in epistemicMeasure p = δ_p ⊗ vol, which a base-moving flow does not preserve — it moves the Dirac. The record layer's own dynamics sigmaShift preserves epistemicMeasure but moves only the fibre. Two dynamics, two measures.

This file resolves that, and the resolution is that "preserves" was the wrong demand.

Why this is the right first brick #

It needs no choice about blocker (I) — the one-selector/two-channel question — so it can be built before that physics decision is taken, and it tests the measure question on its own. It is also the step that makes "the flow produces this record" a theorem rather than a juxtaposition of a flow clause and a volume clause.

Honest scope #

⚠️ The outcome events are not yet tied to pointer blocks here. That tie is LF6's clause (3), through e (n, stIdx (s, t)); this file transports whatever outcome statement holds at Φ p back to the prepared measure, and does not import LF6. Composing the two is #131 obligation 1's second half and needs the index transport of the audit's §3.

⚠️ One wing. outcomeCode reads a single selector (x.2.1), so everything here is about one joint outcome code. The two-wing version waits on blocker (I), exactly as the row says.

⚠️ No dynamics on the fibre. liftBase leaves the record medium fixed, so this says nothing about record writes; those are sigmaShift and MacrostateStability.lean's business, and the two have not been composed.

⚠️ Not C-1. Nothing here concerns causal structure; the adjacency of #131 is still supplied.

References: RecordMacrostate.lean (outcomeCode, recordString), GlobalBasin.lean (epistemicMeasure, globalBasin), MacrostateStability.lean (sigmaShift, the fibre dynamics this is the complement of), LF6/LocalDeisolationFlow.lean (the flow this is for, not imported); specs/BACKLOG.md #131, #102; specs/two-wing-experiment-scoping.md §5 and §6.

A base-only flow, lifted to Σ #

def CSD.RecordLayer.liftBase {N : ℕ} (Φ : LF4.CPN N → LF4.CPN N) (x : LF4.KSigma N) :

A de-isolation flow as a map of the ontic space: it acts on the ray and leaves the record medium alone.

Equations
Instances For
    @[simp]
    theorem CSD.RecordLayer.liftBase_apply {N : ℕ} (Φ : LF4.CPN N → LF4.CPN N) (x : LF4.KSigma N) :
    liftBase Φ x = (Φ x.1, x.2)

    The transport law #

    ★★★ The flow carries the prepared epistemic measure to the post-measurement one. It does not preserve a fixed epistemicMeasure, and this is why that was the wrong thing to ask: the Dirac moves with the ray, the record medium's Haar measure does not move at all, and the result is the epistemic measure of the image ray.

    This is #131's blocker (II), dissolved.

    theorem CSD.RecordLayer.measure_preimage_liftBase {N : ℕ} {Φ : LF4.CPN N → LF4.CPN N} (hΦ : Measurable Φ) (p : LF4.CPN N) {S : Set (LF4.KSigma N)} (hS : MeasurableSet S) :

    ★★★ The transport law in preimage form. The probability, in the prepared epistemic measure, that the microstate after the flow lies in the record event S is S's probability at the post-measurement ray. This is the shape every statement about a run takes, and unlike measure_outcomeCode_liftBase it is stated for an arbitrary measurable event, so it composes with any record coordinate or coarsening.

    The record history of a run #

    ★★★ The outcome code's law after the flow is its law at the image ray. An outcome statement proved at the post-measurement ray is therefore a statement about the run that starts at the prepared ray — which is what makes "the flow produces this record" a theorem.

    ★★★ The same, read as a probability. The chance that the run starting at p records outcome i is the Born-style basin weight at the post-measurement ray.

    ★★★ The whole record string transports too, which is the multi-context form #102's coordinate is stated in: the law of the record string of a run is its law at the image ray.