Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 23 1 c Solution Created 2026-10-03 Updated 2026-10-14
Let be all universal sentences true in . The theory is consistent. Indeed, if a finite conjunction of sentences from were inconsistent with , then . A finite conjunction of universal sentences is universal, so its negation is equivalent to an existential sentence. By the hypothesis would satisfy , whereas it satisfies .
Choose . Now expand the language by names for every element of and consider its elementary diagram . Its universal consequences in the original language are exactly : any such consequence is true in the named copy of , while any original-language sentence true in already belongs to its elementary diagram. Part (b), applied to and this expanded theory, gives a structure embedding of into a model of . The named copy of is an elementary substructure of . Identifying that copy with , we obtainThus the required target is an elementary extension of , although itself need not be a model of .
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 23 1 d Solution Created 2026-10-03 Updated 2026-10-14
Let be the set of all existential sentences entailed by . Certainly every model of satisfies . Conversely, take . Part (c) gives embedded in an elementary extension of . After identifying with its image, is a superstructure of a model of . The assumed closure under superstructures implies . Since , it follows that as well. HenceThis supplies an existential axiomatization. Conversely, an existential sentence is preserved under embeddings because its finite tuple of witnesses and the quantifier-free facts about them persist, explaining why this is the appropriate syntactic class.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 23 3 c Solution Created 2026-10-03 Updated 2026-10-14
Here denotes universal-existential sentences, with quantifier-free matrix and possibly empty blocks. Add constants for and considerWe show that is consistent. Suppose a finite subset is inconsistent. Combine its diagram facts as and its finitely many negative existential facts as . Replacing the new constants by a variable tuple gives the consequenceThis is equivalent to a universal-existential sentence: move all the existential blocks to the front of the disjunction, using the usual nonempty-domain convention. If there are no negative existential facts, the consequence is simply . By hypothesis satisfies the displayed consequence. Its named tuple satisfies but none of the existential alternatives, a contradiction.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 23 7 b Solution 2026-10-14
Here equivalence means equivalence on all finite structures of the chosen signature, and an existential sentence means an existential second-order sentence. Suppose, towards a contradiction, that P equals NP. We use that P is closed under complementation, that fixed first-order model checking is polynomial-time, and that guessing a polynomial-length string followed by a polynomial-time test is in NP.
Under this equality, evaluating any fixed second-order logic sentence is in P. Prove this by induction through its quantifiers and Boolean operations. The first-order part is already polynomial-time. If an inner formula can be evaluated in P, existentially quantifying a relation of fixed arity guesses at most bits and then performs the inner polynomial-time test. This gives an NP procedure and hence, under the assumption, a P procedure. A universal relation quantifier is handled by complementing the corresponding existential test. Boolean combinations remain polynomial-time as well. A fixed formula has only finitely many such steps and fixed arities, so the resulting time bound is polynomial.
Consequently every second-order definable class lies in P, hence in NP. By Fagin's theorem it has an equivalent existential second-order sentence. This contradicts the posited second-order sentence with no such equivalent. ThereforeThe proof uses the equality assumption to collapse quantifier alternation; it does not assume an unproved strictness statement about the polynomial hierarchy.