Native polynomial time for raw head-marker hiding #
The existing state encoding is unchanged: the binary-named body and binary port word are framed, followed by the binary successor table. The retained count is computed in unary from actual body occurrences and the boundary tail. Only this count and the actual table length fund loops; malformed binary entries remain data. Empty boundaries return their exact input. The relation alphabet may be any type with the supplied encoding.
Main results #
CrossInsertion.computableInPolyTime_hideHead: plain native polynomial time on every raw state, without a checker, distinctness, arity, size or entry-bound premise.
theorem Cslib.Complexity.CSP.CrossInsertion.computableInPolyTime_hideHead {Rel : Type} (encRel : Rel ↪ List Bool) :
Hiding one marker is native polynomial time on every raw encoded state. Names and entries remain binary; unary clocks come only from actual lists. No runtime provider or source validity invariant is supplied.