User:LvdT88/Temp/MVL

In logic, a many-valued logic (also multi- or multiple-valued logic) is a propositional calculus in which there are more than two truth values. Traditionally, in Aristotle's logical calculus, there were only two possible values (i.e., "true" and "false") for any proposition. Classical two-valued logic may be extended to n-valued logic for n greater than 2. Those most popular in the literature are three-valued (e.g., Łukasiewicz's and Kleene's, which accept the values "true", "false", and "unknown"), the finite-valued (finitely-many valued) with more than three values, and the infinite-valued (infinitely-many valued), such as fuzzy logic and probability logic.

History
The first known classical logician who didn't fully accept the law of excluded middle was Aristotle (who, ironically, is also generally considered to be the first classical logician and the "father of logic" ). Aristotle admitted that his laws did not all apply to future events (De Interpretatione, ch. IX), but he didn't create a system of multi-valued logic to explain this isolated remark. Until the coming of the 20th century, later logicians followed Aristotelian logic, which includes or assumes the law of the excluded middle.

The 20th century brought back the idea of multi-valued logic. The Polish logician and philosopher Jan Łukasiewicz began to create systems of many-valued logic in 1920, using a third value, "possible", to deal with Aristotle's paradox of the sea battle. Meanwhile, the American mathematician, Emil L. Post (1921), also introduced the formulation of additional truth degrees with n ≥ 2, where n are the truth values. Later, Jan Łukasiewicz and Alfred Tarski together formulated a logic on n truth values where n ≥ 2. In 1932 Hans Reichenbach formulated a logic of many truth values where n→infinity. Kurt Gödel in 1932 showed that intuitionistic logic is not a finitely-many valued logic, and defined a system of Gödel logics intermediate between classical and intuitionistic logic; such logics are known as intermediate logics.

Kleene (strong) K3 and Priest logic P3
Kleene's "(strong) logic of indeterminacy" K3 (sometimes $$K_3^S$$) and Priest's "logic of paradox" add a third "undefined" or "indeterminate" truth value I. The truth functions for negation (¬), conjunction (∧),  disjunction (∨),  implication (→K), and  biconditional (↔K) are given by: The difference between the two logics lies in how tautologies are defined. In K3 only T is a designated truth value, while in P3 both T and I are (a logical formula is considered a tautology if it evaluates to a designated truth value). In Kleene's logic I can be interpreted as being "underdetermined", being neither true nor false, while in Priest's logic I can be interpreted as being "overdetermined", being both true and false. K3 does not have any tautologies, while P3 has the same tautologies as classical two-valued logic.

Bochvar's internal three-valued logic (also known as Kleene's weak three-valued logic)
Another logic is Bochvar's "internal" three-valued logic ($$B_3^I$$) also called Kleene's weak three-valued logic. Except for negation and biconditional, its truth tables are all different from the above.

The intermediate truth value in Bochvar's "internal" logic can be described as "contagious" because it propagates in a formula regardless of the value of any other variable.

Belnap logic (B4)
Belnap's logic B4 combines K3 and P3. The overdetermined truth value is here denoted as B and the underdetermined truth value as N.

Gödel logics Gk and G∞
In 1932 Gödel defined a family $$G_k$$ of many-valued logics, with finitely many truth values $$0, \tfrac 1 {k-1}, \tfrac 2 {k-1}, \ldots \tfrac {k-2} {k-1}, 1$$, for example $$G_3$$ has the truth values $$0, \tfrac 1 2, 1$$ and $$G_4$$ has $$0, \tfrac 1 3, \tfrac 2 3, 1$$. In a similar manner he defined a logic with infinitely many truth values, $$G_\infty$$, in which the truth values are all the real numbers in the interval $$[0,1]$$. The designated truth value in these logics is 1.

The conjunction $$\wedge$$ and the disjunction $$\vee$$ are defined respectively as the maximum and minimum of the operands:


 * $$u\wedge v:= \min\{u,v\}$$
 * $$u\vee v:= \max\{u,v\}$$

Negation $$\neg_G$$ and implication $$\rightarrow _G$$ are defined as follows:

\neg_G u=\begin{cases}

1, & \text{if }u=0\\ 0, & \text{if }u>0 \end{cases}

$$

$$ u\rightarrow _G v=\begin{cases}

1, & \text{if }u\leq v\\ 0, & \text{if }u>v \end{cases}

$$

Gödel logics are completely axiomatisable, that is to say it is possible to define a logical calculus in which all tautologies are provable.

Łukasiewicz logics Lv and L∞
Implication $$\rightarrow_L$$ and negation $$\neg_L$$ were defined by Jan Łukasiewicz through the following functions:


 * $$\neg_L u:=1-u$$
 * $$u\rightarrow _L v:=min\{1,1-u+v\}$$

At first Łukasiewicz used these definition in 1920 for his three-valued logic $$L_3$$, with truth values $$0, \tfrac 1 2, 1$$. In 1922 he developed a logic with infinitely many values $$L_\infty$$, in which the truth values spanned the real numbers in the interval $$[0,1]$$. In both cases the designated truth walue was 1.

By adopting truth values defined in the same way as for Gödel logics $$0, \tfrac 1 {v-1}, \tfrac 2 {v-1}, \ldots, \tfrac {v-2} {v-1}, 1$$), it is possible to create a finitely-valued family of logics $$L_v$$, the abovemenioned math>L_\infty and the logic $$L_{\aleph_0}$$, in which the truth values are given by the rational numbers in the interval $$[0,1]$$. The set of tautologies in $$L_\infty$$ and $$L_{\aleph_0}$$ is identical.

Product logic Π
In product logic we have truth values in the interval $$[0,1]$$, a conjunction $$\odot$$ and an implication $$\rightarrow _{\Pi}$$, defined as follows


 * $$u\odot v:=uv$$
 * $$u\rightarrow _{\Pi}v:=\begin{cases}

1, & \text{if }u\leq v\\ \frac {v}{u}, & \text{if }u>v \end{cases}

$$

Additionally there is a negative designated value $$\overline{0}$$ that denotes the concept of false. Through this value it is possible to define a negation $$\neg_\Pi$$ and an additional conjunction $$\wedge_\Pi$$ as follows:


 * $$\neg_\Pi u:= u \rightarrow _{\Pi}\overline{0}$$
 * $$u \wedge_\Pi v:= u\odot (u \rightarrow _{\Pi} v)$$

Post logics Pm
In 1921 Post defined a family of logics $$P_m$$ with (as in $$L_v$$ and $$G_k$$) the truth values $$0, \tfrac 1 {m-1}, \tfrac 2 {m-1}, \ldots, \tfrac {m-2} {m-1}, 1$$. Negation $$\neg_P$$ and disjunction $$\vee_P$$ are defined as follows:


 * $$\neg_P u:=\begin{cases}

1, & \text{if }u=0\\ u-\frac {1}{m-1}, & \text{if }u\not= 0 \end{cases}

$$


 * $$u\vee_P v:=max\{u,v\}$$

Relation to classical logic
Logics are usually systems intended to codify rules for preserving some semantic property of propositions across transformations. In classical logic, this property is "truth." In a valid argument, the truth of the derived proposition is guaranteed if the premises are jointly true, because the application of valid steps preserves the property. However, that property doesn't have to be that of "truth"; instead, it can be some other concept.

Multi-valued logics are intended to preserve the property of designationhood (or being designated). Since there are more than two truth values, rules of inference may be intended to preserve more than just whichever corresponds (in the relevant sense) to truth. For example, in a three-valued logic, sometimes the two greatest truth-values (when they are represented as e.g. positive integers) are designated and the rules of inference preserve these values. Precisely, a valid argument will be such that the value of the premises taken jointly will always be less than or equal to the conclusion.

For example, the preserved property could be justification, the foundational concept of intuitionistic logic. Thus, a proposition is not true or false; instead, it is justified or flawed. A key difference between justification and truth, in this case, is that the law of excluded middle doesn't hold: a proposition that is not flawed is not necessarily justified; instead, it's only not proven that it's flawed. The key difference is the determinacy of the preserved property: One may prove that P is justified, that P is flawed, or be unable to prove either. A valid argument preserves justification across transformations, so a proposition derived from justified propositions is still justified. However, there are proofs in classical logic that depend upon the law of excluded middle; since that law is not usable under this scheme, there are propositions that cannot be proven that way.

Applications
Known applications of many-valued logic can be roughly classified into two groups. The first group uses many-valued logic domain to solve binary problems more efficiently. For example, a well-known approach to represent a multiple-output Boolean function is to treat its output part as a single many-valued variable and convert it to a single-output characteristic function. Other applications of many-valued logic include design of Programmable Logic Arrays (PLAs) with input decoders, optimization of finite state machines, testing, and verification.

The second group targets the design of electronic circuits which employ more than two discrete levels of signals, such as many-valued memories, arithmetic circuits, Field Programmable Gate Arrays (FPGA) etc. Many-valued circuits have a number of theoretical advantages over standard binary circuits. For example, the interconnect on and off chip can be reduced if signals in the circuit assume four or more levels rather than only two. In memory design, storing two instead of one bit of information per memory cell doubles the density of the memory in the same die size. Applications using arithmetic circuits often benefit from using alternatives to binary number systems. For example, residue and redundant number systems can reduce or eliminate the ripple-through carries which are involved in normal binary addition or subtraction, resulting in high-speed arithmetic operations. These number systems have a natural implementation using many-valued circuits. However, the practicality of these potential advantages heavily depends on the availability of circuit realizations, which must be compatible or competitive with present-day standard technologies.

Research venues
An IEEE International Symposium on Multiple-Valued Logic (ISMVL) has been held annually since 1970. It mostly caters to applications in digital design and verification. There is also a Journal of Multiple-Valued Logic and Soft Computing.