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 33803
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 33800 . . . . 5 (𝐺 ∈ MndOp → 𝐺 ∈ (Magma ∩ ExId ))
3 rngopidOLD 33782 . . . . 5 (𝐺 ∈ (Magma ∩ ExId ) → ran 𝐺 = dom dom 𝐺)
42, 3syl 17 . . . 4 (𝐺 ∈ MndOp → ran 𝐺 = dom dom 𝐺)
51, 4syl5eq 2697 . . 3 (𝐺 ∈ MndOp → 𝑋 = dom dom 𝐺)
65a1i 11 . 2 (𝐺𝐴 → (𝐺 ∈ MndOp → 𝑋 = dom dom 𝐺))
7 fdm 6089 . . . . . 6 (𝐺:(𝑋 × 𝑋)⟶𝑋 → dom 𝐺 = (𝑋 × 𝑋))
87dmeqd 5358 . . . . 5 (𝐺:(𝑋 × 𝑋)⟶𝑋 → dom dom 𝐺 = dom (𝑋 × 𝑋))
9 dmxpid 5377 . . . . 5 dom (𝑋 × 𝑋) = 𝑋
108, 9syl6req 2702 . . . 4 (𝐺:(𝑋 × 𝑋)⟶𝑋𝑋 = dom dom 𝐺)
11103ad2ant1 1102 . . 3 ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)) → 𝑋 = dom dom 𝐺)
1211a1i 11 . 2 (𝐺𝐴 → ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)) → 𝑋 = dom dom 𝐺))
13 eqid 2651 . . . 4 dom dom 𝐺 = dom dom 𝐺
1413ismndo1 33802 . . 3 (𝐺𝐴 → (𝐺 ∈ MndOp ↔ (𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺 ∧ ∀𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))))
15 xpid11 5379 . . . . . . 7 ((𝑋 × 𝑋) = (dom dom 𝐺 × dom dom 𝐺) ↔ 𝑋 = dom dom 𝐺)
1615biimpri 218 . . . . . 6 (𝑋 = dom dom 𝐺 → (𝑋 × 𝑋) = (dom dom 𝐺 × dom dom 𝐺))
17 feq23 6067 . . . . . 6 (((𝑋 × 𝑋) = (dom dom 𝐺 × dom dom 𝐺) ∧ 𝑋 = dom dom 𝐺) → (𝐺:(𝑋 × 𝑋)⟶𝑋𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺))
1816, 17mpancom 704 . . . . 5 (𝑋 = dom dom 𝐺 → (𝐺:(𝑋 × 𝑋)⟶𝑋𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺))
19 raleq 3168 . . . . . . 7 (𝑋 = dom dom 𝐺 → (∀𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ↔ ∀𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧))))
2019raleqbi1dv 3176 . . . . . 6 (𝑋 = dom dom 𝐺 → (∀𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ↔ ∀𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧))))
2120raleqbi1dv 3176 . . . . 5 (𝑋 = dom dom 𝐺 → (∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ↔ ∀𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧))))
22 raleq 3168 . . . . . 6 (𝑋 = dom dom 𝐺 → (∀𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦) ↔ ∀𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
2322rexeqbi1dv 3177 . . . . 5 (𝑋 = dom dom 𝐺 → (∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦) ↔ ∃𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
2418, 21, 233anbi123d 1439 . . . 4 (𝑋 = dom dom 𝐺 → ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)) ↔ (𝐺:(dom dom 𝐺 × dom dom 𝐺)⟶dom dom 𝐺 ∧ ∀𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺𝑧 ∈ dom dom 𝐺((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥 ∈ dom dom 𝐺𝑦 ∈ dom dom 𝐺((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))))
2524bibi2d 331 . . 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 368 1 (𝐺𝐴 → (𝐺 ∈ MndOp ↔ (𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑦𝑋𝑧𝑋 ((𝑥𝐺𝑦)𝐺𝑧) = (𝑥𝐺(𝑦𝐺𝑧)) ∧ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  wral 2941  wrex 2942  cin 3606   × cxp 5141  dom cdm 5143  ran crn 5144  wf 5922  (class class class)co 6690   ExId cexid 33773  Magmacmagm 33777  MndOpcmndo 33795
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-fo 5932  df-fv 5934  df-ov 6693  df-ass 33772  df-exid 33774  df-mgmOLD 33778  df-sgrOLD 33790  df-mndo 33796
This theorem is referenced by:  grpomndo  33804
  Copyright terms: Public domain W3C validator