Expanding an actual ordered body while retaining its exterior probe #
The probe is an atom over a separate structural symbol. All original symbols expand by the existing replacement compiler; the probe remains one star in exactly its old reversed order. Applying the full substitution theorem to this augmented body therefore gives a checked boundary for the actual expanded body. No target genus, fiber or order fact is supplied by the caller. The preprocessing is static and nonuniform.
Main definitions #
Cslib.Complexity.CSP.OrderedBoundary.GadgetWitness.withProbe: retain the probe atom.Cslib.Complexity.CSP.OrderedBoundary.Witness.replaceGadgets: checked numeric boundary expansion.
Main results #
Cslib.Complexity.CSP.OrderedBoundary.verifyRotationCertificate_replaceGadgets_probe: acceptance of the literal expanded body with its retained probe order.
Extend actual replacement witnesses by the ordered tautological probe atom. The original symbol cases keep exactly the same scopes and certificate tables.
The existing deterministic block splice accepts the literal expanded body with its unchanged probe order. The structural probe is replaced by its actual atom, so this is an exact checker contract, including nullaries and closed components.
Expand the literal numeric body of an actual checked ordered macro, retaining its listed free ports in their original positive order. The actual probe atom and target certificate are constructed internally. Distinctness is needed only for the probe-deletion API; repeated names inside source scopes and duplicate constraints are unrestricted.