Metamath Proof Explorer


Theorem mndfo

Description: The addition operation of a monoid is an onto function (assuming it is a function). (Contributed by Mario Carneiro, 11-Oct-2013) (Proof shortened by AV, 17-Aug-2026)

Ref Expression
Hypotheses mndfo.b B = Base G
mndfo.p + ˙ = + G
Assertion mndfo G Mnd + ˙ Fn B × B + ˙ : B × B onto B

Proof

Step Hyp Ref Expression
1 mndfo.b B = Base G
2 mndfo.p + ˙ = + G
3 mndmgm G Mnd G Mgm
4 3 adantr G Mnd + ˙ Fn B × B G Mgm
5 1 2 mndid G Mnd u B x B u + ˙ x = x x + ˙ u = x
6 5 adantr G Mnd + ˙ Fn B × B u B x B u + ˙ x = x x + ˙ u = x
7 simpr G Mnd + ˙ Fn B × B + ˙ Fn B × B
8 1 2 4 6 7 mgmfod G Mnd + ˙ Fn B × B + ˙ : B × B onto B