Coercion from ℕ∞
to ℝ≥0∞
#
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
In this file we define a coercion from ℕ∞
to ℝ≥0∞
and prove some basic lemmas about this map.
@[protected, instance]
Equations
@[simp]
Coercion ℕ∞ → ℝ≥0∞
as an order_embedding
.
Coercion ℕ∞ → ℝ≥0∞
as a ring homomorphism.
Equations
- enat.to_ennreal_ring_hom = (nat.cast_ring_hom nnreal).with_top_map enat.to_ennreal_ring_hom._proof_3
@[simp]
@[simp]