Documentation

CslibFrontier.Computability.PolyTime.CSP.Edge.Solver.LiftingAgreement

Exact finite-buffer lifting agreement #

Every surviving port, local exchange test and first-exit/arm scan is related to the original whole-instance lifting construction. This representation bookkeeping is original and preserves outside comparison changes and repeated copies of original constraints.

The raw finite inverse is exactly the original surviving-port lookup, including its explicit fallback on malformed connector requests. No edge or validity assumption is needed.

Restoring every binary step position gives exactly the source walk map, in source order.

The finite exit scan has exactly the source's original-port order and pair-flip tests. Two equal ports cancel, as in the source's sequential pair flip.

Preserve the unary prefix length and binary original port positions of a source exit.

Instances For

    The finite first-exit scan selects exactly the same whole prefix and ordered actual ports.

    Full finite first-exit/arm lifting has exactly the mathematical constructor's result.

    Native lifting has the exact source result in both connector cases. It restores every surviving original port and executes the same shortest-prefix and actual-arm scans.

    The full native comparison lifter agrees exactly with the mathematical constructor. Every comparison bit, including every outside change, is retained by the bridge.