Bit encoding of explicit NW reconstruction programs -- definitions #
Every stored Boolean in a reconstruction program is represented by one member of a finite linearly ordered payload-index type: predecessor-table entries, outside-seed bits, later-tail bits, and finally the candidate bit. Encoding the associated Boolean function therefore produces one flat, canonically ordered bit string. The polarity and coordinate remain explicit codec metadata.
Lexicographically ordered indices of all stored predecessor-table entries.
Equations
- design.ReconstructionPredecessorPayloadIndex current = Σₗ (previous : ↥(Finset.Iio current)), Complexity.BooleanDependency.OrderedAssignment (design.challengeOverlap current ↑previous)
Instances For
Canonically ordered indices of every Boolean in a reconstruction payload.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Inject one predecessor-table entry into the total payload index.
Equations
Instances For
Inject one outside-seed coordinate into the total payload index.
Equations
Instances For
Inject one later-tail coordinate into the total payload index.
Equations
Instances For
Index of the final candidate bit in the total payload.
Equations
Instances For
Regard the explicit program fields as one Boolean function on the total payload-index type.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Canonical flat encoding of all Boolean payload fields. The program's polarity and coordinate are not included.
Equations
Instances For
Complete program-specific encoding: polarity, fixed-width hybrid coordinate, and the flat Boolean reconstruction payload. The ambient design parameters remain external to the codec.
Equations
- program.encode = program.complement :: program.current.toBits ++ program.encodeBooleanPayload
Instances For
Decode a flat Boolean payload using an externally supplied polarity and hybrid coordinate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Decode a complete reconstruction program relative only to its ambient design parameters.
Equations
- One or more equations did not get rendered due to their size.
- design.decodeReconstructionProgram? [] = none