Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  opmpoismgm Structured version   Visualization version   GIF version

Theorem opmpoismgm 44148
Description: A structure with a group addition operation in maps-to notation is a magma if the operation value is contained in the base set. (Contributed by AV, 16-Feb-2020.)
Hypotheses
Ref Expression
opmpoismgm.b 𝐵 = (Base‘𝑀)
opmpoismgm.p (+g𝑀) = (𝑥𝐵, 𝑦𝐵𝐶)
opmpoismgm.n (𝜑𝐵 ≠ ∅)
opmpoismgm.c ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → 𝐶𝐵)
Assertion
Ref Expression
opmpoismgm (𝜑𝑀 ∈ Mgm)
Distinct variable groups:   𝑥,𝐵,𝑦   𝑥,𝑀   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐶(𝑥,𝑦)   𝑀(𝑦)

Proof of Theorem opmpoismgm
Dummy variables 𝑎 𝑏 𝑒 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opmpoismgm.c . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → 𝐶𝐵)
21ralrimivva 3190 . . . . 5 (𝜑 → ∀𝑥𝐵𝑦𝐵 𝐶𝐵)
32adantr 483 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → ∀𝑥𝐵𝑦𝐵 𝐶𝐵)
4 simprl 769 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → 𝑎𝐵)
5 simprr 771 . . . 4 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → 𝑏𝐵)
6 eqid 2820 . . . . 5 (𝑥𝐵, 𝑦𝐵𝐶) = (𝑥𝐵, 𝑦𝐵𝐶)
76ovmpoelrn 7763 . . . 4 ((∀𝑥𝐵𝑦𝐵 𝐶𝐵𝑎𝐵𝑏𝐵) → (𝑎(𝑥𝐵, 𝑦𝐵𝐶)𝑏) ∈ 𝐵)
83, 4, 5, 7syl3anc 1366 . . 3 ((𝜑 ∧ (𝑎𝐵𝑏𝐵)) → (𝑎(𝑥𝐵, 𝑦𝐵𝐶)𝑏) ∈ 𝐵)
98ralrimivva 3190 . 2 (𝜑 → ∀𝑎𝐵𝑏𝐵 (𝑎(𝑥𝐵, 𝑦𝐵𝐶)𝑏) ∈ 𝐵)
10 opmpoismgm.n . . 3 (𝜑𝐵 ≠ ∅)
11 n0 4303 . . . 4 (𝐵 ≠ ∅ ↔ ∃𝑒 𝑒𝐵)
12 opmpoismgm.b . . . . . 6 𝐵 = (Base‘𝑀)
13 opmpoismgm.p . . . . . . 7 (+g𝑀) = (𝑥𝐵, 𝑦𝐵𝐶)
1413eqcomi 2829 . . . . . 6 (𝑥𝐵, 𝑦𝐵𝐶) = (+g𝑀)
1512, 14ismgmn0 17849 . . . . 5 (𝑒𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎𝐵𝑏𝐵 (𝑎(𝑥𝐵, 𝑦𝐵𝐶)𝑏) ∈ 𝐵))
1615exlimiv 1930 . . . 4 (∃𝑒 𝑒𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎𝐵𝑏𝐵 (𝑎(𝑥𝐵, 𝑦𝐵𝐶)𝑏) ∈ 𝐵))
1711, 16sylbi 219 . . 3 (𝐵 ≠ ∅ → (𝑀 ∈ Mgm ↔ ∀𝑎𝐵𝑏𝐵 (𝑎(𝑥𝐵, 𝑦𝐵𝐶)𝑏) ∈ 𝐵))
1810, 17syl 17 . 2 (𝜑 → (𝑀 ∈ Mgm ↔ ∀𝑎𝐵𝑏𝐵 (𝑎(𝑥𝐵, 𝑦𝐵𝐶)𝑏) ∈ 𝐵))
199, 18mpbird 259 1 (𝜑𝑀 ∈ Mgm)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1536  wex 1779  wcel 2113  wne 3015  wral 3137  c0 4284  cfv 6348  (class class class)co 7149  cmpo 7151  Basecbs 16478  +gcplusg 16560  Mgmcmgm 17845
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5323  ax-un 7454
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-ral 3142  df-rex 3143  df-rab 3146  df-v 3493  df-sbc 3769  df-csb 3877  df-dif 3932  df-un 3934  df-in 3936  df-ss 3945  df-nul 4285  df-if 4461  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-fv 6356  df-ov 7152  df-oprab 7153  df-mpo 7154  df-1st 7682  df-2nd 7683  df-mgm 17847
This theorem is referenced by:  copissgrp  44149
  Copyright terms: Public domain W3C validator