Users' Mathboxes Mathbox for Jeff Madsen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ismndo2 Structured version   Visualization version   GIF version

Theorem ismndo2 33291
Description: The predicate "is a monoid". (Contributed by FL, 2-Nov-2009.) (Revised by Mario Carneiro, 22-Dec-2013.) (New usage is discouraged.)
Hypothesis
Ref Expression
ismndo2.1 𝑋 = ran 𝐺
Assertion
Ref Expression
ismndo2 (𝐺𝐴 → (𝐺 ∈ MndOp ↔ (𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))))
Distinct variable groups:   𝑥,𝐺,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑧)

Proof of Theorem ismndo2
StepHypRef Expression
1 ismndo2.1 . . . 4 𝑋 = ran 𝐺
2 mndomgmid 33288 . . . . 5 (𝐺 ∈ MndOp → 𝐺 ∈ (Magma ∩ ExId ))
3 rngopidOLD 33270 . . . . 5 (𝐺 ∈ (Magma ∩ ExId ) → ran 𝐺 = dom dom 𝐺)
42, 3syl 17 . . . 4 (𝐺 ∈ MndOp → ran 𝐺 = dom dom 𝐺)
51, 4syl5eq 2672 . . 3 (𝐺 ∈ MndOp → 𝑋 = dom dom 𝐺)
65a1i 11 . 2 (𝐺𝐴 → (𝐺 ∈ MndOp → 𝑋 = dom dom 𝐺))
7 fdm 6010 . . . . . 6 (𝐺:(𝑋 × 𝑋)⟶𝑋 → dom 𝐺 = (𝑋 × 𝑋))
87dmeqd 5291 . . . . 5 (𝐺:(𝑋 × 𝑋)⟶𝑋 → dom dom 𝐺 = dom (𝑋 × 𝑋))
9 dmxpid 5309 . . . . 5 dom (𝑋 × 𝑋) = 𝑋
108, 9syl6req 2677 . . . 4 (𝐺:(𝑋 × 𝑋)⟶𝑋𝑋 = dom dom 𝐺)
11103ad2ant1 1080 . . 3 ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)) → 𝑋 = dom dom 𝐺)
1211a1i 11 . 2 (𝐺𝐴 → ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)) → 𝑋 = dom dom 𝐺))
13 eqid 2626 . . . 4 dom dom 𝐺 = dom dom 𝐺
1413ismndo1 33290 . . 3 (𝐺𝐴 → (𝐺 ∈ MndOp ↔ (𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺 ∧ ∀𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))))
15 xpid11 5311 . . . . . . 7 ((𝑋 × 𝑋) = (dom dom 𝐺 × dom dom 𝐺) ↔ 𝑋 = dom dom 𝐺)
1615biimpri 218 . . . . . 6 (𝑋 = dom dom 𝐺 → (𝑋 × 𝑋) = (dom dom 𝐺 × dom dom 𝐺))
17 feq23 5988 . . . . . 6 (((𝑋 × 𝑋) = (dom dom 𝐺 × dom dom 𝐺) ∧ 𝑋 = dom dom 𝐺) → (𝐺:(𝑋 × 𝑋)⟶𝑋𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺))
1816, 17mpancom 702 . . . . 5 (𝑋 = dom dom 𝐺 → (𝐺:(𝑋 × 𝑋)⟶𝑋𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺))
19 raleq 3132 . . . . . . 7 (𝑋 = dom dom 𝐺 → (∀𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ↔ ∀𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧))))
2019raleqbi1dv 3140 . . . . . 6 (𝑋 = dom dom 𝐺 → (∀𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ↔ ∀𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧))))
2120raleqbi1dv 3140 . . . . 5 (𝑋 = dom dom 𝐺 → (∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ↔ ∀𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧))))
22 raleq 3132 . . . . . 6 (𝑋 = dom dom 𝐺 → (∀𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦) ↔ ∀𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
2322rexeqbi1dv 3141 . . . . 5 (𝑋 = dom dom 𝐺 → (∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦) ↔ ∃𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
2418, 21, 233anbi123d 1396 . . . 4 (𝑋 = dom dom 𝐺 → ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)) ↔ (𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺 ∧ ∀𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))))
2524bibi2d 332 . . 3 (𝑋 = dom dom 𝐺 → ((𝐺 ∈ MndOp ↔ (𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))) ↔ (𝐺 ∈ MndOp ↔ (𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺 ∧ ∀𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))))
2614, 25syl5ibrcom 237 . 2 (𝐺𝐴 → (𝑋 = dom dom 𝐺 → (𝐺 ∈ MndOp ↔ (𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))))
276, 12, 26pm5.21ndd 369 1 (𝐺𝐴 → (𝐺 ∈ MndOp ↔ (𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1992  wral 2912  wrex 2913  cin 3559   × cxp 5077  dom cdm 5079  ran crn 5080  wf 5846  (class class class)co 6605   ExId cexid 33261  Magmacmagm 33265  MndOpcmndo 33283
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 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pr 4872  ax-un 6903
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 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-fo 5856  df-fv 5858  df-ov 6608  df-ass 33260  df-exid 33262  df-mgmOLD 33266  df-sgrOLD 33278  df-mndo 33284
This theorem is referenced by:  grpomndo  33292
  Copyright terms: Public domain W3C validator