The Explicit Construction Runs in Polynomial Time
Lax920634.PolynomialConstruction · concepts/Lax920634/PolynomialConstruction.lean · lax-920634
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The specified graph-table constructor is computed by one deterministic Turing machine in polynomial time in the unary requested order. Its output is exactly the graph encoding defined by the seed scan, tower recurrence, level selector, and path replacement.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax920634.GraphEncoding |
| 2 | import Mathlib.Computability.TuringMachine.Computable |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: The Explicit Construction Runs in Polynomial Time |
| 7 | type: lemma |
| 8 | --- |
| 9 | The specified graph-table constructor is computed by one deterministic |
| 10 | Turing machine in polynomial time in the unary requested order. Its output |
| 11 | is exactly the graph encoding defined by the seed scan, tower recurrence, |
| 12 | level selector, and path replacement. |
| 13 | |
| 14 | # Formalization notes |
| 15 | |
| 16 | The model is mathlib's deterministic finite stack-machine model, with the |
| 17 | identity encoding on binary input and output words. Its polynomial bound |
| 18 | counts machine transitions. The theorem concerns the actual specified |
| 19 | function, rather than an arbitrary constructor of graphs with similar |
| 20 | properties. Fixed seed precomputation contributes a constant independent |
| 21 | of the requested order. |
| 22 | -/ |
| 23 | |
| 24 | namespace Lax920634.PolynomialConstruction |
| 25 | |
| 26 | open GraphEncoding Turing |
| 27 | |
| 28 | /-- One deterministic polynomial-time machine computes the specified graph constructor. -/ |
| 29 | axiom polynomial_time : |
| 30 | Nonempty (TM2ComputableInPolyTime id id construct) |
| 31 | |
| 32 | end Lax920634.PolynomialConstruction |
| 33 |
Formalization notes
The model is mathlib's deterministic finite stack-machine model, with the identity encoding on binary input and output words. Its polynomial bound counts machine transitions. The theorem concerns the actual specified function, rather than an arbitrary constructor of graphs with similar properties. Fixed seed precomputation contributes a constant independent of the requested order.
Builds on
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments