NL is acceptance by two-way multihead automata
Lax485149.NLByAutomata · concepts/Lax485149/NLByAutomata.lean · lax-485149
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
A decision problem over a relational vocabulary is in NL if and only if there are a number and a two-way -head automaton over that accepts, for every nonempty finite -structure and every linear order on , exactly when is a yes-instance of . The same holds for FO(TC) definability, a configuration of the automaton being a node of a transitive-closure specification and conversely. This relates the logically defined class to a machine model with logarithmic storage: heads on a structure of size hold bits.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax904597.Problems |
| 2 | import Lax904597.Interpretations |
| 3 | import Lax904597.Relativized |
| 4 | import Lax904597.SecondOrder |
| 5 | import Lax904597.Classes |
| 6 | import Lax904597.Sat |
| 7 | import Lax485149.Problems |
| 8 | import Lax485149.Complement |
| 9 | import Lax485149.SecondOrderAtoms |
| 10 | import Lax485149.KromFragment |
| 11 | import Lax485149.TransitiveClosure |
| 12 | import Lax485149.DeterministicTransitiveClosure |
| 13 | import Lax485149.FirstOrderDefinability |
| 14 | import Lax485149.HeadAutomata |
| 15 | import Lax485149.Reachability |
| 16 | import Lax485149.DeterministicReachability |
| 17 | import Lax485149.TwoSat |
| 18 | import Lax485149.ClassNL |
| 19 | import Lax485149.ClassL |
| 20 | |
| 21 | /-! |
| 22 | --- |
| 23 | title: NL is acceptance by two-way multihead automata |
| 24 | type: theorem |
| 25 | --- |
| 26 | A decision problem over a relational vocabulary is in NL if and only |
| 27 | if there are a number and a two-way -head automaton over that |
| 28 | accepts, for every nonempty finite -structure and every linear order |
| 29 | on , exactly when is a yes-instance of . The same holds for FO(TC) |
| 30 | definability, a configuration of the automaton being a node of a |
| 31 | transitive-closure specification and conversely. This relates the logically |
| 32 | defined class to a machine model with logarithmic storage: heads on a |
| 33 | structure of size hold bits. |
| 34 | -/ |
| 35 | |
| 36 | namespace Lax485149.NLByAutomata |
| 37 | |
| 38 | open FirstOrder FirstOrder.Language |
| 39 | open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.SecondOrder |
| 40 | open Lax904597.Classes Lax904597.Sat |
| 41 | open Lax485149.Problems Lax485149.Complement Lax485149.SecondOrderAtoms Lax485149.KromFragment |
| 42 | open Lax485149.TransitiveClosure Lax485149.DeterministicTransitiveClosure |
| 43 | open Lax485149.FirstOrderDefinability Lax485149.HeadAutomata Lax485149.Reachability |
| 44 | open Lax485149.DeterministicReachability Lax485149.TwoSat Lax485149.ClassNL Lax485149.ClassL |
| 45 | |
| 46 | /-- NL is acceptance by a two-way multihead automaton. -/ |
| 47 | axiom mem_NL_iff_automaton : ∀ {L : Language.{0, 0}} [L.IsRelational] {P : DecisionProblem L}, |
| 48 | NL.Mem P ↔ ∃ (k : ℕ) (M : HeadAutomaton L k), |
| 49 | ∀ (A : Type) [L.Structure A] [LinearOrder A] [Finite A] [Nonempty A], P A ↔ M.Accepts A |
| 50 | |
| 51 | /-- FO(TC) definability is acceptance by a two-way multihead automaton. -/ |
| 52 | axiom tcDefinable_iff_automaton : ∀ {L : Language.{0, 0}} [L.IsRelational] {P : DecisionProblem L}, |
| 53 | TCDefinable P ↔ ∃ (k : ℕ) (M : HeadAutomaton L k), |
| 54 | ∀ (A : Type) [L.Structure A] [LinearOrder A] [Finite A] [Nonempty A], P A ↔ M.Accepts A |
| 55 | |
| 56 | end Lax485149.NLByAutomata |
| 57 |
Builds on
Lax485149.ClassLLax485149.ClassNLLax485149.ComplementLax485149.DeterministicReachabilityLax485149.DeterministicTransitiveClosureLax485149.FirstOrderDefinabilityLax485149.HeadAutomataLax485149.KromFragmentLax485149.ProblemsLax485149.ReachabilityLax485149.SecondOrderAtomsLax485149.TransitiveClosureLax485149.TwoSatLax904597.ClassesLax904597.InterpretationsLax904597.ProblemsLax904597.RelativizedLax904597.SatLax904597.SecondOrder
Used by
none
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments