The classes PSPACE and coPSPACE
Lax134656.ClassPSPACE · concepts/Lax134656/ClassPSPACE.lean · lax-134656
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
PSPACE is the class of decision problems definable in second-order logic with a transitive closure, SO(TC), which captures polynomial space on ordered structures. Hardness is the cofinal hardness of the NP core, under relativized ordered first-order reductions, and coPSPACE is the class of problems whose complement is in PSPACE. PSPACE-completeness is membership together with PSPACE-hardness, under first-order reductions. 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 Lax134656.SecondOrderTransitiveClosure |
| 5 | |
| 6 | /-! |
| 7 | --- |
| 8 | title: The classes PSPACE and coPSPACE |
| 9 | type: definition |
| 10 | --- |
| 11 | PSPACE is the class of decision problems definable in second-order logic |
| 12 | with a transitive closure, SO(TC), which captures polynomial space on |
| 13 | ordered structures. Hardness is the cofinal hardness of the NP core, under |
| 14 | relativized ordered first-order reductions, and coPSPACE is the class of |
| 15 | problems whose complement is in PSPACE. PSPACE-completeness is membership |
| 16 | together with PSPACE-hardness, under first-order reductions. No machine |
| 17 | enters the definition. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax134656.ClassPSPACE |
| 21 | |
| 22 | open Lax904597.Problems Lax904597.Classes Lax485149.Complement |
| 23 | open Lax134656.SecondOrderTransitiveClosure |
| 24 | |
| 25 | /-- **PSPACE**: the class of the SO(TC) definable problems, with cofinal |
| 26 | hardness. -/ |
| 27 | def PSPACE : ComplexityClass := |
| 28 | ComplexityClass.ofMem fun P => SOTCDefinable P |
| 29 | |
| 30 | /-- **coPSPACE**: the problems whose complement is in PSPACE. -/ |
| 31 | def coPSPACE : ComplexityClass := |
| 32 | ComplexityClass.ofMem fun P => SOTCDefinable (DecisionProblem.compl P) |
| 33 | |
| 34 | end Lax134656.ClassPSPACE |
| 35 |
Builds on
Used by
Lax134656.AbiteboulVianuLax134656.AbiteboulVianuOrderedLax134656.HierarchyInPSPACELax134656.InflationaryInPartialLax134656.PartialFixedPointCaptureLax134656.PartialFixedPointClosureLax134656.PSPACEClosureLax134656.PSPACEEqCoPSPACELax134656.QsatInvarianceLax134656.QsatPSPACECompleteLax134656.SpaceBoundedMachineInvarianceLax134656.SpaceMachinesPSPACECompleteLax134656.SuccinctReachInvarianceLax134656.SuccinctReachPSPACECompleteLax134656.TransitiveClosureWithoutOrder
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments