Metamath Proof Explorer


Theorem mndissubm

Description: If the base set of a monoid is contained in the base set of another monoid, and the group operation of the monoid is the restriction of the group operation of the other monoid to its base set, and the identity element of the the other monoid is contained in the base set of the monoid, then the (base set of the) monoid is a submonoid of the other monoid. Analogous to grpissubg . (Contributed by AV, 17-Feb-2024)

Ref Expression
Hypotheses mndissubm.b B = Base G
mndissubm.s S = Base H
mndissubm.z 0 ˙ = 0 G
Assertion mndissubm G Mnd H Mnd S B 0 ˙ S + H = + G S × S S SubMnd G

Proof

Step Hyp Ref Expression
1 mndissubm.b B = Base G
2 mndissubm.s S = Base H
3 mndissubm.z 0 ˙ = 0 G
4 simpr1 G Mnd H Mnd S B 0 ˙ S + H = + G S × S S B
5 simpr2 G Mnd H Mnd S B 0 ˙ S + H = + G S × S 0 ˙ S
6 mndmgm G Mnd G Mgm
7 mndmgm H Mnd H Mgm
8 6 7 anim12i G Mnd H Mnd G Mgm H Mgm
9 8 ad2antrr G Mnd H Mnd S B 0 ˙ S + H = + G S × S a S b S G Mgm H Mgm
10 3simpb S B 0 ˙ S + H = + G S × S S B + H = + G S × S
11 10 ad2antlr G Mnd H Mnd S B 0 ˙ S + H = + G S × S a S b S S B + H = + G S × S
12 simpr G Mnd H Mnd S B 0 ˙ S + H = + G S × S a S b S a S b S
13 1 2 mgmsscl G Mgm H Mgm S B + H = + G S × S a S b S a + G b S
14 9 11 12 13 syl3anc G Mnd H Mnd S B 0 ˙ S + H = + G S × S a S b S a + G b S
15 14 ralrimivva G Mnd H Mnd S B 0 ˙ S + H = + G S × S a S b S a + G b S
16 eqid + G = + G
17 1 3 16 issubm G Mnd S SubMnd G S B 0 ˙ S a S b S a + G b S
18 17 ad2antrr G Mnd H Mnd S B 0 ˙ S + H = + G S × S S SubMnd G S B 0 ˙ S a S b S a + G b S
19 4 5 15 18 mpbir3and G Mnd H Mnd S B 0 ˙ S + H = + G S × S S SubMnd G
20 19 ex G Mnd H Mnd S B 0 ˙ S + H = + G S × S S SubMnd G