fix: protected on Nat.add_zero

This commit is contained in:
Mario Carneiro 2022-11-12 21:08:06 -05:00 committed by Leonardo de Moura
parent 7358df2f7e
commit 178d0ebe4f

View file

@ -457,7 +457,7 @@ inductive PNonScalar : Type u where
/-- You should not use this function -/
| mk (v : Nat) : PNonScalar
@[simp] theorem Nat.add_zero (n : Nat) : n + 0 = n := rfl
@[simp] protected theorem Nat.add_zero (n : Nat) : n + 0 = n := rfl
theorem optParam_eq (α : Sort u) (default : α) : optParam α default = α := rfl