LinearOrderedAddCommMonoidWithTop structure on ENat #
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[deprecated ENat.natCast_mul (since := "2026-07-17")]
Alias of ENat.natCast_mul.
Homomorphism from ℕ∞ to ℕ sending ∞ to 0.
Equations
- ENat.toNatHom = { toFun := ENat.toNat, map_zero' := ENat.toNatHom._proof_1, map_one' := ENat.toNatHom._proof_2, map_mul' := ⋯ }
Instances For
@[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
@[instance_reducible]
Equations
- ENat.instUniqueUnits = { toInhabited := Units.instInhabited, uniq := ⋯ }
@[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.
Equations
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) :