I am just starting learning proofs in my discrete math class. I need to find the direct proof for $a \rightarrow b, c \rightarrow b, d \rightarrow (a \lor c), d \Rightarrow b$.
These are my steps:
- $ a \rightarrow b [Premise]$
- $ c \rightarrow b [Premise]$
- $ (a \rightarrow b) \land (c \rightarrow b) [Conjunction 1, 2] $
- $ d \rightarrow ( a \lor c) [Premise]$
- $d \rightarrow b [Constructive Dilemma 3, 4]\square$
Is this a correct proof? I tried multiple ways and nothing worked, but I am not sure if I am using Constructive Dilemma the right way.
Hint
Let assume that $⇒$ means $\vdash$, i.e. consequence.
Use Modus Ponens with $d$ and $d \to (a \lor c)$ to derive : $a \lor c$.
Then use Disjunction elimination with $a \lor c$ and the first two premises to derive the conclusion $b$.