Explicit NW reconstruction programs -- definitions #
The earlier reconstruction predictor was written using the hard function to construct its predecessor tables. This module materializes those finite tables as fields of a reconstruction program. Evaluation of the resulting program uses only its stored data, the fixed statistical test, and the challenge.
Self-contained finite data used by an oriented NW reconstruction
predictor. The predecessor tables are stored explicitly for precisely the
coordinates earlier than current.
- complement : Bool
Whether the fixed statistical test is complemented.
- current : Fin outputLength
Hybrid coordinate whose hard-function value is predicted.
- predecessor (previous : ↥(Finset.Iio self.current)) : (↥(design.challengeOverlap self.current ↑previous) → Bool) → Bool
Hardwired truth tables for all earlier NW output coordinates.
- outside : ↥(design.outsideCoordinates self.current) → Bool
Seed bits outside the challenged design block.
- later : ↥(laterCoordinates self.current) → Bool
Fixed NW output bits later than the challenged coordinate.
- candidate : Bool
Candidate value supplied at the challenged coordinate.
Instances For
Materialize all predecessor tables used by a fixed-advice reconstruction
predictor. After this construction, evaluation no longer queries
hardFunction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Materialize the explicit reconstruction program named by a checked certificate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Output query assembled entirely from an explicit reconstruction program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Evaluate the oriented fixed statistical test on an explicit program's query.
Equations
- program.testAtCandidate test challenge = decide (program.query challenge ∈ Complexity.BitGenerator.orientTest test program.complement)
Instances For
Boolean predictor evaluated solely from the stored program and fixed statistical test.
Equations
- program.predictor test challenge = Complexity.NextBitPrediction.predictFromTest (program.testAtCandidate test challenge) program.candidate
Instances For
Exact uniform agreement of an explicit program with a target hard function. The target is used only to score the stored predictor.
Equations
- program.agreementProbability hardFunction test = Complexity.uniformProbability {challenge : Fin inputLength → Bool | program.predictor test challenge = hardFunction challenge}
Instances For
Number of Boolean payload entries stored by a reconstruction program. The polarity and coordinate are metadata handled by the later codec layer.
Equations
- One or more equations did not get rendered due to their size.