TCX1004 | Mathematical Techniques Cheatsheet

Quick reference for NUS TCX1004: Logic & Proofs, Set Theory, Relations, Induction

for the full unit-by-unit notes, see my TCX1004 notebook.


Unit 1: Logic & Proofs

The 15 Rules of Deduction

#RulePatternJustification Format
1Definition unpackingExpand/contract a definition[Unpacking definition of even(x)]
2Logical equivalence$\lnot(p \lor q) \equiv \lnot p \land \lnot q$[Logically equivalent to line N]
3Basic algebra$x + 5 = 12 \to x = 7$[By basic algebra from line N]
4Specialisation$p \land q \to p$[By specialisation on line N]
5Conjunction$p, , q \to p \land q$[By conjunction on lines N and M]
6Generalisation$p \to p \lor q$[By generalisation on line N]
7Proof by cases$p \lor q$, each case $\to r$[Proof by cases on lines N, M.x, O.x]
8Modus ponens$p \to q, , p \implies q$[By modus ponens on lines N and M]
9Modus tollens$p \to q, , \lnot q \implies \lnot p$[By modus tollens on lines N and M]
10Implication introductionAssume $p$, derive $q \implies p \to q$[Implication introduction on lines N and N.x]
11Double negation$\lnot(\lnot p) \equiv p$[Double negation on line N]
12aExistential generalisation$c \in A, , P(c) \implies \exists x \in A , [P(x)]$[Existential generalisation on lines N and M]
12bExistential instantiation$\exists x \in A , [P(x)] \implies$ Let $c \in A$ s.t. $P(c)$[Existential instantiation on line N]
12cUniversal generalisationarb $x \in A$, $P(x) \implies \forall x \in A , [P(x)]$[Universal generalisation on lines N and M]
12dUniversal instantiation$\forall x \in A , [P(x)], , c \in A \implies P(c)$[Universal instantiation on lines N and M]
13Using lemmaApply a proven result[By lemma] or [By Lemma X]
14Contradiction$a \land \lnot a \implies \bot$[Contradiction on line N]
15Proof by contradictionAssume $\lnot p$, derive $\bot \implies p$[Proof by contradiction on lines N and M]

Justification Patterns

Format: [By RULE_NAME on line(s) N] or [RULE_NAME on lines N and M]

Lines neededPatternExamples
Single lineon line NSpecialisation, generalisation, definition unpacking
Two lineson lines N and MModus ponens, universal instantiation, conjunction
Multi-lineon lines N, M.x, O.xProof by cases (the OR + each case conclusion)

“By” prefix is optional — both [By specialisation on line 1] and [Proof by cases on lines 1, 2.1, 3.1] are valid.

Line Numbering Convention

Nested numbering for sub-proofs:

11. [outer statement]
2   1.1 [sub-statement under 1]
3   1.2 [sub-statement under 1]
42. [outer statement]
5   2.1 [sub-statement under 2]

Indentation = scope. Sub-lines (1.1, 1.2, …) live inside the scope of line 1.

Common Proof Openers

SituationOpener
Proving $\forall x \in A , [P(x)]$“Let $x$ be arbitrarily chosen from $A$.”
Assuming premise“Assume that [statement].”
Naming from $\exists$“Let $t \in A$ be such that $P(t)$.”
Direct proof“Assume [antecedent].” → derive → conclude [consequent]
Proof by contradiction“Assume, for contradiction, that $\lnot$[statement].”

Unit 2: Set Theory

Coming soon — to be filled as content is reviewed.


Unit 3: Relations

Coming soon — to be filled as content is reviewed.


Unit 4: Induction

Coming soon — to be filled after class.


Source: Unit 1 Notes § “Allowable Rules of Deductions/Inferences” Created: 2026-03-03

comments powered by Disqus

Recent Updates

See all →