Skip to content

Commit

Permalink
fix: protected Nat.add_zero
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 authored and leodemoura committed Nov 17, 2022
1 parent 7372236 commit a92c32b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inductive_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,7 @@ Here are some additional examples:

```lean
# namespace Hidden
# theorem add_zero (n : Nat) : n + 0 = n := Nat.add_zero n
open Nat
theorem zero_add (n : Nat) : 0 + n = n := by
Expand Down

0 comments on commit a92c32b

Please sign in to comment.