Quantifiers
Quantification is another way of creating a proposition from , it expresses the extent to which a predicate is true over a range of entities, called the domain.
Universal quantifier, .
Universal quantifier
The universal quantification of for a particular domain, denoted by , is the proposition "$P(x)$ is true for all values of $x$ from the domain". $\forall$ means "For all".
- The truth value of might change if domain changes.
- Domain must always be specified when universal quantifier is used.
For example, take is "":
- For the domain of positive integers, .
- For the domain of all integers, .
To say “Everyone does not like Jane”, we write that for every , does not like Jane:
In general, the notation for universal quantifiers is $(\forall x)(\phi)$ where $\phi$ is a formula in which $x$ and possible other variables may appear.
Link to original
Rules of inference ()
Universal instantiation
A universal instantiation means for each and every entity $c$ in the domain we have a correct inference rule of the form: $$\boxed {\begin{array}{c}\underline{\forall xP(x)} \\P(c)\end{array}}$$
For example,
By universal instantiation, given the premise , we may derive the conclusion , where is any object in the domain:
If holds for all the elements of the domain, it holds in particular for the element as well. Universal instantiation can be seen as -elimination.
Link to original
Universal generalisation
A universal generalisation is $$ \boxed{\begin{array}{c} \underline{P(c) \textsf{ for any arbitrary entity } c \textsf{ in the domain}} \\ \forall x P(x)\end{array}} $$
By universal generalisation, given the premise takes place for a generic object of the domain, we may derive :
The object in the premise of must not be specific but arbitrary, i.e. we cannot make any assumption about other than it comes from the domain. Universal generalisation can be seen as .
Link to original
Existential quantifier, .
Existential quantifier
The existential quantification of for a particular domain, denoted by , is the proposition that "there exists a value for $x$ in the domain such that $P(x)$ is true".
- The truth value of might change when domain changes.
- Domain must always be specified when used.
For example, take is "":
- If the domain is all integers, then it is true.
- We simply need to give one example, such as then is true.
- If the domain is the positive integers, then it is false.
To say “(at least one) car is yellow”, we write that for some , is yellow:
In general, the notation for existential quantifiers is $(\exists x)(\phi)$, where $\phi$ is a formula in which $x$ and possible other variables may appear..
Link to original
Rules of inference ()
Existential generalisation
An existential generalisation means that for every entity in the domain, we have a correct inference rule of the form $$ \boxed{ \begin{array}{c} \underline{P(c)} \\ \exists x P(x) \end{array} } $$
For example:
By existential generalisation, given that is known to hold for a particular object of the domain, we may derive :
This can be seen as .
Link to original
There are also deMorgan laws for quantifiers.
{
"url":"[FC1W1 Lecture Slides.pdf](https://git.is.horse/insert/university/obsidian-notes/-/raw/9d95afcbbdb7a4c77ca9f62b32e35c6f31e269e7/University/Year%201/Semester%201/4CCS1FC1%20Foundations%20of%20Computing%201/Week%201.%20Intro%20to%20propositional%20logic%20and%20proofs/FC1W1%20Lecture%20Slides.pdf)",
"page":[32],
"scale":1.5,
"rect":[40, 260, 40, 400]
}