Skip to content
Topos Uranos

Summary

This lesson passes from the truth value of a formula to the relations between formulas. It defines semantic consequence from a set of premises, finite or infinite, and makes precise the readings of the sign of consequence, including that of its negation, which says that something is not valid and not that it is contradictory. It uses the values of the connectives written as polynomials, which turns the verification of a law into a calculation, and proves the structural properties of consequence (reflexivity, monotonicity, cut and transitivity), the semantic deduction theorem and the reduction of consequence to unsatisfiability, on which the resolution method will rest. It then defines semantic equivalence, proves that it is an equivalence relation that coincides with mutual consequence and with the validity of the biconditional, and proves by induction on complexity the two theorems that make it possible to work with it: the replacement of an occurrence of a subformula by an equivalent one and the uniform substitution of formulas for variables. With them it establishes the catalogue of laws with their correct names and simplifies formulas by chains of equivalences, without truth tables.

Learning objectives

  1. Decide whether a formula is a semantic consequence of a set of formulas, finite or infinite, by exhibiting a valuation that falsifies it or by proving that none exists.
  2. Prove and apply the properties of consequence, the semantic deduction theorem and the reduction of consequence to unsatisfiability.
  3. Establish semantic equivalences by truth tables, by calculation with the values and by chains of equivalences, naming each law correctly.
  4. Prove by induction on complexity the semantic replacement theorem and the uniform substitution theorem, and distinguish when each one applies.

What is used from the previous lesson

The lesson on the semantics of propositional logic gave meaning to formulas, and this lesson takes it as known. A valuation is a function v ⁣:V→{0,1}v\colon V \to \{0, 1\}, which assigns to each variable a truth value, 11 (true) or 00 (false). By the theorem of definition by recursion on formulas, from the lesson on induction, each valuation extends in a unique way to all formulas through the clause for joint denial, the only one needed, because the language has a single connective:

v((φ↓ψ))=1  ⇔  v(φ)=0,    v(ψ)=0v((\varphi \downarrow \psi)) = 1 \;\Leftrightarrow\; v(\varphi) = 0, \;\; v(\psi) = 0

By the uniqueness of the extension, one also writes v(φ)v(\varphi) for the value of the extension; the letter vv without a subscript always denotes a valuation (and v′v', ww, uu, others), whereas variables always carry their subscript. As in the lesson on formalization, pp, qq, rr, ss and tt name the variables v1v_1 to v5v_5, and V(φ)V(\varphi) is the set of the variables of φ\varphi. One says that vv satisfies φ\varphi, and writes v⊨φv \models \varphi, when v(φ)=1v(\varphi) = 1, and that it falsifies it, v⊭φv \not\models \varphi, when v(φ)=0v(\varphi) = 0. A formula is valid (or a tautology), and one writes ⊨φ\models \varphi, if every valuation satisfies it; satisfiable, if some valuation satisfies it; unsatisfiable (or a contradiction), if none satisfies it; contingent, if it is satisfiable without being valid. A valuation satisfies a set Γ\Gamma of formulas, v⊨Γv \models \Gamma, when it satisfies each of them, and Γ\Gamma is satisfiable if some valuation satisfies it and unsatisfiable otherwise. Finally, ⊤:=(v1→v1)\top := (v_1 \rightarrow v_1) and ⊥:=¬⊤\bot := \neg\top, so that v(⊤)=1v(\top) = 1 and v(⊥)=0v(\bot) = 0 for every valuation.

Two further results are used from that lesson. The first is the coincidence lemma: if two valuations agree on the variables of φ\varphi, they agree on φ\varphi; by it, the value of a formula with nn variables depends only on 2n2^{n} combinations, and its truth table is finite. The second is the theorem on the values of the defined connectives, which computes from the official abbreviations the value of each connective as a polynomial in the values of the components. If a=v(φ)a = v(\varphi) and b=v(ψ)b = v(\psi):

v(¬φ)=1−a,v((φ∨ψ))=a+b−ab,v((φ∧ψ))=abv(\neg\varphi) = 1 - a, \qquad v((\varphi \vee \psi)) = a + b - ab, \qquad v((\varphi \wedge \psi)) = ab
v((φ→ψ))=1−a(1−b),v((φ↔ψ))=ab+(1−a)(1−b),v((φ⊻ψ))=a+b−2abv((\varphi \rightarrow \psi)) = 1 - a(1 - b), \qquad v((\varphi \leftrightarrow \psi)) = ab + (1 - a)(1 - b), \qquad v((\varphi \veebar \psi)) = a + b - 2ab

The proofs in this lesson consist, almost all of them, in comparing truth values, and these polynomials make it possible to do so by a calculation instead of a run through cases. Their only additional rule is that 00 and 11 are the only numbers that coincide with their square: if xx is 00 or 11, then x2=xx^{2} = x and x(1−x)=0x(1 - x) = 0. It is also convenient to have at hand three other ways of writing the same values, which are obtained by expanding the products:

v((φ↓ψ))=(1−a)(1−b),v((φ∨ψ))=1−(1−a)(1−b),v((φ↔ψ))=1−a−b+2abv((\varphi \downarrow \psi)) = (1 - a)(1 - b), \qquad v((\varphi \vee \psi)) = 1 - (1 - a)(1 - b), \qquad v((\varphi \leftrightarrow \psi)) = 1 - a - b + 2ab

The first is the clause for joint denial (the product of 1−a1 - a and 1−b1 - b is 11 exactly when a=b=0a = b = 0); the second says that the disjunction is 00 only if both components are 00; the third, that the biconditional is 11 if a=ba = b (because 1−2a+2a2=11 - 2a + 2a^{2} = 1) and 00 if a≠ba \neq b (because then a+b=1a + b = 1 and ab=0ab = 0).