feat(library/logic/connectives/basic): add not_not_em theorem

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-08-26 17:30:59 -07:00
parent 0099a7b224
commit 9bea23111f

View file

@ -141,6 +141,11 @@ or_elim H1
(assume H2 : c, or_inl H2)
(assume H2 : a, or_inr (H H2))
theorem not_not_em {p : Prop} : ¬¬(p ¬p) :=
assume not_em : ¬(p ¬p),
have Hnp : ¬p, from
assume Hp : p, absurd (or_inl Hp) not_em,
absurd (or_inr Hnp) not_em
-- iff
-- ---