Discrete Structures Week 3 Flashcards
Argument
an assertion that given some propositions P1…Pn (premises) imply another propositions q (conclusion)
P1..Pn |-> q
P1..Pn three dots q
valid
q is true whenever P1…Pn are all true
Fallacy
invalid, premises are true, conclusion is false
Theorem - about arguments
an argument P1…Pn |-> q is valid if and only if P1^P2^…^Pn |-> q is a tautology
3 Standard rules of inferences
Modus Ponens
hypothetical syllogism
Modus Tollens
Modus Ponens
p -> q
p
—-
three dots q
is valid
Hypothetical Syllogism
p -> q
q -> r
—
three dots r
is valid
Two methods prove theorems
truth tables or apply theorem with assumptions
Modus Tollens
p -> q
not q
—-
three dots not p
is valid
What is a propositional function
has a domain of what we can input
variables
predicate - kinda like the function
universal qualifier
V- (dash through the middle)
for all
uniqueness qualifier
E!
backwards E
there is a unique
existential qualifier
E, backwards
there is or there exists
multiple function inputs
L(x,y) = “x likes y”
domain: set of all people
can use the qualifiers to manipulate the function examples on one note
1st de morgan’s law for quantifiers
not ( V-x, P(x)) <-> E(back)x, not P(x)