I am having a hard time proving A → ¬ (¬ A ∧ B) with the Lean theorem prover. I set it up like this:
example : A → ¬ (¬ A ∧ B) :=
assume h1: ¬ (¬ A ∧ B),
assume h2: A,
assume h3: B,
show false, from sorry
I was unable to find examples to prove this negation. Any help of solving this would be much appreciated.