I'm currently learning for a computer science exam (programming paradigms) by reading the slides the professor offers. There are a lot of symbols and I would like to know what they mean.
First of all, there is $\mathcal{M}$ introduced as a "model". Then it is called a "universe" for all variable values and it "interpretes" predicates. So what is $\mathcal{M}$? Is it simply a set?
Then there is the statement that this question is about:
$\mathcal{M} \models \varphi$ iff $\varphi$ is true in the model $\mathcal{M}$ iff $\mathcal{M}$ is a model for $\varphi$.
$\mathcal{M} \models \psi$ iff $\mathcal{M} \models \varphi$ for all $\varphi \in \psi$.
What does $\mathcal{M} \models \varphi$ mean? How should I read it?
He gives the following examples:
- $\mathbb{R} \models \forall x y.x+y=y+x$
- $\mathbb{N} \not\models \forall x. \exists y. x + y = 0$
I would read these examples as
- "For the set of the real numbers we know that for all $x,y$ (in $\mathbb{R}$) addition is commutative."
- "For the set of the natural numbers, we know that the following statement is false: for all $x$ (in $\mathbb{N}$) exists an additive inverse element $y$."
Is that how it should be read?