Documentation

CslibFrontier.Computability.PolyTime.CSP.BoundaryRotation

Plain polynomial time for raw boundary rotations #

The existing state encoding is unchanged: the binary-named body and binary port word are framed, followed by the binary successor table. Actual body occurrences and boundary length are computed in unary and fund the output range. Binary division, remainder, comparison and arithmetic transport the indices and arbitrary malformed entries. Saturating lookup is the existing captured reindex program; entry values never fund a loop.

The relation alphabet is arbitrary. No checker, distinctness, arity, size, entry-bound or runtime premise is required. This is not a polynomial-time assertion for freely supplied binary counts: the counts here are computed from actual encoded lists. It certifies only one step; accumulated iteration and the CROSS compiler remain open in #3091.

Main results #

Execute one forward boundary rotation on every raw encoded state in plain polynomial time. Unary counts come from the actual lists; arbitrary binary names and table entries remain data. Empty and singleton states retain their entire original encoding.

One RIGHT rotation is plain polynomial time on EVERY raw state with the unchanged encoding. Unary clocks use actual lists; binary names/entries have no magnitude bound. This is one step and does not cancel arbitrary raw full cycles.