Rational hitting lists: executable #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/RationalHitting/Executable.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical arguments are retained.
Dense, staged integer input tables. No quotient-field element is computed.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Cramer's numerators are computed by the staged division-free algorithm.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A finite vector of dense rational matrix tables.
Equations
Instances For
Read a dense rational table as a matrix substitution.
Equations
- Complexity.RationalHitting.ExecutableGenerator.tuple T a i j = ((Vector.get T a).get i).get j
Instances For
Compute the normalized tuple entrywise using determinant ratios.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The only singularity test; all repeated algebra is materialized in dense tables.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact pointwise equality, including points rejected by the original determinant test.
A computable generator preserving the list and its order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The executable hitting list for the selected parameter values.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The complete binary encoding of the executable hitting list.
Equations
Instances For
The hitting property and output-size bounds for the computed list.
A finite-state implementation with polynomial transition count.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The finite-state implementation and list bounds imply the main statement.