Documentation

DescriptiveComplexity.Problems.Wide.Instance

A wide machine that accepts #

The three wide problems fold their promises into their yes-instances, and a membership theorem about a vacuous problem would say nothing. This file closes that gap by exhibiting one instance, the smallest there is, and proving all three problems hold of it:

two elements – one that is both a start state and an accepting state, one that is the blank – no transitions at all, and the order they come in.

Its machine starts on the empty address in an accepting state, so it accepts in no steps; having no transitions it is deterministic, so the deterministic space-bounded problem holds of it too. Nothing about addresses is used beyond DescriptiveComplexity.isInit_wide – the head starts on the empty address and the tape is blank – which is the point: the promises reduce to conditions on the instance (DescriptiveComplexity.wideData_wellFormed_iff, DescriptiveComplexity.wideData_deterministic_iff) and those conditions are satisfiable.

The instance is also the smallest exercise of the interface a hardness reduction will use, so it is worth reading as a template: a FirstOrder.Language.wide structure is eleven relations on a finite type, and the two promises are then four conditions and four more.

@[instance_reducible]

The smallest wide-machine instance: 0 is a start state and an accepting state, 1 is the blank, there are no transitions, and wmLe is the order of Fin 2.

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

The order of the instance is linear, being the order of Fin 2.

Dependency graph

The instance is well formed: a linear order, no input to be functional about, and exactly one blank.

Dependency graph

The instance is deterministic: it has one start state and no transitions.

Dependency graph

The machine accepts, in no steps: it starts on the empty address with a blank tape in the state 0, which is accepting.

Dependency graph

The machine accepts in bounded space too, the same run with the step bound dropped.

Dependency graph

The three problems are not vacuous #

Dependency graph
Dependency graph

DescriptiveComplexity.DWideAcceptSpace has a yes-instance: the instance has no transitions, so it is deterministic.

Dependency graph