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

Theorem isnsgrp 18379
Description: A condition for a structure not to be a semigroup. (Contributed by AV, 30-Jan-2020.)
Hypotheses
Ref Expression
issgrpn0.b 𝐵 = (Base‘𝑀)
issgrpn0.o = (+g𝑀)
Assertion
Ref Expression
isnsgrp ((𝑋𝐵𝑌𝐵𝑍𝐵) → (((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍)) → 𝑀 ∉ Smgrp))

Proof of Theorem isnsgrp
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl1 1190 . . . . . . 7 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑋𝐵)
2 oveq1 7282 . . . . . . . . . . . . 13 (𝑥 = 𝑋 → (𝑥 𝑦) = (𝑋 𝑦))
32oveq1d 7290 . . . . . . . . . . . 12 (𝑥 = 𝑋 → ((𝑥 𝑦) 𝑧) = ((𝑋 𝑦) 𝑧))
4 oveq1 7282 . . . . . . . . . . . 12 (𝑥 = 𝑋 → (𝑥 (𝑦 𝑧)) = (𝑋 (𝑦 𝑧)))
53, 4eqeq12d 2754 . . . . . . . . . . 11 (𝑥 = 𝑋 → (((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
65notbid 318 . . . . . . . . . 10 (𝑥 = 𝑋 → (¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
76rexbidv 3226 . . . . . . . . 9 (𝑥 = 𝑋 → (∃𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
87rexbidv 3226 . . . . . . . 8 (𝑥 = 𝑋 → (∃𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑦𝐵𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
98adantl 482 . . . . . . 7 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑥 = 𝑋) → (∃𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑦𝐵𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
10 simpl2 1191 . . . . . . . 8 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑌𝐵)
11 oveq2 7283 . . . . . . . . . . . . 13 (𝑦 = 𝑌 → (𝑋 𝑦) = (𝑋 𝑌))
1211oveq1d 7290 . . . . . . . . . . . 12 (𝑦 = 𝑌 → ((𝑋 𝑦) 𝑧) = ((𝑋 𝑌) 𝑧))
13 oveq1 7282 . . . . . . . . . . . . 13 (𝑦 = 𝑌 → (𝑦 𝑧) = (𝑌 𝑧))
1413oveq2d 7291 . . . . . . . . . . . 12 (𝑦 = 𝑌 → (𝑋 (𝑦 𝑧)) = (𝑋 (𝑌 𝑧)))
1512, 14eqeq12d 2754 . . . . . . . . . . 11 (𝑦 = 𝑌 → (((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
1615notbid 318 . . . . . . . . . 10 (𝑦 = 𝑌 → (¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
1716adantl 482 . . . . . . . . 9 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑦 = 𝑌) → (¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
1817rexbidv 3226 . . . . . . . 8 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑦 = 𝑌) → (∃𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ∃𝑧𝐵 ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
19 simpl3 1192 . . . . . . . . 9 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑍𝐵)
20 oveq2 7283 . . . . . . . . . . . 12 (𝑧 = 𝑍 → ((𝑋 𝑌) 𝑧) = ((𝑋 𝑌) 𝑍))
21 oveq2 7283 . . . . . . . . . . . . 13 (𝑧 = 𝑍 → (𝑌 𝑧) = (𝑌 𝑍))
2221oveq2d 7291 . . . . . . . . . . . 12 (𝑧 = 𝑍 → (𝑋 (𝑌 𝑧)) = (𝑋 (𝑌 𝑍)))
2320, 22eqeq12d 2754 . . . . . . . . . . 11 (𝑧 = 𝑍 → (((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
2423notbid 318 . . . . . . . . . 10 (𝑧 = 𝑍 → (¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
2524adantl 482 . . . . . . . . 9 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑧 = 𝑍) → (¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
26 neneq 2949 . . . . . . . . . 10 (((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍)) → ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))
2726adantl 482 . . . . . . . . 9 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))
2819, 25, 27rspcedvd 3563 . . . . . . . 8 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ∃𝑧𝐵 ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)))
2910, 18, 28rspcedvd 3563 . . . . . . 7 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ∃𝑦𝐵𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)))
301, 9, 29rspcedvd 3563 . . . . . 6 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ∃𝑥𝐵𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
31 rexnal 3169 . . . . . . . 8 (∃𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ¬ ∀𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
32312rexbii 3182 . . . . . . 7 (∃𝑥𝐵𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑥𝐵𝑦𝐵 ¬ ∀𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
33 rexnal2 3187 . . . . . . 7 (∃𝑥𝐵𝑦𝐵 ¬ ∀𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ¬ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
3432, 33bitr2i 275 . . . . . 6 (¬ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑥𝐵𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
3530, 34sylibr 233 . . . . 5 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
3635intnand 489 . . . 4 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ (𝑀 ∈ Mgm ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧))))
37 issgrpn0.b . . . . 5 𝐵 = (Base‘𝑀)
38 issgrpn0.o . . . . 5 = (+g𝑀)
3937, 38issgrp 18376 . . . 4 (𝑀 ∈ Smgrp ↔ (𝑀 ∈ Mgm ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧))))
4036, 39sylnibr 329 . . 3 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ 𝑀 ∈ Smgrp)
41 df-nel 3050 . . 3 (𝑀 ∉ Smgrp ↔ ¬ 𝑀 ∈ Smgrp)
4240, 41sylibr 233 . 2 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑀 ∉ Smgrp)
4342ex 413 1 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍)) → 𝑀 ∉ Smgrp))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  wnel 3049  wral 3064  wrex 3065  cfv 6433  (class class class)co 7275  Basecbs 16912  +gcplusg 16962  Mgmcmgm 18324  Smgrpcsgrp 18374
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-iota 6391  df-fv 6441  df-ov 7278  df-sgrp 18375
This theorem is referenced by:  mgm2nsgrplem4  18560  xrsnsgrp  20634
  Copyright terms: Public domain W3C validator