Automated deduction 2026-11-05
Automated deduction uses an algorithm to construct or check a mathematical proof from explicit assumptions and inference rules. The representation might use propositional logic, first-order logic or a specialized theory such as linear arithmetic. Soundness means the rules preserve truth; finding a proof additionally requires a search strategy.
For a small resolution example, the clauses , and yield and then the empty clause. This is a contradiction, so the original clauses cannot all hold. To prove a conclusion from assumptions, a refutation method adds its negation and searches for such a contradiction. In first-order logic, unification determines which terms can instantiate matching predicates. A procedure that eventually finds every valid proof need not terminate on every invalid claim: this distinction explains why proof search and proof checking have different computational costs.
Past exam of the logic and set theory course of the University of Oxford 2007 A 4 ii Solution 2026-10-31
The compactness theorem says that a set of first-order sentences has a first-order model if and only if every finite subset of has a first-order model. One direction follows by using the same first-order model for each subset.
For the nontrivial direction suppose every finite subset has a first-order model, but has none. Semantically , so completeness gives a formal logical derivation . A formal logical derivation is finite and uses only finitely many assumptions, say . Thus . Soundness would make unsatisfiable, contradicting the hypothesis. Here can be any fixed contradictory first-order sentence, such as , if it is not a primitive logical symbol. Therefore finite satisfiability implies satisfiability.
Past exam of the logic and set theory course of the University of Oxford 2007 A 4 i Solution 2026-10-31
Soundness states that formal derivability implies semantic entailment:For first-order sentences this means that every first-order structure satisfying all assumptions also satisfies every first-order sentence formally derived from them. In the logical formula version one uses the usual restrictions on generalization from assumptions with free variables.
Strong completeness states the converse:Equivalently, every syntactically consistent set of first-order sentences has a first-order model. Equality is interpreted as actual identity, and its usual logical axioms and substitution rules are part of the standard calculus. Both assertions hold for arbitrary sets of assumptions, rather than only finite sets.
Past exam of the logic and set theory course of the University of Oxford 2008 A 2 e Solution 2026-10-31
Yes, for soundness and completeness of theoremhood. An axiom-only complete propositional calculus is obtained as follows. Declare every propositional tautology, and only such a tautology, to be an axiom; supply no inference rules. A formal proof then consists of a single axiom. Every proved logical formula is valid, giving soundness, and every valid logical formula is already an axiom, giving completeness.
This is not merely an unspecified collection: whether a finite propositional formula is a tautology is decidable by its finite truth table, so the axiom set can be recognized effectively. It is a deliberately uninformative Hilbert proof system, since all the work has been put into axiom recognition. If one instead asked for strong completeness of derivations from arbitrary additional assumptions, a system whose only formal proof lines are axioms or assumptions would not suffice; the affirmative construction here concerns versus .
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 a Solution 2026-10-31
For a standard classical propositional calculus, strong completeness statesTogether with soundness, this identifies semantic consequence with formal derivability. One proves the contrapositive by the maximal consistent set in propositional logic construction. If , the set is propositionally consistent, by the deduction theorem for propositional logic and classical propositional reasoning. Extend it to a maximal consistent set in propositional logic , deciding each logical formula in turn. At each stage at least one selection of or preserves propositional consistency; a contradiction in the union would use only finitely many assumptions and hence already occur at a stage.
Define a Boolean valuation by exactly when . Maximal consistency in propositional logic gives exactly when , and exactly when either or . Structural induction on logical formulas therefore proves the maximal consistent set truth lemma . Thus satisfies but falsifies , contradicting semantic entailment. The countable language here permits an enumeration of logical formulas; the corresponding general-language argument uses a well-ordering or a principle of maximality in a partially ordered set.
Again abbreviate provability by . The Gödel sentence equivalence gives . Internalizing this implication using the first two Hilbert-Bernays-Löb derivability conditions givesPositive introspection also gives . Internal modus ponens rule combines proofs of a sentence and its negation into a proof of a contradiction; a contradiction implies any sentence. ConsequentlyThese are syntactic manipulations of provability, not an appeal to soundness. If , taking the contrapositive of the last implication gives , and the diagonal equivalence gives . Part (a) rules that out for a consistent theory. Hence
Choose a fresh parameter . The universal quantifier elimination rule supplies both the implication and its premise at that same parameter:The eigenvariable condition holds because is absent from both undischarged assumptions at line 6. Hence the universally quantified implication is proved.
1 ∀x. (P(x) → Q(x)) premise
2 | ∀x. P(x) assumption
3 | P(a) ∀-elim 2
4 | P(a) → Q(a) ∀-elim 1
5 | Q(a) →-elim 4,3
6 | ∀x. Q(x) ∀-intro 5, a fresh
7 (∀x. P(x)) → (∀x. Q(x)) →-intro 2–6The proposed version with merely in the antecedent is not derivable. For a counterexample, take a two-element domain with and both true precisely at zero. The universal premise holds. Under the assignment , is true but is false. By soundness, a formal proof cannot exist. Attempting the previous derivation would fail exactly at universal quantifier introduction rule: the parameter would occur in the undischarged assumption , so it would not be fresh.
Soundness theorem for first-order logic Created 2026-09-24 Updated 2026-10-14
Soundness theorem for propositional logic Created 2026-09-24 Updated 2026-10-14