MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ismgm Structured version   Visualization version   GIF version

Theorem ismgm 18242
Description: The predicate "is a magma". (Contributed by FL, 2-Nov-2009.) (Revised by AV, 6-Jan-2020.)
Hypotheses
Ref Expression
ismgm.b 𝐵 = (Base‘𝑀)
ismgm.o = (+g𝑀)
Assertion
Ref Expression
ismgm (𝑀𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑀,𝑦   𝑥, ,𝑦
Allowed substitution hints:   𝑉(𝑥,𝑦)

Proof of Theorem ismgm
Dummy variables 𝑏 𝑚 𝑜 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fvexd 6771 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) ∈ V)
2 fveq2 6756 . . . 4 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
3 ismgm.b . . . 4 𝐵 = (Base‘𝑀)
42, 3eqtr4di 2797 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) = 𝐵)
5 fvexd 6771 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) ∈ V)
6 fveq2 6756 . . . . . 6 (𝑚 = 𝑀 → (+g𝑚) = (+g𝑀))
76adantr 480 . . . . 5 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = (+g𝑀))
8 ismgm.o . . . . 5 = (+g𝑀)
97, 8eqtr4di 2797 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = )
10 simplr 765 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → 𝑏 = 𝐵)
11 oveq 7261 . . . . . . . 8 (𝑜 = → (𝑥𝑜𝑦) = (𝑥 𝑦))
1211adantl 481 . . . . . . 7 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (𝑥𝑜𝑦) = (𝑥 𝑦))
1312, 10eleq12d 2833 . . . . . 6 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → ((𝑥𝑜𝑦) ∈ 𝑏 ↔ (𝑥 𝑦) ∈ 𝐵))
1410, 13raleqbidv 3327 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
1510, 14raleqbidv 3327 . . . 4 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
165, 9, 15sbcied2 3758 . . 3 ((𝑚 = 𝑀𝑏 = 𝐵) → ([(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
171, 4, 16sbcied2 3758 . 2 (𝑚 = 𝑀 → ([(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
18 df-mgm 18241 . 2 Mgm = {𝑚[(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏}
1917, 18elab2g 3604 1 (𝑀𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  [wsbc 3711  cfv 6418  (class class class)co 7255  Basecbs 16840  +gcplusg 16888  Mgmcmgm 18239
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-nul 5225
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-ov 7258  df-mgm 18241
This theorem is referenced by:  ismgmn0  18243  mgmcl  18244  issstrmgm  18252  mgm0  18255  issgrpv  18292  efmndmgm  18439  smndex1mgm  18461  0mgm  45216  ismgmd  45218  mgm2mgm  45309  lidlmmgm  45371
  Copyright terms: Public domain W3C validator