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

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

Proof of Theorem mgmnsgrpex
Dummy variables 𝑥 𝑦 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prhash2ex 13564 . 2 (♯‘{0, 1}) = 2
2 c0ex 10425 . . . . 5 0 ∈ V
3 1ex 10427 . . . . 5 1 ∈ V
42, 3pm3.2i 463 . . . 4 (0 ∈ V ∧ 1 ∈ V)
5 eqid 2772 . . . . 5 {0, 1} = {0, 1}
6 prex 5183 . . . . . . 7 {0, 1} ∈ V
7 eqeq1 2776 . . . . . . . . . . . . 13 (𝑥 = 𝑢 → (𝑥 = 0 ↔ 𝑢 = 0))
87anbi1d 620 . . . . . . . . . . . 12 (𝑥 = 𝑢 → ((𝑥 = 0 ∧ 𝑦 = 0) ↔ (𝑢 = 0 ∧ 𝑦 = 0)))
98ifbid 4366 . . . . . . . . . . 11 (𝑥 = 𝑢 → if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0) = if((𝑢 = 0 ∧ 𝑦 = 0), 1, 0))
10 eqeq1 2776 . . . . . . . . . . . . 13 (𝑦 = 𝑣 → (𝑦 = 0 ↔ 𝑣 = 0))
1110anbi2d 619 . . . . . . . . . . . 12 (𝑦 = 𝑣 → ((𝑢 = 0 ∧ 𝑦 = 0) ↔ (𝑢 = 0 ∧ 𝑣 = 0)))
1211ifbid 4366 . . . . . . . . . . 11 (𝑦 = 𝑣 → if((𝑢 = 0 ∧ 𝑦 = 0), 1, 0) = if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))
139, 12cbvmpov 7059 . . . . . . . . . 10 (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0)) = (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))
1413opeq2i 4675 . . . . . . . . 9 ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩ = ⟨(+g‘ndx), (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0))⟩
1514preq2i 4541 . . . . . . . 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 16456 . . . . . . 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 2781 . . . . 5 (Base‘{⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩}) = {0, 1}
196, 6mpoex 7578 . . . . . . 7 (𝑢 ∈ {0, 1}, 𝑣 ∈ {0, 1} ↦ if((𝑢 = 0 ∧ 𝑣 = 0), 1, 0)) ∈ V
2015grpplusg 16457 . . . . . . 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 2781 . . . . 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 17864 . . . 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 3072 . . . 4 (𝑚 = {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} → (𝑚 ∉ SGrp ↔ {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∉ SGrp))
2625adantl 474 . . 3 (((♯‘{0, 1}) = 2 ∧ 𝑚 = {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩}) → (𝑚 ∉ SGrp ↔ {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∉ SGrp))
275, 18, 22mgm2nsgrplem4 17867 . . 3 ((♯‘{0, 1}) = 2 → {⟨(Base‘ndx), {0, 1}⟩, ⟨(+g‘ndx), (𝑥 ∈ {0, 1}, 𝑦 ∈ {0, 1} ↦ if((𝑥 = 0 ∧ 𝑦 = 0), 1, 0))⟩} ∉ SGrp)
2824, 26, 27rspcedvd 3536 . 2 ((♯‘{0, 1}) = 2 → ∃𝑚 ∈ Mgm 𝑚 ∉ SGrp)
291, 28ax-mp 5 1 𝑚 ∈ Mgm 𝑚 ∉ SGrp
Colors of variables: wff setvar class
Syntax hints:  wb 198  wa 387   = wceq 1507  wcel 2048  wnel 3067  wrex 3083  Vcvv 3409  ifcif 4344  {cpr 4437  cop 4441  cfv 6182  cmpo 6972  0cc0 10327  1c1 10328  2c2 11488  chash 13498  ndxcnx 16326  Basecbs 16329  +gcplusg 16411  Mgmcmgm 17698  SGrpcsgrp 17741
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1964  ax-8 2050  ax-9 2057  ax-10 2077  ax-11 2091  ax-12 2104  ax-13 2299  ax-ext 2745  ax-rep 5043  ax-sep 5054  ax-nul 5061  ax-pow 5113  ax-pr 5180  ax-un 7273  ax-cnex 10383  ax-resscn 10384  ax-1cn 10385  ax-icn 10386  ax-addcl 10387  ax-addrcl 10388  ax-mulcl 10389  ax-mulrcl 10390  ax-mulcom 10391  ax-addass 10392  ax-mulass 10393  ax-distr 10394  ax-i2m1 10395  ax-1ne0 10396  ax-1rid 10397  ax-rnegex 10398  ax-rrecex 10399  ax-cnre 10400  ax-pre-lttri 10401  ax-pre-lttrn 10402  ax-pre-ltadd 10403  ax-pre-mulgt0 10404
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3or 1069  df-3an 1070  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2014  df-mo 2544  df-eu 2580  df-clab 2754  df-cleq 2765  df-clel 2840  df-nfc 2912  df-ne 2962  df-nel 3068  df-ral 3087  df-rex 3088  df-reu 3089  df-rmo 3090  df-rab 3091  df-v 3411  df-sbc 3678  df-csb 3783  df-dif 3828  df-un 3830  df-in 3832  df-ss 3839  df-pss 3841  df-nul 4174  df-if 4345  df-pw 4418  df-sn 4436  df-pr 4438  df-tp 4440  df-op 4442  df-uni 4707  df-int 4744  df-iun 4788  df-br 4924  df-opab 4986  df-mpt 5003  df-tr 5025  df-id 5305  df-eprel 5310  df-po 5319  df-so 5320  df-fr 5359  df-we 5361  df-xp 5406  df-rel 5407  df-cnv 5408  df-co 5409  df-dm 5410  df-rn 5411  df-res 5412  df-ima 5413  df-pred 5980  df-ord 6026  df-on 6027  df-lim 6028  df-suc 6029  df-iota 6146  df-fun 6184  df-fn 6185  df-f 6186  df-f1 6187  df-fo 6188  df-f1o 6189  df-fv 6190  df-riota 6931  df-ov 6973  df-oprab 6974  df-mpo 6975  df-om 7391  df-1st 7494  df-2nd 7495  df-wrecs 7743  df-recs 7805  df-rdg 7843  df-1o 7897  df-oadd 7901  df-er 8081  df-en 8299  df-dom 8300  df-sdom 8301  df-fin 8302  df-dju 9116  df-card 9154  df-pnf 10468  df-mnf 10469  df-xr 10470  df-ltxr 10471  df-le 10472  df-sub 10664  df-neg 10665  df-nn 11432  df-2 11496  df-n0 11701  df-z 11787  df-uz 12052  df-fz 12702  df-hash 13499  df-struct 16331  df-ndx 16332  df-slot 16333  df-base 16335  df-plusg 16424  df-mgm 17700  df-sgrp 17742
This theorem is referenced by:  sgrpssmgm  17879
  Copyright terms: Public domain W3C validator