How do you extend the topological semantics for intuitionistic propositional logic (IPC) to a semantics for intuitionistic first order logic (IFOL)?
I tried the simplest thing that could possibly work, with a classical-like domain of discourse and classical-like functions.
However, doing this has some weird consequences, like validating all classical tautologies when every atomic formula is headed by $=$.
So my question is severalfold:
- Does this naive construction actually describe some kind of predicate logic?
- Is the predicate logic that it describes the predicate logic usually referred to as intuitionistic first-order logic (assuming that there is only one)? (I think the answer is "no".)
- Assuming that this construction fails to describe IFOL, how do you actually build a semantics for it out of the topological semantics for IPC?
- Am I correct in thinking that the "tricky parts" of this construction are the exact type of collection we use for the domain of discourse and the restrictions that we place on functions?
Let $\tau^R$ be the standard topology on $\mathbb{R}$.
The following shows how to inductively interpret a propositional well-formed formula in ordinary IPC using the topological semantics. A primitive propositional variable $p$ ranges over the open sets of $\tau^R$. $\mathbb{R} = \cup \tau^R$ is the sole designated truth value. We get the topological semantics for IPC by translating into S4, and then invoking the topological semantics of S4.
$$[a \land b] = [a] \cap [b]$$ $$[a \lor b] = [a] \cup [b] $$ $$[a \to b] = \text{int}\!\left([a]^\complement \cup [b]\right) $$ $$[\bot] = \varnothing $$
So, here's the simplest thing that could possibly work for extending this to IFOL.
I have a model $M$, with a non-empty domain of discourse $D$. $D$ is just a set. It isn't anything fancier than a set like a fuzzy set or topological space.
If $c$ is a constant symbol, the interpretation of $c$ is an element of $D$.
If $f$ is a constant symbol of arity $n$, the interpretation of $f$ is a function from $D^n$ to $D$. I am not insisting that $f$ be computable, continuous, or imposing any other constraints that intuitively seem related to intuitionisticness.
If $R$ is a relation symbol of arity $n$, then the interpretation of $R$ is a function from $D^n$ to $\tau^R$.
With that out of the way, we can add new cases for our semantics.
$$ [t_1 = t_2] = \mathbb{R} \;\; \text{if and only if the interpretation of $t_1$ is equal to the interpretation of $t_2$} $$ $$ [t_1 = t_2] = \varnothing \;\; \text{if and only if the interpretation of $t_1$ is not equal to the interpretation of $t_2$} $$ $$ [R(t_1, t_2, \cdots t_n)] \;\; \text{is equal to the interpretation of $R$ applied to the tuple $(t_1, t_2, \cdots t_n)$ } $$
As a semantics this is well-defined, but is very weird. In particular, any expression headed by $=$ either has the truth value $\mathbb{R}$ or $\varnothing$, which means that:
$$ t_1 = t_2 \lor t_1 \neq t_2 \;\;\text{is valid for all terms $t_1, t_2$} $$