Many-valued Logics
   HOME

TheInfoList



OR:

Many-valued logic (also multi- or multiple-valued logic) is a
propositional calculus The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...
in which there are more than two
truth value In logic and mathematics, a truth value, sometimes called a logical value, is a value indicating the relation of a proposition to truth, which in classical logic has only two possible values ('' true'' or '' false''). Truth values are used in ...
s. Traditionally, in
Aristotle Aristotle (; 384–322 BC) was an Ancient Greek philosophy, Ancient Greek philosopher and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, a ...
's
logical calculus A formal system is an abstract structure and formalization of an axiomatic system used for deducing, using rules of inference, theorems from axioms. In 1921, David Hilbert proposed to use formal systems as the foundation of knowledge in ma ...
, there were only two possible values (i.e., "true" and "false") for any
proposition A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
. Classical
two-valued logic In logic, the semantic principle (or law) of bivalence states that every declarative sentence expressing a proposition (of a theory under inspection) has exactly one truth value, either true or false. A logic satisfying this principle is calle ...
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"), four-valued, nine-valued, the finite-valued (finitely-many valued) with more than three values, and the infinite-valued (infinitely-many-valued), such as
fuzzy logic Fuzzy logic is a form of many-valued logic in which the truth value of variables may be any real number between 0 and 1. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely ...
and
probability logic Probabilistic logic (also probability logic and probabilistic reasoning) involves the use of probability and logic to deal with uncertain situations. Probabilistic logic extends traditional logic truth tables with probabilistic expressions. A diffi ...
.


History

It is ''wrong'' that the first known classical logician who did not fully accept the
law of excluded middle In logic, the law of excluded middle or the principle of excluded middle states that for every proposition, either this proposition or its negation is true. It is one of the three laws of thought, along with the law of noncontradiction and t ...
was
Aristotle Aristotle (; 384–322 BC) was an Ancient Greek philosophy, Ancient Greek philosopher and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, a ...
(who, ironically, is also generally considered to be the first classical logician and the "father of wo-valuedlogic"). In fact, Aristotle did ''not'' contest the universality of the law of excluded middle, but the universality of the bivalence principle: he admitted that this principle 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 In logic and formal semantics, term logic, also known as traditional logic, syllogistic logic or Aristotelian logic, is a loose name for an approach to formal logic that began with Aristotle and was developed further in ancient history mostly b ...
, 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 Jan Łukasiewicz (; 21 December 1878 – 13 February 1956) was a Polish logician and philosopher who is best known for Polish notation and Łukasiewicz logic. His work centred on philosophical logic, mathematical logic and history of logi ...
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 Alfred Tarski (; ; born Alfred Teitelbaum;School of Mathematics and Statistics, University of St Andrews ''School of Mathematics and Statistics, University of St Andrews''. January 14, 1901 – October 26, 1983) was a Polish-American logician ...
together formulated a logic on ''n'' truth values where ''n'' ≥ 2. In 1932,
Hans Reichenbach Hans Reichenbach (; ; September 26, 1891 – April 9, 1953) was a leading philosopher of science, educator, and proponent of logical empiricism. He was influential in the areas of science, education, and of logical empiricism. He founded the ''G ...
formulated a logic of many truth values where ''n''→∞.
Kurt Gödel Kurt Friedrich Gödel ( ; ; April 28, 1906 – January 14, 1978) was a logician, mathematician, and philosopher. Considered along with Aristotle and Gottlob Frege to be one of the most significant logicians in history, Gödel profoundly ...
in 1932 showed that
intuitionistic logic Intuitionistic logic, sometimes more generally called constructive logic, refers to systems of symbolic logic that differ from the systems used for classical logic by more closely mirroring the notion of constructive proof. In particular, systems ...
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.


Examples


Kleene (strong) and Priest logic

Kleene Stephen Cole Kleene ( ; January 5, 1909 – January 25, 1994) was an American mathematician. One of the students of Alonzo Church, Kleene, along with Rózsa Péter, Alan Turing, Emil Post, and others, is best known as a founder of the branch of ...
's "(strong) logic of indeterminacy" (sometimes K_3^S) and
Priest A priest is a religious leader authorized to perform the sacred rituals of a religion, especially as a mediatory agent between humans and one or more deity, deities. They also have the authority or power to administer religious rites; in parti ...
's "logic of paradox" add a third "undefined" or "indeterminate" truth value . The truth functions for
negation In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
(¬), conjunction (∧),
disjunction In logic, disjunction (also known as logical disjunction, logical or, logical addition, or inclusive disjunction) is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is ...
(∨), implication (), and biconditional () are given by: The difference between the two logics lies in how tautologies are defined. In only is a ''designated truth value'', while in both and are (a logical formula is considered a tautology if it evaluates to a designated truth value). In Kleene's logic can be interpreted as being "underdetermined", being neither true nor false, while in Priest's logic can be interpreted as being "overdetermined", being both true and false. does not have any tautologies, while has the same tautologies as classical two-valued logic.


Bochvar's internal three-valued logic

Another logic is Dmitry 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 ()

Belnap's logic combines and . 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, \tfrac, \ldots, \tfrac, 1, for example G_3 has the truth values 0, \tfrac, 1 and G_4 has 0, \tfrac, \tfrac, 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 number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s in the interval
, 1 The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
/math>. The designated truth value in these logics is 1. The conjunction \wedge and the disjunction \vee are defined respectively as the minimum and
maximum In mathematical analysis, the maximum and minimum of a function (mathematics), function are, respectively, the greatest and least value taken by the function. Known generically as extremum, they may be defined either within a given Interval (ma ...
of the operands: : \begin u \wedge v &:= \min\ \\ u \vee v &:= \max\ \end Negation \neg_G and implication \xrightarrow /math> are defined as follows: : \begin \neg_G u &= \begin 1, & \textu = 0 \\ 0, & \textu > 0 \end \\ pt u \mathrel v &= \begin 1, & \textu \leq v \\ v, & \textu > v \end \end Gödel logics are completely axiomatisable, that is to say it is possible to define a logical calculus in which all tautologies are provable. The implication above is the unique Heyting implication defined by the fact that the suprema and minima operations form a complete lattice with an infinite distributive law, which defines a unique complete Heyting algebra structure on the lattice.


Łukasiewicz logics and

Implication \xrightarrow /math> and negation \underset were defined by
Jan Łukasiewicz Jan Łukasiewicz (; 21 December 1878 – 13 February 1956) was a Polish logician and philosopher who is best known for Polish notation and Łukasiewicz logic. His work centred on philosophical logic, mathematical logic and history of logi ...
through the following functions: : \begin \underset u &:= 1 - u \\ u \mathrel v &:= \min\ \end At first Łukasiewicz used these definitions in 1920 for his three-valued logic L_3, with truth values 0, \frac, 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
, 1 The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
/math>. In both cases the designated truth value was 1. By adopting truth values defined in the same way as for Gödel logics 0, \tfrac, \tfrac, \ldots, \tfrac , 1, it is possible to create a finitely-valued family of logics L_v, the abovementioned L_\infty and the logic L_, in which the truth values are given by the
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (for example, The set of all ...
s in the interval ,1/math>. The set of tautologies in L_\infty and L_ is identical.


Product logic

In product logic we have truth values in the interval ,1/math>, a conjunction \odot and an implication \xrightarrow Pi/math>, defined as follows : \begin u \odot v &:= uv \\ u \mathrel v &:= \begin 1, & \text u \leq v \\ \frac, & \text u > v \end \end Additionally there is a negative designated value \overline that denotes the concept of ''false''. Through this value it is possible to define a negation \underset and an additional conjunction \underset as follows: : \begin \underset u &:= u \mathrel \overline \\ u \mathbin v &:= u \odot \left(u \mathrel v\right) \end and then u \mathbin v = \min\.


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 , \tfrac 2 , \ldots, \tfrac , 1. Negation \underset and conjunction \underset and disjunction \underset are defined as follows: : \begin \underset u &:= \begin 1, & \text u = 0 \\ u - \frac, & \text u \not= 0 \end \\ pt u \mathbin v &:= \min\ \\ pt u \mathbin v &:= \max\ \end


Rose logics

In 1951, Alan Rose defined another family of logics for systems whose truth-values form lattices.


Relation to classical logic

Logics are usually systems intended to codify rules for preserving some
semantic Semantics is the study of linguistic Meaning (philosophy), meaning. It examines what meaning is, how words get their meaning, and how the meaning of a complex expression depends on its parts. Part of this process involves the distinction betwee ...
property of propositions across transformations. In classical
logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
, 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 Intuitionistic logic, sometimes more generally called constructive logic, refers to systems of symbolic logic that differ from the systems used for classical logic by more closely mirroring the notion of constructive proof. In particular, systems ...
. 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 In logic, the law of excluded middle or the principle of excluded middle states that for every proposition, either this proposition or its negation is true. It is one of the three laws of thought, along with the law of noncontradiction and t ...
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.


Suszko's thesis


Functional completeness of many-valued logics

Functional completeness In Mathematical logic, logic, a functionally complete set of logical connectives or Boolean function, Boolean operators is one that can be used to express all possible truth tables by combining members of the Set (mathematics), set into a Boolean ...
is a term used to describe a special property of finite logics and algebras. A logic's set of connectives is said to be ''functionally complete'' or ''adequate'' if and only if its set of connectives can be used to construct a formula corresponding to every possible
truth function In logic, a truth function is a function that accepts truth values as input and produces a unique truth value as output. In other words: the input and output of a truth function are all truth values; a truth function will always output exactly ...
. An adequate algebra is one in which every finite mapping of variables can be expressed by some composition of its operations. Classical logic: CL = (, ¬, →, ∨, ∧, ↔) is functionally complete, whereas no
Łukasiewicz logic In mathematics and philosophy, Łukasiewicz logic ( , ) is a non-classical, many-valued logic. It was originally defined in the early 20th century by Jan Łukasiewicz as a three-valued modal logic;Łukasiewicz J., 1920, O logice trójwartościow ...
or infinitely many-valued logics has this property. We can define a finitely many-valued logic as being L''n'' ( ƒ1, ..., ƒ''m'') where ''n'' ≥ 2 is a given natural number. Post (1921) proves that assuming a logic is able to produce a function of any ''m''th order model, there is some corresponding combination of connectives in an adequate logic L''n'' that can produce a model of order ''m+1''.


Applications

Known applications of many-valued logic can be roughly classified into two groups. The first group uses many-valued logic 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 In mathematics, the term "characteristic function" can refer to any of several distinct concepts: * The indicator function of a subset, that is the function \mathbf_A\colon X \to \, which for a given subset ''A'' of ''X'', has value 1 at points ...
(specifically, the
indicator function In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if is a subset of some set , then the indicator functio ...
). Other applications of many-valued logic include design of programmable logic arrays (PLAs) with input decoders, optimization of
finite-state machine A finite-state machine (FSM) or finite-state automaton (FSA, plural: ''automata''), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number o ...
s, testing, and verification. The second group targets the design of electronic circuits that employ more than two discrete levels of signals, such as many-valued memories, arithmetic circuits, and field programmable gate arrays (FPGAs). 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-carry adder, ripple-through carries that 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. In addition to aiding in the design of electronic circuits, many-valued logic is used extensively to test circuits for faults and defects. Basically all known automatic test pattern generation (ATG) algorithms used for digital circuit testing require a simulator that can resolve 5-valued logic (0, 1, x, D, D'). The additional values—x, D, and D'—represent (1) unknown/uninitialized, (2) a 0 instead of a 1, and (3) a 1 instead of a 0.


Research venues

An
IEEE The Institute of Electrical and Electronics Engineers (IEEE) is an American 501(c)(3) organization, 501(c)(3) public charity professional organization for electrical engineering, electronics engineering, and other related disciplines. The 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''.


See also

;Mathematical logic * Degrees of truth *
Fuzzy logic Fuzzy logic is a form of many-valued logic in which the truth value of variables may be any real number between 0 and 1. It is employed to handle the concept of partial truth, where the truth value may range between completely true and completely ...
* Gödel logic * Jaina seven-valued logic * Kleene logic * Kleene algebra (with involution) *
Łukasiewicz logic In mathematics and philosophy, Łukasiewicz logic ( , ) is a non-classical, many-valued logic. It was originally defined in the early 20th century by Jan Łukasiewicz as a three-valued modal logic;Łukasiewicz J., 1920, O logice trójwartościow ...
* MV-algebra * Post logic * Principle of bivalence * A. N. Prior * Relevance logic ;Philosophical logic *
False dilemma A false dilemma, also referred to as false dichotomy or false binary, is an informal fallacy based on a premise that erroneously limits what options are available. The source of the fallacy lies not in an invalid form of inference but in a false ...
* ''Mu'' ;Digital logic * MVCML, multiple-valued current-mode logic * IEEE 1164 a nine-valued standard for
VHDL VHDL (Very High Speed Integrated Circuit Program, VHSIC Hardware Description Language) is a hardware description language that can model the behavior and structure of Digital electronics, digital systems at multiple levels of abstraction, ran ...
* IEEE 1364 a four-valued standard for
Verilog Verilog, standardized as IEEE 1364, is a hardware description language (HDL) used to model electronic systems. It is most commonly used in the design and verification of digital circuits, with the highest level of abstraction being at the re ...
* Three-state logic * Noise-based logic


References


Further reading

General * Augusto, Luis M. (2017). ''Many-valued logics: A mathematical and computational introduction.'' London: College Publications. 340 pages.
Webpage
* Béziau J.-Y. (1997), What is many-valued logic ? ''Proceedings of the 27th International Symposium on Multiple-Valued Logic'', IEEE Computer Society, Los Alamitos, pp. 117–121. * Malinowski, Gregorz, (2001), ''Many-Valued Logics,'' in Goble, Lou, ed., ''The Blackwell Guide to Philosophical Logic''. Blackwell. * * Cignoli, R. L. O., D'Ottaviano, I, M. L., Mundici, D., (2000).
Algebraic Foundations of Many-valued Reasoning
'. Kluwer. * * S. Gottwald, ''A Treatise on Many-Valued Logics.'' Studies in Logic and Computation, vol. 9, Research Studies Press: Baldock, Hertfordshire, England, 2001. * * * Hájek P., (1998), ''Metamathematics of fuzzy logic''. Kluwer. (Fuzzy logic understood as many-valued logic
sui generis ( , ) is a Latin phrase that means "of its/their own kind" or "in a class by itself", therefore "unique". It denotes an exclusion to the larger system an object is in relation to. Several disciplines use the term to refer to unique entities. ...
.) Specific * Alexandre Zinoviev, ''Philosophical Problems of Many-Valued Logic'', D. Reidel Publishing Company, 169p., 1963. * Prior A. 1957, ''Time and Modality. Oxford University Press'', based on his 1956
John Locke John Locke (; 29 August 1632 (Old Style and New Style dates, O.S.) – 28 October 1704 (Old Style and New Style dates, O.S.)) was an English philosopher and physician, widely regarded as one of the most influential of the Enlightenment thi ...
lectures * Goguen J.A. 1968/69, ''The logic of inexact concepts'', Synthese, 19, 325–373. * Chang C.C. and Keisler H. J. 1966. ''Continuous Model Theory'', Princeton, Princeton University Press. * Gerla G. 2001,
Fuzzy logic: Mathematical Tools for Approximate Reasoning
', Kluwer Academic Publishers, Dordrecht. * Novák, V., Perfilieva, I., Močkoř, J., (1999), ''Mathematical Principles of Fuzzy Logic. Kluwer, Boston. * Pavelka J. 1979, ''On fuzzy logic I: Many-valued rules of inference'', Zeitschr. f. math. Logik und Grundlagen d. Math., 25, 45–52. * Covers proof theory of many-valued logics as well, in the tradition of Hájek. * * * * *


External links

* * *
IEEE Computer Society IEEE Computer Society (commonly known as the Computer Society or CS) is a technical society of the Institute of Electrical and Electronics Engineers (IEEE) dedicated to computing, namely the major areas of hardware, software, standards and people ...
'
Technical Committee on Multiple-Valued Logic

Resources for Many-Valued Logic
by Reiner Hähnle, Chalmers University
Many-valued Logics W3 Server
(archived) * * Carlos Caleiro, Walter Carnielli, Marcelo E. Coniglio and João Marcos
Two's company: "The humbug of many logical values"
in {{DEFAULTSORT:Multi-Valued Logic