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

Theorem mgmnsgrpex 18330
Description: There is a magma which is not a semigroup. (Contributed by AV, 29-Jan-2020.)
Assertion
Ref Expression
mgmnsgrpex 𝑚 ∈ Mgm 𝑚 ∉ Smgrp

Proof of Theorem mgmnsgrpex
Dummy variables 𝑥 𝑦 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prhash2ex 13949 . 2 (♯‘{0, 1}) = 2
2 c0ex 10810 . . . . 5 0 ∈ V
3 1ex 10812 . . . . 5 1 ∈ V
42, 3pm3.2i 474 . . . 4 (0 ∈ V ∧ 1 ∈ V)
5 eqid 2734 . . . . 5 {0, 1} = {0, 1}
6 prex 5314 . . . . . . 7 {0, 1} ∈ V
7 eqeq1 2738 . . . . . . . . . . . . 13 (𝑥 = 𝑢 → (𝑥 = 0 ↔ 𝑢 = 0))
87anbi1d 633 . . . . . . . . . . . 12 (𝑥 = 𝑢 → ((𝑥 = 0 ∧ 𝑦 = 0) ↔ (𝑢 = 0 ∧ 𝑦 = 0)))
98ifbid 4452 . . . . . . . . . . 11 (𝑥 = 𝑢 → if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0) = if((𝑢 = 0 ∧ 𝑦 = 0), 1, 0))
10 eqeq1 2738 . . . . . . . . . . . . 13 (𝑦 = 𝑣 → (𝑦 = 0 ↔ 𝑣 = 0))
1110anbi2d 632 . . . . . . . . . . . 12 (𝑦 = 𝑣 → ((𝑢 = 0 ∧ 𝑦 = 0) ↔ (𝑢 = 0 ∧ 𝑣 = 0)))
1211ifbid 4452 . . . . . . . . . . 11 (𝑦 = 𝑣 → if((𝑢 = 0 ∧ 𝑦 = 0), 1, 0) = if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))
139, 12cbvmpov 7295 . . . . . . . . . 10 (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0)) = (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))
1413opeq2i 4778 . . . . . . . . 9 ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩ = ⟨(+g‘ndx), (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))⟩
1514preq2i 4643 . . . . . . . 8 {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} = {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))⟩}
1615grpbase 16812 . . . . . . 7 ({0, 1} ∈ V → {0, 1} = (Base‘{⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩}))
176, 16ax-mp 5 . . . . . 6 {0, 1} = (Base‘{⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩})
1817eqcomi 2743 . . . . 5 (Base‘{⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩}) = {0, 1}
196, 6mpoex 7839 . . . . . . 7 (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0)) ∈ V
2015grpplusg 16813 . . . . . . 7 ((𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0)) ∈ V → (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0)) = (+g‘{⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩}))
2119, 20ax-mp 5 . . . . . 6 (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0)) = (+g‘{⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩})
2221eqcomi 2743 . . . . 5 (+g‘{⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩}) = (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))
235, 18, 22mgm2nsgrplem1 18317 . . . 4 ((0 ∈ V ∧ 1 ∈ V) → {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∈ Mgm)
244, 23mp1i 13 . . 3 ((♯‘{0, 1}) = 2 → {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∈ Mgm)
25 neleq1 3044 . . . 4 (𝑚 = {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} → (𝑚 ∉ Smgrp ↔ {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∉ Smgrp))
2625adantl 485 . . 3 (((♯‘{0, 1}) = 2 ∧ 𝑚 = {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩}) → (𝑚 ∉ Smgrp ↔ {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∉ Smgrp))
275, 18, 22mgm2nsgrplem4 18320 . . 3 ((♯‘{0, 1}) = 2 → {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∉ Smgrp)
2824, 26, 27rspcedvd 3533 . 2 ((♯‘{0, 1}) = 2 → ∃𝑚 ∈ Mgm 𝑚 ∉ Smgrp)
291, 28ax-mp 5 1 𝑚 ∈ Mgm 𝑚 ∉ Smgrp
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1543  wcel 2110  wnel 3039  wrex 3055  Vcvv 3401  ifcif 4429  {cpr 4533  cop 4537  cfv 6369  cmpo 7204  0cc0 10712  1c1 10713  2c2 11868  chash 13879  ndxcnx 16681  Basecbs 16684  +gcplusg 16767  Mgmcmgm 18084  Smgrpcsgrp 18134
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-rep 5168  ax-sep 5181  ax-nul 5188  ax-pow 5247  ax-pr 5311  ax-un 7512  ax-cnex 10768  ax-resscn 10769  ax-1cn 10770  ax-icn 10771  ax-addcl 10772  ax-addrcl 10773  ax-mulcl 10774  ax-mulrcl 10775  ax-mulcom 10776  ax-addass 10777  ax-mulass 10778  ax-distr 10779  ax-i2m1 10780  ax-1ne0 10781  ax-1rid 10782  ax-rnegex 10783  ax-rrecex 10784  ax-cnre 10785  ax-pre-lttri 10786  ax-pre-lttrn 10787  ax-pre-ltadd 10788  ax-pre-mulgt0 10789
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-nel 3040  df-ral 3059  df-rex 3060  df-reu 3061  df-rab 3063  df-v 3403  df-sbc 3688  df-csb 3803  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-pss 3876  df-nul 4228  df-if 4430  df-pw 4505  df-sn 4532  df-pr 4534  df-tp 4536  df-op 4538  df-uni 4810  df-int 4850  df-iun 4896  df-br 5044  df-opab 5106  df-mpt 5125  df-tr 5151  df-id 5444  df-eprel 5449  df-po 5457  df-so 5458  df-fr 5498  df-we 5500  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-rn 5551  df-res 5552  df-ima 5553  df-pred 6149  df-ord 6205  df-on 6206  df-lim 6207  df-suc 6208  df-iota 6327  df-fun 6371  df-fn 6372  df-f 6373  df-f1 6374  df-fo 6375  df-f1o 6376  df-fv 6377  df-riota 7159  df-ov 7205  df-oprab 7206  df-mpo 7207  df-om 7634  df-1st 7750  df-2nd 7751  df-wrecs 8036  df-recs 8097  df-rdg 8135  df-1o 8191  df-oadd 8195  df-er 8380  df-en 8616  df-dom 8617  df-sdom 8618  df-fin 8619  df-dju 9500  df-card 9538  df-pnf 10852  df-mnf 10853  df-xr 10854  df-ltxr 10855  df-le 10856  df-sub 11047  df-neg 11048  df-nn 11814  df-2 11876  df-n0 12074  df-z 12160  df-uz 12422  df-fz 13079  df-hash 13880  df-struct 16686  df-ndx 16687  df-slot 16688  df-base 16690  df-plusg 16780  df-mgm 18086  df-sgrp 18135
This theorem is referenced by:  sgrpssmgm  18332
  Copyright terms: Public domain W3C validator