Module docstring
{"# Lemma about the coercion ℕ → WithBot ℕ.
An orphaned lemma about casting from ℕ to WithBot ℕ,
exiled here during the port to minimize imports of Algebra.Order.Ring.Rat.
"}
{"# Lemma about the coercion ℕ → WithBot ℕ.
An orphaned lemma about casting from ℕ to WithBot ℕ,
exiled here during the port to minimize imports of Algebra.Order.Ring.Rat.
"}
instWellFoundedRelationWithTopNat
instance
: WellFoundedRelation (WithTop ℕ)
instance : WellFoundedRelation (WithTop ℕ) where
rel := (· < ·)
wf := IsWellFounded.wf
Nat.cast_withTop
theorem
(n : ℕ) : Nat.cast n = WithTop.some n
theorem Nat.cast_withTop (n : ℕ) : Nat.cast n = WithTop.some n :=
rfl
Nat.cast_withBot
theorem
(n : ℕ) : Nat.cast n = WithBot.some n
theorem Nat.cast_withBot (n : ℕ) : Nat.cast n = WithBot.some n :=
rfl