Mathematical logic
Proposition
A statement in either true or false state.
Symbols
Symbol | Read as |
---|
∧ | and |
∨ | or |
→ | then |
⟹ | implies |
⇐ | implied by |
⟺ | if and only if |
∀ | for all |
∃ | there exists |
∼ | not |
Let’s take a→b.
- Contrapositive or transposition: ∼b→∼a. This is
equivalent to the original.
- Inverse: ∼a→∼b. Does not depend on the original.
- Converse: b→a. Does not depend on the original.
a→b≡∼a∨b≡∼b→∼a
Required proofs
- ∼∀xP(x)≡∃x∼P(x)
- ∼∃xP(x)≡∀x∼P(x)
- ∃x∃yP(x,y)≡∃y∃xP(x,y)
- ∀x∀yP(x,y)≡∀y∀xP(x,y)
- ∃x∀yP(x,y)⟹∀y∃xP(x,y)
- (A→C)∧(B→C)≡(A∨B)→C
Methods of proofs
- Just proof what should be proven
- Prove the contrapositive
- Proof by contradiction
- Proof by induction
Proof by contradiction
Suppose a⟹b has to be proven. If a∧∼b is proven to
be false, then, by proof by contradiction, a⟹b can be trivially
proven.
Logic behind proof by contradiction
a∧∼b=F
∼(a∧∼b)=∼F
∼a∨b=T
a→b=T
a⟹b