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

Theorem isexid 32612
Description: The predicate 𝐺 has a left and right identity element. (Contributed by FL, 2-Nov-2009.) (Revised by Mario Carneiro, 22-Dec-2013.) (New usage is discouraged.)
Hypothesis
Ref Expression
isexid.1 𝑋 = dom dom 𝐺
Assertion
Ref Expression
isexid (𝐺𝐴 → (𝐺 ∈ ExId ↔ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
Distinct variable groups:   𝑥,𝐺,𝑦   𝑥,𝑋,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)

Proof of Theorem isexid
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 dmeq 5233 . . . . 5 (𝑔 = 𝐺 → dom 𝑔 = dom 𝐺)
21dmeqd 5235 . . . 4 (𝑔 = 𝐺 → dom dom 𝑔 = dom dom 𝐺)
3 isexid.1 . . . 4 𝑋 = dom dom 𝐺
42, 3syl6eqr 2661 . . 3 (𝑔 = 𝐺 → dom dom 𝑔 = 𝑋)
5 oveq 6533 . . . . . 6 (𝑔 = 𝐺 → (𝑥𝑔𝑦) = (𝑥𝐺𝑦))
65eqeq1d 2611 . . . . 5 (𝑔 = 𝐺 → ((𝑥𝑔𝑦) = 𝑦 ↔ (𝑥𝐺𝑦) = 𝑦))
7 oveq 6533 . . . . . 6 (𝑔 = 𝐺 → (𝑦𝑔𝑥) = (𝑦𝐺𝑥))
87eqeq1d 2611 . . . . 5 (𝑔 = 𝐺 → ((𝑦𝑔𝑥) = 𝑦 ↔ (𝑦𝐺𝑥) = 𝑦))
96, 8anbi12d 742 . . . 4 (𝑔 = 𝐺 → (((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦) ↔ ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
104, 9raleqbidv 3128 . . 3 (𝑔 = 𝐺 → (∀𝑦 ∈ dom dom 𝑔((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦) ↔ ∀𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
114, 10rexeqbidv 3129 . 2 (𝑔 = 𝐺 → (∃𝑥 ∈ dom dom 𝑔𝑦 ∈ dom dom 𝑔((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦) ↔ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
12 df-exid 32610 . 2 ExId = {𝑔 ∣ ∃𝑥 ∈ dom dom 𝑔𝑦 ∈ dom dom 𝑔((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦)}
1311, 12elab2g 3321 1 (𝐺𝐴 → (𝐺 ∈ ExId ↔ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382   = wceq 1474  wcel 1976  wral 2895  wrex 2896  dom cdm 5028  (class class class)co 6527   ExId cexid 32609
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-br 4578  df-dm 5038  df-iota 5754  df-fv 5798  df-ov 6530  df-exid 32610
This theorem is referenced by:  opidonOLD  32617  isexid2  32620  ismndo  32637  exidres  32643
  Copyright terms: Public domain W3C validator