Successors and predecessors of naturals #
In this file, we show that ℕ is both an archimedean succOrder and an archimedean predOrder.
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- Nat.instSuccAddOrder = { toSuccOrder := Nat.instSuccOrder, succ_eq_add_one := Nat.instSuccAddOrder._proof_1 }
@[implicit_reducible]
Equations
- Nat.instPredOrder = { pred := Nat.pred, pred_le := Nat.pred_le, min_of_le_pred := ⋯, le_pred_of_lt := ⋯ }
@[implicit_reducible]
Equations
- Nat.instPredSubOrder = { toPredOrder := Nat.instPredOrder, pred_eq_sub_one := Nat.instPredSubOrder._proof_1 }
@[simp]
A special case of Order.covBy_iff_add_one_eq for use by simp.
Alias of the forward direction of Fin.covBy_iff.