logical biconditional
{{Short description|Concept in logic and mathematics}}
{{one source|date=June 2013}}
{{Logical connectives sidebar}}
File:Venn1001.svg of
(true part in red)]]
In logic and mathematics, the logical biconditional, also known as material biconditional or equivalence or bidirectional implication or biimplication or bientailment, is the logical connective used to conjoin two statements and to form the statement " if and only if " (often abbreviated as " iff "{{Cite web|url=http://mathworld.wolfram.com/Iff.html|title=Iff|last=Weisstein|first=Eric W.|website=mathworld.wolfram.com|language=en|access-date=2019-11-25}}), where is known as the antecedent, and the consequent.{{Cite web|url=http://web.mnstate.edu/peil/geometry/Logic/4logic.htm|title=Conditionals and Biconditionals|last=Peil|first=Timothy|website=web.mnstate.edu|access-date=2019-11-25|archive-date=2020-10-24|archive-url=https://web.archive.org/web/20201024171606/http://web.mnstate.edu/peil/geometry/Logic/4logic.htm|url-status=dead}}{{Cite book|title=Handbook of Logic|last=Brennan|first=Joseph G.|publisher=Harper & Row|year=1961|edition=2nd|pages=81}}
Nowadays, notations to represent equivalence include .
is logically equivalent to both and , and the XNOR (exclusive NOR) Boolean operator, which means "both or neither".
Semantically, the only case where a logical biconditional is different from a material conditional is the case where the hypothesis (antecedent) is false but the conclusion (consequent) is true. In this case, the result is true for the conditional, but false for the biconditional.
In the conceptual interpretation, {{math|1=P = Q}} means "All {{mvar|P}}'s are {{mvar|Q}}'s and all {{mvar|Q}}'s are {{mvar|P}}'s". In other words, the sets {{mvar|P}} and {{mvar|Q}} coincide: they are identical. However, this does not mean that {{mvar|P}} and {{mvar|Q}} need to have the same meaning (e.g., {{mvar|P}} could be "equiangular trilateral" and {{mvar|Q}} could be "equilateral triangle"). When phrased as a sentence, the antecedent is the subject and the consequent is the predicate of a universal affirmative proposition (e.g., in the phrase "all men are mortal", "men" is the subject and "mortal" is the predicate).
In the propositional interpretation, means that {{mvar|P}} implies {{mvar|Q}} and {{mvar|Q}} implies {{mvar|P}}; in other words, the propositions are logically equivalent, in the sense that both are either jointly true or jointly false. Again, this does not mean that they need to have the same meaning, as {{mvar|P}} could be "the triangle ABC has two equal sides" and {{mvar|Q}} could be "the triangle ABC has two equal angles". In general, the antecedent is the premise, or the cause, and the consequent is the consequence. When an implication is translated by a hypothetical (or conditional) judgment, the antecedent is called the hypothesis (or the condition) and the consequent is called the thesis.
A common way of demonstrating a biconditional of the form is to demonstrate that and separately (due to its equivalence to the conjunction of the two converse conditionals). Yet another way of demonstrating the same biconditional is by demonstrating that and .
When both members of the biconditional are propositions, it can be separated into two conditionals, of which one is called a theorem and the other its reciprocal.{{Citation needed|date=August 2008}} Thus whenever a theorem and its reciprocal are true, we have a biconditional. A simple theorem gives rise to an implication, whose antecedent is the hypothesis and whose consequent is the thesis of the theorem.
It is often said that the hypothesis is the sufficient condition of the thesis, and that the thesis is the necessary condition of the hypothesis. That is, it is sufficient that the hypothesis be true for the thesis to be true, while it is necessary that the thesis be true if the hypothesis were true. When a theorem and its reciprocal are true, its hypothesis is said to be the necessary and sufficient condition of the thesis. That is, the hypothesis is both the cause and the consequence of the thesis at the same time.
Notations
Notations to represent equivalence used in history include:
- in George Boole in 1847.{{cite book |last1=Boole |first1=G. |title=The Mathematical Analysis of Logic, Being an Essay Towards a Calculus of Deductive Reasoning |date=1847 |publisher=Macmillan, Barclay, & Macmillan/George Bell |location=Cambridge/London |page=17 |url=https://archive.org/details/mathematicalanal00booluoft}} Although Boole used mainly on classes, he also considered the case that are propositions in , and at the time is equivalence.
- in Frege in 1879;{{cite book |last1=Frege |first1=G. |title=Begriffsschrift, eine der arithmetischen nachgebildete Formelsprache des reinen Denkens |date=1879 |publisher=Verlag von Louis Nebert |location=Halle a/S. |page=15 |language=German}}
- in Bernays in 1918;{{cite book |last1=Bernays |first1=P. |title=Beiträge zur axiomatischen Behandlung des Logik-Kalküls |date=1918 |publisher=Universität Göttingen |location=Göttingen |page=3}}
- in Hilbert in 1927 (while he used as the main symbol in the article);{{cite journal |last1=Hilbert |first1=D. |title=Die Grundlagen der Mathematik |journal=Abhandlungen aus dem mathematischen Seminar der Hamburgischen Universität |orig-date=1927 |date=1928 |volume=6 |pages=65–85 |doi=10.1007/BF02940602 |language=German}}
- in Hilbert and Ackermann in 1928{{cite book |last1=Hilbert |first1=D. |last2=Ackermann |first2=W. |title=Grundzügen der theoretischen Logik |edition=1 |date=1928 |publisher=Verlag von Julius Springer |location=Berlin |page=4 |language=German}} (they also introduced while they use as the main symbol in the whole book; is adopted by many followers such as Becker in 1933{{cite book |last1=Becker |first1=A. |title=Die Aristotelische Theorie der Möglichkeitsschlösse: Eine logisch-philologische Untersuchung der Kapitel 13-22 von Aristoteles' Analytica priora I |date=1933 |publisher=Junker und Dünnhaupt Verlag |location=Berlin |page=4 |language=German}});
- (prefix) in Łukasiewicz in 1929{{cite book |last1=Łukasiewicz |first1=J. |editor1-last=Słupecki |editor1-first=J. |title=Elementy logiki matematycznej |orig-date=1929|date=1958 |publisher=Państwowe Wydawnictwo Naukowe |location=Warszawa |edition=2 |language=Polish}} and (prefix) in Łukasiewicz in 1951;{{cite book |last1=Łukasiewicz |first1=J. |editor1-last=Słupecki |editor1-first=J. |title=Aristotle's Syllogistic from the Standpoint of Modern Formal Logic |orig-date=1951|date=1957 |publisher=Oxford University Press |location=Glasgow, New York, Toronto, Melbourne, Wellington, Bombay, Calcutta, Madras, Karachi, Lahore, Dacca, Cape Town, Salisbury, Nairobi, Ibadan, Accra, Kuala Lumpur and Hong Kong |edition=2 |language=Polish}}
- in Heyting in 1930;{{cite journal |last1=Heyting |first1=A. |title=Die formalen Regeln der intuitionistischen Logik |journal=Sitzungsberichte der Preussischen Akademie der Wissenschaften, Physikalisch-mathematische Klasse |date=1930 |pages=42–56 |language=German}}
- in Bourbaki in 1954;{{cite book |last1=Bourbaki |first1=N. |title=Théorie des ensembles |date=1954 |publisher=Hermann & Cie, Éditeurs |location=Paris |page=32 |language=French}}
- in Chazal in 1996;{{cite book |last1=Chazal |first1=G. |title=Eléments de logique formelle |date=1996 |publisher=Hermes Science Publications |location=Paris}}
and so on. Somebody else also use or occasionally.{{citation needed|date=September 2023}}{{vague|date=September 2023}}{{clarify|date=September 2023}}
Definition
Logical equality (also known as biconditional) is an operation on two logical values, typically the values of two propositions, that produces a value of true if and only if both operands are false or both operands are true.
=Truth table=
The following is a truth table for :
{{2-ary truth table|1|0|0|1|}}
{{-}}
When more than two statements are involved, combining them with might be ambiguous. For example, the statement
:
may be interpreted as
:,
or may be interpreted as saying that all {{math|xi}} are jointly true or jointly false:
:
As it turns out, these two statements are only the same when zero or two arguments are involved. In fact, the following truth tables only show the same bit pattern in the line with no argument and in the lines with two arguments:
File:Variadic logical XAND.svg
File:Variadic logical all or nothing.svg
{{-}}
The left Venn diagram below, and the lines (AB ) in these matrices represent the same operation.
=Venn diagrams=
Red areas stand for true (as in 40px for and).
border="0" style="width:100%"
| style="vertical-align:top;"| {| style="background:#f9f9f9; border:1px solid #ccc; float:left;" |
220px |
The biconditional of two statements is the negation of the exclusive or: |
style="text-align:center;"
| |
| style="width: 100px"|
| style="vertical-align:top;"|
style="background:#f9f9f9; border:1px solid #ccc; margin:auto;" |
220px |
The biconditional and the exclusive or of three statements give the same result: |
| style="width: 100px"|
| style="vertical-align:top;"|
style="background:#f9f9f9; border:1px solid #ccc; float:right;" |
220px |
But may also be used as an abbreviation for |
|}
Properties
Commutativity: Yes
style="text-align:center; border:1px solid darkgrey;" |
| | |
50px
| |50px |
Associativity: Yes
style="text-align:center; border:1px solid darkgrey;" |
| | | | | | | | |
50px
| |50px | |50px | |50px | |50px |
Distributivity: Biconditional doesn't distribute over any binary function (not even itself), but logical disjunction distributes over biconditional.
Idempotency: No
style="text-align:center; border:1px solid darkgrey;" |
| | | | | | |
36px
| |36px | |36px | |36px |
Monotonicity: No
style="text-align:center; border:1px solid darkgrey;" | |||
| | | | | | | |||
|50px
| | 50px
| | 50px
| | 50px |
Truth-preserving: Yes
When all inputs are true, the output is true.
style="text-align:center; border:1px solid darkgrey;" |
| | |
50px
| |60px |
Falsehood-preserving: No
When all inputs are false, the output is not false.
style="text-align:center; border:1px solid darkgrey;" |
| | |
60px
| |50px |
Walsh spectrum: (2,0,0,2)
Nonlinearity: 0 (the function is linear)
Rules of inference
{{Main|Rules of inference}}
Like all connectives in first-order logic, the biconditional has rules of inference that govern its use in formal proofs.
=Biconditional introduction=
{{Main|Biconditional introduction}}
Biconditional introduction allows one to infer that if B follows from A and A follows from B, then A if and only if B.
For example, from the statements "if I'm breathing, then I'm alive" and "if I'm alive, then I'm breathing", it can be inferred that "I'm breathing if and only if I'm alive" or equivalently, "I'm alive if and only if I'm breathing." Or more schematically:
B → A
A → B
∴ A ↔ B
B → A
A → B
∴ B ↔ A
=Biconditional elimination=
Biconditional elimination allows one to infer a conditional from a biconditional: if A ↔ B is true, then one may infer either A → B, or B → A.
For example, if it is true that I'm breathing if and only if I'm alive, then it's true that if I'm breathing, then I'm alive; likewise, it's true that if I'm alive, then I'm breathing. Or more schematically:
A ↔ B
∴ A → B
A ↔ B
∴ B → A
Colloquial usage
One unambiguous way of stating a biconditional in plain English is to adopt the form "b if a and a if b"—if the standard form "a if and only if b" is not used. Slightly more formally, one could also say that "b implies a and a implies b", or "a is necessary and sufficient for b". The plain English "if'" may sometimes be used as a biconditional (especially in the context of a mathematical definitionIn fact, such is the style adopted by Wikipedia's manual of style in mathematics.). In which case, one must take into consideration the surrounding context when interpreting these words.
For example, the statement "I'll buy you a new wallet if you need one" may be interpreted as a biconditional, since the speaker doesn't intend a valid outcome to be buying the wallet whether or not the wallet is needed (as in a conditional). However, "it is cloudy if it is raining" is generally not meant as a biconditional, since it can still be cloudy even if it is not raining.
See also
{{Portal|Philosophy|Psychology}}
References
{{reflist}}
External links
- {{Commonscatinline}}
{{Logical connectives}}
{{Mathematical logic}}
{{PlanetMath attribution|id=484|title=Biconditional}}
{{DEFAULTSORT:Logical Biconditional}}