Week 1
Implications
There is a multitude of meanings when it comes to the use of the word "implication". There is a good detailed explanation in the script. To provide an overview consider the following:
Implications between Mathematical statements
we will add some more stuff from the first week here
The arrow "" can be used between mathematical statements to form a new mathematical statement. For example, let and be mathematical statements. Then we can form the mathematical statement . The new statement can be translated into natural language by saying that "that if is true, then is also true" (which is a statement that can be false). It does not mean that because is true, is also true.
For example, consider the following statements:
- : " is an even number"
- : ""
In this case, is true. This may seem counterintuitive, but it is a true mathematical statement. The statement does not mean that there is a derivation from to .
Additionally, it can be quite counterintuitive to consider the statement when you know that the statement is actually false. This automatically makes true because we essentially don't care about the truth value of the statement . Since is false, the implication "if is true, then is also true" is vacuously true because is not true — we don't need to check whether is true.
For example, consider the following statements:
- : " is an odd number"
- : " is an even number"
If we now consider , we would find that is indeed a true statement because we know is false.
Note that the only case where the statement is false is when is a true statement and is a false statement.
Derivation step arrow
Implication as formula operator
Logical consequence
EBNF: Statements vs Formulas
This tries to define formulas and statements with EBNF. Bold symbols are used to denote EBNF syntax elements ( ) [ ] │. References to existing rules are made using Rulename… element.
| Rule | Expression |
|---|---|
PropSymbol | │ │ │ ••• │ |
Symbol | PropSymbol │ │ |
LogicOp | │ │ │ |
Negation | |
Combination | (Formula │ Combination) LogicOp (Formula │ Combination) |
Formula | [Negation]Symbol │ Combination │ NegationCombination |
FormulaStatement | Formula ( │ ) Formula │ Formula |
StatementOp | │ │ │ |
Proposition | FormulaStatement │ Statement │ PropSymbol │ Mathematical statement |
Statement | FormulaStatement │ Proposition (StatementOp Proposition │ ) |
You can try it out in the EBNF Lab (opens in a new tab).
Exercises
Problem 1Source: Tobias Steinbrecher
Define logical binary operator as follows:
For each of the following formulas, write an equivalent formula using only the operator. Prove the equivalence in each case.
Equivalence TransformationsSource: Philipp Barski
Consider the formula . Find a formula such that only contains the logical operation and propositional symbols (Note that parentheses are allowed as well).
Solve this problem either by using equivalence transformations from Lemma 2.1 and the rules
or drawing the truth table and trying to find a formula fulfilling the upper constraints.