

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
Material Type: Exam; Class: Discrete Structures; Subject: Computer Science; University: University of Illinois - Urbana-Champaign; Term: Unknown 1989;
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


p q T p ∨ q p ← q p p → q q p ↔ q p ∧ q T T T T T T T T T T T F T T T T F F F F F T T T F F T T F F F F T F T F T F T F
p q p ↑ q p ⊕ q ¬q p! q ¬p p " q p ↓ q F T T F F F F F F F F T F T T T T F F F F F T T T F F T T F F F F T F T F T F T F
Double Negation: ¬¬p ⇐⇒ p p ∧ T ⇐⇒ p Identity p ∨ F ⇐⇒ p p ∧ F ⇐⇒ F Domination p ∨ T ⇐⇒ T p ∧ p ⇐⇒ p Idempotence p ∨ p ⇐⇒ p p ∧ ¬p ⇐⇒ F Negation p ∨ ¬p ⇐⇒ T p ∧ q ⇐⇒ q ∧ p Commutativity p ∨ q ⇐⇒ q ∨ p p ∧ (p ∨ q) ⇐⇒ p Absorption p ∨ (p ∧ q) ⇐⇒ p p ∧ (q ∧ r) ⇐⇒ (p ∧ q) ∧ r Associativity p ∨ (q ∨ r) ⇐⇒ (p ∨ q) ∨ r p ∧ (q ∨ r) ⇐⇒ (p ∧ q) ∨ (p ∧ r) Distribution p ∨ (q ∧ r) ⇐⇒ (p ∨ q) ∧ (p ∨ r) ¬(p ∧ q) ⇐⇒ ¬p ∨ ¬q De Morgan’s Laws ¬(p ∨ q) ⇐⇒ ¬p ∧ ¬q
Simplification p ∧ q =⇒ p Biconditional Elimination p ↔ q =⇒ p → q Addition p =⇒ p ∨ q Trivial Proof q =⇒ p → q Vacuous Proof ¬p =⇒ p → q Modus Ponens p ∧ (p → q) =⇒ q Modus Tollens ¬q ∧ (p → q) =⇒ ¬p Disjunctive Syllogism ¬p ∧ (p ∨ q) =⇒ q Indirect Proof ¬q → ¬p =⇒ p → q Proof by Contradiction ¬p → F =⇒ p Reductio Ad Absurdum (p → q) ∧ (p → ¬q) =⇒ ¬p Hypothetical Syllogism (p → q) ∧ (q → r) =⇒ p → r Separation of Cases (p ∨ q) ∧ (p → r) ∧ (q → r) =⇒ r Biconditional Introduction (p → q) ∧ (q → p) =⇒ p ↔ q
Existential Instantiation ∃x ∈ X : P (x) =⇒ Fix a ∈ X such that P (a) Universal Instantiation a ∈ X ∧ ∀x ∈ X : P (x) =⇒ P (a) Existential Generalization a ∈ X ∧ P (a) =⇒ ∃x ∈ X : P (x) Universal Generalization P (a) for arbitrary a ∈ X =⇒ ∀x ∈ X : P (x)
empty
set
subset
∀a
a^
a
proper
subset
set
equality
union
{a
a^
a
intersection
{a
a^
a
difference
{a
a^
a
symmetric
difference
{a
a^
a
complement
{a
a^
Cartesian
product
a,
b)
a^
b
power
set
cardinality
of
elements
(if
finite)
Function
f
f^
such
that
a^
b^ ∈
(a,
b)
f
function
notation
b^ =
f
(a
a,
b)
f
image
f
{f
(a
a
preimage
f
−^1
(b
{a
f^ (
a)
b
preimage
f
−^1
{a
f^ (
a)
inverse
f
−
b,
a
b
f
(a
(if
f
is
a
bijection)
composition
g
f
(g
f
a)
g
(f
(a
one-to-one,
injection
∀b
|f
−
b)
onto,
surjection
∀b
|f
−
b)
bijection
∀b
|f
−
b)
Binary
relation
relation
notation
a^
b
a,
b)
inverse
−^1
b,
a
b
a
composition
a,
c)
∃b
a^
b
b
c
reflexive
∀a
a^
a
symmetric
∀a,
b^
a^
b
b
a
antisymmetric
∀a,
b^
(a
b
b
a
a
b
transitive
∀a,
b,
c^
(a
b^
b^!
c
a
c
Equivalence
relation
reflexive,
symmetric,
and
transitive
∃f
∀x,
y^
x^
y
f
(x
f
(y
equivalence
class
[x
{a
x^
a
x^
y
x]
∼^
[y
x^
y
x]
∼^
[y
Partial
order
reflexive,
antisymmetric,
and
transitive
x^
and
y
are
comparable
x^
y
y
x
x^
and
y
are
incomparable
x^
y
y
x
total
order
∀x,
y^
x^
y
y
x
x^
is
minimal
∀y
:^ y
x
x^
is
maximal
∀y
:^ x
y
x^
is
minimum
∀y
:^ x
y
x^
is
minimum
∀y
:^ y
x
Undirected
graph
u,
v}
u^
v^
u
v
subgraph
where
′^
and
walk
v^0
,^ v
v^2
,^ v
n^
where
vi
−^1
,^ v
}i
for
all
i
path
walk
with
no
repeated
vertices
cycle
walk
with
no
repeated
vertices
except
v
0
v
n
connected
walk
from
any
vertex
to
any
other
acyclic
no
subgraph
is
a
cycle
tree
connected
and
acyclic
degree
sum
v∈
V^
deg
(v