Past exam of the logic and set theory course of the University of Oxford 2008 A 3 a Solution 2026-10-31
An -structure consists of a nonempty domain , an element for each constant symbol, a function for each -ary function symbol, and a relation for each -ary predicate symbol. When equality is part of the logic it is interpreted as actual identity on .
An assignment in a first-order structure is a function from logical variables to . It induces a term valuation of first-order terms recursively:For an atomic formula, substitute these first-order term values into the interpreted relation, or compare them for equality. Extend satisfaction for a set structure through the truth tables of the logical connectives, and through the quantifier clausesThus the first-order structure and assignment in a first-order structure together determine truth values for all logical formulas. A first-order sentence has no free variables, so its truth does not depend on the assignment in a first-order structure.
Past exam of the logic and set theory course of the University of Oxford 2008 A 3 c Solution 2026-10-31
Use the following group axioms in the given language:Commutativity supplies the other identity and inverse equations. These first-order sentences therefore specify precisely an abelian group with the named identity ; an inverse function symbol is unnecessary because inverses are asserted to exist by a quantified formula.
For each positive integer , let be the first-order term recursively defined by and . Add the torsion-free abelian group axiom schemeEvery first-order model of these first-order sentences is an abelian group with no nonidentity element of finite order. Conversely every torsion-free abelian group satisfies each of the displayed first-order sentences. This is a countably infinite first-order axiomatization of exactly the required class.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 b Solution 2026-10-31
Gödel's completeness theorem for first-order sentences says that, in a standard sound first-order Hilbert calculus,Equivalently every first-order consistent set of first-order sentences has a first-order model: apply this existence statement to for the consequence formulation.
For the first-order model existence formal proof use a Henkin construction. Enlarge the language by fresh constant symbols and adjoin Henkin witness axiomsFreshness of preserves first-order consistency. In detail, if a contradiction followed after adjoining one witness axiom, the deduction theorem for first-order logic would yield its negation, from which one obtains both and over the old theory. Since the new constant symbol does not occur in that theory or in , replace it by a fresh logical variable and generalize to derive , a contradiction. Finitely many witness additions preserve first-order consistency successively, and unions preserve first-order consistency because formal proofs are finite. Iterate the enlargement so that logical formulas involving newly introduced constant symbols also receive witnesses. Include at least one constant symbol to guarantee closed terms.
Extend the resulting first-order consistent witnessed first-order theory to a maximal consistent set of first-order sentences . In the equality-free case make the domain the set of closed terms. Interpret constant symbols and function symbols by their formal first-order term constructions; interpret an atomic formula byThe truth lemma for a Henkin term model follows by induction on logical formulas with closed terms substituted for their free variables. The logical connective steps use maximal consistency of a first-order theory. In the existential step, membership of supplies a witness constant and hence a first-order term satisfying ; conversely a satisfying closed term gives the existential sentence by an inference of the calculus. The term model consequently satisfies and the original theory. Equality is absent here, so distinct closed terms may remain distinct domain elements without further identifications.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 c Solution 2026-10-31
In the presence of equality, two syntactically different closed terms can be asserted equal by the Henkin theory, so the raw first-order term domain from part (b) must be replaced by a quotient set. DefineThe equality axioms give reflexivity, symmetry and transitivity, so this is an equivalence relation. Their substitution consequences make it a congruence relation on a first-order structure: replacing an input by an equivalent first-order term preserves equivalence of function values and preserves membership of atomic formulas in .
Take domain . Define a function symbol by , and relations by the same membership test as before using representatives. The congruence relation on a first-order structure makes these definitions independent of representatives. Actual identity of equivalence classes now agrees with the formal equality first-order sentences in :This supplies the equality case of the truth lemma for a Henkin term model; the logical connective and quantifier cases then proceed exactly as in the Henkin construction. Thus the term model built from the quotient set is a genuine first-order model with equality interpreted as identity.
Past exam of the logic and set theory course of the University of Oxford 2010 A 1 a ii Solution 2026-10-31
The first-order terms are the least collection containing every variable and constant and closed under formation of whenever has arity and the are terms. A closed term has no variables.
The first-order formulas are the least collection containing the atomic formulas and of the appropriate arities, and closed under negation, logical implication, and universal quantification: from formulas one may form , , and , with the chosen fully parenthesized grammar. Only finite expressions obtained by these rules are formulas. No additional strings belong to either collection.
Terms denote elements under an assignment in a first-order structure; formulas receive truth values in a first-order structure. The two syntactic categories have different formation rules even when they use some of the same punctuation.
Past exam of the logic and set theory course of the University of Oxford 2011 A 2 c i Solution 2026-10-31
Extend the first-order variable assignment recursively to first-order terms byFor atomic formulas, exactly when . Extend to the Boolean connectives by their truth tables, for example implication is false exactly when its antecedent is true and its consequent false. Quantifiers use modified first-order variable assignments:This recursion defines satisfaction for a set structure for every first-order formula.
Past exam of the logic and set theory course of the University of Oxford 2011 A 3 b i Solution 2026-10-31
The first-order term is free for substitution for in if, at every free occurrence of to be replaced, no enclosing quantifier binds a variable occurring in . Equivalently, the substitution introduces no variable capture. Only free occurrences of are replaced.
Past exam of the logic and set theory course of the University of Oxford 2011 A 3 c ii Solution 2026-10-31
No such first-order axiom collection can force actual identity when the displayed symbol is treated as an ordinary relation. The duplication obstruction to axiomatizing identity proves this even for an infinite collection of extra axioms.
Start with any nonempty first-order structure in which the symbol is identity. Form and the surjection . Interpret each relation by pulling it back along ; in particular,Interpret every function on first coordinates as in and choose second coordinate zero; likewise lift constants with second coordinate zero. Induction on first-order terms gives . Induction on first-order formulas then givesThe quantifier steps use surjectivity of , so every witness in lifts to .
Every proposed axiom valid with actual equality is therefore true in under every assignment, along with A1–A7. But holds for two different domain elements. Thus those axioms cannot enforce identity. The usual interpretation of logical equality as identity is a semantic requirement.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 42 5 Solution Created 2026-10-03 Updated 2026-10-14
Write . The kernel density estimator with bandwidth isSufficient conditions are that be a nonnegative symmetric probability density function with and finite nonzero second moment , and that , . Symmetry and the second-moment assumption give . The expectation is a convolution:Taylor's theorem with integral remainder givesThe zeroth-order term integrates to , and the first-order term vanishes. The second derivative is bounded and continuous, so dominated convergence, with dominating function proportional to , yieldsCombining this with the supplied leading variance gives the asymptotic mean squared errorWhen and , its derivative is . It changes sign exactly once, giving the pointwise optimal kernel bandwidthPositivity of is needed for this positive interior optimum. The printed condition alone does not ensure it. For instance, is a normalized bounded probability density function with bounded continuous square-integrable second derivative, but and . At this point the displayed leading variance vanishes and the two-term AMSE has no positive interior minimizer; finer variance terms are needed to determine an appropriate bandwidth. The formal formula there gives zero, which does not satisfy the bandwidth assumptions.
For integrated error, the same expansion holds in : translation continuity of applied to the integral remainder givesIndeed Minkowski's integral inequality bounds the norm of the difference, divided by , by the integral of ; each translated difference tends to zero and is bounded by . This proves the claimed integrated bias expansion without assuming a uniform pointwise remainder over the whole real line.
If , direct integration of the variance givesThe last term is because is bounded and integrable, hence square integrable, and convolution with a probability density function does not increase its norm. It is negligible compared with . Thus the asymptotic mean integrated squared error and its minimizer areHere : otherwise the continuous second derivative vanishes everywhere, making affine, impossible for a probability density function on the whole real line.
Now take the standard normal density . Differentiation gives . Gaussian integration givesThe kernel constants cancel from the bandwidth ratio. At ,Put . The logarithmic derivative of is . On the function increases, giving its minimum at , with value one. On it decreases up to and then increases, giving its minimum . Thus the global minimizers are , and the normal-density local-to-global bandwidth ratio isThe ratio diverges at the two inflection points , where the second-order pointwise bias approximation vanishes and needs a higher-order replacement.
Normal-density pointwise bandwidth relative to the integrated-error optimum; minima at plus and minus square root of five
. Details. Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 23 1 a Solution Created 2026-10-03 Updated 2026-10-06
Let be the reduced product by a proper filter on a set. Its underlying equivalence relation is when . Operations are interpreted coordinatewise, and a relation holds of the classes exactly when its coordinate truth set belongs to .
Evaluation of a first-order term commutes with passage to the quotient, by mathematical induction on terms. Consequently the desired equivalence holds for every atomic formula, including logical equality. For a formula and representatives , write .
For logical conjunction, . The filter on a set axioms giveThus the induction hypothesis transfers a conjunction in both directions.
For existential quantification, first suppose . Choose a representative of a witness. Induction gives , and this set is contained in . Upward closure therefore gives .
Conversely, suppose . For each , choose a coordinate witness , and choose an arbitrary element of outside . These simultaneous choices use the axiom of choice, as does the usual product construction. Then , so that truth set belongs to . Induction gives , providing the required witness. Thereforefor every primitive positive formula. The exam's tame formulas are exactly this fragment, built using logical conjunction and existential quantification. No ultrafilter dichotomy was used.
A prime model of a complete theory is a first-order model admitting an elementary embedding of first-order structures into every first-order model of . Let be canonical and . For each closed term , defineEvery element of has a name, so this defines the desired map on all of . If two first-order terms agree in , their logical equality first-order sentence holds in one first-order model of the complete theory and therefore in every first-order model of it; they agree in . This proves well-definedness. If they are distinct in , their inequality holds throughout the complete theory as well, proving injectivity.
For every logical formula and named tuple , the substituted first-order sentence has the same truth value in the two first-order models by completeness of . ConsequentlyThus is elementary. Since was arbitrary, every such canonical first-order structure is prime. This formal proof also handles closed-term generation when function symbols are present; under the constant-name convention one simply uses constants as the first-order terms.
A canonical first-order structure is generated by its names: every element is the value of a closed term. In the function-free setting permitted here, this means every element is the interpretation of a constant symbol. Equivalently, the natural map from closed terms modulo logical equality in the first-order structure onto its carrier is surjective. When canonical is defined specifically using constant names, the same definition and all the arguments below apply in this function-free setting.
A full set of first-order sentences has the witness property in its own first-order language: whenever it proves an existential sentence , some closed term satisfies that the set proves . In a deductively closed set, one can equivalently state this using membership of the first-order sentences. In the function-free setting the witness first-order term is a constant symbol. This is the Henkin witness property; fullness does not by itself replace the separate requirements of first-order consistency and completeness.
Adjoin to the negations of all closed-term instances of . If the resulting set had a first-order model , its ground-term substructure from (ii) would still first-order model . The assumed existential consequence therefore supplies a tuple in satisfying . Each is the value of a closed term .
Quantifier-free agreement between a substructure and its ambient first-order structure givescontradicting the adjoined negation of this very ground instance. Thusis unsatisfiable. Compactness theorem gives a finite unsatisfiable subset. Its finitely many ground negations imply that, for some finite list of first-order term tuples,If the finite subset already shows itself inconsistent and supplies no ground negations, choose any one closed-term tuple using the available constant; then any first-order sentence is a consequence of , so suffices. Otherwise the selected list is nonempty. This also explains why the conclusion contains a finite disjunction rather than necessarily one universal choice of a witness first-order term.
Here means a substructure, so the smaller carrier contains all named constants, is closed under every function symbol, and has each relation restricted from the larger first-order structure. First-order term evaluation on tuples from agrees in the two first-order structures. Consequently atomic formulas agree, and induction on Boolean connectives makes every quantifier-free formula agree as well.
Write an arbitrary universal sentence of as with quantifier-free matrix. Every tuple from is also a tuple from , so holds at that tuple in . Quantifier-free agreement transfers it to . Since the tuple was arbitrary, satisfies the universal sentence. ThusAn arbitrary subset without the substructure operations and relation restrictions would not be the hypothesis used by this formal proof.
An arithmetic logical formula is , or bounded, if all its quantifiers are bounded by arithmetical first-order terms. A logical formula has an initial block of existential quantifiers followed by a bounded matrix, up to the usual logical transformations. Soundness of an arithmetic theory at a given level means that every first-order sentence of that level proved by the first-order theory is true in the standard natural numbers. Here -completeness means that every true bounded arithmetic sentence is provable.
A first-order theory is one-consistent if there is no bounded arithmetic formula for which it proves while proving for every standard natural number . This is a restricted form of omega-consistency. In particular one-consistency implies first-order consistency, since an inconsistent first-order theory proves every first-order sentence and its negation.
Suppose a -complete first-order theory is first-order consistent. If it proved a false bounded arithmetic sentence , the true bounded arithmetic sentence would also be provable by completeness, contradicting first-order consistency. Thus is -sound. Conversely -soundness excludes inconsistency because an inconsistent first-order theory proves the false bounded arithmetic sentence . ThereforeIf is one-consistent but proved a false existential sentence with bounded matrix, every standard instance would be true and hence provable. This violates one-consistency. Thus it is -sound. Conversely, -soundness implies first-order consistency by the previous argument, since bounded arithmetic sentences are included at the existential level. If proved , soundness of an arithmetic theory would give a standard witness with true. Bounded completeness of an arithmetic theory would then give , so first-order consistency prevents simultaneous formal proofs of all the negated instances. HenceMultiple existential logical variables can be treated as a finite tuple of witnesses; the same reasoning applies.
An -structure has a nonempty underlying set . It assigns to each constant symbol an element , to each -ary function symbol a function , and to each -ary predicate symbol a relation contained in . Logical equality, when included as logical equality, is interpreted as actual identity.
The arities belong to the specification of the first-order language. An assignment of logical variables to elements of then evaluates first-order terms recursively and determines satisfaction of logical formulas through the logical connectives and quantifiers. A first-order sentence has no free variables, so its truth in the first-order structure is independent of the assignment.
Use the first-order theory of a bijection with named inverse and no finite cycles. Its axioms areEvery first-order model is a disjoint union of free two-sided integer orbits. Write for positive powers of and for powers of when is negative.
This first-order theory is complete and eliminates quantifiers. Every first-order term reduces to , and atomic logical formulas reduce to statements . To eliminate an existential logical variable in a conjunction of literals, first remove self-equalities using the no-finite-cycle axioms. If an equation fixes that logical variable as an integer translate of another logical variable, substitute that value. If no such equation remains, only finitely many points are excluded by the remaining inequalities, so some value exists in the infinite domain. Apply this to disjunctive normal form and then induct on logical formulas. The resulting parameter-free first-order sentences are decided, proving completeness.
For each fixed finite , a complete type records a partition of the logical variables into common orbits and finitely many integer offsets within each block. There are countably many possibilities. Countable first-order models with one orbit and with two orbits are not isomorphic, so the first-order theory is not -categorical.
Thus this example has the source's explicitly defined countable-type property. In fact it also satisfies ordinary omega-stability: over a countable parameter set, an element is either a specified integer translate of a parameter, giving countably many possibilities, or lies in an entirely new orbit, giving one further complete one-type. The same finite-orbit-pattern description handles finite tuples. ThereforeThe source prints the label “-stable”; the construction meets its stated definition as well as the usual stronger omega-stability condition. The difference between countably many and finitely many partial types is exactly why Ryll-Nardzewski does not yield categoricity here.
For the upper function graph, the vertical cross-section of the enclosed region has length , so its area is . A maximizing nonnegative arch therefore uses and in the normal Euler-Lagrange equation. It becomesIntegrating once gives . The concave upper branch has and integrates to . The equal zero endpoint heights force and . HenceIt is a circular arc. To find its parameter, substitute into the length integral: , givingThis scalar equation determines numerically when needed; no explicit solution is required.
The arch is a global maximum in its smooth function graph regime. For , the integrand is concave and strictly concave in its slope. Its supporting-tangent inequality, integrated against any competing function graph with the same endpoint values, has first-order term zero by the Euler-Lagrange equation. Thus . On the fixed-length class this is ; strict slope concavity also gives uniqueness.
The source leaves the length range implicit. A twice continuously differentiable function graph of this form needs , giving . At the straight function graph is the degenerate solution. The semicircle limit has vertical endpoint tangents and is outside that smooth function graph class. For , no arc in the claimed smooth function graph family exists, so the stated formula cannot describe a twice continuously differentiable maximizing function graph under those unrestricted data. Allowing overhanging curves changes the admissible class.
The equality introduction rule is reflexivity: any well-formed first-order term is equal to itself, with no premises. The equality elimination rule permits replacement of equals in a first-order formula:In the second rule, write and as the results of substituting and into the same designated free occurrences of a variable in . Both substitutions must avoid variable capture. The rule preserves the surrounding assumptions. This expresses first-order equality rather than treating equality as an arbitrary relation symbol.
The equality introduction rule is reflexivity, with no premise. The equality elimination rule is substitution of equal first-order terms into a first-order formula:The indicated substitution must be capture-avoiding substitution in first-order logic: the first-order terms must be free for the replaced variable. One can designate a particular argument occurrence by choosing appropriately; the rule does not demand replacing every occurrence of an identical-looking term in a formula.

