Positional codes for chronological forest results #
These codes represent the existing CSP.Forest.Result. Global occurrence indices reject when
out of range. Logs are newest first; timestamps are the number of older expansions, so there is
no independent timestamp to validate. No validity, edge-instance or reachability condition is
imposed by the representation bridge.
Complete native forest-search input. Labels follow actual constraint-then-port order.
- body : Logic.PL.CSP Logic.PL.CSP.Table ℕ
Explicit relations and binary original variable names.
Finite occurrence-label buffer.
Instances For
The tuple of the fields of encInput.
Instances For
Instances For
Binary input position, framed, followed by a framed list of binary output positions.
Instances For
Instances For
A complete meeting, retaining original roots, older expansions and partial current copy.
Original root names in scan order.
- older : List ExpansionCode
Completed expansions, newest first.
- current : ExpansionCode
The current copy before the meeting output.
- output : ℕ
Global meeting-output position.
Instances For
Instances For
Roots, older log and current expansion are framed in field order; the last position is binary. Each list element is framed, including the nested expansion output lists.
Instances For
The tuple of the fields of encMeetingCode.
Instances For
Instances For
Exhausted log, or augmentation meeting, or blossom meeting, in that order.
Instances For
One sum tag for exhaustion versus event; an event has a second tag for augment versus blossom. Expansion lists and meetings use their documented binary positional encodings.
Instances For
Encode an existing expansion by its actual incidence-list positions.
Instances For
Encode every field of an existing meeting, preserving the partial current expansion.
Instances For
Encode the existing result without making any mathematical assertion about its event.
Instances For
Decode an expansion, rejecting any invalid input or output position.
Instances For
Decode all positional fields of a meeting. Roots remain binary original names.
Instances For
Decode to the existing dependent forest result, rejecting malformed indices in every tag.
Instances For
Expansion codes are lossless even for externally supplied malformed forest histories.
Meeting codes retain the full log, roots and partial copy.
The complete result bridge is lossless, with no semantic or forest invariant premise.