Only using rules of inferences to prove that $(p\wedge q)\vee (p\wedge r) \to (q \vee r)$
I tried to solve it with this:
- (p⋀q)⋁(p⋀r) (premise)
- (p⋀q) (Assumption)
- p (⋀-elimination)
- p⋀r (Assumption)
- p (⋀-elimination)
- p (⋁-elimination 3,5)
But this seems wrong. Does anyone else have a clue on which rules to apply for this? Thank you.
$\def\fitch#1#2{\quad\begin{array}{|l}#1\\\hline #2\end{array}}$
Don't ever start by premising what you seek to prove. This is a proof with no premises.
Since you want to introduce a conditional, use a conditional proof -- assume the antecedant in order to derive the consequent.
Since that assumption is a disjunction, eliminate it with a proof by cases. In each case assume the left or right of the disjunction and aim to derive the consequent.
Since each case is a conjunction, eliminate it to the part that enables you to derive the consequent by introducing a disjunction.
Finish by introducing the conditional and you are done.
Fill in the dots.
$$\fitch{}{\fitch{\ldots}{\fitch{\ldots}{\ldots\\\ldots}\\\fitch{\ldots}{\ldots\\\ldots}\\\ldots}\\((p\land q)\lor(p\land r))\to(q\lor r)}$$