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 35278
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 5740 . . . . 5 (𝑔 = 𝐺 → dom 𝑔 = dom 𝐺)
21dmeqd 5742 . . . 4 (𝑔 = 𝐺 → dom dom 𝑔 = dom dom 𝐺)
3 isexid.1 . . . 4 𝑋 = dom dom 𝐺
42, 3eqtr4di 2854 . . 3 (𝑔 = 𝐺 → dom dom 𝑔 = 𝑋)
5 oveq 7145 . . . . . 6 (𝑔 = 𝐺 → (𝑥𝑔𝑦) = (𝑥𝐺𝑦))
65eqeq1d 2803 . . . . 5 (𝑔 = 𝐺 → ((𝑥𝑔𝑦) = 𝑦 ↔ (𝑥𝐺𝑦) = 𝑦))
7 oveq 7145 . . . . . 6 (𝑔 = 𝐺 → (𝑦𝑔𝑥) = (𝑦𝐺𝑥))
87eqeq1d 2803 . . . . 5 (𝑔 = 𝐺 → ((𝑦𝑔𝑥) = 𝑦 ↔ (𝑦𝐺𝑥) = 𝑦))
96, 8anbi12d 633 . . . 4 (𝑔 = 𝐺 → (((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦) ↔ ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
104, 9raleqbidv 3357 . . 3 (𝑔 = 𝐺 → (∀𝑦 ∈ dom dom 𝑔((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦) ↔ ∀𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
114, 10rexeqbidv 3358 . 2 (𝑔 = 𝐺 → (∃𝑥 ∈ dom dom 𝑔𝑦 ∈ dom dom 𝑔((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦) ↔ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
12 df-exid 35276 . 2 ExId = {𝑔 ∣ ∃𝑥 ∈ dom dom 𝑔𝑦 ∈ dom dom 𝑔((𝑥𝑔𝑦) = 𝑦 ∧ (𝑦𝑔𝑥) = 𝑦)}
1311, 12elab2g 3619 1 (𝐺𝐴 → (𝐺 ∈ ExId ↔ ∃𝑥𝑋𝑦𝑋 ((𝑥𝐺𝑦) = 𝑦 ∧ (𝑦𝐺𝑥) = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2112  wral 3109  wrex 3110  dom cdm 5523  (class class class)co 7139   ExId cexid 35275
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ral 3114  df-rex 3115  df-v 3446  df-un 3889  df-in 3891  df-ss 3901  df-sn 4529  df-pr 4531  df-op 4535  df-uni 4804  df-br 5034  df-dm 5533  df-iota 6287  df-fv 6336  df-ov 7142  df-exid 35276
This theorem is referenced by:  opidonOLD  35283  isexid2  35286  ismndo  35303  exidres  35309
  Copyright terms: Public domain W3C validator