
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A comprehensive reference sheet for logical equivalences, inference rules, and program proofs. It covers various laws such as idempotent, demorgan's, distributive, and commutative laws. Additionally, it includes inference rules like simplification, modus ponens, modus tollens, and hypothetical syllogism. The document also covers program proofs with rules like composition, conditional, and conditional with else.
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Definition of ∧ Idempotent Laws DeMorgan’s Laws Distributive Laws P ∧ ¬P ≡ F alse p ∨ p ≡ p ¬(p ∧ q) ≡ ¬p ∨ ¬q p ∨ (q ∧ r) ≡ (p ∨ q) ∧ (p ∨ r) P ∧ F alse ≡ F alse p ∧ p ≡ p ¬(p ∨ q) ≡ ¬p ∧ ¬q p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r) P ∧ T rue ≡ P
Definition of ∨ Double Negation Absorption Laws Associative Laws P ∨ ¬P ≡ T rue ¬(¬p) ≡ p p ∨ (p ∧ q) ≡ p (p ∨ q) ∨ r ≡ p ∨ (q ∨ r) P ∨ F alse ≡ P p ∧ (p ∨ q) ≡ p (p ∧ q) ∧ r ≡ p ∧ (q ∧ r) P ∨ T rue ≡ T rue
Commutative Laws Implication Laws Biconditional Laws p ∨ q ≡ q ∨ p p → q ≡ ¬p ∨ q p ↔ q ≡ (p → q) ∧ (q → p) p ∧ q ≡ q ∧ p p → q ≡ ¬q → ¬p p ↔ q ≡ ¬q ↔ ¬p
Simplification Modus Ponens Modus Tollens Hypothetical Syllogism p ∧ q p ¬q p → q p → q p → q q → r Therefore, p Therefore, q Therefore, ¬p Therefore, p → r
Conjunction Addition Resolution Disjunctive Syllogism p p p ∨ q p ∨ q q ¬p ∨ r ¬p Therefore, p ∨ q Therefore, p ∧ q Therefore, q ∨ r Therefore, q
Universal Instantiation Universal Generalization Existential Instantiation Existential Generalization ∀xP (x) P (c) ∃xP (x) P (c)
Therefore, P (c) Therefore, ∀xP (x) Therefore, P (c) Therefore, ∃xP (x)
Composition Rule Conditional Rule Conditional with Else Rule p{S 1 }q (p ∧ condition){S}q (p ∧ condition){S 1 }q q{S 2 }r (p ∧ ¬condition) → q (p ∧ ¬condition){S 2 }q
p{S 1 ; S 2 }r p{ if condition S}q p{ if condition S 1 else S 2 }q