chore: restore @[simp] to upstreamed Nat.lt_off_iff (#5503)
This was upstreamed from Mathlib in #5478, but leaving off the `@[simp]` attribute, thereby breaking Mathlib. (We could of course add the simp attribute back in Mathlib, but wherever it lives it should have been in place at the time we merged -- this way I have to add it temporarily in Mathlib and then remove it again once it is redundant.)
This commit is contained in:
parent
9f4075be72
commit
ef71f0beab
1 changed files with 1 additions and 1 deletions
|
|
@ -634,7 +634,7 @@ theorem lt_succ_of_lt (h : a < b) : a < succ b := le_succ_of_le h
|
|||
|
||||
theorem lt_add_one_of_lt (h : a < b) : a < b + 1 := le_succ_of_le h
|
||||
|
||||
theorem lt_one_iff : n < 1 ↔ n = 0 := Nat.lt_succ_iff.trans <| by rw [le_zero_eq]
|
||||
@[simp] theorem lt_one_iff : n < 1 ↔ n = 0 := Nat.lt_succ_iff.trans <| by rw [le_zero_eq]
|
||||
|
||||
theorem succ_pred_eq_of_ne_zero : ∀ {n}, n ≠ 0 → succ (pred n) = n
|
||||
| _+1, _ => rfl
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue