Native disjoint insertion of an ordered CROSS #
One composition step doubles every old variable name and places a fixed actual CROSS gadget at odd names. Its four free ports, in their original directed order, follow the old boundary. The emitted certificate is the executed ordered-boundary append program. Repeated and sparse old names, nullary rows and closed components are retained.
The template and its ordered witness are static constants. The original-language existence result obtains them internally from the common-complement and bad-relation premises; the target alphabet need not be finite. Runtime covers every raw state and uses no acceptance invariant. Assignment extension agrees on all even old names and all four odd free ports; odd auxiliary names are existential witnesses.
This is an original composition step. Adjacent wire swaps, the iteration bound and the common-complement native hardness reduction remain objectives of #3091.
Main definitions #
CrossInsertion.State: a raw body, ordered boundary and literal successor table.CrossInsertion.insert: disjointly insert one fixed actual ordered CROSS.
Main results #
CrossInsertion.accepted_insert: the computed table passes both complete checks.CrossInsertion.eval_insert_iff: exact extension semantics, including unused old names.CrossInsertion.computableInPolyTime_insert: native runtime on every raw encoded state.CrossInsertion.exists_originalInsertion: static original-language template selection.
Raw data carried by a boundary composition program; no validity proof is input data.
- body : Logic.PL.CSP Rel ℕ
Actual original-language constraints with binary natural-number names.
Ordered boundary positions; repeated names remain in raw inputs.
- rotation : Graph.RotationCertificate
Binary successor entries on body darts followed by structural probe darts.
The source invariant for composition: distinct boundary names and the two full ordered-boundary checks. This predicate is not used in the runtime certificate.
Instances For
Insert a fixed CROSS at odd names after doubling all old names. The actual old body, port lengths and static template occurrence count fund the raw append table computation.
Insertion adds exactly the actual template rows. No row is removed, including nullaries.
Every old occurrence remains, followed by every actual template occurrence.
Four original directed free ports are appended, without deduplicating old positions.
The raw emitted table has the actual combined dart count, even on malformed inputs.
The actual gadget supplies every new arity obligation; old malformed rows stay malformed.
Insertion preserves distinctness exactly, without silently repairing repeated ports.
Both complete checks for the emitted table follow from the actual relabeled static
gadget and Witness.appendComputed. Empty old boundaries and closed components survive.
Exact composition semantics. The extension agrees with the assignment on ALL even old names and with the four given odd free ports. Odd auxiliary labels are internal witnesses; there is no source acceptance, well-formedness or prefix hypothesis.
Doubling a positive old name adds exactly one binary digit. Zero stays the empty word. This is a single-step identity; accumulated bounds for a later iteration are separate.
One fixed insertion is native polynomial time on EVERY raw state, with binary names, ports and table entries. Only list lengths fund loops; no source invariant is used.
The common-complement/bad-original-relation premises internally yield a static actual CROSS insertion with its all-raw native runtime, full checker preservation and exact assignment extension. This is one disjoint composition step, not an adjacent swap or a hardness theorem.