refactor(library/logic/eq): rename two theorems

This commit is contained in:
Jeremy Avigad 2015-08-09 21:31:17 -04:00
parent eca3437388
commit d77bdaabc2

View file

@ -106,12 +106,12 @@ end
section section
variables {p : Prop} variables {p : Prop}
theorem p_ne_false : p → p ≠ false := theorem ne_false_of_self : p → p ≠ false :=
assume (Hp : p) (Heq : p = false), Heq ▸ Hp assume (Hp : p) (Heq : p = false), Heq ▸ Hp
theorem p_ne_true : ¬p → p ≠ true := theorem ne_true_of_not : ¬p → p ≠ true :=
assume (Hnp : ¬p) (Heq : p = true), (Heq ▸ Hnp) trivial assume (Hnp : ¬p) (Heq : p = true), (Heq ▸ Hnp) trivial
end end
theorem true_ne_false : ¬true = false := theorem true_ne_false : ¬true = false :=
p_ne_false trivial ne_false_of_self trivial