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

Theorem ismgmd 42623
 Description: Deduce a magma from its properties. (Contributed by AV, 25-Feb-2020.)
Hypotheses
Ref Expression
ismgmd.b (𝜑𝐵 = (Base‘𝐺))
ismgmd.0 (𝜑𝐺𝑉)
ismgmd.p (𝜑+ = (+g𝐺))
ismgmd.c ((𝜑𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
Assertion
Ref Expression
ismgmd (𝜑𝐺 ∈ Mgm)
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐺,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   + (𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem ismgmd
StepHypRef Expression
1 ismgmd.c . . . . 5 ((𝜑𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
213expb 1155 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + 𝑦) ∈ 𝐵)
32ralrimivva 3180 . . 3 (𝜑 → ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) ∈ 𝐵)
4 ismgmd.b . . . 4 (𝜑𝐵 = (Base‘𝐺))
5 ismgmd.p . . . . . . 7 (𝜑+ = (+g𝐺))
65oveqd 6922 . . . . . 6 (𝜑 → (𝑥 + 𝑦) = (𝑥(+g𝐺)𝑦))
76, 4eleq12d 2900 . . . . 5 (𝜑 → ((𝑥 + 𝑦) ∈ 𝐵 ↔ (𝑥(+g𝐺)𝑦) ∈ (Base‘𝐺)))
84, 7raleqbidv 3364 . . . 4 (𝜑 → (∀𝑦𝐵 (𝑥 + 𝑦) ∈ 𝐵 ↔ ∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) ∈ (Base‘𝐺)))
94, 8raleqbidv 3364 . . 3 (𝜑 → (∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) ∈ 𝐵 ↔ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) ∈ (Base‘𝐺)))
103, 9mpbid 224 . 2 (𝜑 → ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) ∈ (Base‘𝐺))
11 ismgmd.0 . . 3 (𝜑𝐺𝑉)
12 eqid 2825 . . . 4 (Base‘𝐺) = (Base‘𝐺)
13 eqid 2825 . . . 4 (+g𝐺) = (+g𝐺)
1412, 13ismgm 17596 . . 3 (𝐺𝑉 → (𝐺 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) ∈ (Base‘𝐺)))
1511, 14syl 17 . 2 (𝜑 → (𝐺 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) ∈ (Base‘𝐺)))
1610, 15mpbird 249 1 (𝜑𝐺 ∈ Mgm)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 198   ∧ w3a 1113   = wceq 1658   ∈ wcel 2166  ∀wral 3117  ‘cfv 6123  (class class class)co 6905  Basecbs 16222  +gcplusg 16305  Mgmcmgm 17593 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1896  ax-4 1910  ax-5 2011  ax-6 2077  ax-7 2114  ax-9 2175  ax-10 2194  ax-11 2209  ax-12 2222  ax-13 2391  ax-ext 2803  ax-nul 5013 This theorem depends on definitions:  df-bi 199  df-an 387  df-or 881  df-3an 1115  df-tru 1662  df-ex 1881  df-nf 1885  df-sb 2070  df-mo 2605  df-eu 2640  df-clab 2812  df-cleq 2818  df-clel 2821  df-nfc 2958  df-ral 3122  df-rex 3123  df-rab 3126  df-v 3416  df-sbc 3663  df-dif 3801  df-un 3803  df-in 3805  df-ss 3812  df-nul 4145  df-if 4307  df-sn 4398  df-pr 4400  df-op 4404  df-uni 4659  df-br 4874  df-iota 6086  df-fv 6131  df-ov 6908  df-mgm 17595 This theorem is referenced by:  issubmgm2  42637
 Copyright terms: Public domain W3C validator