Many-valued logics

Infinite-valued Logics

Reading preferences

Optional display controls need JavaScript. All reading content and navigation work without it.

Source file content/many-valued-logic/infinite-valued-logics/infinite-valued-logics.tex

Source file content/many-valued-logic/infinite-valued-logics/introduction.tex

Introduction

The number of truth values of a matrix need not be finite. An obvious choice for a set of infinitely many truth values is the set of rational numbers between 00source and 11source, V=[0,1]V_\infty = [0,1] \cap \Ratsource, i.e.,

V={nm:n,m and nm}.When considering this infinite truth value set, it is often useful to also consider the subsetsVm={nm1:n and nm}For instance, V5 is the set with 5 evenly spaced truth values,V5={0,14,12,34,1}.V_\infty & = \Setabs{\frac{n}{m}}{n,m \in \Nat \text{ and } n\le m}. \intertext{When considering this infinite truth value set, it is often useful to also consider the subsets} V_m & = \Setabs{\frac{n}{m-1}}{n \in \Nat \text{ and } n\le m} \intertext{For instance, $V_5$ is the set with $5$ evenly spaced truth values,} V_5 & = \{0, \frac{1}{4}, \frac{1}{2}, \frac{3}{4}, 1\}.source

In logics based on these truth value sets, usually only 11source is designated, i.e., V+={1}V^+ = \{1\}source. In other words, we let 11source play the role of (absolute) truth, 00source as absolute falsity, but formulas may take any intermediate value in VVsource.

One can also consider the set V[0,1]=[0,1]V_{[0,1]} = [0,1]source of all real numbers between 00source and 11source, or other infinite subsets of [0,1][0,1]source, however. Logics with this truth value set are often called fuzzy.

Source file content/many-valued-logic/infinite-valued-logics/lukasiewicz.tex

L ukasiewicz logic

Editorial

This is a short “stub” of a section on infinite-valued L ukasiewicz logic.

Infinite and finite valued Lukasiewicz matrices

Infinite-valued L ukasiewicz logic Ł\LogLuk[\infty]source is defined using the matrix:

  1. The standard propositional language L0\Lang L_0source with ¬\lnotsource, \landsource, \lorsource, \lifsource.

  2. The set of truth values VV_\inftysource.

  3. 11source is the only designated value, i.e., V+={1}V^+ = \{1\}source.

  4. Truth functions are given by the following functions:

    ¬~Ł(x)=1x~Ł(x,y)=min(x,y)~Ł(x,y)=max(x,y)~Ł(x,y)=min(1,1(xy))={1if xy1(xy)otherwise.\tf{\lnot}[\LogLuk](x) & = 1 - x\\ \tf{\land}[\LogLuk](x,y) & = \min(x,y)\\ \tf{\lor}[\LogLuk](x,y) & = \max(x,y)\\ \tf{\lif}[\LogLuk](x,y) & = \min(1,1-(x-y)) = \begin{cases} 1 & \text{if } x \le y\\ 1-(x-y) & \text{otherwise.} \end{cases}source

mmsource-valued L ukasiewicz logic is defined the same, except V=VmV = V_msource.

Agreement of the two three valued Lukasiewicz definitions

The logic Ł3\LogLuk[3]source defined by the earlier three valued Lukasiewicz matrix definition is the same as Ł3\LogLuk[3]source defined by the infinite and finite valued Lukasiewicz matrix definition.

Proof

This can be seen by comparing the truth tables for the connectives given in the earlier three valued Lukasiewicz matrix definition with the truth tables determined by the equations in the infinite and finite valued Lukasiewicz matrix definition:

Numeric Lukasiewicz negation table

Truth table for the negation truth function. Columns are input and output, in that order. Row one, input one: output zero. Row two, input one half: output one half. Row three, input zero: output one. End of truth table.

¬~\tf{\lnot}source
Numeric Lukasiewicz negation table
inputoutput
11source00source
1/21/2source1/21/2source
00source11source
source 49

quad

Numeric Lukasiewicz conjunction table

Truth table for the three valued Lukasiewicz conjunction truth function. Rows give the first argument; columns give the second argument. Column values, in source order: one, one half, zero. Row one, input one: outputs in that column order: one, one half, zero. Row two, input one half: outputs in that column order: one half, one half, zero. Row three, input zero: outputs in that column order: zero, zero, zero. End of truth table.

~Ł3\tf{\land}[\LogLuk[3]]source
Numeric Lukasiewicz conjunction table
first argument11source1/21/2source00source
11source11source1/21/2source00source
1/21/2source1/21/2source1/21/2source00source
00source00source00source00source
source 57

\\[2ex]

Numeric Lukasiewicz disjunction table

Truth table for the three valued Lukasiewicz disjunction truth function. Rows give the first argument; columns give the second argument. Column values, in source order: one, one half, zero. Row one, input one: outputs in that column order: one, one, one. Row two, input one half: outputs in that column order: one, one half, one half. Row three, input zero: outputs in that column order: one, one half, zero. End of truth table.

~Ł3\tf{\lor}[\LogLuk[3]]source
Numeric Lukasiewicz disjunction table
first argument11source1/21/2source00source
11source11source11source11source
1/21/2source11source1/21/2source1/21/2source
00source11source1/21/2source00source
source 65

quad

Numeric Lukasiewicz conditional table

Truth table for the three valued Lukasiewicz conditional truth function. Rows give the first argument; columns give the second argument. Column values, in source order: one, one half, zero. Row one, input one: outputs in that column order: one, one half, zero. Row two, input one half: outputs in that column order: one, one, one half. Row three, input zero: outputs in that column order: one, one, one. End of truth table.

~Ł3\tf{\lif}[\LogLuk[3]]source
Numeric Lukasiewicz conditional table
first argument11source1/21/2source00source
11source11source1/21/2source00source
1/21/2source11source11source1/21/2source
00source11source11source11source
source 73

From infinite to finite Lukasiewicz consequence

If ΓŁB\Gamma \Entails[\LogLuk[\infty]] !Bsource then ΓŁmB\Gamma \Entails[\LogLuk[m]] !Bsource for all m2m \ge 2source.

Proof

Exercise.

Exercise on restricting Lukasiewicz truth values

Prove the proposition on restricting infinite Lukasiewicz consequence to finitely many values.

In fact, the converse holds as well.

Infinite-valued L ukasiewicz logic is the most popular fuzzy logic. In the fuzzy logic literature, the conditional is often defined as ¬AB\lnot !A \lor !Bsource. The result would be an infinite-valued strong Kleene logic.

Exercise on Lukasiewicz prelinearity

Show that (pq)(qp)(p \lif q) \lor (q \lif p)source is a tautology of Ł\LogLuk[\infty]source.

Source file content/many-valued-logic/infinite-valued-logics/goedel.tex

Gödel logics

Editorial

This is a short “stub” of a section on infinite-valued Gödel logic.

Infinite and finite valued Goedel matrices

Infinite-valued Gödel logic G\LogGod[\infty]source is defined using the matrix:

  1. The standard propositional language L0\Lang L_0source with \lfalsesource, ¬\lnotsource, \landsource, \lorsource, \lifsource.

  2. The set of truth values VV_\inftysource.

  3. 11source is the only designated value, i.e., V+={1}V^+ = \{1\}source.

  4. Truth functions are given by the following functions:

    ~=0¬~G(x)={1if x=00otherwise~G(x,y)=min(x,y)~G(x,y)=max(x,y)~G(x,y)={1if xyyotherwise.\tf{\lfalse} & = 0\\ \tf{\lnot}[\LogGod](x) & = \begin{cases} $1$ & \text{if } x =0\\ $0$ & \text{otherwise} \end{cases}\\ \tf{\land}[\LogGod](x,y) & = \min(x,y)\\ \tf{\lor}[\LogGod](x,y) & = \max(x,y)\\ \tf{\lif}[\LogGod](x,y) & = \begin{cases} 1 & \text{if } x \le y\\ y & \text{otherwise.} \end{cases}source

mmsource-valued Gödel logic is defined the same, except V=VmV = V_msource.

Agreement of the two three valued Goedel definitions

The logic G3\LogGod[3]source defined by the earlier three valued Goedel matrix definition is the same as G3\LogGod[3]source defined by the infinite and finite valued Goedel matrix definition.

Proof

This can be seen by comparing the truth tables for the connectives given in the earlier three valued Goedel matrix definition with the truth tables determined by the equations in the infinite and finite valued Goedel matrix definition:

Numeric Goedel negation table

Truth table for the three valued Goedel negation truth function. Columns are input and output, in that order. Row one, input one: output zero. Row two, input one half: output zero. Row three, input zero: output one. End of truth table.

¬~G3\tf{\lnot}[\LogGod[3]]source
Numeric Goedel negation table
inputoutput
11source00source
1/21/2source00source
00source11source
source 52

quad

Numeric Goedel conjunction table

Truth table for the Goedel conjunction truth function. Rows give the first argument; columns give the second argument. Column values, in source order: one, one half, zero. Row one, input one: outputs in that column order: one, one half, zero. Row two, input one half: outputs in that column order: one half, one half, zero. Row three, input zero: outputs in that column order: zero, zero, zero. End of truth table.

~G\tf{\land}[\LogGod]source
Numeric Goedel conjunction table
first argument11source1/21/2source00source
11source11source1/21/2source00source
1/21/2source1/21/2source1/21/2source00source
00source00source00source00source
source 60

\\[2ex]

Numeric Goedel disjunction table

Truth table for the Goedel disjunction truth function. Rows give the first argument; columns give the second argument. Column values, in source order: one, one half, zero. Row one, input one: outputs in that column order: one, one, one. Row two, input one half: outputs in that column order: one, one half, one half. Row three, input zero: outputs in that column order: one, one half, zero. End of truth table.

~G\tf{\lor}[\LogGod]source
Numeric Goedel disjunction table
first argument11source1/21/2source00source
11source11source11source11source
1/21/2source11source1/21/2source1/21/2source
00source11source1/21/2source00source
source 68

quad

Numeric Goedel conditional table

Truth table for the Goedel conditional truth function. Rows give the first argument; columns give the second argument. Column values, in source order: one, one half, zero. Row one, input one: outputs in that column order: one, one half, zero. Row two, input one half: outputs in that column order: one, one, zero. Row three, input zero: outputs in that column order: one, one, one. End of truth table.

~G\tf{\lif}[\LogGod]source
Numeric Goedel conditional table
first argument11source1/21/2source00source
11source11source1/21/2source00source
1/21/2source11source11source00source
00source11source11source11source
source 76

From infinite to finite Goedel consequence

If ΓGB\Gamma \Entails[\LogGod[\infty]] !Bsource then ΓGmB\Gamma \Entails[\LogGod[m]] !Bsource for all m2m \ge 2source.

Proof

Exercise.

Exercise on restricting Goedel truth values

Prove the proposition on restricting infinite Goedel consequence to finitely many values.

In fact, the converse holds as well.

Like G3\LogGod[3]source, G\LogGod[\infty]source has all intuitionistically valid formulas as tautologies, and the same examples of non-tautologies are non-tautologies of G\LogGod[\infty]source:

p¬p(pq)(¬pq)¬¬pp¬(¬p¬q)(pq)((pq)p)p¬(pq)(p¬q)& p \lor \lnot p && (p \lif q) \lif (\lnot p \lor q) \\ & \lnot\lnot p \lif p && \lnot(\lnot p \land \lnot q) \lif (p \lor q) \\ & ((p \lif q) \lif p) \lif p && \lnot(p \lif q) \lif (p \land \lnot q)source

The example of an intuitionistically invalid formula that is nevertheless a tautology of G3\LogGod[3]source, (pq)(qp)(p \lif q) \lor (q \lif p)source, is also a tautology in G\LogGod[\infty]source. In fact, G\LogGod[\infty]source can be characterized as intuitionistic logic to which the schema (AB)(BA)(!A \lif !B) \lor (!B \lif !A)source is added. This was shown by Michael Dummett, and so G\LogGod[\infty]source is often referred to as Gödel--Dummett logic LC\Log{LC}source.

Exercise on Goedel prelinearity

Show that (pq)(qp)(p \lif q) \lor (q \lif p)source is a tautology of G\LogGod[\infty]source.

Exercise separating finite and infinite Goedel tautologies

Show that (pq)(qr)(rs)(p \lif q) \lor (q \lif r) \lor (r \lif s)source, which is a tautology of G3\LogGod[3]source, is not a tautology of G\LogGod[\infty]source.

Source disclosures