|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| {{redirect|∧|the logic gate|AND gate|exterior product|Exterior algebra}}
| | Finding good and legitimate home jobs is time consuming and demands a regarding effort. Adhere to the next 7 tips as well as save yourself a lot of your and do the trick.<br><br> |
| [[File:Venn0001.svg|220px|thumb|[[Venn diagram]] of <math>\scriptstyle A \and B</math>]]
| |
| [[File:Venn 0000 0001.svg|220px|thumb|Venn diagram of <math>\scriptstyle A \and B \and C</math>]]
| |
|
| |
|
| In [[logic]] and [[mathematics]], a two-place [[logical operator]] '''and''', also known as '''logical conjunction''',<ref>Moore and Parker, ''Critical Thinking''</ref> results in ''true'' if both of its [[operands]] are true, otherwise the value of ''false''.
| | Store/ the mall - women love shopping so pretty obvious - yow will discover them in clothing stores, malls, and etc. An excellent benefit that you may actually sort the type of women considering based about the type of stores you visit. For example, it's more vulnerable to find classy women within a high end fashion store. And it doesn't rain!<br><br><br><br>As a cutting edge artist in the music business, I am faced with obstacles that present new challenges every day. This article focuses on three main questions and ideas and offer guidance into achieving success on each and every them. First, how how do i sell records without record stores? Secondly, how do you market myself through the world wide web and Social Media? And finally, how does one approach record labels when deals are not being earned?<br><br>These interested to comment. Write a special opinion. Or you will comment of questions, to be sure that people can interested in responding on to the comments.<br><br>Baking and selling cupcakes is one of the best business options especially if you've got family members who with the procedure. Your husband, wife, sister, instances your little children are particular to be delighted to try baking. Even teens who want to start up a business at a beginning age can visit baking with regard to enjoyable in order to earn income.<br><br>What I'm doing becomes the word out about myself though as many means potentially. I'm trying to connect with individuals that might be looking for the things which I want to sell.<br><br>Thus above are few tips which will help brand new sites to be able to indexed faster by yahoo. This all tested techniques, which means you can opt for any one you like or may get use multiple techniques. I'm sure there must be others that I've missed, but i have left them to your readers to help you can give their inputs in application form of their valuable comments and recommendation.<br><br>If you beloved this article therefore you would like to get more info regarding [http://www.mavsocial.com/ Digital Asset Management] kindly visit our webpage. |
| | |
| The analogue of conjunction for a (possibly [[Infinity|infinite]]) family of statements is [[universal quantification]], which is part of [[predicate logic]].
| |
| | |
| ==Notation==
| |
| '''And''' is usually expressed with the prefix operator '''K''', or an infix operator. In mathematics and logic, the infix operator is usually '''∧'''; in electronics '''<math>\cdot</math>'''; and in programming languages, '''&''' or '''and'''. Some programming languages have a related [[control structure]], the [[short-circuit evaluation|short-circuit and]], written '''&&''', '''and then''', etc.
| |
| | |
| ==Definition==
| |
| '''Logical conjunction''' is an [[logical operation|operation]] on two [[logical value]]s, typically the values of two [[proposition]]s, that produces a value of ''true'' [[Iff|if and only if]] both of its operands are true.
| |
| | |
| The conjunctive [[identity element|identity]] is 1, which is to say that AND-ing an expression with 1 will never change the value of the expression. In keeping with the concept of [[vacuous truth]], when conjunction is defined as an operator or function of arbitrary [[arity]], the empty conjunction (AND-ing over an empty set of operands) is often defined as having the result 1.
| |
| | |
| ===Truth table===
| |
| [[File:Multigrade operator AND.svg|thumb|Conjunctions of the arguments on the left
| |
| >The [[truth value|true]] [[bit]]<nowiki>s</nowiki> form a [[Sierpinski triangle]]]]
| |
| | |
| The [[truth table]] of <math>~A \and B</math>:
| |
| | |
| {| class="wikitable" style="margin: 0 0 1em 1em"
| |
| |- bgcolor="#ddeeff" align="center"
| |
| |colspan=2|'''INPUT''' || '''OUTPUT'''
| |
| |- bgcolor="#ddeeff" align="center"
| |
| | <math> A</math>|| <math>B</math> || <math> A \and B</math>
| |
| |- bgcolor="#ddffdd" align="center"
| |
| |T || T || T
| |
| |- bgcolor="#ddffdd" align="center"
| |
| |T || F || F
| |
| |- bgcolor="#ddffdd" align="center"
| |
| |F || T || F
| |
| |- bgcolor="#ddffdd" align="center"
| |
| |F || F || F
| |
| |}
| |
| | |
| ==Introduction and elimination rules==
| |
| As a rule of inference, conjunction introduction is a classically [[validity|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]] notation:
| |
| :<math> A, </math>
| |
| :<math> B </math>
| |
| :<math> \vdash A \and B </math>
| |
| | |
| Here is an example of an argument that fits the form ''[[conjunction introduction]]'':
| |
| | |
| :Bob likes apples.
| |
| :Bob likes oranges.
| |
| :Therefore, Bob likes apples and oranges.
| |
| | |
| [[Conjunction elimination]] is another classically [[validity|valid]], simple [[argument form]]. Intuitively, it permits the inference from any conjunction of either element of that conjunction.
| |
| | |
| :''A'' and ''B''.
| |
| :Therefore, ''A''.
| |
| | |
| ...or alternately,
| |
| | |
| :''A'' and ''B''.
| |
| :Therefore, ''B''.
| |
| | |
| In [[logical operator]] notation:
| |
| :<math> A \and B </math>
| |
| :<math> \vdash A </math>
| |
| | |
| ...or alternately, | |
| | |
| :<math> A \and B </math>
| |
| :<math> \vdash B </math>
| |
| | |
| ==Properties==
| |
| '''[[commutativity]]: yes'''
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>A \and B</math>
| |
| | <math>\Leftrightarrow</math>
| |
| |<math>B \and A</math>
| |
| |-
| |
| |[[File:Venn0001.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn0001.svg|50px]]
| |
| |}
| |
| | |
| '''[[associativity]]: yes'''
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>~A</math>
| |
| |<math>~~~\and~~~</math>
| |
| |<math>(B \and C)</math>
| |
| | <math>\Leftrightarrow</math>
| |
| |
| |
| |
| |
| |<math>(A \and B)</math>
| |
| |<math>~~~\and~~~</math>
| |
| |<math>~C</math>
| |
| |-
| |
| |[[File:Venn 0101 0101.svg|50px]]
| |
| |<math>~~~\and~~~</math>
| |
| |[[File:Venn 0000 0011.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0000 0001.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0001.svg|50px]]
| |
| |<math>~~~\and~~~</math>
| |
| |[[File:Venn 0000 1111.svg|50px]]
| |
| |}
| |
| | |
| '''[[distributivity]]:''' with various operations, especially with ''[[logical disjunction|or]]''
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>~A</math>
| |
| |<math>\and</math>
| |
| |<math>(B \or C)</math>
| |
| | <math>\Leftrightarrow</math>
| |
| |
| |
| |
| |
| |<math>(A \and B)</math>
| |
| |<math>\or</math>
| |
| |<math>(A \and C)</math>
| |
| |-
| |
| |-
| |
| |[[File:Venn 0101 0101.svg|50px]]
| |
| |<math>\and</math>
| |
| |[[File:Venn 0011 1111.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0101.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0001.svg|50px]]
| |
| |<math>\or</math>
| |
| |[[File:Venn 0000 0101.svg|50px]]
| |
| |}
| |
| | |
| {| class="collapsible collapsed" style="width: 100%; border: 1px solid #aaaaaa;"
| |
| ! bgcolor="#ccccff"|others
| |
| |-
| |
| |
| |
| with [[exclusive or]]:
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>~A</math>
| |
| |<math>\and</math>
| |
| |<math>(B \oplus C)</math>
| |
| | <math>\Leftrightarrow</math>
| |
| |
| |
| |
| |
| |<math>(A \and B)</math>
| |
| |<math>\oplus</math>
| |
| |<math>(A \and C)</math>
| |
| |-
| |
| |-
| |
| |[[File:Venn 0101 0101.svg|50px]]
| |
| |<math>\and</math>
| |
| |[[File:Venn 0011 1100.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0100.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0001.svg|50px]]
| |
| |<math>\oplus</math>
| |
| |[[File:Venn 0000 0101.svg|50px]]
| |
| |}
| |
| | |
| with [[material nonimplication]]:
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>~A</math>
| |
| |<math>\and</math>
| |
| |<math>(B \nrightarrow C)</math>
| |
| | <math>\Leftrightarrow</math>
| |
| |
| |
| |
| |
| |<math>(A \and B)</math>
| |
| |<math>\nrightarrow</math>
| |
| |<math>(A \and C)</math>
| |
| |-
| |
| |-
| |
| |[[File:Venn 0101 0101.svg|50px]]
| |
| |<math>\and</math>
| |
| |[[File:Venn 0011 0000.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0000.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0001.svg|50px]]
| |
| |<math>\nrightarrow</math>
| |
| |[[File:Venn 0000 0101.svg|50px]]
| |
| |}
| |
| | |
| with itself:
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>~A</math>
| |
| |<math>\and</math>
| |
| |<math>(B \and C)</math>
| |
| | <math>\Leftrightarrow</math>
| |
| |
| |
| |
| |
| |<math>(A \and B)</math>
| |
| |<math>\and</math>
| |
| |<math>(A \and C)</math>
| |
| |-
| |
| |-
| |
| |[[File:Venn 0101 0101.svg|50px]]
| |
| |<math>\and</math>
| |
| |[[File:Venn 0000 0011.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0000 0001.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn 0001 0001.svg|50px]]
| |
| |<math>\and</math>
| |
| |[[File:Venn 0000 0101.svg|50px]]
| |
| |}
| |
| |}
| |
| | |
| '''[[idempotency]]: yes'''<br>
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>~A~</math>
| |
| |<math>~\and~</math>
| |
| |<math>~A~</math>
| |
| | <math>\Leftrightarrow</math>
| |
| |<math>A~</math>
| |
| |-
| |
| |[[File:Venn01.svg|36px]]
| |
| |<math>~\and~</math>
| |
| |[[File:Venn01.svg|36px]]
| |
| | <math>\Leftrightarrow</math>
| |
| |[[File:Venn01.svg|36px]]
| |
| |}
| |
| | |
| '''[[Monotonic function#Boolean_functions|monotonicity]]: yes'''
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |<math>A \rightarrow B</math>
| |
| | <math>\Rightarrow</math>
| |
| |
| |
| |
| |
| |<math>(A \and C)</math>
| |
| |<math>\rightarrow</math>
| |
| |<math>(B \and C)</math>
| |
| |-
| |
| ||[[File:Venn 1011 1011.svg|50px]]
| |
| | <math>\Rightarrow</math>
| |
| ||[[File:Venn 1111 1011.svg|50px]]
| |
| | <math>\Leftrightarrow</math>
| |
| ||[[File:Venn 0000 0101.svg|50px]]
| |
| |<math>\rightarrow</math>
| |
| ||[[File:Venn 0000 0011.svg|50px]]
| |
| |}
| |
| | |
| '''truth-preserving: yes'''<br>
| |
| When all inputs are true, the output is true.
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>A \and B</math>
| |
| | <math>\Rightarrow</math>
| |
| |<math>A \and B</math>
| |
| |-
| |
| |[[File:Venn0001.svg|50px]]
| |
| | <math>\Rightarrow</math>
| |
| |[[File:Venn0001.svg|60px]]
| |
| |-
| |
| |
| |
| |
| |
| |<small>(to be tested)</small>
| |
| |}
| |
| | |
| '''falsehood-preserving: yes'''<br>
| |
| When all inputs are false, the output is false.
| |
| {| style="text-align: center; border: 1px solid darkgray;"
| |
| |-
| |
| |<math>A \and B</math>
| |
| | <math>\Rightarrow</math>
| |
| |<math>A \or B</math>
| |
| |-
| |
| |[[File:Venn0001.svg|60px]]
| |
| | <math>\Rightarrow</math>
| |
| |[[File:Venn0111.svg|50px]]
| |
| |-
| |
| |<small>(to be tested)</small>
| |
| |
| |
| |
| |
| |}
| |
| | |
| '''[[Hadamard transform|Walsh spectrum]]: (1,-1,-1,1)''' | |
| | |
| '''Non[[Linear#Boolean functions|linearity]]: 1''' (the function is [[bent function|bent]])
| |
| | |
| If using [[binary numeral system|binary]] values for true (1) and false (0), then ''logical conjunction'' works exactly like normal arithmetic [[multiplication]].
| |
| | |
| ==Applications in computer engineering==
| |
| [[File:AND Gate diagram.svg|thumb|right|AND [[logic gate]]]]
| |
| In high-level computer programming and [[digital electronics]], logical conjunction is commonly represented by an infix operator, usually as a keyword such as "<code>AND</code>", an algebraic multiplication, or the ampersand symbol "<code>&</code>". Many languages also provide [[short-circuit evaluation|short-circuit]] control structures corresponding to logical conjunction.
| |
| | |
| Logical conjunction is often used for bitwise operations, where <code>0</code> corresponds to false and <code>1</code> to true:
| |
| | |
| * <code>0 AND 0</code> = <code>0</code>,
| |
| * <code>0 AND 1</code> = <code>0</code>,
| |
| * <code>1 AND 0</code> = <code>0</code>,
| |
| * <code>1 AND 1</code> = <code>1</code>.
| |
| | |
| The operation can also be applied to two binary [[words]] viewed as [[bitstring]]s of equal length, by taking the bitwise AND of each pair of bits at corresponding positions. For example:
| |
| | |
| * <code>11000110 AND 10100011</code> = <code>10000010</code>.
| |
| | |
| This can be used to select part of a bitstring using a [[Mask (computing)|bit mask]]. For example, <code>1001'''1'''101 AND 0000'''1'''000</code> = <code>0000'''1'''000</code> extracts the fifth bit of an 8-bit bitstring.
| |
| | |
| In [[computer networking]], bit masks are used to derive the network address of a [[subnetwork|subnet]] within an existing network from a given [[IP address]], by ANDing the IP address and the [[subnetwork#Binary subnet masks|subnet mask]].
| |
| | |
| Logical conjunction "<code>AND</code>" is also used in [[SQL]] operations to form [[database]] queries.
| |
| | |
| The [[Curry-Howard correspondence]] relates logical conjunction to [[product type]]s.
| |
| | |
| ==Set-theoretic correspondence==
| |
| The membership of an element of an [[intersection (set theory)|intersection set]] in [[set theory]] is defined in terms of a logical conjunction: ''x'' ∈ ''A'' ∩ ''B'' if and only if (''x'' ∈ ''A'') ∧ (''x'' ∈ ''B''). Through this correspondence, set-theoretic intersection shares several properties with logical conjunction, such as [[associativity]], [[commutativity]], and [[idempotence]].
| |
| | |
| ==Natural language==
| |
| The logical conjunction ''and'' in logic is related to, but not the same as, the [[grammatical conjunction]] ''and'' in natural languages.
| |
| | |
| English "and" has properties not captured by logical conjunction. For example, "and" sometimes implies order. 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 it has a part of each color.
| |
| | |
| ==See also==
| |
| <div style="-moz-column-count:3; column-count:3;"> | |
| * [[And-inverter graph]]
| |
| * [[AND gate]]
| |
| * [[Binary and]]
| |
| * [[Bitwise operation#AND|Bitwise AND]]
| |
| * [[Boolean algebra (logic)]]
| |
| * [[Boolean algebra topics]]
| |
| * [[Boolean conjunctive query]]
| |
| * [[Boolean domain]]
| |
| * [[Boolean function]]
| |
| * [[Boolean-valued function]]
| |
| * [[Conjunction introduction]]
| |
| * [[Conjunction elimination]]
| |
| * [[De Morgan's laws]]
| |
| * [[First-order logic]]
| |
| * [[Fréchet inequalities]]
| |
| * [[Grammatical conjunction]]
| |
| * [[Logical disjunction]]
| |
| * [[Logical negation]]
| |
| * [[Logical graph]]
| |
| * [[Logical value]]
| |
| * [[Operation (mathematics)|Operation]]
| |
| * [[Peano-Russell notation]]
| |
| * [[Propositional calculus]]
| |
| </div> | |
| | |
| ==External links==
| |
| * {{springer|title=Conjunction|id=p/c025080}}
| |
| *[http://mathworld.wolfram.com/Conjunction.html Wolfram MathWorld: Conjunction]
| |
| | |
| == References ==
| |
| {{reflist}}
| |
| | |
| {{Logical connectives}}
| |
| | |
| [[Category:Logical connectives]]
| |