Simulate
Check the claim with numbers
Lesson 5.1.1 turned "or", "and" and "not" into union, intersection and complement. "Not ( or )" sounds like "not and not ". In symbols: is always ?
A small sample space can be checked completely. Take . It has 16 subsets, so 256 pairs , and the cell tries every pair.
Both laws hold for all 256 pairs: the complement of a union is the intersection of the complements, and the other way round. The last line tries a careless version, with on both sides. It fails for 240 of the 256 pairs.
Conjecture
De Morgan's laws. For any events and in a sample space ,
Every pair of subsets of one four-element set. A proof must cover every sample space, including infinite ones, where no computer can try every pair.
How to prove two sets are equal
, read " is a subset of ", means every element of is in . Two sets are equal when they have the same elements, which is the same as each being a subset of the other.
Rule: Proving two sets equal
To prove , take any element of , using nothing but , and show that . Then do the same the other way round.
This is called double inclusion. Each half is a short chain of "so", one membership at a time. Remember that means and .
Format 1
Reorder the steps
Here is the proof of the first law, with its lines shuffled. Put them in order with the arrows, or drag a line by its handle.
- So and , that is, . This proves .
- An element of is in or in , so , and . This proves .
- An element of or of would be in , so and .
- First, take any . Then and .
- Next, take any . Then , and .
- Each set is a subset of the other, so .
The second law has the same shape, with "or" and "and" trading places. Lesson PG6.5 asks for a proof of the same shape.
Simulate
The probability rules
Lesson 5.1.1 stated two rules and said the Proof Gym proves them from the axioms: , and . The proof splits a set into pieces that do not overlap.
Write , read " minus ", for the outcomes of that are not in . The cell takes the loaded die of lesson 5.1.1 and tries all pairs of events, with exact fractions.
The second line confirms that and never overlap and together make . The third does the same for and , which make . The last line confirms the addition rule exactly, for all 4,096 pairs.
Conjecture
For any probability and any events and ,
and if , then .
One probability on one die. The proof uses only the three axioms, so it works for every probability.
Format 2
Fill the gap
The proof from the axioms of lesson 5.1.1, with its key steps left out. Write , and , and type each answer in those letters, such as a-2c, then check.
Not. and are disjoint and together make , so axioms 3 and 2 give . So .
Split . An outcome of that is in is in , and one that is not is in . No outcome is in both, so is the union of the disjoint events and .
By axiom 3, , so .
Split . An outcome of is either in , or in but not in , and never both. So is the union of the disjoint events and , and by axiom 3, .
Order. If , then , so and . By axiom 1, that is at least , so .
How to type answers
- Powers with
^, brackets round a power that is a sum:r^k,r^(k+1). - Fractions with
/and brackets:(1-r)/(1+r). Multiply with*or side by side:2k+1. - Press Enter in any box to check them all.
Simulate
Can you cancel a set?
With numbers, means . Is the same true for sets: does force ? The cell tries all 512 triples of subsets of .
Of the 512 triples, 152 have but . The first is , , : both intersections are empty. When the unions agree as well, no triple has .
Conjecture
If and , then .
All 512 triples on a three-element set. One condition alone fails, so a proof must use both.
Format 3
Find the error
A proof of the conjecture with one faulty line. Notice which condition it never uses. Select the faulty line.
Summary card
- means every element of is in . Prove by double inclusion: and .
- De Morgan's laws: and .
- From the axioms: , , and gives . Each proof splits a set into disjoint pieces.
- Sets cannot be cancelled: alone does not give . With as well, it does.