Polynomial-time evaluation of fixed-point queries
Lax751879.FixedPointEvaluation · concepts/Lax751879/FixedPointEvaluation.lean · lax-751879
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 Lax751879.FixedPointSemantics |
| 2 | import Lax751879.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 Lax751879.FixedPointEvaluation |
| 20 | |
| 21 | open Lax751879.OrderedStructures Lax751879.FixedPointSyntax |
| 22 | open Lax751879.FixedPointSemantics Lax751879.PolynomialTime |
| 23 | |
| 24 | axiom evaluationInP {σ : Vocabulary} {k : Nat} (φ : Formula σ k) : |
| 25 | InP (fun A => Satisfies A φ) |
| 26 | |
| 27 | end Lax751879.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