Metamath Proof Explorer


Theorem grpss

Description: Show that a structure extending a constructed group (e.g., a ring) is also a group. This allows to prove that a constructed potential ring R is a group before we know that it is also a ring. (Theorem ringgrp , on the other hand, requires that we know in advance that R is a ring.) (Contributed by NM, 11-Oct-2013)

Ref Expression
Hypotheses grpss.g ⊢ G = Base ndx B + ndx + ˙
grpss.r ⊢ R ∈ V
grpss.s ⊢ G ⊆ R
grpss.f ⊢ Fun ⁡ R
Assertion grpss ⊢ G ∈ Grp ↔ R ∈ Grp

Proof

Step Hyp Ref Expression
1 grpss.g ⊢ G = Base ndx B + ndx + ˙
2 grpss.r ⊢ R ∈ V
3 grpss.s ⊢ G ⊆ R
4 grpss.f ⊢ Fun ⁡ R
5 baseid ⊢ Base = Slot Base ndx
6 opex ⊢ Base ndx B ∈ V
7 6 prid1 ⊢ Base ndx B ∈ Base ndx B + ndx + ˙
8 7 1 eleqtrri ⊢ Base ndx B ∈ G
9 2 4 3 5 8 strss ⊢ Base R = Base G
10 plusgid ⊢ + 𝑔 = Slot + ndx
11 opex ⊢ + ndx + ˙ ∈ V
12 11 prid2 ⊢ + ndx + ˙ ∈ Base ndx B + ndx + ˙
13 12 1 eleqtrri ⊢ + ndx + ˙ ∈ G
14 2 4 3 10 13 strss ⊢ + R = + G
15 9 14 grpprop ⊢ R ∈ Grp ↔ G ∈ Grp
16 15 bicomi ⊢ G ∈ Grp ↔ R ∈ Grp