The round game as an implication ladder #
The last semantic step before the Σₖ sentence of the membership half. The
game of DescriptiveComplexity.Problems.Machine.AltGame quantifies its rounds
with DescriptiveComplexity.guardQ, whose universal case carries an existence
clause: a universal player with no legal move loses rather than winning
vacuously. Over configurations that clause is harmless, but over walks it is
an existential second-order quantifier sitting inside a universal block, and a
sentence built on it would not be Σₖ at all.
The clause is however redundant. A round always has a move available: follow
the previous round's walk as far as it is committed, and from the entry into
the round's own block run greedily – step while a step is available, stand
still once stuck – which is DescriptiveComplexity.ATMData.greedyFrom. So the
game can be restated with the unguarded
DescriptiveComplexity.bareQ, and DescriptiveComplexity.ATMData.AltLadder is
that restatement: an alternating chain of conjunctions and implications, which
is exactly the shape a first-order kernel can have.
The one clause that is not redundant is at the top: round 0 has no previous
walk to extend, so a legal walk exists only if an initial configuration does.
That is first-order – it is ∃ q, Start q, the rest being supplied by
DescriptiveComplexity.TMData.exists_isInit – and it is carried into the
sentence as a plain conjunct rather than as a quantifier.
Unguarded alternation #
Quantification with a polarity, unguarded: existentially the guard is
conjoined, universally it is assumed. Unlike DescriptiveComplexity.guardQ
nothing here asks the guard to be satisfiable, which is what makes this shape
expressible by a first-order kernel under a second-order prefix.
Equations
- DescriptiveComplexity.bareQ true C P = ∃ (a : α), C a ∧ P a
- DescriptiveComplexity.bareQ false C P = ∀ (a : α), C a → P a
Instances For
Dependency graph
Dependency graph
Dependency graph
Unguarded quantification only depends on its two predicates up to pointwise equivalence.
Dependency graph
A satisfiable guard makes the two quantifications agree: the existence
clause of DescriptiveComplexity.guardQ is the only difference between them.
Dependency graph
The greedy continuation of a round #
The walk following prev up to t and running greedily after it: the
move a round can always make. It is
DescriptiveComplexity.ATMData.splice of the greedy sequence, with no bound on
its length – a walk never has to stand still, since
DescriptiveComplexity.ATMData.greedy already does when it must.
Equations
Instances For
Dependency graph
Below the entry time the continuation is the previous walk.
Dependency graph
From the entry time on, the continuation is the greedy sequence.
Dependency graph
The greedy continuation is an admissible move for round i, given the
entry t into block i: it reproduces everything the earlier rounds committed
– they committed exactly the times strictly below t – and it is legal below
block i + 1 because the greedy sequence is.
Dependency graph
Every round has a move #
Either the previous walk never reaches block i, or it enters it at a
definite time. The entry is the lowest time whose block is not below i, and
it is in block i exactly because the step into it is legal.
Dependency graph
A round always has an admissible move, which is what makes the
existence clause of DescriptiveComplexity.guardQ redundant from round 1 on.
If the previous walk never reaches block i it is itself admissible – it has
nothing left to answer for – and otherwise the greedy continuation of its entry
into the block is.
Dependency graph
The ladder #
The game from round i on, unguarded: the shape a first-order kernel
can express, an alternating chain of conjunctions and implications.
Equations
- One or more equations did not get rendered due to their size.
- M.gameLadder start i 0 x✝ = M.AccAt x✝
Instances For
Dependency graph
The whole k-round ladder, with the first round peeled off as in
DescriptiveComplexity.ATMData.AltGame.
Instances For
Dependency graph
The game is the ladder, from round 1 on.
Dependency graph
The whole game is the whole ladder. The hypothesis is the one existence
clause that is not redundant: round 0 extends no previous walk, so it needs an
initial configuration to exist.
Dependency graph
Alternating acceptance is the ladder, the statement the Σₖ sentence
of the membership half expresses.