ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ismgm GIF version

Theorem ismgm 12642
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 basfn 12486 . . . . 5 Base Fn V
2 vex 2738 . . . . 5 𝑚 ∈ V
3 funfvex 5524 . . . . . 6 ((Fun Base ∧ 𝑚 ∈ dom Base) → (Base‘𝑚) ∈ V)
43funfni 5308 . . . . 5 ((Base Fn V ∧ 𝑚 ∈ V) → (Base‘𝑚) ∈ V)
51, 2, 4mp2an 426 . . . 4 (Base‘𝑚) ∈ V
65a1i 9 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) ∈ V)
7 fveq2 5507 . . . 4 (𝑚 = 𝑀 → (Base‘𝑚) = (Base‘𝑀))
8 ismgm.b . . . 4 𝐵 = (Base‘𝑀)
97, 8eqtr4di 2226 . . 3 (𝑚 = 𝑀 → (Base‘𝑚) = 𝐵)
10 plusgslid 12526 . . . . . . 7 (+g = Slot (+g‘ndx) ∧ (+g‘ndx) ∈ ℕ)
1110slotex 12456 . . . . . 6 (𝑚 ∈ V → (+g𝑚) ∈ V)
1211elv 2739 . . . . 5 (+g𝑚) ∈ V
1312a1i 9 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) ∈ V)
14 fveq2 5507 . . . . . 6 (𝑚 = 𝑀 → (+g𝑚) = (+g𝑀))
1514adantr 276 . . . . 5 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = (+g𝑀))
16 ismgm.o . . . . 5 = (+g𝑀)
1715, 16eqtr4di 2226 . . . 4 ((𝑚 = 𝑀𝑏 = 𝐵) → (+g𝑚) = )
18 simplr 528 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → 𝑏 = 𝐵)
19 oveq 5871 . . . . . . . 8 (𝑜 = → (𝑥𝑜𝑦) = (𝑥 𝑦))
2019adantl 277 . . . . . . 7 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (𝑥𝑜𝑦) = (𝑥 𝑦))
2120, 18eleq12d 2246 . . . . . 6 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → ((𝑥𝑜𝑦) ∈ 𝑏 ↔ (𝑥 𝑦) ∈ 𝐵))
2218, 21raleqbidv 2682 . . . . 5 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
2318, 22raleqbidv 2682 . . . 4 (((𝑚 = 𝑀𝑏 = 𝐵) ∧ 𝑜 = ) → (∀𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
2413, 17, 23sbcied2 2998 . . 3 ((𝑚 = 𝑀𝑏 = 𝐵) → ([(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
256, 9, 24sbcied2 2998 . 2 (𝑚 = 𝑀 → ([(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏 ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
26 df-mgm 12641 . 2 Mgm = {𝑚[(Base‘𝑚) / 𝑏][(+g𝑚) / 𝑜]𝑥𝑏𝑦𝑏 (𝑥𝑜𝑦) ∈ 𝑏}
2725, 26elab2g 2882 1 (𝑀𝑉 → (𝑀 ∈ Mgm ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 𝑦) ∈ 𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wb 105   = wceq 1353  wcel 2146  wral 2453  Vcvv 2735  [wsbc 2960   Fn wfn 5203  cfv 5208  (class class class)co 5865  Basecbs 12429  +gcplusg 12493  Mgmcmgm 12639
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1445  ax-7 1446  ax-gen 1447  ax-ie1 1491  ax-ie2 1492  ax-8 1502  ax-10 1503  ax-11 1504  ax-i12 1505  ax-bndl 1507  ax-4 1508  ax-17 1524  ax-i9 1528  ax-ial 1532  ax-i5r 1533  ax-13 2148  ax-14 2149  ax-ext 2157  ax-sep 4116  ax-pow 4169  ax-pr 4203  ax-un 4427  ax-cnex 7877  ax-resscn 7878  ax-1re 7880  ax-addrcl 7883
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-nf 1459  df-sb 1761  df-eu 2027  df-mo 2028  df-clab 2162  df-cleq 2168  df-clel 2171  df-nfc 2306  df-ral 2458  df-rex 2459  df-v 2737  df-sbc 2961  df-un 3131  df-in 3133  df-ss 3140  df-pw 3574  df-sn 3595  df-pr 3596  df-op 3598  df-uni 3806  df-int 3841  df-br 3999  df-opab 4060  df-mpt 4061  df-id 4287  df-xp 4626  df-rel 4627  df-cnv 4628  df-co 4629  df-dm 4630  df-rn 4631  df-res 4632  df-iota 5170  df-fun 5210  df-fn 5211  df-fv 5216  df-ov 5868  df-inn 8893  df-2 8951  df-ndx 12432  df-slot 12433  df-base 12435  df-plusg 12506  df-mgm 12641
This theorem is referenced by:  ismgmn0  12643  mgmcl  12644  mgm0  12654  issgrpv  12676
  Copyright terms: Public domain W3C validator