Zulip Chat Archive

Stream: Is there code for X?

Topic: Q is injective


Adam Topaz (Mar 28 2022 at 01:55):

Does mathlib have the fact that Q\mathbb{Q} (or any divisible abelian group for that matter) is an injective object in the category of abelian groups? I'm not necessarily looking for the categorical statement, but rather a lemma saying that I can extend a morphism HQH \to \mathbb{Q} from a subgroup HH of AA to a morphism from all of AA.

Eric Wieser (Mar 28 2022 at 08:18):

I assume you mean (H : add_subgroup A) (f : H →+ ℚ) : A →+ ℚ?

Kevin Buzzard (Mar 28 2022 at 22:18):

Proof by Zorn. You can always extend to an element not in the domain


Last updated: Dec 20 2023 at 11:08 UTC