Documentation

DescriptiveComplexity.Problems.Machine.AltMembership

Alternating acceptance is Σₖ-definable #

The membership half of the machine bridge for the polynomial hierarchy: ATMAccept (k+1) true is Σₖ₊₁-definable, hence in Σₖ₊₁ᵖ, and ATMAccept (k+1) false is Πₖ₊₁-definable, hence in Πₖ₊₁ᵖ. The two are the same sentence at the two starting polarities.

The proof is the assembly of the four layers below it:

theorem DescriptiveComplexity.ATMData.altAccepts_iff_start_and_altLadder {A : Type} [Finite A] {M : ATMData A} {k : } (hwf : M.WellFormed) (hbwf : M.BlocksWellFormed k) (hk : 0 < k) (start : Bool) :
M.AltAccepts start (∃ (q : A), M.Start q) M.AltLadder start k

Acceptance is the ladder, together with the existence of a start state. The second conjunct is the one existence clause the ladder cannot carry itself (see DescriptiveComplexity.Problems.Machine.AltLadder); it is first-order, so the kernel states it outright.

Dependency graph

Definability #

Alternating acceptance with an existential first block is Σₖ₊₁-definable: one block guesses the run of each round, and the first-order kernel checks the ladder.

Dependency graph

Alternating acceptance with a universal first block is Πₖ₊₁-definable, by the same sentence at the other starting polarity.

Dependency graph

Alternating acceptance is in Σₖ₊₁ᵖ.

Dependency graph

Alternating acceptance at the other polarity is in Πₖ₊₁ᵖ.

Dependency graph