content/many-valued-logic/infinite-valued-logics/infinite-valued-logics.tex
1% Part: many-valued-logic2% Chapter: three-valued-logics34\documentclass[../../../include/open-logic-chapter]{subfiles}56\begin{document}78\olchapter{mvl}{inf}{Infinite-valued Logics}910\olimport{introduction}1112\olimport{lukasiewicz}1314\olimport{goedel}1516\OLEndChapterHook1718\end{document}
content/many-valued-logic/infinite-valued-logics/introduction.tex
1% Part: many-valued-logic2% Chapter: infinite-valued-logics3% Section: introduction45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{mvl}{inf}{int}1011\olsection{Introduction}1213The number of truth values of a matrix need not be finite. An obvious14choice for a set of infinitely many truth values is the set of15rational numbers between $0$ and~$1$, $V_\infty = [0,1] \cap \Rat$,16i.e.,17\begin{align*}18 V_\infty & = \Setabs{\frac{n}{m}}{n,m \in \Nat \text{ and } n\le m}.19\intertext{When considering this infinite truth value set, it is often20useful to also consider the subsets}21V_m & = \Setabs{\frac{n}{m-1}}{n \in \Nat \text{ and } n\le m}22\intertext{For instance, $V_5$ is the set with $5$ evenly spaced truth values,}23V_5 & = \{0, \frac{1}{4}, \frac{1}{2}, \frac{3}{4}, 1\}.24\end{align*}25In logics based on these truth value sets, usually only $1$ is26designated, i.e., $V^+ = \{1\}$. In other words, we let $1$ play the27role of (absolute) truth, $0$ as absolute falsity, but !!{formula}s28may take any intermediate value in~$V$.2930One can also consider the set $V_{[0,1]} = [0,1]$ of all31\emph{real} numbers between $0$ and~$1$, or other infinite subsets of32$[0,1]$, however. Logics with this truth value set are often called \emph{fuzzy}.333435\end{document}
content/many-valued-logic/infinite-valued-logics/lukasiewicz.tex
1% Part: many-valued-logic2% Chapter: three-valued-logics3% Section: lukasiewicz45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{mvl}{inf}{luk}1011\olsection{\L ukasiewicz logic}1213\begin{editorial}14 This is a short ``stub'' of a section on infinite-valued \L15 ukasiewicz logic.16\end{editorial}1718\begin{defn}\ollabel{def:lukasiewicz} Infinite-valued \L ukasiewicz19logic~$\LogLuk[\infty]$ is defined using the matrix:20\begin{enumerate}21 \item The standard propositional language $\Lang L_0$ with22 $\lnot$, $\land$, $\lor$, $\lif$.23 \item The set of truth values $V_\infty$.24 \item $1$ is the only designated value, i.e., $V^+ = \{1\}$.25 \item Truth functions are given by the following functions:26 \begin{align*}27 \tf{\lnot}[\LogLuk](x) & = 1 - x\\28 \tf{\land}[\LogLuk](x,y) & = \min(x,y)\\29 \tf{\lor}[\LogLuk](x,y) & = \max(x,y)\\30 \tf{\lif}[\LogLuk](x,y) & = \min(1,1-(x-y)) = \begin{cases}31 1 & \text{if } x \le y\\32 1-(x-y) & \text{otherwise.}33 \end{cases}34 \end{align*}35\end{enumerate}36$m$-valued \L ukasiewicz logic is defined the same, except $V = V_m$.37\end{defn}3839\begin{prop}40 The logic $\LogLuk[3]$ defined by \olref[thr][luk]{def:lukasiewicz}41 is the same as $\LogLuk[3]$ defined by \olref{def:lukasiewicz}.42\end{prop}4344\begin{proof}45 This can be seen by comparing the truth tables for the connectives46 given in \olref[thr][luk]{def:lukasiewicz} with the truth tables47 determined by the equations in \olref{def:lukasiewicz}:48 \begin{center}49 \begin{tabular}{c|c} 50 $\tf{\lnot}$ & \\ 51 \hline 52 $1$ & $0$ \\ 53 $1/2$ & $1/2$ \\54 $0$ & $1$ 55 \end{tabular}56 \quad57 \begin{tabular}{c|ccc} 58 $\tf{\land}[\LogLuk[3]]$ & $1$ & $1/2$ & $0$ \\ 59 \hline 60 $1$ & $1$ & $1/2$ & $0$ \\ 61 $1/2$ & $1/2$ & $1/2$ & $0$\\ 62 $0$ & $0$ & $0$ & $0$ 63 \end{tabular}64 \\[2ex]65 \begin{tabular}{c|ccc} 66 $\tf{\lor}[\LogLuk[3]]$ & $1$ & $1/2$ & $0$ \\ 67 \hline 68 $1$ & $1$ & $1$ & $1$ \\ 69 $1/2$ & $1$ & $1/2$ & $1/2$ \\70 $0$ & $1$ & $1/2$ & $0$ 71 \end{tabular}72 \quad73 \begin{tabular}{c|ccc} 74 $\tf{\lif}[\LogLuk[3]]$ & $1$ & $1/2$ & $0$ \\ 75 \hline 76 $1$ & $1$ & $1/2$ & $0$ \\ 77 $1/2$ & $1$ & $1$ & $1/2$ \\ 78 $0$ & $1$ & $1$ & $1$ 79 \end{tabular}80 \end{center} 81\end{proof}8283\begin{prop}\ollabel{prop:luk-infty-m}84 If $\Gamma \Entails[\LogLuk[\infty]] !B$ then $\Gamma85 \Entails[\LogLuk[m]] !B$ for all~$m \ge 2$.86\end{prop}8788\begin{proof}89 Exercise.90\end{proof}9192\begin{prob}93 Prove \olref[mvl][inf][luk]{prop:luk-infty-m}.94\end{prob}9596In fact, the converse holds as well.9798Infinite-valued \L ukasiewicz logic is the most popular fuzzy logic.99In the fuzzy logic literature, the conditional is often defined as100$\lnot !A \lor !B$. The result would be an infinite-valued strong101Kleene logic.102103\begin{prob}104 Show that $(p \lif q) \lor (q \lif p)$ is a105 tautology of~$\LogLuk[\infty]$.106\end{prob}107108\end{document}
content/many-valued-logic/infinite-valued-logics/goedel.tex
1% Part: many-valued-logic2% Chapter: three-valued-logics3% Section: lukasiewicz45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{mvl}{inf}{god}1011\olsection{G\"odel logics}1213\begin{editorial}14 This is a short ``stub'' of a section on infinite-valued G\"odel logic.15\end{editorial}1617\begin{defn}\ollabel{def:goedel} Infinite-valued G\"odel18logic~$\LogGod[\infty]$ is defined using the matrix:19\begin{enumerate}20 \item The standard propositional language $\Lang L_0$ with21 $\lfalse$, $\lnot$, $\land$, $\lor$, $\lif$.22 \item The set of truth values $V_\infty$.23 \item $1$ is the only designated value, i.e., $V^+ = \{1\}$.24 \item Truth functions are given by the following functions:25 \begin{align*}26 \tf{\lfalse} & = 0\\27 \tf{\lnot}[\LogGod](x) & = \begin{cases}28 $1$ & \text{if } x =0\\29 $0$ & \text{otherwise}30 \end{cases}\\31 \tf{\land}[\LogGod](x,y) & = \min(x,y)\\32 \tf{\lor}[\LogGod](x,y) & = \max(x,y)\\33 \tf{\lif}[\LogGod](x,y) & = \begin{cases}34 1 & \text{if } x \le y\\35 y & \text{otherwise.}36 \end{cases}37 \end{align*}38\end{enumerate}39$m$-valued G\"odel logic is defined the same, except $V = V_m$.40\end{defn}4142\begin{prop}43 The logic $\LogGod[3]$ defined by \olref[thr][god]{defn:goedel}44 is the same as $\LogGod[3]$ defined by \olref{def:goedel}.45\end{prop}4647\begin{proof}48 This can be seen by comparing the truth tables for the connectives49 given in \olref[thr][god]{defn:goedel} with the truth tables50 determined by the equations in \olref{def:goedel}:51 \begin{center}52 \begin{tabular}{c|c} 53 $\tf{\lnot}[\LogGod[3]]$ & \\ 54 \hline 55 $1$ & $0$ \\ 56 $1/2$ & $0$ \\57 $0$ & $1$ 58 \end{tabular}59 \quad60 \begin{tabular}{c|ccc} 61 $\tf{\land}[\LogGod]$ & $1$ & $1/2$ & $0$ \\ 62 \hline 63 $1$ & $1$ & $1/2$ & $0$ \\ 64 $1/2$ & $1/2$ & $1/2$ & $0$\\ 65 $0$ & $0$ & $0$ & $0$ 66 \end{tabular}67 \\[2ex]68 \begin{tabular}{c|ccc} 69 $\tf{\lor}[\LogGod]$ & $1$ & $1/2$ & $0$ \\ 70 \hline 71 $1$ & $1$ & $1$ & $1$ \\ 72 $1/2$ & $1$ & $1/2$ & $1/2$ \\73 $0$ & $1$ & $1/2$ & $0$ 74 \end{tabular}75 \quad76 \begin{tabular}{c|ccc} 77 $\tf{\lif}[\LogGod]$ & $1$ & $1/2$ & $0$ \\ 78 \hline 79 $1$ & $1$ & $1/2$ & $0$ \\ 80 $1/2$ & $1$ & $1$ & $0$ \\ 81 $0$ & $1$ & $1$ & $1$ 82 \end{tabular}83 \end{center} 84\end{proof}8586\begin{prop}\ollabel{prop:god-infty-m}87 If $\Gamma \Entails[\LogGod[\infty]] !B$ then $\Gamma88 \Entails[\LogGod[m]] !B$ for all~$m \ge 2$.89\end{prop}9091\begin{proof}92 Exercise.93\end{proof}9495\begin{prob}96 Prove \olref[mvl][inf][god]{prop:god-infty-m}.97\end{prob}9899In fact, the converse holds as well.100101Like $\LogGod[3]$, $\LogGod[\infty]$ has all intuitionistically valid102!!{formula}s as tautologies, and the same examples of non-tautologies103are non-tautologies of~$\LogGod[\infty]$:104\begin{align*}105 & p \lor \lnot p && (p \lif q) \lif (\lnot p \lor q) \\106 & \lnot\lnot p \lif p && \lnot(\lnot p \land \lnot q) \lif (p \lor q) \\107 & ((p \lif q) \lif p) \lif p && \lnot(p \lif q) \lif (p \land \lnot q)108\end{align*}109The example of an intuitionistically invalid !!{formula} that is110nevertheless a tautology of~$\LogGod[3]$, $(p \lif q) \lor (q \lif111p)$, is also a tautology in~$\LogGod[\infty]$. In fact,112$\LogGod[\infty]$ can be characterized as intuitionistic logic to113which the schema $(!A \lif !B) \lor (!B \lif !A)$ is added. This was114shown by Michael Dummett, and so $\LogGod[\infty]$ is often referred to115as G\"odel--Dummett logic~$\Log{LC}$.116117\begin{prob}118 Show that $(p \lif q) \lor (q \lif p)$ is a119 tautology of~$\LogGod[\infty]$.120\end{prob}121122\begin{prob}123 Show that $(p \lif q) \lor (q \lif r) \lor (r \lif s)$, which is 124 a tautology of $\LogGod[3]$, is not a tautology of~$\LogGod[\infty]$.125\end{prob}126127\end{document}