The decoded next-prefix invariant #
The actual next residual measurement reports a full option-valued answer. Its decoder overwrites the visited coordinates and retains the remaining tail. Attainable prefixes give the required valid-answer support, while unattainable prefixes use the constant malformed residual measurement. The selected raw replacement has exactly this decoded product form.
Stated in a bipartite model (Phase 4 of planning/mipco-track.md): the decoded next residual
PVMs are measurements of block matrices over the remaining coordinates of the next prefix whose
entries are block matrices over the ancilla T with entries in any algebra 𝒜, and the selected
full-answer measurement is the registered replacement, a POVM in
Matrix (ι → F) (ι → F) (Matrix T T 𝒜), the first player's algebra of the register model
(Ξ.expandA t₀).reg (ι → F) of the returned strategy. The decoder is unchanged. At an
unattainable prefix the malformed residual is the register readout of the constant answer
none, entering as smulKron 1 _, so its valid-answer operators vanish; projectivity is
IsPVMIn, and the product-form identity (registeredReplacement_nextOption_mats) is an identity
of operators .op.
Decode a retained answer using only its new prefix and its unvisited tail.
Equations
- MIPRE.Introspection.nextOptionDecoder P k p = Option.map (fun (a : (ι → F) × A) => (p.1 + (MIPRE.CL.proj (MIPRE.Introspection.stageRemaining P (k + 1) p.1)) a.1, a.2)) p.2
Instances For
Decoded coordinates have the claimed next prefix on every attainable branch. No corresponding assertion is made for arbitrary invalid prefixes.
The full option-valued next residual measurement is projective.
Every valid decoded answer has the correct next prefix, for every
branch. Off-image branches use the constant none residual, rather than a
coordinate claim about an unattainable prefix.
Projecting the actual raw selected replacement recovers exactly the canonical option-valued next joint measurement.
The actual selected full-answer measurement satisfies the next product-form invariant with the concrete decoded residual PVMs.