Exam Prep
About 409 wordsAbout 5 min
2025-08-07
Note
This section is summarized based on the notes given by Han Si Yi
Logical Equivalences
| Name | Formula |
|---|---|
| De Morgan's Laws | ¬(P∨Q)≡¬P∧¬Q |
| De Morgan's Laws | ¬(P∧Q)≡¬P∨¬Q |
| Implication | P→Q≡¬P∨Q |
| Biconditional | P↔Q≡(P→Q)∧(P←Q) |
| Biconditional Alternative | P↔Q≡(¬P∨Q)∧(P∨¬Q) |
CNF (Conjunctive Normal Form) Patterns
At Least K True
| Condition | Formula |
|---|---|
| At least one from {a,b} | a∨b |
| At least one from {a,b,c} | a∨b∨c |
| At least one from {a,b,c,d} | a∨b∨c∨d |
| At least two from {a,b} | a∧b |
| At least two from {a,b,c} | (a∨b)∧(a∨c)∧(b∨c) |
| At least two from {a,b,c,d} | (a∨b∨c)∧(a∨b∨d)∧(a∨c∨d)∧(b∨c∨d) |
| At least three from {a,b,c} | a∧b∧c |
| At least three from {a,b,c,d} | (a∨b)∧(a∨c)∧(a∨d)∧(b∨c)∧(b∨d)∧(c∨d) |
At Most K True
| Condition | Formula |
|---|---|
| At most one from {a,b} | ¬a∨¬b |
| At most one from {a,b,c} | (¬a∨¬b)∧(¬a∨¬c)∧(¬b∨¬c) |
| At most one from {a,b,c,d} | (¬a∨¬b)∧(¬a∨¬c)∧(¬a∨¬d)∧(¬b∨¬c)∧(¬b∨¬d)∧(¬c∨¬d) |
| At most two from {a,b,c} | ¬a∨¬b∨¬c |
| At most two from {a,b,c,d} | (¬a∨¬b∨¬c)∧(¬a∨¬b∨¬d)∧(¬a∨¬c∨¬d)∧(¬b∨¬c∨¬d) |
| At most three from {a,b,c,d} | ¬a∨¬b∨¬c∨¬d |
Changelog
8/8/25, 3:18 AM
View All Changelog
e7e2b-docs: create exam.md for tocon
Copyright
Copyright Ownership:WARREN Y.F. LONG
License under:Attribution-NonCommercial-NoDerivatives 4.0 International (CC-BY-NC-ND-4.0)