1 Logic

1.12 Negation

This section is about some examples of producing useful logical equivalents for negations of quantified formulas. We’re going to use real-life examples from bits of mathematics you may not have met yet, but this won’t be a problem as our negation procedure doesn’t require understanding anything about the meaning of the formulas!

Example 1.12.1.

means the set of all real numbers. The statement “every value the function f: takes is less than 10.” can be written

xf(x)<10.

This is an interpretation of a formula

xP(x).

Let’s negate it, using the negation of quantifiers lemma, Lemma 1.11.2:

¬xP(x)x¬P(x)

Passing back to our interpretation, this says x¬(f(x)<10) which is the same as xf(x)10.

Example 1.12.2.

Consider the statement “the function f: is bounded”, which we could write as

Mx|f(x)|M.

This is an interpretation of a formula

MxP(x,M).

Let’s negate it.

¬MxP(x,M) M¬xP(x,M)
Mx¬P(x,M)

so “the function f is not bounded” is Mx¬(|f(x)|M), or equivalently, Mx|f(x)|>M.

Example 1.12.3.

Goldbach’s conjecture is that every integer larger than 2 is either odd or is a sum of two prime numbers. We could write this as

nOdd(n)pqPrime(p)Prime(q)(p+q=n)

This is an interpretation of a formula

nO(n)pqP(p)P(q)R(p,q,n).

Let’s negate it.

¬(nO(n)pqP(p)P(q)R(p,q,n))
n¬(O(n)pqP(p)P(q)R(p,q,n))
n¬O(n)(¬pqP(p)P(q)R(p,q,n))
n¬O(n)(p¬qP(p)P(q)R(p,q,n))
n¬O(n)(pq¬(P(p)P(q)R(p,q,n)))
n(¬O(n))(pq¬P(p)¬P(q)¬R(p,q,n))