Environment v4.30.0. The archive's epoch is v4.33.0; only submissions in v4.30.0 can cite this work.
Polynomial-time evaluation of fixed-point queries
Lax979537.FixedPointEvaluation · concepts/Lax979537/FixedPointEvaluation.lean · lax-979537
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
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.
Concept map
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
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments