Unrestricted depth-three lower bound: language parser #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/DepthThree/LanguageParser.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical proofs are retained.
The data, hash seed, modulus bits, and coefficients parsed from an input word.
- dataSize : ℕ
Number of data bits.
- ringDegree : ℕ
Degree of the monic modulus polynomial.
- coefficientCount : ℕ
Number of coefficient blocks.
The input data bits.
The seed bits for the linear hash.
- polynomial : Fin self.ringDegree → Bool
The lower coefficients of the monic modulus.
- coefficients : Fin self.coefficientCount → Fin self.ringDegree → Bool
The coefficient blocks of the evaluation polynomial.
Instances For
Extract the parameter blocks and data from an input word.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The input has sufficient length for all blocks specified by its parameters.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Parse an input when its parameter blocks fit, rejecting otherwise.