LinearOrderedAddCommMonoidWithTop structure on ENat #
@[instance_reducible]
@[deprecated ENat.natCast_mul (since := "2026-07-17")]
Alias of ENat.natCast_mul.
@[deprecated add_pos_of_right (since := "2026-05-25")]
theorem
ENat.add_left_injective_of_ne_top
{n : ℕ∞}
(hn : n ≠ ⊤)
:
Function.Injective fun (x : ℕ∞) => x + n
theorem
ENat.add_right_injective_of_ne_top
{n : ℕ∞}
(hn : n ≠ ⊤)
:
Function.Injective fun (x : ℕ∞) => n + x
theorem
ENat.mul_right_strictMono
{a : ℕ∞}
(ha : a ≠ 0)
(h_top : a ≠ ⊤)
:
StrictMono fun (x : ℕ∞) => a * x
theorem
ENat.mul_left_strictMono
{a : ℕ∞}
(ha : a ≠ 0)
(h_top : a ≠ ⊤)
:
StrictMono fun (x : ℕ∞) => x * a
@[simp]
theorem
ENat.map_natCast_nonneg
{n : ℕ∞}
{α : Type u_1}
[AddMonoidWithOne α]
[PartialOrder α]
[AddLeftMono α]
[ZeroLEOneClass α]
:
theorem
ENat.map_natCast_strictMono
{α : Type u_1}
[AddMonoidWithOne α]
[PartialOrder α]
[AddLeftMono α]
[ZeroLEOneClass α]
[CharZero α]
:
theorem
ENat.map_natCast_injective
{α : Type u_1}
[AddMonoidWithOne α]
[PartialOrder α]
[AddLeftMono α]
[ZeroLEOneClass α]
[CharZero α]
:
@[simp]
theorem
ENat.map_natCast_inj
{m n : ℕ∞}
{α : Type u_1}
[AddMonoidWithOne α]
[PartialOrder α]
[AddLeftMono α]
[ZeroLEOneClass α]
[CharZero α]
:
@[simp]
theorem
ENat.map_natCast_eq_zero
{n : ℕ∞}
{α : Type u_1}
[AddMonoidWithOne α]
[PartialOrder α]
[AddLeftMono α]
[ZeroLEOneClass α]
[CharZero α]
:
A version of WithTop.map for AddMonoidHoms.
Instances For
@[simp]
def
MonoidWithZeroHom.ENatMap
{S : Type u_1}
[MulZeroOneClass S]
[DecidableEq S]
[Nontrivial S]
(f : ℕ →*₀ S)
(hf : Function.Injective ⇑f)
:
A version of ENat.map for MonoidWithZeroHoms.
Instances For
@[simp]
theorem
MonoidWithZeroHom.ENatMap_apply
{S : Type u_1}
[MulZeroOneClass S]
[DecidableEq S]
[Nontrivial S]
(f : ℕ →*₀ S)
(hf : Function.Injective ⇑f)
:
def
RingHom.ENatMap
{S : Type u_1}
[CommSemiring S]
[PartialOrder S]
[CanonicallyOrderedAdd S]
[DecidableEq S]
[Nontrivial S]
(f : ℕ →+* S)
(hf : Function.Injective ⇑f)
:
A version of ENat.map for RingHoms.
Instances For
@[simp]
theorem
RingHom.ENatMap_apply
{S : Type u_1}
[CommSemiring S]
[PartialOrder S]
[CanonicallyOrderedAdd S]
[DecidableEq S]
[Nontrivial S]
(f : ℕ →+* S)
(hf : Function.Injective ⇑f)
: