Multi-valued logics
   HOME

TheInfoList



OR:

Many-valued logic (also multi- or multiple-valued logic) refers to a
propositional calculus Propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. It deals with propositions (which can be true or false) and relations ...
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''). Computing In some pro ...
s. Traditionally, in
Aristotle Aristotle (; grc-gre, Ἀριστοτέλης ''Aristotélēs'', ; 384–322 BC) was a Greek philosopher and polymath during the Classical period in Ancient Greece. Taught by Plato, he was the founder of the Peripatetic school of ph ...
's logical calculus, there were only two possible values (i.e., "true" and "false") for any
proposition In logic and linguistics, a proposition is the meaning of a declarative sentence. In philosophy, " meaning" is understood to be a non-linguistic entity which is shared by all sentences with the same meaning. Equivalently, a proposition is the no ...
. 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 called ...
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 and probability logic.


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 so-called three laws of thought, along with the law of noncontradi ...
was
Aristotle Aristotle (; grc-gre, Ἀριστοτέλης ''Aristotélēs'', ; 384–322 BC) was a Greek philosopher and polymath during the Classical period in Ancient Greece. Taught by Plato, he was the founder of the Peripatetic school of ph ...
(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, which includes or assumes the
law of the 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 so-called three laws of thought, along with the law of noncontradi ...
. 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 logic. ...
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 a ...
together formulated a logic on ''n'' truth values where ''n'' ≥ 2. In 1932, Hans Reichenbach formulated a logic of many truth values where ''n''→∞. Kurt Gödel 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 logic In mathematical logic, a first-order Gödel logic is a member of a family of finite- or infinite-valued logics in which the sets of truth values ''V'' are closed subsets of the interval ,1containing both 0 and 1. Different such sets ''V'' in gene ...
s intermediate between classical and intuitionistic logic; such logics are known as
intermediate logics In mathematical logic, a superintuitionistic logic is a propositional logic extending intuitionistic logic. Classical logic is the strongest consistent superintuitionistic logic; thus, consistent superintuitionistic logics are called intermediate l ...
.


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 deities. They also have the authority or power to administer religious rites; in partic ...
's "logic of paradox" add a third "undefined" or "indeterminate" truth value . The truth functions for negation (¬),
conjunction Conjunction may refer to: * Conjunction (grammar), a part of speech * Logical conjunction, a mathematical operator ** Conjunction introduction, a rule of inference of propositional logic * Conjunction (astronomy), in which two astronomical bodies ...
(∧),
disjunction In logic, disjunction is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is raining or it is snowing" can be represented in logic using the disjunctive formula R \lor S ...
(∨), implication (), and
biconditional In logic and mathematics, the logical biconditional, sometimes known as the material biconditional, is the logical connective (\leftrightarrow) used to conjoin two statements and to form the statement " if and only if ", where is known as t ...
() 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 distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s in the interval
, 1 The comma is a punctuation mark that appears in several variants in different languages. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline o ...
/math>. The designated truth value in these logics is 1. The conjunction \wedge and the disjunction \vee are defined respectively as the
minimum In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given r ...
and
maximum In mathematical analysis, the maxima and minima (the respective plurals of maximum and minimum) of a function, known collectively as extrema (the plural of extremum), are the largest and smallest value of the function, either within a given r ...
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 In mathematics, especially in order theory, a complete Heyting algebra is a Heyting algebra that is complete as a lattice. Complete Heyting algebras are the objects of three different categories; the category CHey, the category Loc of locales, ...
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 logic. ...
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. It has the same shape as an apostrophe or single closing quotation mark () in many typefaces, but it differs from them in being placed on the baseline o ...
/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 (e.g. ). The set of all rat ...
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 Post or POST commonly refers to: *Mail, the postal system, especially in Commonwealth of Nations countries **An Post, the Irish national postal service **Canada Post, Canadian postal service **Deutsche Post, German postal service **Iraqi Post, Ira ...
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 \\ u \mathbin v &:= \min\ \\ u \mathbin v &:= \max\ \end


Rose logics

In 1951, Alan Rose defined another family of logics for systems whose truth-values form
lattice Lattice may refer to: Arts and design * Latticework, an ornamental criss-crossed framework, an arrangement of crossing laths or other thin strips of material * Lattice (music), an organized grid model of pitch ratios * Lattice (pastry), an orna ...
s.


Relation to classical logic

Logics are usually systems intended to codify rules for preserving some semantic 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 science of deductively valid inferences or of logical truths. It is a formal science investigating how conclusions follow from premise ...
, 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 so-called three laws of thought, along with the law of noncontradi ...
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 logic, a functionally complete set of logical connectives or Boolean operators is one which can be used to express all possible truth tables by combining members of the set into a Boolean expression.. ("Complete set of logical connectives").. ( ...
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 o ...
. 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 logic;Łukasiewicz J., 1920, O logice trójwartościowej (in P ...
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 Post or POST commonly refers to: *Mail, the postal system, especially in Commonwealth of Nations countries **An Post, the Irish national postal service **Canada Post, Canadian postal service **Deutsche Post, German postal service **Iraqi Post, Ira ...
(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). 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 array A field-programmable gate array (FPGA) is an integrated circuit designed to be configured by a customer or a designer after manufacturinghence the term '' field-programmable''. The FPGA configuration is generally specified using a hardware d ...
s (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 Residue may refer to: Chemistry and biology * An amino acid, within a peptide chain * Crop residue, materials left after agricultural processes * Pesticide residue, refers to the pesticides that may remain on or in food after they are applied ...
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 ATPG (acronym for both Automatic Test Pattern Generation and Automatic Test Pattern Generator) is an electronic design automation method/technology used to find an input (or test) sequence that, when applied to a digital circuit, enables automatic t ...
(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 a 501(c)(3) professional association for electronic engineering and electrical engineering (and associated disciplines) with its corporate office in New York City and its operat ...
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 In classical logic, propositions are typically unambiguously considered as being true or false. For instance, the proposition ''one is both equal and not equal to itself'' is regarded as simply false, being contrary to the Law of Noncontradiction; ...
* Fuzzy logic *
Gödel logic In mathematical logic, a first-order Gödel logic is a member of a family of finite- or infinite-valued logics in which the sets of truth values ''V'' are closed subsets of the interval ,1containing both 0 and 1. Different such sets ''V'' in gene ...
* 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 logic;Łukasiewicz J., 1920, O logice trójwartościowej (in P ...
* MV-algebra * Post logic *
Principle of bivalence 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 called ...
* A. N. Prior *
Relevance logic Relevance logic, also called relevant logic, is a kind of non-classical logic requiring the antecedent and consequent of implications to be relevantly related. They may be viewed as a family of substructural or modal logics. It is generally, but ...
;Philosophical logic * False dilemma * ''Mu'' ;Digital logic * MVCML, multiple-valued current-mode logic *
IEEE 1164 The IEEE 1164 standard (''Multivalue Logic System for VHDL Model Interoperability'') is a technical standard published by the IEEE in 1993. It describes the definitions of logic values to be used in electronic design automation, for the VHDL har ...
a nine-valued standard for
VHDL The VHSIC Hardware Description Language (VHDL) is a hardware description language (HDL) that can model the behavior and structure of digital systems at multiple levels of abstraction, ranging from the system level down to that of logic gate ...
*
IEEE 1364 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 at the register-transfer level of abstraction. It is also ...
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 at the register-transfer level of abstraction. It is als ...
*
Three-state logic In digital electronics, a tri-state or three-state buffer is a type of digital buffer that has three stable states: a high output state, a low output state, and a high-impedance state. In the high-impedance state, the output of the buffer is discon ...
* 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.) 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 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. * 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 The Institute of Electrical and Electronics Engineers (IEEE) is a 501(c)(3) professional association for electronic engineering and electrical engineering (and associated disciplines) with its corporate office in New York City and its operation ...
'
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