The k-variable invariance lemma, across two structures #
DescriptiveComplexity.realize_equivK says a formula with room for its
quantifier depth cannot separate two ≡ᵏ-equivalent tuples of one
structure. This file proves the same for tuples of two structures
(DescriptiveComplexity.realize_equivK₂), against the game of
DescriptiveComplexity.Invariant.TwoPebble – the proof is the textbook pebble
argument once more, each quantifier spending one fresh pebble, placed by the
game move DescriptiveComplexity.EquivK₂.update, with the two sides of the
quantifier now ranging over different universes.
Read at a sentence, this is what separates a Boolean query: two structures
with a k-pebble equivalent pair of tuples satisfy the same formulas of
k variables.
The k-variable invariance lemma, between two structures. A formula
over a relational vocabulary, with relation symbols in S, cannot separate a
pair of k-pebble equivalent tuples of two structures: its free variables
read the tuples through an arbitrary selection of coordinates, its bound
variables through an injective selection disjoint from it, and the coordinates
left over leave room for its quantifier depth.
Dependency graph
The formula form: a formula whose free variables read the tuples through a selection of coordinates, with room left for its quantifier depth, cannot separate an equivalent pair.
Dependency graph
The sentence form: two structures carrying a k-pebble equivalent
pair of k-tuples satisfy the same sentences of quantifier depth at most
k.