Blocks of quantifiers in Boolean formulas #
QBF.blocks q bs φ prefixes φ with the lists of variables in bs, alternating
existential and universal blocks, existential first when q = true. Empty blocks are
allowed. The matrix and the resulting formula use the existing QBF syntax.
The word-quantifier interpretation is proved in
CslibFrontier.Computability.Complexity.Classes.PH.QBF.
Updating a concatenated list of variables by a concatenated list of values is sequential updating, when the first lists have the same length.
An existential block quantifies over all words assigning its variables in order, even if some variable names repeat.
A universal block quantifies over all words assigning its variables in order.
The free variables of alternating blocks are the free variables of the matrix with all variables of the prefix removed.
Appending variables to the last block merges a quantifier of the same polarity into it. The hypothesis identifies that last polarity without an arithmetic parity convention.