 Logical connective

This article is about connectives in classical logic. For connectors in natural languages, see discourse connective. For connectives and operators in other logics, see logical constant. For other logical symbols, see table of logic symbols.
In logic, a logical connective (also called a logical operator) is a symbol or word used to connect two or more sentences (of either a formal or a natural language) in a grammatically valid way, such that the compound sentence produced has a truth value dependent on the respective truth values of the original sentences.
Each logical connective can be expressed as a function, called a truth function. For this reason, logical connectives are sometimes called truthfunctional connectives. The most common logical connectives are binary connectives (also called dyadic connectives) which join two sentences whose truth values can be thought of as the function's operands. Also commonly, negation is considered to be a unary connective.
Logical connectives along with quantifiers are the two main types of logical constants used in formal systems such as propositional logic and predicate logic.
Contents
In language
Natural language
In the grammar of natural languages two sentences may be joined by a grammatical conjunction to form a grammatically compound sentence. Some but not all such grammatical conjunctions are truth functions. For example, consider the following sentences:
 A: Jack went up the hill.
 B: Jill went up the hill.
 C: Jack went up the hill and Jill went up the hill.
 D: Jack went up the hill so Jill went up the hill.
The words and and so are grammatical conjunctions joining the sentences (A) and (B) to form the compound sentences (C) and (D). The and in (C) is a logical connective, since the truth of (C) is completely determined by (A) and (B): it would make no sense to affirm (A) and (B) but deny (C). However so in (D) is not a logical connective, since it would be quite reasonable to affirm (A) and (B) but deny (D): perhaps, after all, Jill went up the hill to fetch a pail of water, not because Jack had gone up the Hill at all.
Various English words and word pairs express truth functions, and some of them are synonymous. Examples (with the name of the relationship in parentheses) are:
 "and" (conjunction)
 "or" (disjunction)
 "either...or" (exclusive disjunction)
 "implies" (implication)
 "if...then" (implication)
 "if and only if" (equivalence)
 "only if" (implication)
 "just in case" (equivalence)
 "but" (conjunction)
 "however" (conjunction)
 "not both" (NAND)
 "neither...nor" (NOR)
The word "not" (negation) and the phrases "it is false that" (negation) and "it is not the case that" (negation) also express a logical connective – even though they are applied to a single statement, and do not connect two statements.
Formal languages
In formal languages, truth functions are represented by unambiguous symbols; these can be exactly defined by means of truth tables. There are 16 binary truth tables, and so 16 different logical connectives which connect exactly two statements, that can be defined. Not all of them are in common use. These symbols are called "truthfunctional connectives", "logical connectives", "logical operators" or "propositional operators". See wellformed formula for the rules which allow new wellformed formulas to be constructed by joining other wellformed formulas using truthfunctional connectives.
Venn diagrams illustrate the logical connective limitation of all quantifiers to a fixed domain of discourse in a formal language.
Logical connectives can be used to link more than two statements. A more technical definition is that an "nary logical connective" is a function which assigns truth values "true" or "false" to ntuples of truth values.
Common logical connectives
List of common logical connectives
Commonly used logical connectives include:
 Negation (not) (¬ or ~)
 Conjunction (and) (, &, or · )
 Disjunction (or) (∨)
 Material implication (if...then) (, or )
 Biconditional (if and only if) (iff) (xnor) (biimplication) (, , or = )
For example, the meaning of the statements it is raining and I am indoors is transformed when the two are combined with logical connectives:
 It is raining and I am indoors (P Q)
 If it is raining, then I am indoors (P Q)
 If I am indoors, then it is raining (Q P)
 I am indoors if and only if it is raining (P Q)
 It is not raining (¬P)
For statement P = It is raining and Q = I am indoors.
It is also common to consider the always true formula and the always false formula to be connective:
 True formula (⊤, 1 or T)
 False formula (⊥, 0, or F)
History of notations
 Negation: the symbol ¬ appeared in Heyting in 1929.^{[1]}^{[2]} (compare to Frege's symbol in his Begriffsschrift); the symbol ~ appeared in Russell in 1908;^{[3]} an alternative notation is to add an horizontal line on top of the formula, as in ; another alternative notation is to use a prime symbol as in P'.
 Conjunction: the symbol ∧ appeared in Heyting in 1929^{[1]} (compare to Peano's use of the settheoretic notation of intersection ∩ ^{[4]}); & appeared at least in Schönfinkel in 1924;^{[5]} . comes from Boole's interpretation of logic as an elementary algebra.
 Disjunction: the symbol ∨ appeared in Russell in 1908 ^{[3]} (compare to Peano's use of the settheoretic notation of union ∪); the symbol + is also used, in spite of the ambiguity coming from the fact that the + of ordinary elementary algebra is an exclusive or when interpreted logically in a twoelement ring; punctually in the history a + together with a dot in the lower right corner has been used by Peirce,^{[6]}
 Implication: the symbol → can be seen in Hilbert in 1917;^{[7]} ⊃ was used by Russell in 1908^{[3]} (compare to Peano's inverted C notation); was used in Vax.^{[8]}
 Biconditional: the symbol ≡ was used at least by Russell in 1908;^{[3]} ↔ was used at least by Tarski in 1940;^{[9]} ⇔ was used in Vax; other symbols appeared punctually in the history such as ⊃⊂ in Gentzen,^{[10]} ~ in Schönfinkel^{[5]} or ⊂⊃ in Chazal.^{[11]}
 True: the symbol 1 comes from Boole's interpretation of logic as an elementary algebra over the twoelement ring; other notations include to be found in Peano.
 False: the symbol 0 comes also from Boole's interpretation of logic as a ring; other notations include to be found in Peano.
Some authors used letters for connectives at some time of the history: u. for conjunction (German's "und" for "and") and o. for disjunction (German's "oder" for "or") in earlier works by Hilbert (1904); N for negation, K for conjunction, A for disjunction, C for implication, E for biconditional in Łukasiewicz (1929).^{[12]}
Table of binary logical connectives
There are sixteen Boolean functions associating the inputs P and Q with fourdigit binary outputs.
Contradiction Notation Equivalent
formulasTruth table Venn diagram P ¬P
OpqQ 0 1 P 0 0 0 1 0 0 Tautology Notation Equivalent
formulasTruth table Venn diagram P ¬P
VpqQ 0 1 P 0 1 1 1 1 1 Proposition P Notation Equivalent
formulasTruth table Venn diagram P Ipq Q 0 1 P 0 0 0 1 1 1 Negation of P Notation Equivalent
formulasTruth table Venn diagram ¬P
~PNp
FpqQ 0 1 P 0 1 1 1 0 0 Proposition Q Notation Equivalent
formulasTruth table Venn diagram Q Hpq Q 0 1 P 0 0 1 1 0 1 Negation of Q Notation Equivalent
formulasTruth table Venn diagram ¬Q
~QNq
GpqQ 0 1 P 0 1 0 1 1 0 Conjunction Notation Equivalent
formulasTruth table Venn diagram P Q
P & Q
P · Q
P AND QP ¬Q
¬P Q
¬P ¬Q
KpqQ 0 1 P 0 0 0 1 0 1 Alternative denial Notation Equivalent
formulasTruth table Venn diagram P ↑ Q
P  Q
P NAND QP → ¬Q
¬P ← Q
¬P ¬Q
DpqQ 0 1 P 0 1 1 1 1 0 Disjunction Notation Equivalent
formulasTruth table Venn diagram P Q
P OR QP ¬Q
¬P → Q
¬P ↑ ¬Q
¬(¬P ¬Q)
ApqQ 0 1 P 0 0 1 1 1 1 Joint denial Notation Equivalent
formulasTruth table Venn diagram P ↓ Q
P NOR QP ¬Q
¬P Q
¬P ¬Q
XpqQ 0 1 P 0 1 0 1 0 0 Material nonimplication Notation Equivalent
formulasTruth table Venn diagram P Q
P QP ¬Q
¬P ↓ Q
¬P ¬Q
LpqQ 0 1 P 0 0 0 1 1 0 Material implication Notation Equivalent
formulasTruth table Venn diagram P → Q
P QP ↑ ¬Q
¬P Q
¬P ← ¬Q
CpqQ 0 1 P 0 1 1 1 0 1 Converse nonimplication Notation Equivalent
formulasTruth table Venn diagram P Q
P QP ↓ ¬Q
¬P Q
¬P ¬Q
MpqQ 0 1 P 0 0 1 1 0 0 Converse implication Notation Equivalent
formulasTruth table Venn diagram P Q
P QP ¬Q
¬P ↑ Q
¬P → ¬Q
BpqQ 0 1 P 0 1 0 1 1 1 Exclusive disjunction Notation Equivalent
formulasTruth table Venn diagram P Q
P Q
P Q
P XOR QP ¬Q
¬P Q
¬P ¬Q
JpqQ 0 1 P 0 0 1 1 1 0 Biconditional Notation Equivalent
formulasTruth table Venn diagram P Q
P ≡ Q
P XNOR Q
P IFF QP ¬Q
¬P Q
¬P ¬Q
EpqQ 0 1 P 0 1 0 1 0 1 Functional completeness
Main article: Functional completenessNot all of the abovementioned operators are necessary for a functionally complete logical calculus. Certain compound statements are logically equivalent. For example, ¬P ∨ Q is logically equivalent to P → Q. The conditional operator "→" is therefore not necessary if "¬" (not) and "∨" (or) are already in use.
A minimal set of operators that can express every statement expressible in the propositional calculus is called a minimal functionally complete set. A minimally complete set of operators is achieved by NAND alone {↑} and NOR alone {↓}.
The following are the minimal functionally complete sets of operators whose arities do not exceed 2:
 One element
 {↑}, {↓}.
 Two elements
 {, ¬}, {, ¬}, {→, ¬}, {←, ¬}, {→, }, {←, }, {→, }, {←, }, {→, }, {→, }, {←, }, {←, }, {, ¬}, {, ¬}, {, }, {, }, {, }, {, }.
 Three elements
 {, , }, {, , }, {, , }, {, , }, {, , }, {, , }.
Properties
The logical connectives each possess different set of properties which may be expressed in the theorems containing the connective. Some of those properties that a logical connective may have are:
 Associativity: Within an expression containing two or more of the same associative connectives in a row, the order of the operations does not matter as long as the sequence of the operands is not changed.
 Commutativity: The operands of the connective may be swapped without affecting the truthvalue of the expression.
 Distributivity: A connective denoted by · distributes over another connective denoted by +, if a · (b + c) = (a · b) + (a · c) for all operands a, b, c.
 Idempotence: Whenever the operands of the operation are the same, the connective gives the operand as the result.
 Absorption: A pair of connectives , satisfies the absorption law if for all operands a, b.
A set of operators is functionally complete if and only if for each of the following five properties it contains at least one member lacking it:
 monotonic: If f(a_{1}, ..., a_{n}) ≤ f(b_{1}, ..., b_{n}) for all a_{1}, ..., a_{n}, b_{1}, ..., b_{n} ∈ {0,1} such that a_{1} ≤ b_{1}, a_{2} ≤ b_{2}, ..., a_{n} ≤ b_{n}. E.g., , , , .
 affine: Each variable always makes a difference in the truthvalue of the operation or it never makes a difference. E.g., , , , , .
 self dual: To read the truthvalue assignments for the operation from top to bottom on its truth table is the same as taking the complement of reading it from bottom to top; in other words, f(¬a_{1}, ..., ¬a_{n}) = ¬f(a_{1}, ..., a_{n}). E.g., .
 truthpreserving: The interpretation under which all variables are assigned a truth value of 'true' produces a truth value of 'true' as a result of these operations. E.g., , , , , , ⊂. (see validity)
 falsehoodpreserving: The interpretation under which all variables are assigned a truth value of 'false' produces a truth value of 'false' as a result of these operations. E.g., , , , , ⊄, ⊅. (see validity)
Arity
Main article: arityIn twovalued logic there are 2 nullary operators (constants), 4 unary operators, 16 binary operators, 256 ternary operators, and nary operators. In threevalued logic there are 3 nullary operators (constants), 27 unary operators, 19683 binary operators, 7625597484987 ternary operators, and nary operators. In kvalued logic, there are k nullary operators, k^{k} unary operators, binary operators, ternary operators, and nary operators. An nary operator in kvalued logic is a function from . Therefore the number of such operators is , which is how the above numbers were derived.
However, some of the operators of a particular arity are actually degenerate forms that perform a lowerarity operation on some of the inputs and ignores the rest of the inputs. Out of the 256 ternary boolean operators cited above, of them are such degenerate forms of binary or lowerarity operators, using the inclusionexclusion principle. The ternary operator is one such operator which is actually a unary operator applied to one input, and ignoring the other two inputs.
"Not" is a unary operator, it takes a single term (¬P). The rest are binary operators, taking two terms to make a compound statement (P Q, P Q, P → Q, P ↔ Q).
The set of logical operators may be partitioned into disjoint subsets as follows:
In this partition, is the set of operator symbols of arity .
In the more familiar propositional calculi, is typically partitioned as follows:


 nullary operators:



 unary operators:



 binary operators:

Order of precedence
As a way of reducing the number of necessary parentheses, one may introduce precedence rules: ¬ has higher precedence than , higher than , and higher than →. So for example, P Q ¬R → S is short for (P (Q (¬R))) → S.
Here is a table that shows a commonly used precedence of logical operators.

Operator Precedence ¬ 1 2 3 → 4 5
The order of precedence determines which connective is the "main connective" when interpreting a nonatomic formula.
Principle of compositionality
Instead of using truth tables, logical connective symbols can be interpreted by means of an interpretation function and a functionally complete set of truthfunctions (Gamut 1991), as detailed by the principle of compositionality of meaning. Let I be an interpretation function, let Φ, Ψ be any two sentences and let the truth function f_{nand} be defined as:
 f_{nand}(T,T)=F; f_{nand}(T,F)=f_{nand}(F,T)=f_{nand}(F,F)=T
Then, for convenience, f_{not}, f_{or} f_{and} and so on are defined by means of f_{nand}:
 f_{not}(x)=f_{nand}(x,x)
 f_{or}(x,y)= f_{nand}(f_{not}(x), f_{not}(y))
 f_{and}(x,y)=f_{not}(f_{nand}(x,y))
or, alternatively f_{not}, f_{or} f_{and} and so on are defined directly:
 f_{not}(T)=F; f_{not}(F)=T;
 f_{or}(T,T)=f_{or}(T,F)=f_{or}(F,T)=T;f_{or}(F,F)=F
 f_{and}(T,T)=T; f_{and}(T,F)=f_{and}(F,T)=f_{and}(F,F)=F
Then
 I(~)=I(¬)=f_{not}
 I(&)=I(^)=I(&)=f_{and}
 I(v)=I()= f_{or}
 I(~Φ)=I(¬Φ)=I(¬)(I(Φ))=f_{not}(I(Φ))
 I(Φ&Ψ) = I(&)(I(Φ), I(Ψ))= f_{and}(I(Φ), I(Ψ))
etc.
Thus if S is a sentence that is a string of symbols consisting of logical symbols v_{1}...v_{n} representing logical connectives, and nonlogical symbols c_{1}...c_{n}, then if and only if I(v_{1})...I(v_{n}) have been provided interpreting v_{1} to v_{n} by means of f_{nand} (or any other set of functional complete truthfunctions) then the truthvalue of I(s) is determined entirely by the truthvalues of c_{1}...c_{n}, i.e. of I(c_{1})...I(c_{n}). In other words, as expected and required, S is true or false only under an interpretation of all its nonlogical symbols.
Computer science
Logical operators are implemented as logic gates in digital circuits. Practically all digital circuits (the major exception is DRAM) are built up from NAND, NOR, NOT, and transmission gates. NAND and NOR gates with 3 or more inputs rather than the usual 2 inputs are fairly common, although they are logically equivalent to a cascade of 2input gates. All other operators are implemented by breaking them down into a logically equivalent combination of 2 or more of the above logic gates.
The "logical equivalence" of "NAND alone", "NOR alone", and "NOT and AND" is similar to Turing equivalence.
That fact that all logical connectives can be expressed with NOR alone is demonstrated by the Apollo guidance computer.
See also
Notes
 ^ ^{a} ^{b} Heyting (1929) Die formalen Regeln der intuitionistischen Logik.
 ^ Denis Roegel (2002), Petit panorama des notations logiques du 20e siècle (see chart on page 2).
 ^ ^{a} ^{b} ^{c} ^{d} Russell (1908) Mathematical logic as based on the theory of types (American Journal of Mathematics 30, p222–262, also in From Frege to Gödel edited by van Heijenoort).
 ^ Peano (1889) Arithmetices principia, nova methodo exposita.
 ^ ^{a} ^{b} Schönfinkel (1924) Über die Bausteine der mathematischen Logik, translated as On the building blocks of mathematical logic in From Frege to Gödel edited by van Heijenoort.
 ^ Peirce (1867) On an improvement in Boole's calculus of logic.
 ^ Hilbert (1917/1918) Prinzipien der Mathematik (Bernays' course notes).
 ^ Vax (1982) Lexique logique, Presses Universitaires de France.
 ^ Tarski (1940) Introduction to logic and to the methodology of deductive sciences.
 ^ Gentzen (1934) Untersuchungen über das logische Schließen.
 ^ Chazal (1996) : Éléments de logique formelle.
 ^ See Roegel
References
 Bocheński, Józef Maria (1959), A Précis of Mathematical Logic, translated from the French and German editions by Otto Bird, D. Reidel, Dordrecht, South Holland.
 Enderton, Herbert (2001), A Mathematical Introduction to Logic (2nd ed.), Boston, MA: Academic Press, ISBN 9780122384523
 Gamut, L.T.F (1991), "Chapter 2", Logic, Language and Meaning, 1, University of Chicago Press, pp. 54–64, ISBN 0226282853
External links
 John MacFarlane (2005), "Logical constants", Stanford Encyclopedia of Philosophy.
Logical connectives Categories: Logical connectives
Wikimedia Foundation. 2010.
Look at other dictionaries:
logical connective — loginė funkcija statusas T sritis automatika atitikmenys: angl. logical connective; logical function vok. Logikfunktion, f; logische Funktion, f; logische Verknüpfung, f rus. логическая связка, f; логическая функция, f pranc. fonction logique, f … Automatikos terminų žodynas
Logical harmony — Logical harmony, a name coined by Sir Michael Dummett, is a supposed constraint on the rules of inference that can be used in a given logical system.The logician Gerhard Gentzen proposed that the meanings of logical connectives could be given by… … Wikipedia
Connective — may be referring to: Bains::connective Logical connective Connective tissue Discourse connective, in linguistics, a word or phrase like therefore or in other words . See also Connection (disambiguation) This disambiguation page lists articl … Wikipedia
Logical constant — In symbolic logic, a logical constant of a language L is a symbol that has the same semantic value in all models of (the expressions of) L . Two important types of logical constants are logical connectives and quantifiers. The equality predicate… … Wikipedia
Logical disjunction — Disjunction redirects here. For separation of chromosomes, see Meiosis. For disjunctions in distribution, see Disjunct distribution. Venn diagram of the logical disjunction of A and B … Wikipedia
Logical biconditional — In logic and mathematics, the logical biconditional (sometimes known as the material biconditional) is the logical connective of two statements asserting p if and only if q , where q is a hypothesis (or antecedent) and p is a conclusion (or… … Wikipedia
logical function — loginė funkcija statusas T sritis automatika atitikmenys: angl. logical connective; logical function vok. Logikfunktion, f; logische Funktion, f; logische Verknüpfung, f rus. логическая связка, f; логическая функция, f pranc. fonction logique, f … Automatikos terminų žodynas
Logical implication — In logic and mathematics, logical implication is a logical relation that holds between a set T of formulae and a formula B when every model (or interpretation or valuation) of T is also a model of B . In symbols,# T models B, # T Rightarrow B # T … Wikipedia
connective — connectively, adv. connectivity /kon ek tiv i tee/, n. /keuh nek tiv/, adj. 1. serving or tending to connect: connective remarks between chapters. n. 2. something that connects. 3. Gram. a word used to connect words, phrases, clauses, and… … Universalium
connective — In formal logic a connective is an element of a sentence that joins parts in such a way that the logical properties of the whole are a defined function of the logical properties of the parts. The most familiar connectives are those expressing the … Philosophy dictionary