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 49467
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 3209 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐵)
32adantr 486 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐵)
4 simprl 783 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑎 ∈ 𝐵)
5 simprr 785 . . . 4 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → 𝑏 ∈ 𝐵)
6 eqid 2763 . . . . 5 (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)
76ovmpoelrn 8107 . . . 4 ((∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐵 ∧ 𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵) → (𝑎(𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)𝑏) ∈ 𝐵)
83, 4, 5, 7syl3anc 1399 . . 3 ((𝜑 ∧ (𝑎 ∈ 𝐵 ∧ 𝑏 ∈ 𝐵)) → (𝑎(𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)𝑏) ∈ 𝐵)
98ralrimivva 3209 . 2 (𝜑 → ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)𝑏) ∈ 𝐵)
10 opmpoismgm.n . . 3 (𝜑 → 𝐵 ≠ ∅)
11 n0 4303 . . . 4 (𝐵 ≠ ∅ ↔ ∃𝑒 𝑒 ∈ 𝐵)
12 opmpoismgm.b . . . . . 6 𝐵 = (Base‘𝑀)
13 opmpoismgm.p . . . . . . 7 (+g‘𝑀) = (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)
1413eqcomi 2772 . . . . . 6 (𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶) = (+g‘𝑀)
1512, 14ismgmn0 18844 . . . . 5 (𝑒 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)𝑏) ∈ 𝐵))
1615exlimiv 1965 . . . 4 (∃𝑒 𝑒 ∈ 𝐵 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)𝑏) ∈ 𝐵))
1711, 16sylbi 220 . . 3 (𝐵 ≠ ∅ → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)𝑏) ∈ 𝐵))
1810, 17syl 18 . 2 (𝜑 → (𝑀 ∈ Mgm ↔ ∀𝑎 ∈ 𝐵 ∀𝑏 ∈ 𝐵 (𝑎(𝑥 ∈ 𝐵, 𝑦 ∈ 𝐵 ↦ 𝐶)𝑏) ∈ 𝐵))
199, 18mpbird 260 1 (𝜑 → 𝑀 ∈ Mgm)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∅c0 4281  ‘cfv 6555  (class class class)co 7440   ∈ cmpo 7442  Basecbs 17413  +gcplusg 17454  Mgmcmgm 18840
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7772
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-1st 8022  df-2nd 8023  df-mgm 18842
This theorem is used by:  copissgrp  49468
  Copyright terms: Public domain W3C validator