lean2/tests/lean/run/blast_unit_preprocess.lean
2015-12-04 08:30:04 -08:00

13 lines
621 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.

-- Testing the unit pre-processor
open simplifier.unit_simp
set_option simplify.max_steps 10000
variables {A₁ A₂ A₃ A₄ B₁ B₂ B₃ B₄ : Prop}
variables {A B C D E F G : Prop}
variables {X : Type.{1}}
example (H : A B → E) (nE : ¬ E) : ¬ A ∧ ¬ B := by blast
example (H : A B → E) (nE : ¬ E) : ¬ A ∧ ¬ B := by blast
example (H : A B → E ∧ F) (nE : ¬ E) : ¬ A ∧ ¬ B := by blast
example (H : A (B ∧ C) → E ∧ F) (c : C) (nE : ¬ E) : ¬ A ∧ ¬ B := by blast
example (H : A (B ∧ C) → (G → E ∧ F)) (g : G) (c : C) (nE : ¬ E) : ¬ A ∧ ¬ B := by blast