lean2/tests/lean/run/blast24.lean

12 lines
749 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- Basic (propositional) forward chaining with clauses
constants (A B C D E : Prop)
set_option blast.recursor false
definition lemma1 : A → (A B → C) → C := by blast
definition lemma2 : B → (A B → C) → C := by blast
definition lemma3 : A → B → (A → B C → D) → D := by blast
definition lemma4 : A → B → (A → B C C → D) → D := by blast
definition lemma5 : A → B → (E A E → E B C C → D) → D := by blast
definition lemma6 : A → (A → B → C) → ¬ C → ¬ B := by blast
definition lemma7 : ¬ D → B → (A → E B C C → D) → ¬ A := by blast
definition lemma8 : ¬ D → B → (A E → E B C C → D) → ¬ (A E) := by blast