Mathlib Map

Theorems · Theorem · field theory

MonoidWithZeroHomClass.ext_nnrat

∀ {M₀ : Type u_5} [inst : MonoidWithZero M₀] {f g : ℚ≥0 →*₀ M₀},
  f.comp (MonoidWithZeroHom.ofClass (Nat.castRingHom ℚ≥0)) = g.comp (MonoidWithZeroHom.ofClass (Nat.castRingHom ℚ≥0)) →
    f = g

If monoid with zero homs f and g from ℚ≥0 agree on the naturals then they are equal. See note [partially-applied ext lemmas] for why comp is used here.

Defined in
Mathlib.Data.Rat.Cast.Defs
Cited by
1 results in Mathlib
Foundations
Depth 91 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
MonoidWithZero

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites9

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by1

Results whose statement or proof uses this declaration.