Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 23 8 a Solution 2026-10-14
Fix a partial fixed-point logic formula , with of arity . On a finite ordered structure, an interpretation of is a bit string of length . To decide whether some interpretation makes true at a given tuple, enumerate all these strings and evaluate for each. Evaluation uses polynomial space by the permitted characterization of PFP, and the enumerating counter also has polynomial length. Storage is reused between interpretations. Thus the resulting pointed-structure property is decidable in PSPACE.
Apply the assumed PFP characterization of PSPACE on ordered structures to this property. It gives a PFP formula such thatTo justify the formula version from a sentence characterization, temporarily name the tuple by finitely many new constants, apply the characterization in that expanded finite signature, and replace those constants by the free variables, renaming bound variables to avoid capture. This does not introduce a new order assumption: the input already interprets as a linear order. Multiple quantified relations are handled by repeated application.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 23 8 b Solution 2026-10-14
As usual, a class of structures here is closed under isomorphism and uses standard finite-structure encodings. First suppose is defined by , with in partial fixed-point logic. Deterministically enumerate the polynomial-length encodings of and evaluate on each expansion. PFP evaluation is in PSPACE even without a supplied order: a relation of fixed arity requires polynomially many bits, iteration has at most exponentially many states, and a polynomial-length counter suffices to stop after that many stages. If no consecutive stages agree before a repeat must have occurred, the partial fixed point is empty. Nested fixed points have fixed syntactic depth and can be evaluated with reused polynomial storage. Thus the encoding language of is in PSPACE.
Conversely, suppose that encoding language is decidable in PSPACE. Expand each structure by a freely chosen linear order . On such ordered expansions, the assumed characterization gives a PFP sentence deciding whether the reduct belongs to . Since is isomorphism-invariant, the answer is independent of the particular chosen order. HenceThe expression inside the second-order quantifier is PFP, since the assertion that is a linear order is first-order. Every finite universe has a linear order. This proves both directions, using an existentially supplied order when the original signature has none. The construction is also the order-independent consequence of part (a), which shows that existential relation quantification does not increase PFP's power on an already ordered structure.