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

Theorem exidu1 35756
Description: Uniqueness of the left and right identity element of a magma when it exists. (Contributed by FL, 12-Dec-2009.) (Revised by Mario Carneiro, 22-Dec-2013.) (New usage is discouraged.)
Hypothesis
Ref Expression
exidu1.1 𝑋 = ran 𝐺
Assertion
Ref Expression
exidu1 (𝐺 ∈ (Magma ∩ ExId ) → ∃!𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥))
Distinct variable groups:   𝑢,𝐺,𝑥   𝑢,𝑋,𝑥

Proof of Theorem exidu1
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 exidu1.1 . . 3 𝑋 = ran 𝐺
21isexid2 35755 . 2 (𝐺 ∈ (Magma ∩ ExId ) → ∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥))
3 simpl 486 . . . . . . 7 (((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → (𝑢𝐺𝑥) = 𝑥)
43ralimi 3083 . . . . . 6 (∀𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → ∀𝑥𝑋 (𝑢𝐺𝑥) = 𝑥)
5 oveq2 7226 . . . . . . . 8 (𝑥 = 𝑦 → (𝑢𝐺𝑥) = (𝑢𝐺𝑦))
6 id 22 . . . . . . . 8 (𝑥 = 𝑦𝑥 = 𝑦)
75, 6eqeq12d 2753 . . . . . . 7 (𝑥 = 𝑦 → ((𝑢𝐺𝑥) = 𝑥 ↔ (𝑢𝐺𝑦) = 𝑦))
87rspcv 3537 . . . . . 6 (𝑦𝑋 → (∀𝑥𝑋 (𝑢𝐺𝑥) = 𝑥 → (𝑢𝐺𝑦) = 𝑦))
94, 8syl5 34 . . . . 5 (𝑦𝑋 → (∀𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → (𝑢𝐺𝑦) = 𝑦))
10 simpr 488 . . . . . . 7 (((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥) → (𝑥𝐺𝑦) = 𝑥)
1110ralimi 3083 . . . . . 6 (∀𝑥𝑋 ((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥) → ∀𝑥𝑋 (𝑥𝐺𝑦) = 𝑥)
12 oveq1 7225 . . . . . . . 8 (𝑥 = 𝑢 → (𝑥𝐺𝑦) = (𝑢𝐺𝑦))
13 id 22 . . . . . . . 8 (𝑥 = 𝑢𝑥 = 𝑢)
1412, 13eqeq12d 2753 . . . . . . 7 (𝑥 = 𝑢 → ((𝑥𝐺𝑦) = 𝑥 ↔ (𝑢𝐺𝑦) = 𝑢))
1514rspcv 3537 . . . . . 6 (𝑢𝑋 → (∀𝑥𝑋 (𝑥𝐺𝑦) = 𝑥 → (𝑢𝐺𝑦) = 𝑢))
1611, 15syl5 34 . . . . 5 (𝑢𝑋 → (∀𝑥𝑋 ((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥) → (𝑢𝐺𝑦) = 𝑢))
179, 16im2anan9r 624 . . . 4 ((𝑢𝑋𝑦𝑋) → ((∀𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) ∧ ∀𝑥𝑋 ((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥)) → ((𝑢𝐺𝑦) = 𝑦 ∧ (𝑢𝐺𝑦) = 𝑢)))
18 eqtr2 2761 . . . . 5 (((𝑢𝐺𝑦) = 𝑦 ∧ (𝑢𝐺𝑦) = 𝑢) → 𝑦 = 𝑢)
1918equcomd 2027 . . . 4 (((𝑢𝐺𝑦) = 𝑦 ∧ (𝑢𝐺𝑦) = 𝑢) → 𝑢 = 𝑦)
2017, 19syl6 35 . . 3 ((𝑢𝑋𝑦𝑋) → ((∀𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) ∧ ∀𝑥𝑋 ((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥)) → 𝑢 = 𝑦))
2120rgen2 3124 . 2 𝑢𝑋𝑦𝑋 ((∀𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) ∧ ∀𝑥𝑋 ((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥)) → 𝑢 = 𝑦)
22 oveq1 7225 . . . . 5 (𝑢 = 𝑦 → (𝑢𝐺𝑥) = (𝑦𝐺𝑥))
2322eqeq1d 2739 . . . 4 (𝑢 = 𝑦 → ((𝑢𝐺𝑥) = 𝑥 ↔ (𝑦𝐺𝑥) = 𝑥))
2423ovanraleqv 7242 . . 3 (𝑢 = 𝑦 → (∀𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) ↔ ∀𝑥𝑋 ((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥)))
2524reu4 3649 . 2 (∃!𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) ↔ (∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) ∧ ∀𝑢𝑋𝑦𝑋 ((∀𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) ∧ ∀𝑥𝑋 ((𝑦𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑦) = 𝑥)) → 𝑢 = 𝑦)))
262, 21, 25sylanblrc 593 1 (𝐺 ∈ (Magma ∩ ExId ) → ∃!𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2110  wral 3061  wrex 3062  ∃!wreu 3063  cin 3870  ran crn 5557  (class class class)co 7218   ExId cexid 35744  Magmacmagm 35748
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5197  ax-nul 5204  ax-pr 5327  ax-un 7528
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3415  df-sbc 3700  df-csb 3817  df-dif 3874  df-un 3876  df-in 3878  df-ss 3888  df-nul 4243  df-if 4445  df-sn 4547  df-pr 4549  df-op 4553  df-uni 4825  df-iun 4911  df-br 5059  df-opab 5121  df-mpt 5141  df-id 5460  df-xp 5562  df-rel 5563  df-cnv 5564  df-co 5565  df-dm 5566  df-rn 5567  df-iota 6343  df-fun 6387  df-fn 6388  df-f 6389  df-fo 6391  df-fv 6393  df-ov 7221  df-exid 35745  df-mgmOLD 35749
This theorem is referenced by:  iorlid  35758  cmpidelt  35759  exidresid  35779
  Copyright terms: Public domain W3C validator