HOME

TheInfoList



OR:

In
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 ...
,
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
and
linguistics Linguistics is the scientific study of language. The areas of linguistic analysis are syntax (rules governing the structure of sentences), semantics (meaning), Morphology (linguistics), morphology (structure of words), phonetics (speech sounds ...
, ''and'' (\wedge) is the truth-functional operator of conjunction or logical conjunction. The
logical connective In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, the ...
of this operator is typically represented as \wedge or \& or K (prefix) or \times or \cdot in which \wedge is the most modern and widely used. The ''and'' of a set of operands is true if and only if ''all'' of its operands are true, i.e., A \land B is true if and only if A is true and B is true. An operand of a conjunction is a conjunct. Beyond logic, the term "conjunction" also refers to similar concepts in other fields: * In
natural language A natural language or ordinary language is a language that occurs naturally in a human community by a process of use, repetition, and change. It can take different forms, typically either a spoken language or a sign language. Natural languages ...
, the
denotation In linguistics and philosophy, the denotation of a word or expression is its strictly literal meaning. For instance, the English word "warm" denotes the property of having high temperature. Denotation is contrasted with other aspects of meaning in ...
of expressions such as English " and"; * In
programming language A programming language is a system of notation for writing computer programs. Programming languages are described in terms of their Syntax (programming languages), syntax (form) and semantics (computer science), semantics (meaning), usually def ...
s, the short-circuit and control structure; * In
set theory Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
,
intersection In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their ...
. * In
lattice theory A lattice is an abstract structure studied in the mathematical subdisciplines of order theory and abstract algebra. It consists of a partially ordered set in which every pair of elements has a unique supremum (also called a least upper bou ...
, logical conjunction ( greatest lower bound).


Notation

And is usually denoted by an infix operator: in mathematics and logic, it is denoted by a "wedge" \wedge (Unicode ), \& or \times; in electronics, \cdot; and in programming languages &, &&, or and. In
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 ...
's prefix notation for logic, the operator is K, for Polish ''koniunkcja''. In mathematics, the conjunction of an arbitrary number of elements a_1, \ldots, a_n can be denoted as an
iterated binary operation In mathematics, an iterated binary operation is an extension of a binary operation on a set ''S'' to a function on finite sequences of elements of ''S'' through repeated application. Common examples include the extension of the addition operation ...
using a "big wedge" ⋀ (Unicode ): \bigwedge_^ a_i = a_1 \wedge a_2 \wedge \ldots a_ \wedge a_


Definition

In
classical logic Classical logic (or standard logic) or Frege–Russell logic is the intensively studied and most widely used class of deductive logic. Classical logic has had much influence on analytic philosophy. Characteristics Each logical system in this c ...
, logical conjunction is an operation on two logical values, typically the values of two
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 ...
s, that produces a value of ''true''
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
(also known as iff) both of its operands are true. The conjunctive identity is true, which is to say that AND-ing an expression with true will never change the value of the expression. In keeping with the concept of
vacuous truth In mathematics and logic, a vacuous truth is a conditional or universal statement (a universal statement that can be converted to a conditional statement) that is true because the antecedent cannot be satisfied. It is sometimes said that a s ...
, when conjunction is defined as an operator or function of arbitrary
arity In logic, mathematics, and computer science, arity () is the number of arguments or operands taken by a function, operation or relation. In mathematics, arity may also be called rank, but this word can have many other meanings. In logic and ...
, the empty conjunction (AND-ing over an empty set of operands) is often defined as having the result true.


Truth table

The
truth table A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
of A \land B:


Defined by other operators

In systems where logical conjunction is not a primitive, it may be defined as :A \land B = \neg(A \to \neg B) It can be checked by the following truth table (compare the last two columns): or :A \land B = \neg(\neg A \lor \neg B). It can be checked by the following truth table (compare the last two columns):


Introduction and elimination rules

As a rule of inference, conjunction introduction is a classically valid, simple argument form. The argument form has two premises, A and B. Intuitively, it permits the inference of their conjunction. :A, :B. :Therefore, ''A'' and ''B''. or in
logical operator In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, the ...
notation, where \vdash expresses provability: : \vdash A, : \vdash B : \vdash A \land B Here is an example of an argument that fits the form '' conjunction introduction'': :Bob likes apples. :Bob likes oranges. :Therefore, Bob likes apples and Bob likes oranges. Conjunction elimination is another classically valid, simple argument form. Intuitively, it permits the inference from any conjunction of either element of that conjunction. :A and B. :Therefore, A. ...or alternatively, :A and B. :Therefore, B. In
logical operator In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, the ...
notation: : \vdash A \land B : \vdash A ...or alternatively, : \vdash A \land B : \vdash B


Negation


Definition

A conjunction A\land B is proven false by establishing either \neg A or \neg B. In terms of the object language, this reads :\neg A\to\neg(A\land B) This formula can be seen as a special case of :(A\to C) \to ( (A\land B)\to C ) when C is a false proposition.


Other proof strategies

If A implies \neg B, then both \neg A as well as A prove the conjunction false: :(A\to\negB)\to\neg(A\land B) In other words, a conjunction can actually be proven false just by knowing about the relation of its conjuncts, and not necessary about their truth values. This formula can be seen as a special case of :(A\to(B\to C))\to ( (A\land B)\to C ) when C is a false proposition. Either of the above are constructively valid proofs by contradiction.


Properties

commutativity In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a p ...
: yes
associativity In mathematics, the associative property is a property of some binary operations that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a Validity (logic), valid rule of replaceme ...
: yes
distributivity In mathematics, the distributive property of binary operations is a generalization of the distributive law, which asserts that the equality x \cdot (y + z) = x \cdot y + x \cdot z is always true in elementary algebra. For example, in elementary ...
: with various operations, especially with '' or'' idempotency: yes
monotonicity: yes truth-preserving: yes
When all inputs are true, the output is true. falsehood-preserving: yes
When all inputs are false, the output is false. Walsh spectrum: (1,-1,-1,1) Non
linearity In mathematics, the term ''linear'' is used in two distinct senses for two different properties: * linearity of a '' function'' (or '' mapping''); * linearity of a '' polynomial''. An example of a linear function is the function defined by f(x) ...
: 1 (the function is bent) If using binary values for true (1) and false (0), then ''logical conjunction'' works exactly like normal arithmetic
multiplication Multiplication is one of the four elementary mathematical operations of arithmetic, with the other ones being addition, subtraction, and division (mathematics), division. The result of a multiplication operation is called a ''Product (mathem ...
.


Applications in computer engineering

In high-level computer programming and
digital electronics Digital electronics is a field of electronics involving the study of digital signals and the engineering of devices that use or produce them. It deals with the relationship between Binary number, binary inputs and outputs by passing electrical s ...
, logical conjunction is commonly represented by an infix operator, usually as a keyword such as "AND", an algebraic multiplication, or the ampersand symbol & (sometimes doubled as in &&). Many languages also provide short-circuit control structures corresponding to logical conjunction. Logical conjunction is often used for bitwise operations, where 0 corresponds to false and 1 to true: * 0 AND 0  =  0, * 0 AND 1  =  0, * 1 AND 0  =  0, * 1 AND 1  =  1. The operation can also be applied to two binary words viewed as bitstrings of equal length, by taking the bitwise AND of each pair of bits at corresponding positions. For example: * 11000110 AND 10100011  =  10000010. This can be used to select part of a bitstring using a bit mask. For example, 10011101 AND 00001000  =  00001000 extracts the fourth bit of an 8-bit bitstring. In
computer networking A computer network is a collection of communicating computers and other devices, such as printers and smart phones. In order to communicate, the computers and devices must be connected by wired media like copper cables, optical fibers, or b ...
, bit masks are used to derive the network address of a subnet within an existing network from a given
IP address An Internet Protocol address (IP address) is a numerical label such as that is assigned to a device connected to a computer network that uses the Internet Protocol for communication. IP addresses serve two main functions: network interface i ...
, by ANDing the IP address and the subnet mask. Logical conjunction "AND" is also used in SQL operations to form
database In computing, a database is an organized collection of data or a type of data store based on the use of a database management system (DBMS), the software that interacts with end users, applications, and the database itself to capture and a ...
queries. The
Curry–Howard correspondence In programming language theory and proof theory, the Curry–Howard correspondence is the direct relationship between computer programs and mathematical proofs. It is also known as the Curry–Howard isomorphism or equivalence, or the proofs-as-p ...
relates logical conjunction to product types.


Set-theoretic correspondence

The membership of an element of an intersection set in
set theory Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
is defined in terms of a logical conjunction: x\in A\cap B if and only if (x\in A)\wedge (x\in B). Through this correspondence, set-theoretic intersection shares several properties with logical conjunction, such as
associativity In mathematics, the associative property is a property of some binary operations that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a Validity (logic), valid rule of replaceme ...
,
commutativity In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a p ...
and idempotence.


Natural language

As with other notions formalized in mathematical logic, the logical conjunction ''and'' is related to, but not the same as, the
grammatical conjunction In grammar, a conjunction (List of glossing abbreviations, abbreviated or ) is a part of speech that connects Word, words, phrases, or Clause, clauses'','' which are called its conjuncts. That description is vague enough to overlap with those of ...
''and'' in natural languages. English "and" has properties not captured by logical conjunction. For example, "and" sometimes implies order having the sense of "then". For example, "They got married and had a child" in common discourse means that the marriage came before the child. The word "and" can also imply a partition of a thing into parts, as "The American flag is red, white, and blue." Here, it is not meant that the flag is ''at once'' red, white, and blue, but rather that each color is a part of the flag.


See also

* And-inverter graph *
AND gate The AND gate is a basic digital logic gate that implements the logical conjunction (∧) from mathematical logic AND gates behave according to their truth table. A HIGH output (1) results only if all the inputs to the AND gate are HIGH (1). If a ...
* Bitwise AND *
Boolean algebra In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variable (mathematics), variables are the truth values ''true'' and ''false'', usually denot ...
* Boolean conjunctive query *
Boolean domain In mathematics and abstract algebra, a Boolean domain is a set consisting of exactly two elements whose interpretations include ''false'' and ''true''. In logic, mathematics and theoretical computer science, a Boolean domain is usually written ...
* Boolean function * Boolean-valued function * Conjunction/disjunction duality * Conjunction elimination *
Conjunction (grammar) In grammar, a conjunction (List of glossing abbreviations, abbreviated or ) is a part of speech that connects Word, words, phrases, or Clause, clauses'','' which are called its conjuncts. That description is vague enough to overlap with those of ...
* De Morgan's laws *
First-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
* Fréchet inequalities * Homogeneity (linguistics) * List of Boolean algebra topics *
Logical 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 ...
* Logical graph *
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 ...
* Operation * Peano–Russell notation *
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 ...


References


External links

*
Wolfram MathWorld: Conjunction
* {{Authority control Conjunction Semantics