/-
Copyright (c) 2014 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public import Mathlib.Algebra.Order.Monoid.Unbundled.WithTop
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# 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`.
-/
public section
instance : WellFoundedRelation (WithTop ℕ) := WellFoundedLT.toWellFoundedRelation
theorem Nat.cast_withTop (n : ℕ) : Nat.cast n = WithTop.some n :=
rfl
theorem Nat.cast_withBot (n : ℕ) : Nat.cast n = WithBot.some n :=
rfl
¤ Dauer der Verarbeitung: 0.4 Sekunden
¤
*© Formatika GbR, Deutschland