Skip to content

Commit

Permalink
doc: add missing docstring to a theorem
Browse files Browse the repository at this point in the history
  • Loading branch information
chabulhwi committed Jan 28, 2025
1 parent 7a2535f commit 9b4930a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TPIL/Chapter04/Quantifier.lean
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ theorem not_exists_isGodlike : ¬∃ (x : Human), IsGodlike x :=
(show ¬IsMortal w from not_isMortal_of_isGodlike hw)
(show IsMortal w from forall_isMortal w))

/-- Every human is not godlike. -/
theorem not_isGodlike (x : Human) : ¬IsGodlike x :=
fun h : IsGodlike x ↦ show False from
(show ¬∃ (x : Human), IsGodlike x from not_exists_isGodlike)
Expand Down

0 comments on commit 9b4930a

Please sign in to comment.