Documentation

DescriptiveComplexity.Problems.Machine.SpaceDet

Determinism is a promise a reduction can enforce: DTMAcceptSpace ≤ᶠᵒ NTMAcceptSpace #

The transfer step of the PSPACE machine bridge. Hardness travels forward along reductions, so a single hardness proof – for the deterministic problem, which is the harder one to establish – gives the nondeterministic one as soon as DescriptiveComplexity.DTMAcceptSpace reduces to DescriptiveComplexity.NTMAcceptSpace.

The two problems differ only in that the deterministic one folds DescriptiveComplexity.TMData.Deterministic into its yes-instances. That condition is first-order (DescriptiveComplexity.SpaceTM.detF), so the reduction is the identity interpretation – one dimension, one tag – with a single change: the accepting states of the image are the accepting states of the source guarded by the determinism sentence. A source whose table is deterministic is copied verbatim; a source whose table is not has no accepting state at all in the image, hence no accepting run, and both sides are no-instances.

Nothing here needs an order, so this is a plain ≤ᶠᵒ reduction; the ordered and relativized readings follow.

The interpretation #

The determinism of the instance, as a first-order formula whose free variables are unused: the guard the image puts on its accepting states.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Dependency graph

    The identity interpretation with a guarded accepting predicate. Every symbol is copied; acc is copied only when the transition table is deterministic.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Dependency graph
      @[reducible, inline]
      noncomputable abbrev DescriptiveComplexity.DetToNondet.toBase {A : Type} (x : detInterp.Map A) :
      A

      The universe of the image is the universe of the source.

      Equations
      Instances For
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        Dependency graph
        @[simp]

        The accepting states of the image are guarded: an element is accepting there exactly when the source table is deterministic and it is accepting in the source.

        Dependency graph
        Dependency graph

        A nondeterministic instance has no accepting state in the image, so its image cannot accept.

        Dependency graph

        The reduction is correct: the image accepts in bounded space exactly when the source is a well-formed deterministic machine accepting in bounded space.

        Dependency graph

        Deterministic space-bounded acceptance reduces to the nondeterministic problem. The interpretation is the identity, save that the image only keeps its accepting states when the source table is deterministic – a first-order condition, so the promise folded into the yes-instances of DescriptiveComplexity.DTMAcceptSpace is enforced by the reduction itself.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Dependency graph