Propositional Logic: Introduction
Implication and equivalence
Implication and natural language The transcription of natural language into a logical formula really becomes difficult with a conditional statement such as the implication. In natural language, we can make an "if...then..." construction in many ways, with different nuances. Below are a number of language expressions where and are meaningful statements about a fact (think, for example, "The sun is shining" and "I am biking"). Here we write "when/if" in case either of these two words can be used.
"If , then ." | " whenever |
"When/If , ." | " only as ." |
" is sufficient for ." | "A sufficient condition for is ." |
" when/if ." | " is necessary for ." |
"A necessary condition for is ." | " follows from ." |
" provided ." | " given that ." |
" unless ." | " provided ." |
As an example, let's take a closer look at the sentence structure " only as ." having in mind the sample sentence "If you are good, you will get a piece of candy." spoken by a father to his son. If he is not good, the son should not expect any candy, although the father can give it anyway. This corresponds to the fact that the implication and the formula have the same truth table and are therefore logically equivalent.
Only if the son is good, but the father does not keep his promise, will the son be disappointed. This scenario corresponds in propositional logic to the situation where is true and is false in the proposition . The formula in this scenario returns the truth value true and is the opposite of . If the father says to his son "You get a candy, only if you are good" then it is clear in common language that the son will not get a candy if he is not good. This corresponds to , where symbolises exclusive disjunction. The reason why we have put " only if ." in the above list of statements that are sentence constructions of implication is that we usually ignore such nuances in natural language in the process of transcription.
Implication
The implication of two propositions and is a proposition which is false if is true and is false, and true in all other cases.
So we consider and as logically equivalent formulas.
The symbol for the infix implication operator is
Example
The implication "If Marthe is ill, she stays at home." is true if the statements "Marthe is ill." and "She stays at home" are true.
But this implication is also true if the statement "Marthe is ill." is false.
The implication is only false if Marthe is ill, but does not stay at home. It cannot be that the statement "Marthe is ill." is true, but the statement "She stays at home" is false.
With the implication it is easy to introduce logical equivalence of propositions.
Equivalence
Two propositions are logically equivalent (in short: equivalent) when the two propositions have the same truth value in all cases, i.e., either both true or both false; in all other cases the propositions are not equivalent.
Equivalence is symbolised by the infix operator , which represents the connective "exactly if" in natural language. Other popular phrases in plain language include "...if...and not otherwise.", "...only if..." and "if...then..., and vice versa."
In mathematics and propositional logic, the implication stands for "if and only if" and "is a necessary and sufficient condition for".
Example
"You can take flight KL1845 on July 25 with departure time 11:45 if and only if you have purchased a flight ticket for flight KL1845 on July 25 with departure time 11:45." In order to be able to take the planned flight, you must have purchased a valid flight ticket, and you can take this flight only if you have purchased a valid flight ticket.