Simulate
Check the claim with numbers
The negation of a statement is a statement that is true exactly when is false. Take : "the fund beats the index every year". Three sentences sound like its opposite, but at most one can be its negation.
The cell uses ten years of made-up annual returns, in percent, and tests and the three candidates. The fund beats the index in a year when its return is higher.
The fund wins 8 of the 10 years, so is false. Candidate A is true, but B and C are false, like . A negation must have the opposite truth value, so neither B nor C is one.
One record cannot settle A. The next cell tries 10,000 random three-year records, each year a win with probability 0.7.
Candidate A has the opposite truth value to in all 10,000 records. Candidate B manages only 3,656.
Conjecture
Let be a set and a sentence about each element of . Then
So the negation of "the fund beats the index every year" is "in some year, the fund does not beat the index".
Ten thousand records agree, but the claim is about every set and every sentence, which no simulation can cover. The proof below does.
The rules for negating
In words: "not every element passes" means "some element fails". Here is "not", "and", "or" (lesson PG1.1), and "implies" (lesson PG1.2). Each rule below pushes a "not" one step inwards, until it sits on the simplest pieces.
Rule: Negation rules
A "for every" becomes a "there exists" and the other way round. "And" and "or" swap, as in De Morgan's laws. The negation of an implication is not an implication: it says the hypothesis holds and the conclusion fails.
Lesson PG1.1 proved the two De Morgan laws. The first rule is proved below, and the second in Write it.
For the last rule, lesson PG1.2 showed that is false exactly when is true and is false. So is true exactly when is.
Negating a comparison follows the same idea. The negation of is , not : a tie is not a win, so "does not beat" includes a tie.
Format 1
Reorder the steps
Here is a proof of the first rule, with its lines shuffled. Put them in order. The name (read 'x nought') stands for one particular element of .
- Suppose is true, so it is not the case that every element of satisfies .
- Each statement is true exactly when the other is, so they are equivalent.
- Now suppose some has true, so is false.
- Then is a counterexample, so is false, and its negation is true.
- That has true, so is true.
- Let be a set and a sentence about each . We show that the two statements are true in exactly the same cases.
- Then at least one element fails: there is some with false.
Simulate
Check a negation with an implication
A harder statement mixes a quantifier and an implication: "every year in which the market rose, the fund beat the index". The market rose in a year when the index return was positive. Here are four years in which the statement holds, and two attempts at its negation.
The statement is true and the first attempt is false, as a negation must be. The second attempt is true as well, so it is not the negation. In the falling year, the second in the list, its "if … then" holds whatever the fund did.
Format 3
Find the error
This negates 'every year in which the market rose, the fund beat the index' step by step. One step breaks a rule. Select it, then say what is wrong.
Simulate
A claim of your own to prove
The second negation rule turns "no element passes" into "every element fails". The cell tests it on 10,000 random lists of four whole numbers from to , with the sentence "".
The two sides agree in all 10,000 lists.
Conjecture
For any set and sentence ,
Agreement in 10,000 lists is evidence. Prove it for every set and every sentence, then use the rules on a sentence about the fund.
Format 4
Write it
First prove the rule above: show that each side is true exactly when the other is. Then use the rules to negate 'in some year, the fund beat the index in every month', and say what the negation means.
Saved in this browser as you type.
Write your own first: a proof you have tried to write teaches far more than one you only read.
Summary card
- The negation of is true exactly when is false. "It never happens" and "the opposite always happens" are usually not negations.
- and : a "not" swaps each quantifier it passes.
- . The negation of an implication is not an implication.
- The negation of "the fund beats the index every year" is "in some year, the fund does not beat the index".
- The negation of is .