Predicates, Quantifiers and Nested Quantifiers Flashcards
proposition-valued function
a function that assigns to each real number π₯ a proposition π (π₯)
Proposition-valued functions are also known as predicates
just like predicates in grammar, they convey an idea about, or express the action of, a subject
The domain (set of input values) of a predicate is also known as
the domain of discourse or universe of discourse
quantification
A quantification of a predicate is the proposition that π(π₯) is true for some or all input values
βπ₯βπ¦π (π₯,π¦)
(translation)
βπ₯βπ¦π (π₯,π¦)
There exists x such that for all y, x loves y.
There is someone who loves everyone.
βπ₯βπ¦π (π₯,π¦)
There exist x and y such that x loves y.
Love between people exists.
βπ₯βπ¦π (π₯,π¦)
For all x and y, x loves y.
Everyone loves everyone.
βπ₯βπ¦π (π₯,π¦)
For all x, there is y such that x loves y.
There is always someone who loves you*.
*βyouβ is used in the generic sense here, to express a general rule that holds for every person.
Love is always reciprocal:
βπ₯βπ¦(π (π₯,π¦) βπ (π¦,π₯) )
Joe loves only one person:
βπ₯ (π (Joe,π₯) β§βπ¦ (π (Joe,π¦) βπ¦=π₯))
Ishaan loves exactly two people:
βπ₯βπ¦ (π (Ishaan,π₯) β§π (Ishaan,π¦) β§βπ§(π (Ishaan,π§) βπ§=π₯β¨π§=π¦))
People who donβt love themselves donβt love anyone else either:
βπ₯(Β¬π (π₯,π₯) β βπ¦Β¬π (π₯,π¦) )
The unique existential quantifier
signifies the existence of exactly one object of a type. This quantifier is written asβ! or β1.
β1π₯π (π₯) =βπ₯(π (π₯) β§βπ¦ (π (π¦) βπ¦=π₯))
Universal quantification with a domain restriction
The proposition Every positive real number has a real square root can be expressed as
βπ₯ > 0βπ¦ (π¦^2 = π₯)
but also as
βπ₯βπ¦( π₯ > 0 β π¦^2 = π₯)
a domain-restricted universal quantification of a predicate is logically equivalent to the unrestricted universal quantification of aconditional in which the domain restriction is the premise, and the predicate is the conclusion.
All Swedish people are tall is logically equivalent to saying It is true for all people that if they are Swedish, then they are tall.