Prove that $((p\lor q)\land(p\lor(\lnot q)))\rightarrow p$
Please could someone give me some feed back on this proof? Does it look correct?
= $\lnot ((p\lor q)\land(p\lor(\lnot q)))\lor p$
= $ (\lnot(p\lor q) \lor \lnot(p\lor(\lnot q)))\lor p$
= $((\lnot p\land \lnot q)\lor(\lnot p\land \lnot(\lnot q)))\lor p$
= $((\lnot p\land \lnot q)\lor(\lnot p\land q))\lor p$
= $(\lnot p(\lnot q \lor q)))\lor p$ <----- Is this step correct?
= $(\lnot p(T))\lor p$ $\equiv true $
Thanks a million

