The classes L and coL
Lax485149.ClassL · concepts/Lax485149/ClassL.lean · lax-485149
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
L, deterministic logarithmic space, is the class of decision problems definable in first-order logic with a deterministic transitive closure, which captures it on ordered structures by a theorem of Immerman. Hardness is the cofinal hardness of the NP core, under relativized ordered first-order reductions, and coL is the class of problems whose complement is in L. L-completeness is membership together with L-hardness. No machine enters the definition.
Concept map
Lean source view on GitHub
| 1 | import Lax904597.Problems |
| 2 | import Lax904597.Classes |
| 3 | import Lax485149.Complement |
| 4 | import Lax485149.TransitiveClosure |
| 5 | import Lax485149.DeterministicTransitiveClosure |
| 6 | |
| 7 | /-! |
| 8 | --- |
| 9 | title: The classes L and coL |
| 10 | type: definition |
| 11 | --- |
| 12 | L, deterministic logarithmic space, is the class of decision problems |
| 13 | definable in first-order logic with a deterministic transitive closure, |
| 14 | which captures it on ordered structures by a theorem of Immerman. Hardness |
| 15 | is the cofinal hardness of the NP core, under relativized ordered |
| 16 | first-order reductions, and coL is the class of problems whose complement is |
| 17 | in L. L-completeness is membership together with L-hardness. No machine |
| 18 | enters the definition. |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax485149.ClassL |
| 22 | |
| 23 | open Lax904597.Problems Lax904597.Classes Lax485149.Complement |
| 24 | open Lax485149.TransitiveClosure Lax485149.DeterministicTransitiveClosure |
| 25 | |
| 26 | /-- **L**: the class of the FO(DTC) definable problems, with cofinal |
| 27 | hardness. -/ |
| 28 | def LOGSPACE : ComplexityClass := |
| 29 | ComplexityClass.ofMem fun P => DTCDefinable P |
| 30 | |
| 31 | /-- **coL**: the problems whose complement is in L. -/ |
| 32 | def coLOGSPACE : ComplexityClass := |
| 33 | ComplexityClass.ofMem fun P => DTCDefinable (DecisionProblem.compl P) |
| 34 | |
| 35 | end Lax485149.ClassL |
| 36 |
Builds on
Used by
Lax485149.DeterministicReachabilityInvarianceLax485149.FirstOrderInTransitiveClosureLax485149.ImmermanSzelepcsenyiLax485149.KromAndTransitiveClosureLax485149.LByAutomataLax485149.LClosureLax485149.LEqCoLLax485149.LSubsetNLLax485149.NLByAutomataLax485149.NLClosureLax485149.NLEqCoNLLax485149.NLIsTransitiveClosureLax485149.NLSubsetNPLax485149.ReachabilityInvarianceLax485149.ReachdLCompleteLax485149.ReachNLCompleteLax485149.TransitiveClosureClosureLax485149.TwoSatInvarianceLax485149.TwoSatNLCompleteLax485149.UnreachdLCompleteLax485149.UnreachNLComplete
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments