PSPACE-completeness
Lax689614.PSPACE · concepts/Lax689614/PSPACE.lean · lax-689614
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A binary language is PSPACE-hard if every language decidable in polynomial space has a polynomial-time many-one reduction to it. It is PSPACE-complete if it is also decidable in polynomial space. Polynomial space and reductions are those of the classical complexity and Cook–Levin submissions.
Concept map
Lean source view on GitHub
| 1 | import Lax434930.PolynomialSpace |
| 2 | import Lax429075.Reductions |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: PSPACE-completeness |
| 7 | type: definition |
| 8 | --- |
| 9 | A binary language is PSPACE-hard if every language decidable in polynomial |
| 10 | space has a polynomial-time many-one reduction to it. It is PSPACE-complete |
| 11 | if it is also decidable in polynomial space. Polynomial space and reductions |
| 12 | are those of the classical complexity and Cook–Levin submissions. |
| 13 | -/ |
| 14 | |
| 15 | namespace Lax689614.PSPACE |
| 16 | |
| 17 | open Lax434930.PolynomialTime Lax434930.PolynomialSpace Lax429075.Reductions |
| 18 | |
| 19 | def Hard (B : Language) : Prop := ∀ A : Language, A ∈ PSPACE → ManyOne A B |
| 20 | |
| 21 | def Complete (B : Language) : Prop := B ∈ PSPACE ∧ Hard B |
| 22 | |
| 23 | end Lax689614.PSPACE |
| 24 |
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments