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.
Balanced parentheses in propositional syntax 2026-10-25
Every propositional formula generated by a parenthesized grammar has equally many opening and closing parentheses. By structural induction, atomic formulas begin with equal zero counts; negation preserves them; and a parenthesized binary logical connective adds its two subformula counts and one parenthesis of each kind. An optional paired-parenthesis construction also adds one to both counts. This necessary syntactic invariant is useful for checking generated expressions, though equal counts alone do not guarantee correctly nested syntax.
Capture-safe equality replacement 2026-10-31
Equal variables can replace selected free occurrences in a first-order formula if the inserted variable is not captured. Starting with atomic equality replacement, derive symmetry, then prove both replacement directions together by structural induction. Negation uses the reverse induction implication; implication uses both directions; a universal quantifier is handled by instantiation, replacement and generalization with a variable fresh for the equality assumptions. Bound occurrences are not replaced as free ones.
Complete one-type 2026-10-31
A complete one-type is a complete type in one free variable. It chooses exactly one of each first-order formula and its negation consistently with the first-order theory and the named parameters.
Endpoint-false disjunctive normal form 2026-10-31
A propositional formula false on the all-true and all-false Boolean valuations has a disjunctive normal form in which every minterm contains a positive literal and a negative literal. Grouping the positive propositional variables into and the negated propositional variables into the negation of a logical disjunction writes each minterm as . De Morgan's laws therefore give the negation of a logical conjunction of such logical implications. For a contradiction use .
Fixed point of boxed negated provability 2026-10-31
A formula provably equivalent to a boxed formula satisfies in GL. The displayed fixed point then gives both and under , hence . Boxed explosion proves the reverse implication. Under arithmetic realization this is a formal inconsistency statement; Sigma-1 soundness excludes its provability, while second incompleteness excludes provability of its negation.
Formation rule Created 2026-10-31 Updated 2026-11-05
A formation rule specifies how well-formed expressions can be constructed from simpler expressions in a formal language. The formal grammar of propositional formulas has rules for propositional variables, negation and binary logical implication.
Functional completeness 2026-10-31
A set of Boolean functions is functionally complete if function composition using those operations can express every positive-arity Boolean function. The NAND gate alone suffices: tie its inputs to obtain negation, negate its output to obtain logical conjunction, and apply De Morgan's laws to obtain logical disjunction; then use disjunctive normal form.
Maximal consistency in propositional logic 2026-10-31
A propositionally consistent theory is maximally consistent when every proper extension by a new propositional formula is inconsistent. It decides each propositional formula or its negation.
Maximal consistency of a first-order theory 2026-10-31
A first-order consistent theory is maximally consistent when it has no proper consistent extension in its fixed language. It decides each first-order sentence or its negation.
A consistent set of first-order sentences is maximal when adding any new sentence makes it inconsistent. It is then deductively closed and decides every sentence by containing exactly one of it and its negation. Conversely a consistent deductively closed set that decides every sentence is maximal. Merely listing a finite axiom set for a complete theory does not make that raw list maximal: maximality applies to the deductive closure.
Negation elimination rule 2026-10-25
From a propositional formula and its negation, infer logical falsity. This identifies a contradiction inside a natural deduction derivation; a later negation introduction rule may discharge the assumption that led to it.
Negation introduction rule Created 2026-10-25 Updated 2026-10-31
If a natural deduction subproof derives logical falsity from a temporary assumption , discharge that assumption to conclude . Other undischarged assumptions remain available. This gives a constructive proof of a negation and does not require double-negation elimination.
Negation normal form 2026-10-24
A propositional formula or first-order formula is in negation normal form when its negations occur only directly before atomic formulas, and its other logical connectives are conjunction and disjunction, together with quantifiers in the first-order case. Remove implications using , then push negations inward using De Morgan's laws, double-negation cancellation, andIn particular, negating an implication gives , so its antecedent retains its original sign after the outer negation has been pushed through.
Negation with one binary connective 2026-10-31
Among sixteen binary Boolean truth functions, eight become functionally complete together with negation. The eight affine functions cannot express conjunction because composition preserves affinity. Each of the other eight truth tables has exactly one or three true rows. Negating the output if needed and selected inputs transforms its unique true row to the conjunction table. Thus conjunction and negation become definable and disjunctive normal form expresses every Boolean function.
N-variable Lindenbaum algebra 2026-10-31
Take formulas whose free variables lie among a fixed -tuple and identify them when their universal equivalence follows from . Conjunction, disjunction and negation induce a Boolean algebra; its order is implication modulo . Complete types correspond to ultrafilters and isolated complete types to atoms. For a complete theory in a countable language, finiteness of these algebras for every finite characterizes countable categoricity.
One-consistency 2026-10-31
An arithmetic theory is one-consistent if it does not prove while proving every , for a bounded arithmetic formula and all standard natural numbers . If the theory proves all true bounded sentences, this is equivalent to Sigma-1 soundness: a false existential theorem has every standard instance refuted by bounded completeness; conversely a true witness and its provable negation contradict the assumption of a consistent first-order theory.
Past exam of the logic and set theory course of the University of Oxford 2007 A 1 ii Solution 2026-10-31
Two propositional formulas are logically equivalent if every Boolean valuation gives them the same truth value. A disjunctive normal form is a logical disjunction of logical conjunctions of literals, with a literal being a propositional variable or its negation.
Let include all propositional variables appearing in . For each Boolean valuation , putThe minterm is true exactly for Boolean valuations whose restrictions to these propositional variables are . ConsequentlyIndeed, an Boolean valuation making true makes its own minterm true, while a true minterm in the displayed logical disjunction certifies the truth of . There are only finitely many Boolean valuations, so this is a finite disjunctive normal form. If there are no satisfying Boolean valuations, use for any propositional variable ; this is a disjunctive normal form for falsity without needing an empty logical disjunction convention.
Past exam of the logic and set theory course of the University of Oxford 2007 A 2 i Solution 2026-10-31
A logical derivation from is a finite sequence of propositional formulas, each either a member of , an instance of one of the three axioms, or obtained from earlier lines by one of the two displayed inference rules. The notation means that some such logical derivation ends in . Writing means derivability with no assumptions.
Propositional consistency means that there is no propositional formula for which both and . Equivalently not every propositional formula is derivable. To check the equivalence directly for this calculus, use the identity theorem proved in (ii): from and L3 obtain ; two uses of modus ponens rule give arbitrary . Thus a contradictory theory proves everything. Conversely a theory proving everything proves a propositional formula and its negation.
Past exam of the logic and set theory course of the University of Oxford 2008 A 1 a Solution 2026-10-31
Start with the propositional variables as atomic symbols and close under the two formation operationsThe set of propositional formulas is the smallest set satisfying these conditions: every logical formula has a finite construction from logical variables by negation and logical implication, and no other strings qualify. In particular, parentheses belong to the binary logical implication formation rule; they cannot be added or removed arbitrarily. Each symbol is one token, regardless of how its index is printed.