Documentation

CslibFrontier.Computability.PolyTime.CSP.BoundaryGroup

Plain native cost of closing one metadata run #

The actual run tail clocks the fold. Every reachable body retains the original relation payload and scope lengths; every name is selected from the original body/ports. After the first fusion, the literal prefix restriction bounds the whole table independently of raw entry magnitudes. An internal polynomial envelope covers ALL prefixes, including the raw initial table. The envelope is a storage bound, not an exact clock. No tidy API is used.

@[reducible, inline]

Framed State first (binary body names/ports/table), then the framed list of binary ORIGINAL metadata keys. This is the generic uncurried input, with no layout change.

Close one actual run in plain polynomial time on EVERY raw State and binary metadata list. Source list projections and unary counts fund the internal prefix envelope; malformed initial entries remain data. No validity, arity, name/table bound or runtime provider is used.