Draft — mutable and not usable as a dependency; its citation marks the draft state.

Lax434930.PolynomialSpace

The complexity class PSPACE

concepts/Lax434930/PolynomialSpace.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.

    Concept map

    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Definition

    A binary language belongs to PSPACE\mathrm{PSPACE} if one deterministic Turing machine decides membership using at most p(n)p(n) work cells on inputs of length nn, for some polynomial pN[X]p\in\mathbb{N}[X]. The input tape is read-only and excluded from work space, and the machine always halts.

    Lean source view on GitHub

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

    Community review

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.

    0 comments

    Loading discussion…