$$(A ∧ (A → B)) ⇒ B$$
I know that this is a tautology, but apart from setting up a truth-table I dont know how I would go about a formal proof in discrete mathematics. thanks
$$(A ∧ (A → B)) ⇒ B$$
I know that this is a tautology, but apart from setting up a truth-table I dont know how I would go about a formal proof in discrete mathematics. thanks
$(A \land (A\rightarrow B)) \rightarrow B $ is true when $A \land (A\rightarrow B)$ is false or $B$ is true. Therefore if it was false then $A \land (A\rightarrow B)$ would be true and $B$ would be false.
If $A \land (A\rightarrow B)$ is false then A is false and $A\rightarrow B$ is false. But if $A\rightarrow B$ is false and $B$ is false then $A$ must be true, which is a contradiction.
To go from another direction, you can construct a proof using the deduction theorem to transform the problem first into $\{A \wedge (A \to B)\} \vdash B$. Then this is proved by the following:
A semantic reasoning ( not sure it counts as a " formal" proof)
Suppose the antecedent does not imply logically the consequent.
It means there is ( at least) one interpretation inwhich the antecedent is true and the consequent false.
Hence, an interpretation in which $B$ is false and $( (A\land (A\rightarrow B))$ is true ( meaning is particular that $A$ is true).
The only way to have $(A\rightarrow B)$ true is not to have both $A$ true and $B$ false.
But the only way to have this when you alredy have $B$ false is not to have $A$ true, hence to have $A$ false.
By what precedes,however, you have $A$ true.
This shows that there is no possible interpretation that falsifies the original material conditional, and, consequently, that the antecedent logically implies the consequent.