Question Proof Logic Based Question Done Program Called Lean Checks See Proved Correctly D Q43906555
This question is a proof/logic-based question and it is donewith a program called lean which checks to see if you proved itcorrectly. I have done the first one in lean, but I’m not sure howto do the others if someone could help me it would be greatlyappreciated. (note: The answer should be in lean format like thefirst problem)
variables A B C D : Prop
- example : A ∧ (A → B) → B :=
assume h: A ∧ (A → B),
have a : A, from and.left h,
have f: A → B, from and.right h,
have b: B, from f a,
show B, from b
- example : A → ¬ (¬ A ∧ B) :=
- example : ¬ (A ∧ B) → (A → ¬ B) :=
- example (h : A ∨ B) (i : A → C) (j : B → D) : C ∨ D :=
- example (h : ¬ A ∧ ¬ B) : ¬ (A ∨ B) :=
Expert Answer
Answer to This question is a proof/logic-based question and it is done with a program called lean which checks to see if you prove…
OR