The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.Algebra.Group.Graph

34 declarations. Mathlib docs · Source

def MonoidHom.mgraph E1 #

{G : Type u_1} → {H : Type u_2} → [inst : Monoid G] → [inst_1 : Monoid H] → (G →* H) → Submonoid (G × H)

The graph of a monoid homomorphism as a submonoid.

See also MonoidHom.graph for the graph as a subgroup.

def AddMonoidHom.mgraph E1 #

{G : Type u_1} → {H : Type u_2} → [inst : AddMonoid G] → [inst_1 : AddMonoid H] → (G →+ H) → AddSubmonoid (G × H)

The graph of a monoid homomorphism as a submonoid.

See also AddMonoidHom.graph for the graph as a subgroup.

theorem AddMonoidHom.coe_mgraph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : AddMonoid G] [inst_1 : AddMonoid H] (f : G →+ H), ↑f.mgraph = {x | f x.1 = x.2}

theorem MonoidHom.coe_mgraph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : Monoid G] [inst_1 : Monoid H] (f : G →* H), ↑f.mgraph = {x | f x.1 = x.2}

theorem AddMonoidHom.mem_mgraph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : AddMonoid G] [inst_1 : AddMonoid H] {f : G →+ H} {x : G × H},
  x ∈ f.mgraph ↔ f x.1 = x.2

theorem MonoidHom.mem_mgraph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : Monoid G] [inst_1 : Monoid H] {f : G →* H} {x : G × H},
  x ∈ f.mgraph ↔ f x.1 = x.2

theorem AddMonoidHom.mgraph_eq_mrange_prod E1 #

∀ {G : Type u_1} {H : Type u_2} [inst : AddMonoid G] [inst_1 : AddMonoid H] (f : G →+ H),
  f.mgraph = AddMonoidHom.mrange ((AddMonoidHom.id G).prod f)

theorem MonoidHom.mgraph_eq_mrange_prod E1 #

∀ {G : Type u_1} {H : Type u_2} [inst : Monoid G] [inst_1 : Monoid H] (f : G →* H),
  f.mgraph = MonoidHom.mrange ((MonoidHom.id G).prod f)

theorem MonoidHom.exists_mrange_eq_mgraph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : Monoid G] [inst_1 : Monoid H] [inst_2 : Monoid I]
  {f : G →* H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 → (f g₁).2 = (f g₂).2) → ∃ f', MonoidHom.mrange f = f'.mgraph

Vertical line test for monoid homomorphisms.

Let f : G → H × I be a homomorphism to a product of monoids. Assume that f is surjective on the first factor and that the image of f intersects every "vertical line" {(h, i) | i : I} at most once. Then the image of f is the graph of some monoid homomorphism f' : H → I.

theorem AddMonoidHom.exists_mrange_eq_mgraph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : AddMonoid G] [inst_1 : AddMonoid H] [inst_2 : AddMonoid I]
  {f : G →+ H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 → (f g₁).2 = (f g₂).2) → ∃ f', AddMonoidHom.mrange f = f'.mgraph

Vertical line test for monoid homomorphisms.

Let f : G → H × I be a homomorphism to a product of monoids. Assume that f is surjective on the first factor and that the image of f intersects every "vertical line" {(h, i) | i : I} at most once. Then the image of f is the graph of some monoid homomorphism f' : H → I.

theorem MonoidHom.exists_mulEquiv_mrange_eq_mgraph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : Monoid G] [inst_1 : Monoid H] [inst_2 : Monoid I]
  {f : G →* H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    Function.Surjective (Prod.snd ∘ ⇑f) →
      (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 ↔ (f g₁).2 = (f g₂).2) → ∃ e, MonoidHom.mrange f = e.toMonoidHom.mgraph

Line test for monoid isomorphisms.

Let f : G → H × I be a homomorphism to a product of monoids. Assume that f is surjective on both factors and that the image of f intersects every "vertical line" {(h, i) | i : I} and every "horizontal line" {(h, i) | h : H} at most once. Then the image of f is the graph of some monoid isomorphism f' : H ≃ I.

theorem AddMonoidHom.exists_addEquiv_mrange_eq_mgraph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : AddMonoid G] [inst_1 : AddMonoid H] [inst_2 : AddMonoid I]
  {f : G →+ H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    Function.Surjective (Prod.snd ∘ ⇑f) →
      (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 ↔ (f g₁).2 = (f g₂).2) → ∃ e, AddMonoidHom.mrange f = e.toAddMonoidHom.mgraph

Line test for monoid isomorphisms.

Let f : G → H × I be a homomorphism to a product of monoids. Assume that f is surjective on both factors and that the image of f intersects every "vertical line" {(h, i) | i : I} and every "horizontal line" {(h, i) | h : H} at most once. Then the image of f is the graph of some monoid isomorphism f' : H ≃ I.

theorem Submonoid.exists_eq_mgraph E1 #

∀ {H : Type u_2} {I : Type u_3} [inst : Monoid H] [inst_1 : Monoid I] {G : Submonoid (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) → ∃ f, G = f.mgraph

Vertical line test for monoid homomorphisms.

Let G ≤ H × I be a submonoid of a product of monoids. Assume that G maps bijectively to the first factor. Then G is the graph of some monoid homomorphism f : H → I.

theorem AddSubmonoid.exists_eq_mgraph E1 #

∀ {H : Type u_2} {I : Type u_3} [inst : AddMonoid H] [inst_1 : AddMonoid I] {G : AddSubmonoid (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) → ∃ f, G = f.mgraph

Vertical line test for additive monoid homomorphisms.

Let G ≤ H × I be a submonoid of a product of monoids. Assume that G surjects onto the first factor and G intersects every "vertical line" {(h, i) | i : I} at most once. Then G is the graph of some monoid homomorphism f : H → I.

theorem Submonoid.exists_mulEquiv_eq_mgraph E2 #

∀ {H : Type u_2} {I : Type u_3} [inst : Monoid H] [inst_1 : Monoid I] {G : Submonoid (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) →
    Function.Bijective (Prod.snd ∘ ⇑G.subtype) → ∃ e, G = e.toMonoidHom.mgraph

Goursat's lemma for monoid isomorphisms.

Let G ≤ H × I be a submonoid of a product of monoids. Assume that the natural maps from G to both factors are bijective. Then G is the graph of some isomorphism f : H ≃* I.

theorem AddSubmonoid.exists_addEquiv_eq_mgraph E2 #

∀ {H : Type u_2} {I : Type u_3} [inst : AddMonoid H] [inst_1 : AddMonoid I] {G : AddSubmonoid (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) →
    Function.Bijective (Prod.snd ∘ ⇑G.subtype) → ∃ e, G = e.toAddMonoidHom.mgraph

Goursat's lemma for additive monoid isomorphisms.

Let G ≤ H × I be a submonoid of a product of additive monoids. Assume that the natural maps from G to both factors are bijective. Then G is the graph of some isomorphism f : H ≃+ I.

def MonoidHom.graph E1 #

{G : Type u_1} → {H : Type u_2} → [inst : Group G] → [inst_1 : Group H] → (G →* H) → Subgroup (G × H)

The graph of a group homomorphism as a subgroup.

See also MonoidHom.mgraph for the graph as a submonoid.

def AddMonoidHom.graph E1 #

{G : Type u_1} → {H : Type u_2} → [inst : AddGroup G] → [inst_1 : AddGroup H] → (G →+ H) → AddSubgroup (G × H)

The graph of a group homomorphism as a subgroup.

See also AddMonoidHom.mgraph for the graph as a submonoid.

theorem MonoidHom.graph_toSubmonoid E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] (f : G →* H), f.graph.toSubmonoid = f.mgraph

theorem MonoidHom.coe_graph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] (f : G →* H), ↑f.graph = {x | f x.1 = x.2}

theorem AddMonoidHom.coe_graph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] (f : G →+ H), ↑f.graph = {x | f x.1 = x.2}

theorem AddMonoidHom.graph_toAddSubmonoid E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] (f : G →+ H),
  f.graph.toAddSubmonoid = f.mgraph

theorem AddMonoidHom.mem_graph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] {f : G →+ H} {x : G × H},
  x ∈ f.graph ↔ f x.1 = x.2

theorem MonoidHom.mem_graph E0 #

∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] {f : G →* H} {x : G × H}, x ∈ f.graph ↔ f x.1 = x.2

theorem MonoidHom.graph_eq_range_prod E1 #

∀ {G : Type u_1} {H : Type u_2} [inst : Group G] [inst_1 : Group H] (f : G →* H),
  f.graph = ((MonoidHom.id G).prod f).range

theorem AddMonoidHom.graph_eq_range_prod E1 #

∀ {G : Type u_1} {H : Type u_2} [inst : AddGroup G] [inst_1 : AddGroup H] (f : G →+ H),
  f.graph = ((AddMonoidHom.id G).prod f).range

theorem MonoidHom.exists_range_eq_graph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : Group G] [inst_1 : Group H] [inst_2 : Group I] {f : G →* H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 → (f g₁).2 = (f g₂).2) → ∃ f', f.range = f'.graph

Vertical line test for group homomorphisms.

Let f : G → H × I be a homomorphism to a product of groups. Assume that f is surjective on the first factor and that the image of f intersects every "vertical line" {(h, i) | i : I} at most once. Then the image of f is the graph of some group homomorphism f' : H → I.

theorem AddMonoidHom.exists_range_eq_graph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : AddGroup G] [inst_1 : AddGroup H] [inst_2 : AddGroup I]
  {f : G →+ H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 → (f g₁).2 = (f g₂).2) → ∃ f', f.range = f'.graph

Vertical line test for group homomorphisms.

Let f : G → H × I be a homomorphism to a product of groups. Assume that f is surjective on the first factor and that the image of f intersects every "vertical line" {(h, i) | i : I} at most once. Then the image of f is the graph of some group homomorphism f' : H → I.

theorem MonoidHom.exists_mulEquiv_range_eq_graph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : Group G] [inst_1 : Group H] [inst_2 : Group I] {f : G →* H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    Function.Surjective (Prod.snd ∘ ⇑f) →
      (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 ↔ (f g₁).2 = (f g₂).2) → ∃ e, f.range = e.toMonoidHom.graph

Line test for group isomorphisms.

Let f : G → H × I be a homomorphism to a product of groups. Assume that f is surjective on both factors and that the image of f intersects every "vertical line" {(h, i) | i : I} and every "horizontal line" {(h, i) | h : H} at most once. Then the image of f is the graph of some group isomorphism f' : H ≃ I.

theorem AddMonoidHom.exists_addEquiv_range_eq_graph E1 #

∀ {G : Type u_1} {H : Type u_2} {I : Type u_3} [inst : AddGroup G] [inst_1 : AddGroup H] [inst_2 : AddGroup I]
  {f : G →+ H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    Function.Surjective (Prod.snd ∘ ⇑f) →
      (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 ↔ (f g₁).2 = (f g₂).2) → ∃ e, f.range = e.toAddMonoidHom.graph

Line test for monoid isomorphisms.

Let f : G → H × I be a homomorphism to a product of groups. Assume that f is surjective on both factors and that the image of f intersects every "vertical line" {(h, i) | i : I} and every "horizontal line" {(h, i) | h : H} at most once. Then the image of f is the graph of some group isomorphism f' : H ≃ I.

theorem Subgroup.exists_eq_graph E1 #

∀ {H : Type u_2} {I : Type u_3} [inst : Group H] [inst_1 : Group I] {G : Subgroup (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) → ∃ f, G = f.graph

Vertical line test for group homomorphisms.

Let G ≤ H × I be a subgroup of a product of monoids. Assume that G maps bijectively to the first factor. Then G is the graph of some monoid homomorphism f : H → I.

theorem AddSubgroup.exists_eq_graph E1 #

∀ {H : Type u_2} {I : Type u_3} [inst : AddGroup H] [inst_1 : AddGroup I] {G : AddSubgroup (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) → ∃ f, G = f.graph

Vertical line test for additive monoid homomorphisms.

Let G ≤ H × I be a submonoid of a product of monoids. Assume that G surjects onto the first factor and G intersects every "vertical line" {(h, i) | i : I} at most once. Then G is the graph of some monoid homomorphism f : H → I.

theorem Subgroup.exists_mulEquiv_eq_graph E2 #

∀ {H : Type u_2} {I : Type u_3} [inst : Group H] [inst_1 : Group I] {G : Subgroup (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) → Function.Bijective (Prod.snd ∘ ⇑G.subtype) → ∃ e, G = e.toMonoidHom.graph

Goursat's lemma for monoid isomorphisms.

Let G ≤ H × I be a submonoid of a product of monoids. Assume that the natural maps from G to both factors are bijective. Then G is the graph of some isomorphism f : H ≃* I.

theorem AddSubgroup.exists_addEquiv_eq_graph E2 #

∀ {H : Type u_2} {I : Type u_3} [inst : AddGroup H] [inst_1 : AddGroup I] {G : AddSubgroup (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) →
    Function.Bijective (Prod.snd ∘ ⇑G.subtype) → ∃ e, G = e.toAddMonoidHom.graph

Goursat's lemma for additive monoid isomorphisms.

Let G ≤ H × I be a submonoid of a product of additive monoids. Assume that the natural maps from G to both factors are bijective. Then G is the graph of some isomorphism f : H ≃+ I.