Skip to content

Commit 8d90872

Browse files
committed
chore: add not_not_intro
1 parent 60d3860 commit 8d90872

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Init/Core.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ theorem mt {a b : Prop} (h₁ : a → b) (h₂ : ¬b) : ¬a :=
180180

181181
theorem not_false : ¬False := id
182182

183+
theorem not_not_intro {p : Prop} (h : p) : ¬ ¬ p :=
184+
fun hn : ¬ p => hn h
185+
183186
-- proof irrelevance is built in
184187
theorem proofIrrel {a : Prop} (h₁ h₂ : a) : h₁ = h₂ := rfl
185188

0 commit comments

Comments
 (0)