Assignment in a first-order structure 2026-10-31
An assignment in a first-order structure chooses a domain element for each variable. It determines the value of every first-order term and the truth of every first-order formula, once the interpretations of symbols are fixed. A first-order sentence has no free variables, so its truth is independent of the assignment in a first-order structure. Quantification changes the value assigned to the bound variable while retaining the other values.
Capture-avoiding first-order substitution 2026-10-25
To perform a first-order substitution, first rename each conflicting bound variable to a fresh name, then replace the designated free occurrences. The fresh names must avoid the formula's relevant free names and all names in the inserted first-order term. For instance, substituting for in requires renaming the binder, producing rather than . The latter would change the intended meaning by capturing .
First-order substitution 2026-10-25
Replacing every free occurrence of variable in a first-order formula by a first-order term . Bound occurrences of are left alone. The operation requires either that be free for substitution at those occurrences or that conflicting bound variables first be renamed, as in capture-avoiding first-order substitution.
Past exam of the logic and set theory course of the University of Oxford 2009 A 3 c ii Solution 2026-10-31
For each term define an -formula expressing its value. Use fresh bound variables at every step:Freshness includes avoiding all relevant free variables of the formula being translated. Define the atomic translation byand extend through the logical operations: , , and . Fresh witnesses prevent variable capture and ensure the translation preserves the original free-variable set.
For an -structure , let have the graph relation of and singleton relation . Induction on terms proves that holds precisely when is the value of . Induction on formulas then provesConversely every -structure satisfying is uniquely the relational version of an -structure on that same domain. Hence, for arbitrary possibly infinite , semantic entailment on the left is equivalent to semantic entailment from on the right, with assignments retained in the free-formula case. Applying soundness theorem for first-order logic and Gödel's completeness theorem givesThe prohibition on completeness in the preceding direct equality question is local to that proof; here it supplies the clean semantic-to-syntactic transfer after the actual translation and model correspondence have been established.
Past exam of the logic and set theory course of the University of Oxford 2011 A 3 b iii Solution 2026-10-31
In a two-element first-order structure, is false for every first-order variable assignment. Blind substitution of for yields , which is true. This does not express the original property evaluated at the value of the inserted term: it has changed a free parameter into a bound variable.
Let be the Gödel number of the diagonal first-order sentence obtained by substituting into the one-free-variable logical formula with code , with an arbitrary default value on noncodes. By the assumptions and (c), this total function has a strong defining logical formula .
For the specified , form the one-variable logical formulaLet be the Gödel number of and put . Then . Strong definability of a numerical function at this particular standard input givesSubstitution into the existential definition yieldsThe permitted equivalence between the source's two substitution notations identifies this with its requested fixed point. Bound variables are renamed when necessary before forming , so the substitution is capture-free. This constructs one particular first-order sentence from the code of the logical formula which applies to its own diagonal output.
Add a predicate symbol for each -formula , of arity equal to its displayed free-variable tuple. Let consist of together with all defining axiomsEvery first-order model of has a unique such expansion, interpreting the new predicate symbols by their defining sets. Conversely the reduct of every first-order model of satisfies .
Given an arbitrary -formula , replace each new atomic predicate symbol by its original -definition, renaming bound variables to avoid capture. This produces an -formula withThe defining axiom for that particular logical formula now gives an atomic replacement:Thus the expanded first-order theory eliminates quantifiers. For a first-order sentence, the same translation is an -sentence, decided by completeness of ; hence every expanded first-order sentence is decided and is complete. Empty free-variable tuples can be handled by zero-ary predicate symbols, or by the usual logical truth and falsity constants. This definitional expansion is called Morleyization.
Existential sentences are preserved under extensions: witnesses remain present and quantifier-free truth is unchanged by an embedding. Therefore any existential axiomatization implies the specified extension-closure property.
For existential axiomatization from extension closure, let be all existential consequences of , and suppose . We claim that is satisfiable. Otherwise compactness supplies finitely many universal sentences true in such that . The finite conjunction is universal after renaming bound variables, so its negation is existential. It belongs to but is false in , a contradiction.
The preceding universal-theory embedding result now yields and with . By the assumed extension closure, ; elementary equivalence implies . Thus axiomatizes exactly the models of , proving existential axiomatizability is equivalent to closure under extensions. This includes the inconsistent case, whose empty model class is axiomatized by an existential contradiction.
The term is free for substitution for . The only free occurrence of the target is in the outside disjunct , beyond both quantifier scopes. The occurrences under are bound variables and are not replaced. Therefore no renaming is required, andThe new and in the last disjunct are free. First-order substitution replaces the original free occurrences once; it does not recursively substitute into the inserted term.
The printed expression has one unmatched closing parenthesis. Remove that final surplus parenthesis and read the first disjunct as ; the other disjunct has outer universal quantification over the displayed implication. To distinguish the two independent bound uses of , rename the first to .
Push the outer negation through the logical disjunction and through the quantifiers. Negating the implication preserves its existential antecedent and negates its consequent. Applying De Morgan's laws and the quantifier negation rules gives the negation normal formEach negation is now directly before an atomic formula. No bound variable has been captured, and no original existential quantification in the antecedent has accidentally been negated twice.
The occurrence of in lies under the quantifier . Directly inserting the term would capture its free : the result would make the inserted bound and change the intended dependence on the original free value. Therefore the term is not free for the literal substitution requested.
Perform capture-avoiding first-order substitution by first renaming bound variables to fresh names. Renaming the first binder to is necessary; renaming the second to is optional but makes the result especially clear. These renamings give the equivalent formula . Substituting only the free occurrences of now givesBoth and in the inserted term remain free variables. The original has scope only over its own disjunct and would not capture the inserted in the first disjunct; its optional renaming is not a necessary capture repair. This distinction avoids confusing reuse of a letter elsewhere with binding within the relevant scope.
Use broad scope up to the enclosing parenthesis, consistent with (c). Thus the first conjunct is read as is not free for substitution for . The free occurrence of in lies under ; inserting there would capture its . Rename that bound variable to a fresh first, using alpha equivalence. The capture-avoiding first-order substitution is thenEvery occurrence of in the original formula is free, so all four are replaced. The variable introduced by the term remains free, and the final is unchanged.
Under the same scope convention, is not free for substitution for . The occurrence of inside is free but lies under , so its replacement would capture the new . Rename this binder to fresh . Substitute only for the free occurrences in the first conjunct:The two occurrences of in the final conjunct are bound variables and remain unchanged. The inserted remain free.
If instead one gives the printed only the scope , this part's free-for-substitution answer becomes yes, because neither free occurrence then lies under that binder. Under that alternative parsing, the result is explicitlyThe narrower reading does not change the negative answer in (1): its occurrence of inside still requires renaming that binder before substitution. The broad-scope answers above give a single consistent parsing across the paper.