Logic II Flashcards
predicate
logical statement whose truth value is a function of one or more variables
domain in a predicate
set of all possible values for the variable
difference between predicate and proposition
predicates can have variables, propositions cannot
universal quantifier (∀)
true for every possible value for x in its domain
universally quantified statement (∀x P(x))
a proposition
arbitrary element
means nothing is assumed about the element other than the fact that it is in the domain
counterexample
an element in the domain for which the predicate is false
existential quantifier (∃)
true for at least one possible value for x in its domain
existentially quantified statement (∃x P(x))
a proposition
quantifiers
general term for universal and existential quantifiers
quantified statement
logical statement that includes a universal or existential quantifier
when are quantifiers applied?
before the logical operations used for propositions
∀x P(x) ∧ Q(x) == (∀x P(x)) ∧ Q(x)
free variable
a variable x in the predicate P(x), because variable is free to take on any value in the domain
bound variable
variable x in the statement ∀x P(x), because the variable is bound to a quantifier
is (∀x P(x)) ∧ Q(x) a proposition?
no, x is both bound and free