The complexity class NPSPACE

Lax434930.NondeterministicPolynomialSpace · concepts/Lax434930/NondeterministicPolynomialSpace.lean · lax-434930

definition

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Definition

    A binary language belongs to NPSPACE\mathrm{NPSPACE} if one nondeterministic Turing machine decides membership using at most p(n)p(n) work cells on every branch on inputs of length nn, for some polynomial p∈N[X]p\in\mathbb{N}[X]. All branches halt; at least one accepts precisely when the input belongs to the language. The input tape is read-only and excluded from work space.

    Concept map
    4 concepts; 2 descendants hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    In the paper

    • page 2 of this submission's paper

    Lean source view on GitHub

    1import Lax434930.SpaceBounds
    2
    3/-!
    4---
    5title: The complexity class NPSPACE
    6type: definition
    7---
    8A binary language belongs to NPSPACE\mathrm{NPSPACE} if one nondeterministic
    9Turing machine decides membership using at most p(n)p(n) work cells on
    10every branch on inputs of length nn, for some polynomial
    11p∈N[X]p\in\mathbb{N}[X]. All branches halt; at least one accepts precisely
    12when the input belongs to the language. The input tape is read-only and
    13excluded from work space.
    14-/
    15
    16namespace Lax434930.NondeterministicPolynomialSpace
    17
    18open PolynomialTime SpaceBounds
    19
    20/-- Nondeterministic polynomial work space. -/
    21def NPSPACE : Set Language :=
    22 {A | ∃ p : Polynomial ℕ, A ∈ NSPACE p.eval}
    23
    24end Lax434930.NondeterministicPolynomialSpace
    25

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…