Finite chronological forest-search program #
The work representation uses the existing positional occurrence records: unary constraint and port positions, binary original names. Only final result positions are converted to binary global indices. Every loop traverses an actual list or its length. The stopped event occupies a separate small field: the completed log stays in the same encoding throughout the iteration.
One work expansion: its positional input record and ordered positional output records.
Instances For
Completed work expansions, newest first.
Instances For
Work scan state: ordered children and the optional first meeting port.
Instances For
Small terminal data: current input, current children, and meeting output.
Instances For
Log and remaining ports, followed by running / exhausted / meeting status.
Instances For
Log and remaining list stay in fixed framed fields. The two option tags distinguish running, exhausted and meeting; event data never duplicate or reframe the completed log.
Instances For
Original roots, retaining first positional occurrence order.
Instances For
Used positional records in the source log's order.
Instances For
Discovered variables in the source log's order.
Instances For
Follow parents through older records, computing just the root of the actual ancestry walk.
Instances For
Feasible same-constraint, distinct-variable partners in actual incidence order. The validity check is global, including on invalid inputs and malformed explicit relation tables.
Instances For
One scan step. A meeting freezes both ordered children and the first meeting output.
Instances For
Scan actual partners using a finite left fold.
Instances For
One outer step. Noncanonical external states whose chosen port is not an actual occurrence stop immediately; this guard gives uniform growth on every state, without scanning its index.
Instances For
Convert a work expansion's positional records into binary global occurrence positions.
Instances For
Finalize once, after the loop. Classification uses roots of the actual older ancestries.
Instances For
Total native forest search. Exactly the actual occurrence width is accepted. The outer clock is one more than the actual occurrence count, so the final exhaustion check is paid for.