Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
102 Cards in this Set
- Front
- Back
Negation
Truth Table |
A ¬A
T F F T |
|
Conjuction
Truth Table |
A B A^B
T T T T F F F T F F F F |
|
Disjunction
Truth Table |
A B AvB
T T T T F T F T T F F F |
|
Implication
Truth Table |
A B A=>B
T T T T F F F T T F F T |
|
Equivalence
Truth Table |
A B A<=>B
T T T T F F F T F F F T |
|
Well Formed Formulas
Rules |
- All atomic stamements are wffs.
- If A and B are wffs then so is ¬A, A^B, AvB, A=>B and A<=>B |
|
Consistent
|
A is consistent if it is truth in a least one row of its truth table.
|
|
Inconsistent
|
A is inconsistent if it is false in all rows of its truth table.
|
|
Tautology
|
A is a tautology if it is true in all rows of its truth table.
|
|
Functional Completeness
|
A collection of logical operators is functionally complete if
the operators in the collection can be used to express every other logical operator. |
|
Argument
|
A collection of wffs called premises and another wff called the conclusion.
A1,A2,...,An therefore C |
|
Valid Argument
|
An argument is valid if (A1^A2^...^An)=>C is a tautology.
In every row in the truth table where the premises are true, the conclusion must also be true. |
|
Conjunction Elimination Rule
|
j. A^B
A (^E j) |
|
Conjunction Introduction Rule
|
j. A
k. B A^B (^I j, k) |
|
Implication Elimination Rule
|
j. A=>B
k. A B (=>E j, k) |
|
Implication Introduction Rule
|
j. A
... k. B A=>B (=>I j-k) |
|
Disjunction Introduction Rule
|
j. A
AvB |
|
Disjunction Elimination Rule 1
|
j. AvB
k. ¬A B (vE1 j,k) |
|
Disjunction Elimination Rule 2
|
j. AvB
k. A=>C l. B=>C C (vE2 j,k,l) |
|
Contradiction Introduction
|
j. A^(¬A)
_|_ (_|_I j) |
|
Negation Introduction
|
j. A => _|_
¬A (¬I j) |
|
Negation Elimination
|
k. ¬(¬A)
A (¬E j) |
|
Equivalence Elimination
|
j. A<=>B
A=>B (<=>E j) |
|
Equivalence Introduction
|
j. A => B
k. B => A A<=>B (<=>I j,k) |
|
Proof by contrapositive
|
Prove that ¬Y => ¬X so Y is true because X is true.
|
|
Proof by contradiction
|
Prove that ¬Y is a contradiction so Y must be true.
|
|
Symmetric Difference
|
Contains the elements in one set or the other but not both.
|
|
|AUB|
|
|A| + |B| - |A∩B|
|
|
AxB
|
{(a,b):a in A and b in B}
|
|
|AxB|
|
|A| x |B|
|
|
Power Set
|
A collection of all the subsets of the given set.
|
|
|P(A)|
|
2^|A|
|
|
C(n,k)
|
The number of k-element subsets of a set of size n.
|
|
Weak Induction
|
If you grab 0, and grabbing something ensures you grab its successor, then you grab all the natural numbers.
|
|
Strong Induction
|
If you grab 0, and grabbing all a numbers predesessors ensures you grab that number, then you grab all the natural numbers.
|
|
Least Number Principle
|
If you grab a non-empty collection of natural numbers, then you
grab a smallest one. |
|
Reflexive
|
For all a in A, (a, a) is in R.
|
|
Symmetric
|
For all a, b in A, (a, b) in R implies (b, a) in R.
|
|
Antisymmetric
|
When (a, b) in R and (b, a) in R, a =b.
|
|
Transitive
|
For all a, b, c in A, (a, b) in R and (b, c) in R implies (a, c) in R.
|
|
Equivalence Relation
|
Reflexive, Symmetric and Transitive.
|
|
Equivalence Class
|
Set of elements related to one another.
|
|
Partition
|
Collection of cells of A.
- The union of the cells is A. - The cells are pairwise disjoint. |
|
Partial Order
|
Reflexive, Antisymmetric, Transitive.
|
|
Refinement
|
One equivalence relation R is a refinement of another S if every cell of R is a subset of some cell of S.
|
|
Po-isomorphic
|
Two partial order are po-isomorphic if they have the same unlabelled Hasse diagram.
|
|
Function
|
A function from A to B
- The domain of f is A. - if xfy and xfz then y=z. |
|
Injective Function
|
f(x1)=f(x2) implies x1=x2.
|
|
Surjective Function
|
The range of f is B.
|
|
Bijective Function
|
Injective and surjective.
|
|
Graph
|
A set of vertices, a set of edges and incidence relation between them such that each edge is incident with either 1 or 2 vertices.
|
|
Simple Graph
|
No loops or parallel edges.
|
|
Walk
|
An alternating sequence of vertices and edges. Such that ei is incident with both vi and vi+1.
|
|
Path
|
A walk with no duplicate vertices.
|
|
Closed Walk
|
The first and last vertex are equal.
|
|
Cycle
|
A closed walk in which only the first and last vertex is equal.
|
|
Incidence Matrix
|
Rows are labelled by vertices and columns by edges. i,j is 1 if vi is incident with ej otherwise it is 0.
|
|
Adjacency Matrix
|
Rows and columns labelled by vertices. 1 if there is an edge connecting the two vertices.
|
|
Degree of a vertex. d(v)
|
The number of edges incident with it.
|
|
The handshaking lemma.
|
The sum of the degrees of the vertices is twice the number of edges.
|
|
Connectivity
|
The vertex u is connected to vertex v if there is a walk from u to v.
ρ is an equivalence relation. The relation ρ on G. uρv only if and only if u is connected to v |
|
Components
|
The equivalence classes of ρ are the components of G.
|
|
Connected Graph
|
Has only one component.
|
|
Complete Graph
|
Kn is the simple graph with n vertices and all possible edges.
|
|
Number of edges of Kn
|
n(n-1)/2
|
|
Bipartite Graph
|
It's vertex set can be partitioned into two sets V1 and V2 such that each edge of G joins a vertex in V1 to a vertex in V2.
|
|
Length of a cycle
|
Number of edges in it.
|
|
A graph is bipartite if and only if...
|
Every cycle has even length.
|
|
Complete Bipartite Graph
|
Km,n has vertex set V1 U V2, where |V1|=m, |V2|=n and there is an edge between each vertex in V1 and each vertex in V2.
|
|
Number of edges of Km,n
|
mn
|
|
Isomorphism
|
A pair of bijections between G1 and G2, f:V1->V2 and g:E1->E2 such that v is incident with e in G1 if and only if f(v) is incident with g(e) in G2.
|
|
Tree
|
A connected graph with no cycles.
|
|
Forest
|
Graph with no cycles.
|
|
G\e
|
The graph obtaining by deleting the edge e from G.
|
|
Isthmus
|
An edge e of a connected graph G is an isthmus if G\e is disconnected.
|
|
An edge e of the connected graph G is an isthmus if and only if...
|
It belongs to no cycles.
|
|
A graph is a tree if and only if...
|
It is connected and every edge is an isthmus.
|
|
If e is an isthmus of the connected graph G, then G\e has exactly ... components.
|
2.
|
|
Let G be a connected graph with v vertices. G is a tree if and only if...
|
It has v-1 edges.
|
|
A tree with more than one vertex has ... vertices of degree one.
|
At least two.
|
|
Length of a path
|
The number of edges in it.
|
|
Spanning Tree
|
A spanning tree of G is a tree whose vertex set is V and whose edge set is a subset of E.
|
|
Every connected graph has a...
|
Spanning tree.
|
|
Minimum-Cost Spanning Tree
|
Sum of the weights of the edges is minimum amongst all spanning trees.
|
|
Kruskal's Algorithm
|
Order edges by increasing weight.
-Add each edge unless it forms a cycle. |
|
Planar Drawing
|
A drawing of a graph on the plane such that no edges cross.
|
|
Planar Graph
|
A graph which has a planar drawing.
|
|
Euler's Formula
|
For any planar drawing of a connected planar graph G, we have v-e+f=2.
|
|
In a connected simple planar graph with at least three vertices...
|
e<=3v-6
|
|
Contraction
|
G/e. Remove e and fuse together the vertices that are endpoints of e.
|
|
Minor
|
A graph obtained by a sequence of deletions and contractions.
|
|
If G is planar then...
|
Any minor of G is planar.
|
|
A graph is planar if and only if...
|
It has no minor isomorphic to K5 or K3,3.
|
|
Planar Dual
|
G*. In each face draw a vertex and if there is an edge that the faces share, put an edge between the vertices.
|
|
Chromatic Number
|
The smallest number k such that G is k-colourable.
|
|
The chromatic number of Kn.
|
n.
|
|
A graph has chromatic number 2 if and only if...
|
It is bipartite.
|
|
G\v
|
The graph obtained by deleting v and all edges incident with v.
|
|
If the largest degree of a vertex in a loopless graph G is k, then the chromatic number of G is...
|
At most k+1.
|
|
A loopless planar graph G has at least one vertex x with...
|
d(x) <= 5.
|
|
Finite
|
A set is finite if it has cardinality n for some n.
|
|
Countable
|
An infinite set is countable if A is equicardinal with N, i.e. there is a bijection between A and N.
|