Closing every actual consecutive metadata run #
The original metadata list funds a State-only fold. The current port count identifies its unconsumed suffix; each live callback closes exactly that suffix's first run. Once exhausted, callbacks are literal identities. No sorting, partition or termination certificate is input.
The original construction tracks global collapses on changing names, including names shared by different runs. One output assignment pulls back through their actual composition; forwarding requires the source values to agree within each consecutive metadata run. The literal final table checks the body when the source is accepted. This is a step toward #3091, not atom assembly, original-variable reconstruction, a planarization reduction or a hardness theorem.
Close all maximal consecutive equal-key runs. Alignment is checked before the actual original key list funds the fold. Binary key magnitudes never count iterations; exhausted callbacks, empty input and mismatch preserve the entire current raw State.
Mismatch and empty metadata preserve the entire raw input, including surplus or huge malformed successor entries. Nonempty aligned metadata is not an identity claim.
Complete consumption and global relabeling by the actual prefix collapses. The map is specified from executed prefix states, rather than supplied by the caller. A nonempty aligned run sequence emits the literal final body-sized table with bounded entries.
Every executed first-run closure preserves the complete checker internally.
Closing all runs retains every indexed relation/scope-width pair, including duplicate rows and nullaries, and consumes all ports exactly on aligned input.
Every emitted body/port name is selected from the original body/ports; no group step increases the original maximum name width, even when names occur in multiple runs.
At exhaustion the literal emitted certificate checks the actual original-language body. Empty aligned inputs retain their entire certificate; source acceptance supplies this case.
The nonempty blocks closed by the ACTUAL prefix callbacks are exactly List.splitBy
consecutive equality runs, in order. Thus their concatenation is all metadata, and literal
fusion/hide counts are P-G and G; no separate instrumented execution is used.
ONE satisfying final assignment recovers source truth through the composition of the ACTUAL global collapses. The adjacent chain says precisely that values agree on every maximal consecutive equal-key run; different separated runs are not identified by metadata. No source checker, arity, distinctness or disjoint-name premise is used.
A source assignment already constant within each consecutive metadata run satisfies the final body UNCHANGED on every natural name, including unused names. This does not infer source equalities from arbitrary output values at eliminated labels.