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

Theorem ismgm 17066
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 fvex 6113 . . . 4 (Base‘𝑚) ∈ V
21a1i 11 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) ∈ V)
3 fveq2 6103 . . . 4 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
4 ismgm.b . . . 4 𝐵 = (Base‘𝑀)
53, 4syl6eqr 2662 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) = 𝐵)
6 fvex 6113 . . . . 5 (+g𝑚) ∈ V
76a1i 11 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) ∈ V)
8 fveq2 6103 . . . . . 6 (𝑚 = 𝑀 → (+g𝑚) = (+g𝑀))
98adantr 480 . . . . 5 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = (+g𝑀))
10 ismgm.o . . . . 5 = (+g𝑀)
119, 10syl6eqr 2662 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = )
12 simplr 788 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → 𝑏 = 𝐵)
13 oveq 6555 . . . . . . . 8 (𝑜 = → (𝑥𝑜𝑦) = (𝑥 𝑦))
1413adantl 481 . . . . . . 7 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (𝑥𝑜𝑦) = (𝑥 𝑦))
1514, 12eleq12d 2682 . . . . . 6 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → ((𝑥𝑜𝑦) ∈ 𝑏 ↔ (𝑥 𝑦) ∈ 𝐵))
1612, 15raleqbidv 3129 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
1712, 16raleqbidv 3129 . . . 4 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
187, 11, 17sbcied2 3440 . . 3 ((𝑚 = 𝑀𝑏 = 𝐵) → ([(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
192, 5, 18sbcied2 3440 . 2 (𝑚 = 𝑀 → ([(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
20 df-mgm 17065 . 2 Mgm = {𝑚[(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏}
2119, 20elab2g 3322 1 (𝑀𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  Vcvv 3173  [wsbc 3402  cfv 5804  (class class class)co 6549  Basecbs 15695  +gcplusg 15768  Mgmcmgm 17063
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-nul 4717
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-iota 5768  df-fv 5812  df-ov 6552  df-mgm 17065
This theorem is referenced by:  ismgmn0  17067  mgmcl  17068  issstrmgm  17075  mgm0  17078  issgrpv  17109  0mgm  41564  ismgmd  41566  mgm2mgm  41653  lidlmmgm  41715
  Copyright terms: Public domain W3C validator