Lax979537.FixedPointEvaluation
Polynomial-time evaluation of fixed-point queries
concepts/Lax979537/FixedPointEvaluation.lean · lax-979537
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Theorem
Every fixed FO(LFP) formula can be evaluated in polynomial time on finite ordered structures, including the assignment to its free variables. This is data complexity: the machine and polynomial may depend on the formula. The formula is not part of the machine's input.
The proof must implement first-order evaluation and relation-table iteration on the concrete Turing-machine model. Finite convergence alone does not discharge this computational obligation.
Lean source view on GitHub
| 1 | import Lax979537.FixedPointSemantics |
| 2 | import Lax979537.PolynomialTime |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Polynomial-time evaluation of fixed-point queries |
| 7 | type: theorem |
| 8 | --- |
| 9 | Every fixed FO(LFP) formula can be evaluated in polynomial time on finite |
| 10 | ordered structures, including the assignment to its free variables. |
| 11 | This is data complexity: the machine and polynomial may depend on the |
| 12 | formula. The formula is not part of the machine's input. |
| 13 | |
| 14 | The proof must implement first-order evaluation and relation-table iteration |
| 15 | on the concrete Turing-machine model. Finite convergence alone does not |
| 16 | discharge this computational obligation. |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax979537.FixedPointEvaluation |
| 20 | |
| 21 | open Lax979537.OrderedStructures Lax979537.FixedPointSyntax |
| 22 | open Lax979537.FixedPointSemantics Lax979537.PolynomialTime |
| 23 | |
| 24 | axiom evaluationInP {σ : Vocabulary} {k : Nat} (φ : Formula σ k) : |
| 25 | InP (fun A => Satisfies A φ) |
| 26 | |
| 27 | end Lax979537.FixedPointEvaluation |
| 28 |
Used by
From Mathlib
none
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments