Left to Solve
Problems / MathOverflow (not formalized)

The forgetful functor from Groups to Semigroups

Open, not yet stated in LeanMathOverflow (not formalized)General Algebradifficulty55/100

Statement

While teaching this term I found myself reminded of the fact that the "usual" definition of a group homomorphism is really the definition of a semigroup homomorphism, applied to semigroups that happen to be groups. By this I mean that if and are groups and is a semigroup homomorphism, then one can deduce that and for all . So in particular, groups that happen to be isomorphic as semigroups are isomorphic as groups (this is actually the consequence I needed, for my own peace of mind).

(Remark: this is in contrast with what happens with rings-without-identity and their homomorphisms, compared with unital rings and unital ring homomorphisms.)

On a related note: I have a vague memory of seeing something which was either on the n-category café blog, or something that John Baez linked to elsewhere, which led the reader through the proof that if is a semigroup for which each left translation and each right translation are bijective, then is actually a group. Once again this indicates that groups are not semigroups with extra data but semigroups whose binary operation …

Posed by Yemon Choi en a marre · ct.category-theory, semigroups-and-monoids

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-386995.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-386995.lean

import Mathlib

/-!
# The forgetful functor from Groups to Semigroups

Source: https://mathoverflow.net/questions/386995
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_386995

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_386995