feat(library/logic/connectives/basic): add not_not_em theorem
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
0099a7b224
commit
9bea23111f
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
-- ---
|
||||
|
|
Loading…
Reference in a new issue