Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When defining the semantics of propositional and particularly first-order logic, it has always made me uneasy when reading, for example: $$M \models A \lor B \quad\text{iff}\quad M \models A \text{ or } M \models B$$ Where does the “or” on the right hand side comes from? What's its definition?

I know this is supposed to be in the “meta” language and, somehow, we all mathematicians agree on what that “or” is supposed to mean. You could even be a bit more cautious, point me to a truth table and say: “That! Use that if are unsure of what we mean”. Fine.

But then it baffles me even more when I read something along the lines of $$M \models \forall x A \quad\text{iff}\quad M_x \models A \text{ for all $x$-variants $M_x$ of $M$}$$ What is the meaning of this “for all”?? Most of our intuitions would probably agree on what to do if the domain of $M$ is finite, check all the possibilities one by one; but what if the domain is some weird infinite non-recursively enumerable monstrous set, how can we know whether $M_x \models A$ is true “for all” values of $x$?

A bit more to the point, how would you argue whether $$\lnot\forall x A \rightarrow \exists x \lnot A$$ is valid or not? (from a purely semantical point of view)

It seems, at least to me, that the given definitions are not enough, as you also have to specify what sorts of arguments do mathematicians accept at the “meta” language (e.g. is proof by contradiction valid to show the existence of elements? or did you meant a constructive/intuitionistic proof?)


Ok, now I am firmly convinced that the answer to my original question (is the definition of FOL semantics ambiguous?) is: No. All sensible mathematicians should agree that the semantics are well defined.

Indeed, as Carl argues on his answer:

Given some structure M, and a property A that each element of M may or may not have, either every element of M has the property, or there is some element that does not have the property

That is, the definition does make the assumption that, with respect to the model, each property is either true or is false. No other options are allowed. Now a constructivist or even a paraconsistent mathematician may not agree on this assumption, and suggest that other options should be considered as well. And that's why they can get away with rejecting things like the law of the excluded middle; not because they think “or” should mean something different, but because they are making different assumptions about their logic systems.

Furthermore, even they would agree that if one assumes that a property can only be true or false, as FOL definition states, then for a model $M$ we have that either every element of the domain has the property, or some element of the domain does not have the property. End of story. And this is why we can unambiguously state that $\lnot\forall x A \rightarrow \exists x \lnot A$ is valid with respect to this definition of the semantics.

Furthermore, this is true even if there might be some particular model $M$ and property $A$ for which we might never know whether $M \models \forall x A$ or not (because $M$ is “monstrous” or the property A is strange, and mathematicians are never able to figure it out).

share|cite|improve this question
There is no problem when we use our reasoning capacities to prove theorems about groups, or elliptic curves, or partial differential equations. Equally, there is no problem when we use our reasoning capacities to prove theorems abot formal systems. – André Nicolas Nov 14 '12 at 18:06
I think it's important to understand that we logicians (at least most of us) don't accept any responsibility for defining the language you use on the street for you. Without meaning to be rude, I could ask you to define each and every word you used in your question, because I'm pretending not to understand anything you say. It's not the purpose of logic to build the whole of mathematics out of nothing; it is to study the way mathematicians think using the way mathematicians think. – Miha Habič Nov 14 '12 at 18:20
Concerning "what does it mean to check whether $M_x\models A$ "for all" values of $x$", it may be worthwhile to point out that the definition says nothing about "checking". It only says when $M\models\forall x A$ is true. Checking whether it's true is a different matter, rather more complicated since it depends on what tools or methods are available for checking. – Andreas Blass Nov 14 '12 at 18:38
I think your views are well aligned with constructive mathematics. Check out wikipedia article on constructivism – Levon Haykazyan Nov 14 '12 at 19:29
Thanks for your comments, to push the issue a bit further: (1) I know about constructive and intuitionistic logic, and this is precisely the basis of my question: given than mathematicians themselves do not generally agree on what “or”, “implies” or “for all” mean (depending on your flavour of logic), how are supposed to make sense of these definitions? – Juan A. Navarro Nov 15 '12 at 0:33
up vote 4 down vote accepted

How would I argue semantically that $\lnot (\forall x) A \to (\exists x) \lnot A$?

Assume $M$ is a model of the theory at hand and assume that $M$ satisfies $\lnot (\forall x) A(x)$. Then, by the definition of the satisfaction predicate, it is not the case that $M$ satisfies $(\forall x) A(x)$. Thus, looking at the definition of the satisfaction predicate, there is some $z$ in $M$ such that $M$ does not satisfy $A(z)$. Hence $M$ satisfies $\lnot A(z)$, and thus $M$ satisfies $(\exists x)\lnot A(x)$.

Most mathematics takes place in an informal natural-language metatheory, and mathematical logic is no exception. The above argument is not particularly different from the argument that every cyclic group is isomorphic to either $\mathbb{Z}$ or to $\mathbb{Z}_n$ for some $n$, which does not show that we can tell which case holds in an algorithmic way.

Just like any other area of mathematics, we can use a formal metatheory such as ZFC to formalize these informal arguments. Both arguments I have mentioned here can be easily formalized in ZFC. But mathematics itself is typically carried out in an informal metatheory, with few mentions of any formal metatheory.

The question was edited to replace "check" with "know", but that still misses the point of classical logic. Classical logic is designed for studying the properties of abstract structures that have truth values regardless whether we have any effective way to determine those truth values. Given some structure $M$, and a property $A$ that each element of $M$ may or may not have, either every element of $M$ has the property, or there is some element that does not have the property; that claim is not related to our ability to find the element, only to our abstract reasoning about what "all elements have the property" and "not all elements have the property" mean in English. We may never know whether all elements have the property $A$, but we can still argue abstractly that $\lnot (\forall x) A \to (\exists x) \lnot A$.

The definition of the satisfaction predicate is not meant to tell us how to effectively verify truth values; it is just meant to capture the relationships between truth values of compound statements and truth values of simpler statements. Intuitively, this is why the completeness theorem for first-order logic links provability with truth in all structures - we may never really know everything about a particular structure, but when we reason abstractly about the properties that an arbitrary structure must have we end up proving results that are true for all structures.

share|cite|improve this answer
Thanks! This cleared up things for me. The key sentences seems to be: “a property A that each element of M may or may not have”. Indeed, the semantics does define that the only two options for a property is to be either true or false. Will try to elaborate a bit more adding some comments to my question. – Juan A. Navarro Nov 15 '12 at 22:18
@Juan A. Navarro: your expanded comments on the question look correct to me. – Carl Mummert Nov 16 '12 at 12:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.