1 Logic

1.11 First order equivalences

Definition 1.11.1.

Two first order formulas F1 and F2 are called logically equivalent if and only if, in every interpretation, F1 and F2 have the same truth value. We write F1F2 if F1 and F2 are logically equivalent.

Just as when we studied propositional calculus, there are distinct formulas of first order logic which are true in exactly the same interpretations, which is the idea the definition above captures. Logical equivalence has the same use as before: if you want to prove some statement is true, you can instead prove some logically equivalent statement, and this may be easier if the logically equivalent statement is somehow simpler or clearer.

1.11.1 Example of logically equivalent statements

Here’s a simple example and a non-example of logically equivalent statements.

Lemma 1.11.1.
  1. 1.

    xyP(x,y)yxP(x,y)

  2. 2.

    xyP(x,y)yxP(x,y)

Proof.
  1. 1.

    xyP(x,y) is true in an interpretation if and only if all of the interpreted statements P(a,b) for a,b in the domain are true. This is exactly the same collection of statements required to be true for yxP(x,y) to be true in that interpretation. So the two statements are logically equivalent.

  2. 2.

    Consider the interpretation with domain the real numbers and with P(x,y) interpreted as xy. The interpretation xyxy is true, since whatever real number x is, y=x is another real number and xy. On the other hand the interpretation yxxy is false, because there is no real number y which is greater than or equal to every real number x. ∎

1.11.2 Logical equivalents for negated quantifiers

Let’s look at two more interesting equivalences. It’s often useful to ask, about a mathematical statements, “what would it mean for this statement not to be true?” e.g.

  • what does it mean for a function not to be continuous?

  • what does it mean for a function not to have a limit as x0?

Continuity and limits are expressed using quantifiers, so to analyse this logically we need to be able to negate formulas of first order logic. Obviously you can just put a ¬ in front of them to negate them, but a helpful solution will provide a logical equivalence that might actually be useful in understanding the negation of these statements.

Lemma 1.11.2.
  1. 1.

    ¬xP(x)x¬P(x)

  2. 2.

    ¬xP(x)x¬P(x)

Proof.
  1. 1.

    xP(x) is true in an interpretation if and only if every statement P(a) for a in the domain of the interpretation is true. So the formula is false in the interpretation if not all of the statements P(a) is true, that is, for at least one a in the domain P(a) is false. That’s precisely what is required for x¬P(x) to be true in the interpretation.

  2. 2.

    xP(x) is true in an interpretation if and only if there is some a in the domain of the interpretation such that P(a) is true. So ¬xP(x) is true in this interpretation if and only if there is no aA such that P(a) is true, that is, for all aA, ¬P(a) is true. This is exactly the requirement for x¬P(x) to be true in this interpretation. Therefore in any interpretation ¬xP(x) is true if and only if x¬P(x) is true, and the two statements are logically equivalent. ∎

You can use the lemma in this section together with what we already know about negating logical expressions to negate any quantified statement.