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

Theorem isnsgrp 17220
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 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍)) → 𝑀 ∉ SGrp))

Proof of Theorem isnsgrp
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl1 1062 . . . . . . 7 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑋𝐵)
2 oveq1 6617 . . . . . . . . . . . . 13 (𝑥 = 𝑋 → (𝑥 𝑦) = (𝑋 𝑦))
32oveq1d 6625 . . . . . . . . . . . 12 (𝑥 = 𝑋 → ((𝑥 𝑦) 𝑧) = ((𝑋 𝑦) 𝑧))
4 oveq1 6617 . . . . . . . . . . . 12 (𝑥 = 𝑋 → (𝑥 (𝑦 𝑧)) = (𝑋 (𝑦 𝑧)))
53, 4eqeq12d 2636 . . . . . . . . . . 11 (𝑥 = 𝑋 → (((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
65notbid 308 . . . . . . . . . 10 (𝑥 = 𝑋 → (¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
76rexbidv 3046 . . . . . . . . 9 (𝑥 = 𝑋 → (∃𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
87rexbidv 3046 . . . . . . . 8 (𝑥 = 𝑋 → (∃𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑦𝐵𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
98adantl 482 . . . . . . 7 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑥 = 𝑋) → (∃𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑦𝐵𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧))))
10 simpl2 1063 . . . . . . . 8 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑌𝐵)
11 oveq2 6618 . . . . . . . . . . . . 13 (𝑦 = 𝑌 → (𝑋 𝑦) = (𝑋 𝑌))
1211oveq1d 6625 . . . . . . . . . . . 12 (𝑦 = 𝑌 → ((𝑋 𝑦) 𝑧) = ((𝑋 𝑌) 𝑧))
13 oveq1 6617 . . . . . . . . . . . . 13 (𝑦 = 𝑌 → (𝑦 𝑧) = (𝑌 𝑧))
1413oveq2d 6626 . . . . . . . . . . . 12 (𝑦 = 𝑌 → (𝑋 (𝑦 𝑧)) = (𝑋 (𝑌 𝑧)))
1512, 14eqeq12d 2636 . . . . . . . . . . 11 (𝑦 = 𝑌 → (((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
1615notbid 308 . . . . . . . . . 10 (𝑦 = 𝑌 → (¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
1716adantl 482 . . . . . . . . 9 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑦 = 𝑌) → (¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
1817rexbidv 3046 . . . . . . . 8 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑦 = 𝑌) → (∃𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)) ↔ ∃𝑧𝐵 ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧))))
19 simpl3 1064 . . . . . . . . 9 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑍𝐵)
20 oveq2 6618 . . . . . . . . . . . 12 (𝑧 = 𝑍 → ((𝑋 𝑌) 𝑧) = ((𝑋 𝑌) 𝑍))
21 oveq2 6618 . . . . . . . . . . . . 13 (𝑧 = 𝑍 → (𝑌 𝑧) = (𝑌 𝑍))
2221oveq2d 6626 . . . . . . . . . . . 12 (𝑧 = 𝑍 → (𝑋 (𝑌 𝑧)) = (𝑋 (𝑌 𝑍)))
2320, 22eqeq12d 2636 . . . . . . . . . . 11 (𝑧 = 𝑍 → (((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
2423notbid 308 . . . . . . . . . 10 (𝑧 = 𝑍 → (¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
2524adantl 482 . . . . . . . . 9 ((((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) ∧ 𝑧 = 𝑍) → (¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)) ↔ ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍))))
26 neneq 2796 . . . . . . . . . 10 (((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍)) → ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))
2726adantl 482 . . . . . . . . 9 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ ((𝑋 𝑌) 𝑍) = (𝑋 (𝑌 𝑍)))
2819, 25, 27rspcedvd 3305 . . . . . . . 8 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ∃𝑧𝐵 ¬ ((𝑋 𝑌) 𝑧) = (𝑋 (𝑌 𝑧)))
2910, 18, 28rspcedvd 3305 . . . . . . 7 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ∃𝑦𝐵𝑧𝐵 ¬ ((𝑋 𝑦) 𝑧) = (𝑋 (𝑦 𝑧)))
301, 9, 29rspcedvd 3305 . . . . . 6 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ∃𝑥𝐵𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
31 rexnal 2990 . . . . . . . 8 (∃𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ¬ ∀𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
32312rexbii 3036 . . . . . . 7 (∃𝑥𝐵𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑥𝐵𝑦𝐵 ¬ ∀𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
33 rexnal2 3037 . . . . . . 7 (∃𝑥𝐵𝑦𝐵 ¬ ∀𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ¬ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
3432, 33bitr2i 265 . . . . . 6 (¬ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)) ↔ ∃𝑥𝐵𝑦𝐵𝑧𝐵 ¬ ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
3530, 34sylibr 224 . . . . 5 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧)))
3635intnand 961 . . . 4 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ (𝑀 ∈ Mgm ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧))))
37 issgrpn0.b . . . . 5 𝐵 = (Base‘𝑀)
38 issgrpn0.o . . . . 5 = (+g𝑀)
3937, 38issgrp 17217 . . . 4 (𝑀 ∈ SGrp ↔ (𝑀 ∈ Mgm ∧ ∀𝑥𝐵𝑦𝐵𝑧𝐵 ((𝑥 𝑦) 𝑧) = (𝑥 (𝑦 𝑧))))
4036, 39sylnibr 319 . . 3 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → ¬ 𝑀 ∈ SGrp)
41 df-nel 2894 . . 3 (𝑀 ∉ SGrp ↔ ¬ 𝑀 ∈ SGrp)
4240, 41sylibr 224 . 2 (((𝑋𝐵𝑌𝐵𝑍𝐵) ∧ ((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍))) → 𝑀 ∉ SGrp)
4342ex 450 1 ((𝑋𝐵𝑌𝐵𝑍𝐵) → (((𝑋 𝑌) 𝑍) ≠ (𝑋 (𝑌 𝑍)) → 𝑀 ∉ SGrp))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  wne 2790  wnel 2893  wral 2907  wrex 2908  cfv 5852  (class class class)co 6610  Basecbs 15792  +gcplusg 15873  Mgmcmgm 17172  SGrpcsgrp 17215
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-nul 4754
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3191  df-sbc 3422  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-br 4619  df-iota 5815  df-fv 5860  df-ov 6613  df-sgrp 17216
This theorem is referenced by:  mgm2nsgrplem4  17340  xrsnsgrp  19714
  Copyright terms: Public domain W3C validator