GO-V.ORG
As seen in

Three-valued logic

A three-valued logic (also trinary logic, trivalent, ternary, or trilean, sometimes abbreviated 3VL) is any of several many-valued logic systems in which there are three truth values indicating true, false, and some third value. This is contrasted with the more commonly known bivalent logics (such as classical sentential or Boolean logic) which provide only for true and false. Emil Leon Post is credited with first introducing additional logical truth degrees in his 1921 theory of elementary propositions. The conceptual form and basic ideas of three-valued logic were initially published by Jan Łukasiewicz and Clarence Irving Lewis. These were then re-formulated by Grigore Constantin Moisil... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

A three-valued logic (also trinary logic, trivalent, ternary, or trilean, sometimes abbreviated 3VL) is any of several many-valued logic systems in which there are three truth values indicating true, false, and some third value. This is contrasted with the more commonly known bivalent logics (such as classical sentential or Boolean logic) which provide only for true and false. Emil Leon Post is credited with first introducing additional logical truth degrees in his 1921 theory of elementary propositions. The conceptual form and basic ideas of three-valued logic were initially published by Jan Łukasiewicz and Clarence Irving Lewis. These were then re-formulated by Grigore Constantin Moisil in an axiomatic algebraic form, and also extended to n-valued logics in 1945. ==Pre-discovery== Around 1910, Charles Sanders Peirce defined a many-valued logic system, but never published it. Peirce soundly rejected the idea that all propositions must be either true or false; boundary-propositions, he writes, are "at the limit between P and not P." However, as confident as he was that "Triadic Logic is universally true," he also jotted down that "All this is mighty close to nonsense." Only in 1966, when Max Fisch and Atwell Turquette began publishing what they rediscovered in his unpublished manuscripts, did Peirce's triadic ideas become widely known. Boolean logic allows 2 2 = 4 unary operators; the addition of a third value with two inputs is 3 2 = 9 and with a third input in ternary logic leads to a total of 3 3 = 27 distinct operators on a single input set. (This may be made clear by considering all possible truth tables for an arbitrary unary operator. Given 2 possible values TF of the single Boolean input, there are four different patterns of output TT, TF, FT, FF resulting from the following unary operators acting on each value: always T, Identity, NOT, always F. Given three possible values of a ternary variable, each times three possible results of a unary operation, there are 27 different output patterns: TTT, TTU, TTF, TUT, TUU, TUF, TFT, TFU, TFF, UTT, UTU, UTF, UUT, UUU, UUF, UFT, UFU, UFF, FTT, FTU, FTF, FUT, FUU, FUF, FFT, FFU, and FFF.) Similarly, where Boolean logic has 2 2×2 = 16 distinct binary operators (operators with 2 inputs) possible, ternary logic has 3 3×3 = 19,683 such operators. While the nontrivial Boolean operators can be named ( NOT, AND, NAND, OR, NOR, XOR, XNOR (equivalence), and 4 variants of implication or inequality), with six trivial operators considering 0 or 1 inputs only, it is unreasonable to attempt to name all but a small fraction of the possible ternary operators. Just as in bivalent logic, where not all operators are given names and subsets of functionally complete operators are used, there may be functionally complete sets of ternary-valued operators. x \wedge y & = \frac{1}{2} (x+y-x^2-y^2+xy+x^2y^2) = \min(x,y)\\ x \vee y & = \frac{1}{2} (x+y+x^2+y^2-xy-x^2y^2) = \max(x,y)\\ \neg x & = -x \end{align} In these truth tables, the unknown state can be thought of as neither true nor false in Kleene logic, or thought of as both true and false in Priest logic. The difference lies in the definition of tautologies. Where Kleene logic's only designated truth value is T, Priest logic's designated truth values are both T and U. In Kleene logic, the knowledge of whether any particular unknown state secretly represents true or false at any moment in time is not available. However, certain logical operations can yield an unambiguous result, even if they involve an unknown operand. For example, because true OR true equals true, and true OR false also equals true, then true OR unknown equals true as well. In this example, because either bivalent state could be underlying the unknown state, and either state also yields the same result, true results in all three cases. If numeric values, e.g. balanced ternary values, are assigned to false, unknown and true such that false is less than unknown and unknown is less than true, then A AND B AND C... = MIN(A, B, C ...) and A OR B OR C ... = MAX(A, B, C...). Material implication for Kleene logic can be defined as: A \rightarrow B \ \overset{\underset{\mathrm{def}}{}}{=} \ \mbox{OR} ( \ \mbox{NOT}(A), \ B ) , and its truth table is | |} which differs from that for Łukasiewicz logic (described below). Kleene logic has no tautologies (valid formulas) because whenever all of the atomic components of a well-formed formula are assigned the value Unknown, the formula itself must also have the value Unknown. (And the only designated truth value for Kleene logic is True.) However, the lack of valid formulas does not mean that it lacks valid arguments and/or inference rules. An argument is semantically valid in Kleene logic if, whenever (for any interpretation/model) all of its premises are True, the conclusion must also be True. (The logic of paradox (LP) has the same truth tables as Kleene logic, but it has two designated truth values instead of one; these are: True and Both (the analogue of Unknown), so that LP does have tautologies but it has fewer valid inference rules). {\neg} x &:= \frac{1}{2}(6x^2 - 7x + 2) := (1,0, \frac{1}{2})\\ x \wedge y &:= 4y^2x^2 - 4yx^2 - 4y^2x + 5yx := \min(x,y) \\[6pt] x \vee y &:= -4y^2x^2 + 4yx^2 + 4y^2x - 5yx + x + y := \max(x,y) \end{align} Unlike the previous system of three-valued logics, Post's 3-valued logic is functionally complete using only the NEG operation and at least one of MIN or MAX operations. This means that any function \{0,\frac{1}{2},1\}^n \rightarrow \{0,\frac{1}{2},1\} : n \in \mathbb{N^+} can be expressed as a composition of using only the three functions defined above (or any two, as long as one of them is negation).

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Three-valued logic". 1787594649. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1371132877

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·