Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Comp 20110 Discrete Mathematics for Computer

Science

Theorem Sheet
0 ≡ associative* [(X ≡ (Y ≡ Z)) ≡ ((X ≡ Y) ≡ Z)]
1 ≡ symmetric* [X ≡ Y ≡ Y ≡ X ]
2 ≡ identity* [X ≡ true ≡ X ]
3 ≡ reflexive [X ≡ X ]
4 true [true]

5 ∨ symmetric* [X ∨ Y ≡ Y ∨ X ]
6 ∨ associative* [X ∨ (Y ∨ Z) ≡ (X ∨ Y) ∨ Z ]
7 ∨ idempotent* [X ∨ X ≡ X ]
8 ∨/≡* [X ∨ (Y ≡ Z) ≡ X ∨ Y ≡ X ∨ Z ]
9 ∨/∨ [X ∨ (Y ∨ Z) ≡ (X ∨ Y) ∨ (X ∨ Z)]
10 ∨ zero [X ∨ true ≡ true]

11 Golden Rule* [X ∧ Y ≡ X ≡ Y ≡ X ∨ Y ]
12 ∧ symmetric [X ∧ Y ≡ Y ∧ X ]
13 ∧ associative [X ∧ (Y ∧ Z) ≡ (X ∧ Y) ∧ Z ]
14 ∧ idempotent [X ∧ X ≡ X ]
15 ∧ identity [X ∧ true ≡ X ]
16 absorption.0 [X ∧ (X ∨ Y) ≡ X ]
17 absorption.1 [X ∨ (X ∧ Y) ≡ X ]
18 ∨/∧ [X ∨ (Y ∧ Z) ≡ (X ∨ Y) ∧ (X ∨ Z)]
19 ∧/∨ [X ∧ (Y ∨ Z) ≡ (X ∧ Y) ∨ (X ∧ Z)]
20 ∧ over ≡ [X ∧ (Y ≡ Z) ≡ X ∧ Y ≡ X ∧ Z ≡ X ]
21 ∧/≡≡ [X ∧ (Y ≡ Z ≡ W) ≡ X ∧ Y ≡ X ∧ Z ≡ X ∧ W ]
22 strong MP [X ∧ (X ≡ Y) ≡ X ∧ Y ]
23 replacement [(X ≡ Y) ∧ (W ≡ X) ≡ (X ≡ Y) ∧ (W ≡ Y)]

24 ⇒ definition* [X ⇒ Y ≡ X ∨ Y ≡ Y ]
25 ⇒ reflexive [X ⇒ X ]
26 ⇒ true [X ⇒ true]
27 ⇒∨ [X ⇒ X ∨ Y ]
28 ∧⇒ [X ∧ Y ⇒ X ]
29 shunting [X ∧ Y ⇒ Z ≡ X ⇒ (Y ⇒ Z)]
30 ⇒ to ∧≡ [X ⇒ Y ≡ X ∧ Y ≡ X ]
31 ⇒ over ≡ [X ⇒ (Y ≡ Z) ≡ X ∧ Y ≡ X ∧ Z ]

32 ⇐ definition* [X ⇐ Y ≡ X ∧ Y ≡ Y ]
33 ⇐⇒ [X ⇐ Y ≡ Y ⇒ X ]

34 false definition* [false ≡ ¬true]


35 ¬ over ≡* [¬(X ≡ Y) ≡ ¬X ≡ Y ]
36 ¬ neg-identity [¬X ≡ X ≡ false]
37 ¬ flip [¬X ≡ Y ≡ X ≡ ¬Y ]
38 ¬¬ [¬¬X ≡ X ]
39 excluded middle* [X ∨ ¬X ]
40 ¬∨≡ [¬X ∨ Y ≡ X ∨ Y ≡ Y ]
41 ∨ identity [X ∨ false ≡ X ]
42 ∧ zero [X ∧ false ≡ false]
43 deMorgan.0 [¬X ∨ ¬Y ≡ ¬(X ∧ Y)]
44 ¬∧≡ [¬X ∧ Y ≡ X ∧ Y ≡ ¬Y ]
45 deMorgan.1 [¬X ∧ ¬Y ≡ ¬(X ∨ Y)]
46 complement.0 [X ∨ (¬X ∧ Y) ≡ X ∨ Y ]
47 complement.1 [X ∧ (¬X ∨ Y) ≡ X ∧ Y ]
48 ≡ to ∧∨ [X ≡ Y ≡ (X ∧ Y) ∨ (¬X ∧ ¬Y)]
49 contradiction [X ∧ ¬X ≡ false]
50 ⇒ to ¬∨ [X ⇒ Y ≡ ¬X ∨ Y ]
51 contra-positive [X ⇒ Y ≡ ¬Y ⇒ ¬X ]
52 false ⇒ [false ⇒ X ]
53 reductio ad absurdum [X ⇒ false ≡ ¬X ]
54 ¬false [¬false ≡ true]
55 MP [X ∧ (X ⇒ Y) ⇒ Y ]
56 mutual ⇒ [(X ⇒ Y) ∧ (Y ⇒ X) ≡ X ≡ Y ]
57 ∨ max [(X ⇒ Z) ∧ (Y ⇒ Z) ≡ X ∨ Y ⇒ Z ]
58 ∧ min [(X ⇒ Y) ∧ (X ⇒ Z) ≡ X ⇒ Y ∧ Z ]

59 ≡⁄ definition* [(X ≡⁄ Y) ≡ ¬(X ≡ Y)]


60 ≡⁄ associative [((X ≡⁄ Y) ≡⁄ Z) ≡ (X ≡⁄ (Y ≡⁄ Z))]
61 ≡⁄ and ≡ associate [((X ≡⁄ Y) ≡ Z) ≡ (X ≡⁄ (Y ≡ Z))]
62 ≡⁄ and ≡ swap [X ≡ Y ≡⁄ Z ≡ X ≡⁄ Y ≡ Z ]
63 ≡⁄ symmetric [X ≡⁄ Y ≡ Y ≡⁄ X ]
64 ≡⁄ identity [X ≡⁄ false ≡ X ]
65 ∧/≡⁄ [X ∧ (Y ≡⁄ Z) ≡ X ∧ Y ≡⁄ X ∧ Z ]

66 ⇒ transitive [(X ⇒ Y) ∧ (Y ⇒ Z) ⇒ (X ⇒ Z)]


67 ∨ monotonic [(X ⇒ Y) ⇒ (X ∨ Z ⇒ Y ∨ Z)]
68 ∧ monotonic [(X ⇒ Y) ⇒ (X ∧ Z ⇒ Y ∧ Z)]
69 ⇒ anti-monotonic in antecedent [(X ⇒ Y) ⇒ ((X ⇒ Z) ⇐ (Y ⇒ Z))]
70 ≡ transitive [(X ≡ Y) ∧ (Y ≡ Z) ⇒ (X ≡ Z)]

100 trading* [〈∀i: r.i: f.i〉 ≡ 〈∀i:: ¬r.i ∨ f.i〉]


101 ∨/∀* [X ∨ 〈∀i: r.i: f.i〉 ≡ 〈∀i: r.i: X ∨ f.i〉]
102 ∀/∧* [〈∀i: r.i: f.i〉 ∧ 〈∀i: r.i: g.i〉 ≡ 〈∀i: r.i: f.i ∧ g.i〉]
103 range split [〈∀i: r.i: f.i〉 ∧ 〈∀i: s.i: f.i〉 ≡ 〈∀i: r.i ∨ s.i: f.i〉]
104 false range [〈∀i: false: f.i〉 ≡ true]
105 1-point* [〈∀i: i = j : f.i〉 ≡ f.j ]
106 instantiation [〈∀i:: f.i〉 ⇒ f.j ]

107 ∃ definition* [〈∃i: r.i: f.i〉 ≡ ¬〈∀i: r.i: ¬f.i〉]


108 trading [〈∃i: r.i: f.i〉 ≡ 〈∃i:: r.i ∧ f.i〉]
109 ∧/∃ [X ∧ 〈∃i: r.i: f.i〉 ≡ 〈∃i: r.i: X ∧ f.i〉]
110 ∃/∨ [〈∃i: r.i: f.i〉 ∨ 〈∃i: r.i: g.i〉 ≡ 〈∃i: r.i: f.i ∨ g.i〉]
111 range split [〈∃i: r.i: f.i〉 ∨ 〈∃i: s.i: f.i〉 ≡ 〈∃i: r.i ∨ s.i: f.i〉]
122 false range [〈∃i: false: f.i〉 ≡ false]
123 1-point [〈∃i: i = j : f.i〉 ≡ f.j ]
124 witness [〈∃i: r.i: f.i〉 ⇐ f.j ]
Floor/Ceiling calculus.

⎣ ⎦ : R → Z Which satisfies for any x, y : R, n : Z


* (0) n ≤ ⎣ x ⎦ ≡ n ≤ x

- (1) ⎣ x ⎦ ≤ x
- (2) n ≤ ⎣ n ⎦
- (3) ⎣ n ⎦ ≤ n
- (4) n = ⎣ n ⎦
- (5) ⎣ x ⎦ < n ≡ x < n
- (6) x < ⎣ x ⎦ + 1
- (7) ⎣ x ⎦ ≤ x ∧ x < ⎣ x ⎦ + 1
- (8) ⎣ x ⎦ ≤ ⎣ y ⎦ ⇐ x ≤ y
- (9) ⎣ x ⎦ = n ≡ n ≤ x ∧ x < n + 1
- (10) ⎣ x ⎦ = n ≡ x – 1 < n ∧ n ≤ x
- (11) ⎣ x + n ⎦ = ⎣ x ⎦ + n

⎡ ⎤ : R → Z Which satisfies for any x, y : R, n : Z


* (12) ⎡ x ⎤ ≤ n ≡ x ≤ n

- (13) x ≤ ⎡ x ⎤
- (14) ⎡ n ⎤ ≤ n
- (15) n ≤ ⎡ n ⎤
- (16) n = ⎡ n ⎤
- (17) n < ⎡ x ⎤ ≡ n < x
- (18) ⎡ x ⎤ - 1 < x
- (19) ⎡ x ⎤ - 1 < x ∧ x ≤ ⎡ x ⎤
- (20) ⎡ x ⎤ ≤ ⎡ y ⎤ ⇐ x ≤ y
- (21) ⎡ x ⎤ = n ≡ n -1 < x ∧ x ≤ n
- (22) ⎡ x ⎤ = n ≡ x ≤ n ∧ n < x + 1
- (23) ⎡ x + n⎤ = ⎡ x ⎤ + n
Lattice Theory

* (0) 〈∀ x : : x ⊑ x 〉
- (1) 〈∀ x,y : : x ⊑ y ∧ y ⊑ x ⇐ x = y 〉
* (2) 〈∀ x,y : : x ⊑ y ∧ y ⊑ x ⇒ x = y 〉
- (3) 〈∀ x,y : : x ⊑ y ∧ y ⊑ x ≡ x = y 〉
- (4) 〈∀ z : : z ⊑ x ⇒ z ⊑ y 〉 ⇒ x ⊑ y
- (5) 〈∀ z : : y ⊑ z ⇒ x ⊑ z 〉 ⇒ x ⊑ y
- (6) 〈∀ z : : z ⊑ x ≡ z ⊑ y 〉 ⇒ x = y
- (7) 〈∀ z : : x ⊑ z ≡ y ⊑ z 〉 ⇒ x = y
- (8) 〈∀ z : : w ⊑ z ≡ x ⊑ z ∧ y ⊑ z 〉
- (9) 〈∀ x,y : : 〈∃ w : : 〈∀ z : : w ⊑ z ≡ x ⊑ z ∧ y ⊑ z 〉〉〉
We introduce this unique w as a function of x, y writing it as ↑ , pronounced “up”.
* (10) x ↑ y ⊑ z ≡ x ⊑ z ∧ y ⊑ z
- (11) x ↑ x
- (12) x ↑ y = y ↑ x
- (13) (x ↑ y) ↑ z = x ↑ ( y ↑ z )
- (14) x ⊑ x ↑ y ∧ y ⊑ x ↑ y
- (15) x ↑ y ⊑ y ≡ x ⊑ y
- (16) x ↑ y = y ≡ x ⊑ y
- (17) x ⊑ y ∧ y ⊑ z ⇒ x ⊑ z
- (18) x ↑ ( y ↑ z ) = (x ↑ y) ↑ ( x ↑ z )
- (19) 〈∀ z : : z ⊑ w ≡ z ⊑ x ∧ z ⊑ y 〉
- (20) 〈∀ x,y : : 〈∃ w : : 〈∀ z : : z ⊑ w ≡ z ⊑ x ∧ z ⊑ y 〉〉〉
We introduce this unique w as a function of x, y writing it as ↓ , pronounced “down”.
* (21) z ⊑ x ↓ y ≡ z ⊑ x ∧ z ⊑ y
- (22) x ↓ x = x
- (23) x ↓ y = y ↓ x
- (24) x ↓ (y ↓ z) = (x ↓ y) ↓ z)
- (25) x ↓ y ⊑ x ∧ x ↓ y ⊑ y
- (26) x ⊑ x ↓ y ≡ x ⊑ y
- (27) x = x ↓ y ≡ x ⊑ y
- (28) x ↓ ( y ↓ z ) = (x ↓ y) ↓ ( x ↓ z )
- (29) x = x ↓ ( x ↑ y )
- (30) x = x ↑ ( x ↓ y )
Max/Min calculus.
In the Max/Min calculus, ↑ is interpreted as the Max operator and ↓ is the Min
operator.
The domain over which these are defined are numbers and we have some additional
postulates and theorems.
* (31) z ≤ x ↓ y ≡ z ≤ x ∧ z ≤ y
- (32) x ↓ y < z ≡ x < z ∨ y < z
* (33) x ↑ y ≤ z ≡ x ≤ z ∧ y ≤ z
- (34) z < x ↑ y ≡ z < x ∨ z < y
- (35) n + (x ↑ y) = (n + x) ↑ (n + y)
- (36) n + (x ↓ y) = (n + x) ↓ (n + y)
- (37) 0 < n ⇒ n * (x ↑ y) = (n * x) ↑ (n * y)
- (38) n < 0 ⇒ n * (x ↑ y) = (n * x) ↓ (n * y)
- (39) 0 < n ⇒ n * (x ↓ y) = (n * x) ↓ (n * y)
- (40) n < 0 ⇒ n * (x ↓ y) = (n * x) ↑ (n * y)
- (41) (x ↑ y) ↓ ( x ↓ y ) = x ↓ y
- (42) (x ↑ y) ↑ ( x ↓ y ) = x ↑ y
- (43) x ↓ ( y ↑ z ) = (x ↓ y) ↑ ( x ↓ z )
- (44) x ↑ ( y ↓ z ) = (x ↑ y) ↓ ( x ↑ z )

You might also like