Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  erim2 Structured version   Visualization version   GIF version

Theorem erim2 36716
Description: Equivalence relation on its natural domain implies that the class of coelements on the domain is equal to the relation (this is prter3 36823 in a more convenient form , see also erim 36717). (Contributed by Rodolfo Medina, 19-Oct-2010.) (Proof shortened by Mario Carneiro, 12-Aug-2015.) (Revised by Peter Mazsa, 29-Dec-2021.)
Assertion
Ref Expression
erim2 (𝑅𝑉 → (( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) → ∼ 𝐴 = 𝑅))

Proof of Theorem erim2
Dummy variables 𝑢 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relcoels 36474 . . . 4 Rel ∼ 𝐴
21a1i 11 . . 3 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → Rel ∼ 𝐴)
3 eqvrelrel 36637 . . . 4 ( EqvRel 𝑅 → Rel 𝑅)
43ad2antrl 724 . . 3 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → Rel 𝑅)
5 brcoels 36485 . . . . 5 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑥𝐴𝑦 ↔ ∃𝑢𝐴 (𝑥𝑢𝑦𝑢)))
65el2v 3430 . . . 4 (𝑥𝐴𝑦 ↔ ∃𝑢𝐴 (𝑥𝑢𝑦𝑢))
7 simpll 763 . . . . . . . . . . . 12 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → EqvRel 𝑅)
8 simprl 767 . . . . . . . . . . . . 13 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → 𝑢𝐴)
9 simplr 765 . . . . . . . . . . . . 13 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → (dom 𝑅 / 𝑅) = 𝐴)
108, 9eleqtrrd 2842 . . . . . . . . . . . 12 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → 𝑢 ∈ (dom 𝑅 / 𝑅))
11 simprr 769 . . . . . . . . . . . 12 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → 𝑥𝑢)
12 eqvrelqsel 36656 . . . . . . . . . . . 12 (( EqvRel 𝑅𝑢 ∈ (dom 𝑅 / 𝑅) ∧ 𝑥𝑢) → 𝑢 = [𝑥]𝑅)
137, 10, 11, 12syl3anc 1369 . . . . . . . . . . 11 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → 𝑢 = [𝑥]𝑅)
1413eleq2d 2824 . . . . . . . . . 10 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → (𝑦𝑢𝑦 ∈ [𝑥]𝑅))
15 elecALTV 36332 . . . . . . . . . . 11 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑦 ∈ [𝑥]𝑅𝑥𝑅𝑦))
1615el2v 3430 . . . . . . . . . 10 (𝑦 ∈ [𝑥]𝑅𝑥𝑅𝑦)
1714, 16bitrdi 286 . . . . . . . . 9 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ (𝑢𝐴𝑥𝑢)) → (𝑦𝑢𝑥𝑅𝑦))
1817anassrs 467 . . . . . . . 8 (((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ 𝑢𝐴) ∧ 𝑥𝑢) → (𝑦𝑢𝑥𝑅𝑦))
1918pm5.32da 578 . . . . . . 7 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ 𝑢𝐴) → ((𝑥𝑢𝑦𝑢) ↔ (𝑥𝑢𝑥𝑅𝑦)))
2019rexbidva 3224 . . . . . 6 (( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) → (∃𝑢𝐴 (𝑥𝑢𝑦𝑢) ↔ ∃𝑢𝐴 (𝑥𝑢𝑥𝑅𝑦)))
2120adantl 481 . . . . 5 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (∃𝑢𝐴 (𝑥𝑢𝑦𝑢) ↔ ∃𝑢𝐴 (𝑥𝑢𝑥𝑅𝑦)))
22 simpll 763 . . . . . . . . . . 11 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ 𝑥𝑅𝑦) → EqvRel 𝑅)
23 simpr 484 . . . . . . . . . . 11 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ 𝑥𝑅𝑦) → 𝑥𝑅𝑦)
2422, 23eqvrelcl 36652 . . . . . . . . . 10 ((( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) ∧ 𝑥𝑅𝑦) → 𝑥 ∈ dom 𝑅)
2524adantll 710 . . . . . . . . 9 (((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) ∧ 𝑥𝑅𝑦) → 𝑥 ∈ dom 𝑅)
26 eqvrelim 36641 . . . . . . . . . . . . . 14 ( EqvRel 𝑅 → dom 𝑅 = ran 𝑅)
2726ad2antrl 724 . . . . . . . . . . . . 13 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → dom 𝑅 = ran 𝑅)
2827eleq2d 2824 . . . . . . . . . . . 12 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥 ∈ dom 𝑅𝑥 ∈ ran 𝑅))
29 dmqseqim2 36696 . . . . . . . . . . . . . 14 (𝑅𝑉 → (Rel 𝑅 → ((dom 𝑅 / 𝑅) = 𝐴 → (𝑥 ∈ ran 𝑅𝑥 𝐴))))
303, 29syl5 34 . . . . . . . . . . . . 13 (𝑅𝑉 → ( EqvRel 𝑅 → ((dom 𝑅 / 𝑅) = 𝐴 → (𝑥 ∈ ran 𝑅𝑥 𝐴))))
3130imp32 418 . . . . . . . . . . . 12 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥 ∈ ran 𝑅𝑥 𝐴))
3228, 31bitrd 278 . . . . . . . . . . 11 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥 ∈ dom 𝑅𝑥 𝐴))
33 eluni2 4840 . . . . . . . . . . 11 (𝑥 𝐴 ↔ ∃𝑢𝐴 𝑥𝑢)
3432, 33bitrdi 286 . . . . . . . . . 10 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥 ∈ dom 𝑅 ↔ ∃𝑢𝐴 𝑥𝑢))
3534adantr 480 . . . . . . . . 9 (((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) ∧ 𝑥𝑅𝑦) → (𝑥 ∈ dom 𝑅 ↔ ∃𝑢𝐴 𝑥𝑢))
3625, 35mpbid 231 . . . . . . . 8 (((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) ∧ 𝑥𝑅𝑦) → ∃𝑢𝐴 𝑥𝑢)
3736ex 412 . . . . . . 7 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥𝑅𝑦 → ∃𝑢𝐴 𝑥𝑢))
3837pm4.71rd 562 . . . . . 6 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥𝑅𝑦 ↔ (∃𝑢𝐴 𝑥𝑢𝑥𝑅𝑦)))
39 r19.41v 3273 . . . . . 6 (∃𝑢𝐴 (𝑥𝑢𝑥𝑅𝑦) ↔ (∃𝑢𝐴 𝑥𝑢𝑥𝑅𝑦))
4038, 39bitr4di 288 . . . . 5 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥𝑅𝑦 ↔ ∃𝑢𝐴 (𝑥𝑢𝑥𝑅𝑦)))
4121, 40bitr4d 281 . . . 4 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (∃𝑢𝐴 (𝑥𝑢𝑦𝑢) ↔ 𝑥𝑅𝑦))
426, 41syl5bb 282 . . 3 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → (𝑥𝐴𝑦𝑥𝑅𝑦))
432, 4, 42eqbrrdv 5692 . 2 ((𝑅𝑉 ∧ ( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴)) → ∼ 𝐴 = 𝑅)
4443ex 412 1 (𝑅𝑉 → (( EqvRel 𝑅 ∧ (dom 𝑅 / 𝑅) = 𝐴) → ∼ 𝐴 = 𝑅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wrex 3064  Vcvv 3422   cuni 4836   class class class wbr 5070  dom cdm 5580  ran crn 5581  Rel wrel 5585  [cec 8454   / cqs 8455  ccoels 36261   EqvRel weqvrel 36277
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-id 5480  df-eprel 5486  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-ec 8458  df-qs 8462  df-coss 36464  df-coels 36465  df-refrel 36557  df-symrel 36585  df-trrel 36615  df-eqvrel 36625
This theorem is referenced by:  erim  36717
  Copyright terms: Public domain W3C validator