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

Theorem ismgm 17845
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 6660 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) ∈ V)
2 fveq2 6645 . . . 4 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
3 ismgm.b . . . 4 𝐵 = (Base‘𝑀)
42, 3eqtr4di 2851 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) = 𝐵)
5 fvexd 6660 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) ∈ V)
6 fveq2 6645 . . . . . 6 (𝑚 = 𝑀 → (+g𝑚) = (+g𝑀))
76adantr 484 . . . . 5 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = (+g𝑀))
8 ismgm.o . . . . 5 = (+g𝑀)
97, 8eqtr4di 2851 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = )
10 simplr 768 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → 𝑏 = 𝐵)
11 oveq 7141 . . . . . . . 8 (𝑜 = → (𝑥𝑜𝑦) = (𝑥 𝑦))
1211adantl 485 . . . . . . 7 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (𝑥𝑜𝑦) = (𝑥 𝑦))
1312, 10eleq12d 2884 . . . . . 6 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → ((𝑥𝑜𝑦) ∈ 𝑏 ↔ (𝑥 𝑦) ∈ 𝐵))
1410, 13raleqbidv 3354 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
1510, 14raleqbidv 3354 . . . 4 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
165, 9, 15sbcied2 3763 . . 3 ((𝑚 = 𝑀𝑏 = 𝐵) → ([(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
171, 4, 16sbcied2 3763 . 2 (𝑚 = 𝑀 → ([(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
18 df-mgm 17844 . 2 Mgm = {𝑚[(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏}
1917, 18elab2g 3616 1 (𝑀𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  wral 3106  Vcvv 3441  [wsbc 3720  cfv 6324  (class class class)co 7135  Basecbs 16475  +gcplusg 16557  Mgmcmgm 17842
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-nul 5174
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-iota 6283  df-fv 6332  df-ov 7138  df-mgm 17844
This theorem is referenced by:  ismgmn0  17846  mgmcl  17847  issstrmgm  17855  mgm0  17858  issgrpv  17895  efmndmgm  18042  smndex1mgm  18064  0mgm  44394  ismgmd  44396  mgm2mgm  44487  lidlmmgm  44549
  Copyright terms: Public domain W3C validator