content/intuitionistic-logic/semantics/semantics.tex
1% part: intuitionistic-logic2% chapter: semantics34\documentclass[../../../include/open-logic-chapter]{subfiles}56\begin{document}78\olchapter{int}{sem}{Semantics}910\begin{editorial}11 This chapter collects definitions for semantics for intuitionistic12 logic. So far only Kripke and topological semantics are13 covered. There are no examples yet, either of how models make14 formulas true or of proofs that formulas are valid.15\end{editorial}1617\olimport{introduction}18\olimport{relational-models}19\olimport{semantic-notions}20\olimport{topological-semantics}2122\OLEndChapterHook2324\end{document}
content/intuitionistic-logic/semantics/introduction.tex
1% part: intuitionistic-logic2% chapter: semantics3% section: introduction45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{int}{sem}{int}1011\olsection{Introduction}1213No logic is satisfactorily described without a semantics, and14intuitionistic logic is no exception. Whereas for classical logic, the15semantics based on !!{valuation}s is canonical, there are several16competing semantics for intuitionistic logic. None of them are17completely satisfactory in the sense that they give an18intuitionistically acceptable account of the meanings of the19connectives.2021The semantics based on !!{relational model}s, similar to the semantics22for modal logics, is perhaps the most popular one. In this semantics,23!!{propositional variable}s are assigned to worlds, and these worlds24are related by an accessibility relation. That relation is always a25partial order, i.e., it is reflexive, antisymmetric, and26transitive.2728Intuitively, you might think of these worlds as states of knowledge or29``evidentiary situations.'' A state~$w'$ is accessible from~$w$ iff,30for all we know, $w'$ is a possible (future) state of knowledge, i.e.,31one that is compatible with what's known at~$w$. Once a proposition32is known, it can't become un-known, i.e., whenever $!A$ is known at~$w$33and~$Rww'$, $!A$ is known at~$w'$ as well. So ``knowledge'' is34monotonic with respect to the accessibility relation.3536If we define ``$!A$ is known'' as in epistemic logic as ``true in all37epistemic alternatives,'' then $!A \land !B$ is known at~$w$ if in all38epistemic alternatives, both $!A$ and~$!B$ are known. But since39knowledge is monotonic and $R$ is reflexive, that means that $!A \land40!B$ is known at $w$ iff $!A$ and $!B$ are known at~$w$. For the same41reason, $!A \lor !B$ is known at $w$ iff at least one of them is42known. So for $\land$ and $\lor$, the truth conditions of the43connectives coincide with those in classical logic.4445The truth conditions for the conditional, however, differ from46classical logic. $!A \lif !B$ is known at~$w$ iff at no $w'$ with47$Rww'$, $!A$ is known without $!B$ also being known. This is not the48same as the condition that $!A$ is unknown or $!B$~is known49at~$w$. For if we know neither $!A$ nor $!B$ at~$w$, there might be a50future epistemic state~$w'$ with $Rww'$ such that at $w'$, $!A$ is51known without also coming to know~$!B$.5253We know $\lnot !A$ only if there is no possible future epistemic state54in which we know~$!A$. Here the idea is that if $!A$ were knowable,55then in some possible future epistemic state~$!A$ becomes known. Since56we can't know $\lfalse$, in that future epistemic state, we would know57$!A$ but not know~$\lfalse$.5859On this interpretation the principle of excluded middle fails. For60there are some $!A$ which we don't yet know, but which we might come61to know. For such !!a{formula}~$!A$, both $!A$ and~$\lnot !A$ are unknown, so62$!A \lor \lnot !A$ is not known. But we do know, e.g., that $\lnot(!A63\land \lnot !A)$. For no future state in which we know both $!A$ and64$\lnot !A$ is possible, and we know this independently of whether or65not we know~$!A$ or $\lnot !A$.6667!!^{relational model}s are not the only available semantics for68intuitionistic logic. The topological semantics is another: here69propositions are interpreted as open sets in a topological space, and70the connectives are interpreted as operations on these sets (e.g.,71$\land$ corresponds to intersection).7273\end{document}
content/intuitionistic-logic/semantics/relational-models.tex
1% part: intuitionistic-logic2% chapter: semantics3% section: relational-models45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{int}{sem}{rel}1011\olsection{\usetoken{P}{relational model}}1213In order to give a precise semantics for intuitionistic propositional14logic, we have to give a definition of what counts as a model relative15to which we can evaluate !!{formula}s. On the basis of such a16definition it is then also possible to define semantics notions such17as validity and entailment. One such semantics is given by18!!{relational model}s.1920\begin{defn}21 !!^a{relational model} for intuitionistic propositional logic is a22 triple $\mModel{M} = \tuple{W, R, V}$, where23 \begin{enumerate}24 \item $W$ is a non-empty set,25 \item $R$ is a partial order (i.e., a reflexive, antisymmetric, and transitive binary relation) on~$W$, and26 \item $V$ is a function assigning to each !!{propositional27 variable}~$p$ a subset of~$W$, such that28 \item $V$ is monotone with respect to $R$, i.e., if $w29 \in V(p)$ and $Rww'$, then $w' \in V(p)$.30 \end{enumerate}31\end{defn}3233\begin{defn}\ollabel{defn:true-at-w}34 We define the notion of $!A$ \emph{being true at $w$ in35 $\mModel{M}$}, $\mSat{M}{!A}[w]$, inductively as follows:36 \begin{enumerate}37 \item \indcase{!A}{p}{$\mSat{M}{\indfrm}[w]$ iff $w \in V(p)$.}38 \item \indcase{!A}{\lfalse}{not $\mSat{M}{\indfrm}[w]$}.39 \item \indcase{!A}{\lnot !B}{$\mSat{M}{\indfrm}[w]$ iff for no40 $w'$ such that $Rww'$, $\mSat{M}{!B}[w']$}.41 \item \indcase{!A}{!B \land !C}{$\mSat{M}{\indfrm}[w]$ iff42 $\mSat{M}{!B}[w]$ and $\mSat{M}{!C}[w]$}.43 \item \indcase{!A}{!B \lor !C}{$\mSat{M}{\indfrm}[w]$ iff44 $\mSat{M}{!B}[w]$ or $\mSat{M}{!C}[w]$ (or both)}.45 \item \indcase{!A}{!B \lif !C}{$\mSat{M}{\indfrm}[w]$ iff for every46 $w'$ such that $Rww'$, not $\mSat{M}{!B}[w']$ or47 $\mSat{M}{!C}[w']$} (or both).48 \end{enumerate}49 We write $\mSat/{M}{!A}[w]$ if not $\mSat{M}{!A}[w]$. If $\Gamma$ is50 a set of !!{formula}s, $\mSat{M}{\Gamma}[w]$ means $\mSat{M}{!B}[w]$51 for all $!B \in \Gamma$.52\end{defn}5354\begin{prob}55 Show that according to \olref[int][sem][rel]{defn:true-at-w},56 $\mSat{M}{\lnot !A}[w]$ iff $\mSat{M}{!A \lif \lfalse}[w]$.57\end{prob}5859\begin{prop}\ollabel{prop:true-monotonic}60 Truth at worlds is monotonic with respect to~$R$, i.e., if61 $\mSat{M}{!A}[w]$ and $Rww'$, then $\mSat{M}{!A}[w']$.62\end{prop}6364\begin{proof}65 Exercise.66\end{proof}6768\begin{prob}69 Prove \olref[int][sem][rel]{prop:true-monotonic}.70\end{prob}7172\end{document}
content/intuitionistic-logic/semantics/semantic-notions.tex
1% part: intuitionistic-logic2% chapter: semantics3% section: semantic-notions45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{int}{sem}{sem}1011\olsection{Semantic Notions}1213\begin{defn}14 We say $!A$ is \emph{true in the model $\mModel{M} = \tuple{W,R,V}$,} $15 \mSat{M}{!A}$, iff $\mSat{M}{!A}[w]$ for all $w \in W$.16 $!A$ is \emph{valid}, $\Entails !A$, iff it is true in all models.17 We say a set of !!{formula}s~$\Gamma$ \emph{entails}~$!A$, $\Gamma18 \Entails !A$, iff for every model~$\mModel{M}$ and every~$w$ such19 that $\mSat{M}{\Gamma}[w]$, $\mSat{M}{!A}[w]$.20\end{defn}2122\begin{prop}\ollabel{prop:sat-entails}23 \begin{enumerate}24 \item\ollabel{prop:sat-entails1} If $\mSat{M}{\Gamma}[w]$ and25 $\Gamma \Entails !A$, then $\mSat{M}{!A}[w]$.26 \item\ollabel{prop:sat-entails2} If $\mSat{M}{\Gamma}$ and $\Gamma27 \Entails !A$, then $\mSat{M}{!A}$.28 \end{enumerate}29\end{prop}3031\begin{proof}32 \begin{enumerate}33 \item Suppose $\mSat{M}{\Gamma}$. Since $\Gamma \Entails !A$, we34 know that if $\mSat{M}{\Gamma}[w]$, then $\mSat{M}{!A}[w]$. Since35 $\mSat{M}{\Gamma}[u]$ for all every $u \in W$,36 $\mSat{M}{\Gamma}[w]$. Hence $\mSat{M}{!A}[w]$.37 \item Follows immediately from \olref{prop:sat-entails1}.38 \end{enumerate}39\end{proof}404142\begin{defn}\ollabel{defn:restrict}43 Suppose $\mModel{M}$ is a relational model and $w \in W$. The44 \emph{restriction} $\mModel{M}_w=\tuple{W_w, R_w, V_w}$45 of~$\mModel{M}$ to~$w$ is given by:46 \begin{align*}47 W_w & = \Setabs{u \in W}{Rwu},\\48 R_w & = R \cap (W_w)^2, \text{ and}\\49 V_w(p) & = V(p) \cap W_w.50 \end{align*}51\end{defn}5253\begin{prop}\ollabel{prop:restrict}54 $\mSat{M}{!A}[w]$ iff $\mSat{M_w}{!A}$.55\end{prop}5657\begin{prob}58 Prove \olref[int][sem][sem]{prop:restrict}. 59\end{prob}6061\begin{prop}62 Suppose for every model~$\mModel{M}$ such that $\mSat{M}{\Gamma}$,63 $\mSat{M}{!A}$. Then $\Gamma \Entails !A$.64\end{prop}6566\begin{proof}67 Suppose that $\mSat{M}{\Gamma}[w]$. By the \olref{prop:restrict}68 applied to every~$!B \in \Gamma$, we have $\mSat{M_w}{\Gamma}$. By69 the assumption, we have $\mSat{M_w}{!A}$. By \olref{prop:restrict}70 again, we get $\mSat{M}{!A}[w]$.71\end{proof}7273\end{document}
content/intuitionistic-logic/semantics/topological-semantics.tex
1% part: intuitionistic-logic2% chapter: semantics3% section: topological-semantics45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{int}{sem}{top}1011\olsection{Topological Semantics}1213Another way to provide a semantics for intuitionistic logic is using14the mathematical concept of a topology.1516\begin{defn}17 Let $X$ be a set. A \emph{topology on~$X$} is a set $\Top{O}18 \subseteq \Pow{X}$ that satisfies the properties below. The19 !!{element}s of~$\Top{O}$ are called the \emph{open sets} of the20 topology. The set $X$ together with $\Top{O}$ is called a21 \emph{topological space}.22 \begin{enumerate}23 \item The empty set and the entire space are open: $\emptyset$, $X \in24 \Top{O}$.25 \item Open sets are closed under finite intersections: if $U$, $V \in26 \Top{O}$ then $U \cap V \in \Top{O}$27 \item Open sets are closed under arbitrary unions: if $U_i \in28 \Top{O}$ for all $i \in I$, then $\bigcup \Setabs{U_i}{i \in29 I} \in \Top{O}$.30 \end{enumerate}31\end{defn}3233We may write $X$ for a topology if the collection of open sets can be34inferred from the context; note that, still, only after $X$ is endowed35with open sets can it be called a topology.3637\begin{defn}38 A \emph{topological model} of intuitionistic propositional logic is39 a triple $\mModel{X} = \tuple{X, \Top{O}, V}$ where $\Top{O}$ is a40 topology on~$X$ and $V$ is a function assigning an open set in41 $\Top{O}$ to each propositional variable.4243 Given a topological model~$\mModel{X}$, we can define $\Prop{X}{!A}$44 inductively as follows:45 \begin{enumerate}46 \item $\Prop{X}{\lfalse} = \emptyset$47 \item $\Prop{X}{p} = V(p)$48 \item $\Prop{X}{!A \land !B} = \Prop{X}{!A} \cap \Prop{X}{!B}$49 \item $\Prop{X}{!A \lor !B} = \Prop{X}{!A} \cup \Prop{X}{!B}$50 \item $\Prop{X}{!A \lif !B} = \Interior{(X \setminus \Prop{X}{!A}) \cup51 \Prop{X}{!B}}$52 \end{enumerate}53 Here, $\Interior{V}$ is the function that maps a set $V \subseteq X$54 to its \emph{interior}, that is, the union of all open sets it55 contains. In other words,56 \[57 \Interior{V} = \bigcup \Setabs{U}{U \subseteq V \text{ and } U \in \Top{O}}.58 \]59\end{defn}6061Note that the interior of any set is always open, since it is a union62of open sets. Thus, $\Prop{X}{!A}$ is always an open set.6364Although topological semantics is highly abstract, there are ways to65think about it that might motivate it. Suppose that the !!{element}s,66or ``points,'' of $X$ are points at which statements can be67evaluated. The set of all points where $!A$ is true is the proposition68expressed by~$!A$. Not every set of points is a potential proposition;69only the !!{element}s of $\Top{O}$ are. $!A \Entails !B$ iff $!B$ is70true at every point at which~$!A$ is true, i.e., $\Prop{X}{!A}71\subseteq \Prop{X}{!B}$, for all~$X$. The absurd statement~$\lfalse$72is never true, so $\Prop{X}{\lfalse} = \emptyset$.7374How must the propositions expressed by $!B \land !C$, $!B \lor !C$,75and $!B \lif !C$ be related to those expressed by $!B$ and~$!C$ for76the intuitionistically valid laws to hold, i.e., so that $!A \Proves77!B$ iff $\Prop{X}{!A} \subset \Prop{X}{!B}$? We require $\lfalse78\Proves !A$ for any $!A$, which is satisfied because $\emptyset79\subseteq U$ for all $U$. Since $!B \land !C \Proves !B$, we require80that $\Prop{X}{!B \land !C} \subseteq \Prop{X}{!B}$, and similarly81$\Prop{X}{!B \land !C} \subseteq \Prop{X}{!C}$. The largest set82satisfying $W \subseteq U$ and $W \subseteq V$ is $U \cap V$.83Conversely, $!B \Proves !B \lor !C$ and $!C \Proves !B \lor !C$, and84so we require that $\Prop{X}{!B} \subseteq \Prop{X}{!B \lor !C}$ and85$\Prop{X}{!C} \subseteq \Prop{X}{!B \lor !C}$. The smallest set~$W$86such that $U \subseteq W$ and $V \subseteq W$ is $U \cup V$.8788The definition for $\lif$ is tricky: $!A \lif !B$ expresses the89weakest proposition that, combined with $!A$, entails $!B$. That $!A90\lif !B$ combined with $!A$ entails~$!B$ is clear from $(!A \lif !B)91\land !A \Proves !B $. So $\Prop{X}{!A \lif !B}$ should be the92greatest open set such that $\Prop{X}{!A \lif !B} \cap \Prop{X}{!A}93\subset \Prop{X}{!B}$, leading to our definition.9495\end{document}