Logarithmic space for inductive counting

Lax733996.CountMachine · concepts/Lax733996/CountMachine.lean · lax-733996

proven

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

    Lemma

    For a machine using logarithmic space, a nondeterministic machine implements its configuration counting predicate in logarithmic space. Vertices and bounded paths are generated sequentially. Every branch halts.

    Concept map
    9 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    In the paper

    • page 3 of this submission's paper

    Lean source view on GitHub

    1import Lax733996.ConfigurationCounting
    2import Lax434930.SpaceBounds
    3
    4/-!
    5---
    6title: Logarithmic space for inductive counting
    7type: lemma
    8---
    9For a machine using logarithmic space, a nondeterministic machine implements
    10its configuration counting predicate in logarithmic space. Vertices and
    11bounded paths are generated sequentially. Every branch halts.
    12-/
    13
    14namespace Lax733996.CountMachine
    15
    16open Lax434930.PolynomialTime Lax434930.SpaceMachines Lax434930.SpaceBounds
    17open ConfigurationCounting
    18
    19axiom implement (M : Machine) (c : ℕ) (hc : 0 < c)
    20 (hM : ∀ w, M.UsesSpace w (c * logSpace w.length)) :
    21 ∃ (d : ℕ) (D : Machine), 0 < d ∧
    22 (∀ w, D.HaltsOn w ∧ (D.Accepts w ↔ RejectsByCounting M w (c * logSpace w.length))) ∧
    23 ∀ w, D.UsesSpace w (d * logSpace w.length)
    24
    25end Lax733996.CountMachine
    26
    Show Proof
    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

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

    Loading discussion…