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

Theorem eqvrelth 36651
Description: Basic property of equivalence relations. Theorem 73 of [Suppes] p. 82. (Contributed by NM, 23-Jul-1995.) (Revised by Mario Carneiro, 6-Jul-2015.) (Revised by Peter Mazsa, 2-Jun-2019.)
Hypotheses
Ref Expression
eqvrelth.1 (𝜑 → EqvRel 𝑅)
eqvrelth.2 (𝜑𝐴 ∈ dom 𝑅)
Assertion
Ref Expression
eqvrelth (𝜑 → (𝐴𝑅𝐵 ↔ [𝐴]𝑅 = [𝐵]𝑅))

Proof of Theorem eqvrelth
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eqvrelth.1 . . . . . . . 8 (𝜑 → EqvRel 𝑅)
21eqvrelsymb 36646 . . . . . . 7 (𝜑 → (𝐴𝑅𝐵𝐵𝑅𝐴))
32biimpa 476 . . . . . 6 ((𝜑𝐴𝑅𝐵) → 𝐵𝑅𝐴)
41eqvreltr 36647 . . . . . . 7 (𝜑 → ((𝐵𝑅𝐴𝐴𝑅𝑥) → 𝐵𝑅𝑥))
54impl 455 . . . . . 6 (((𝜑𝐵𝑅𝐴) ∧ 𝐴𝑅𝑥) → 𝐵𝑅𝑥)
63, 5syldanl 601 . . . . 5 (((𝜑𝐴𝑅𝐵) ∧ 𝐴𝑅𝑥) → 𝐵𝑅𝑥)
71eqvreltr 36647 . . . . . 6 (𝜑 → ((𝐴𝑅𝐵𝐵𝑅𝑥) → 𝐴𝑅𝑥))
87impl 455 . . . . 5 (((𝜑𝐴𝑅𝐵) ∧ 𝐵𝑅𝑥) → 𝐴𝑅𝑥)
96, 8impbida 797 . . . 4 ((𝜑𝐴𝑅𝐵) → (𝐴𝑅𝑥𝐵𝑅𝑥))
10 vex 3426 . . . . 5 𝑥 ∈ V
11 eqvrelth.2 . . . . . 6 (𝜑𝐴 ∈ dom 𝑅)
1211adantr 480 . . . . 5 ((𝜑𝐴𝑅𝐵) → 𝐴 ∈ dom 𝑅)
13 elecg 8499 . . . . 5 ((𝑥 ∈ V ∧ 𝐴 ∈ dom 𝑅) → (𝑥 ∈ [𝐴]𝑅𝐴𝑅𝑥))
1410, 12, 13sylancr 586 . . . 4 ((𝜑𝐴𝑅𝐵) → (𝑥 ∈ [𝐴]𝑅𝐴𝑅𝑥))
15 eqvrelrel 36637 . . . . . . 7 ( EqvRel 𝑅 → Rel 𝑅)
161, 15syl 17 . . . . . 6 (𝜑 → Rel 𝑅)
17 brrelex2 5632 . . . . . 6 ((Rel 𝑅𝐴𝑅𝐵) → 𝐵 ∈ V)
1816, 17sylan 579 . . . . 5 ((𝜑𝐴𝑅𝐵) → 𝐵 ∈ V)
19 elecg 8499 . . . . 5 ((𝑥 ∈ V ∧ 𝐵 ∈ V) → (𝑥 ∈ [𝐵]𝑅𝐵𝑅𝑥))
2010, 18, 19sylancr 586 . . . 4 ((𝜑𝐴𝑅𝐵) → (𝑥 ∈ [𝐵]𝑅𝐵𝑅𝑥))
219, 14, 203bitr4d 310 . . 3 ((𝜑𝐴𝑅𝐵) → (𝑥 ∈ [𝐴]𝑅𝑥 ∈ [𝐵]𝑅))
2221eqrdv 2736 . 2 ((𝜑𝐴𝑅𝐵) → [𝐴]𝑅 = [𝐵]𝑅)
231adantr 480 . . 3 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → EqvRel 𝑅)
241, 11eqvrelref 36650 . . . . . . 7 (𝜑𝐴𝑅𝐴)
2524adantr 480 . . . . . 6 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → 𝐴𝑅𝐴)
2611adantr 480 . . . . . . 7 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → 𝐴 ∈ dom 𝑅)
27 elecALTV 36332 . . . . . . 7 ((𝐴 ∈ dom 𝑅𝐴 ∈ dom 𝑅) → (𝐴 ∈ [𝐴]𝑅𝐴𝑅𝐴))
2826, 26, 27syl2anc 583 . . . . . 6 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → (𝐴 ∈ [𝐴]𝑅𝐴𝑅𝐴))
2925, 28mpbird 256 . . . . 5 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → 𝐴 ∈ [𝐴]𝑅)
30 simpr 484 . . . . 5 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → [𝐴]𝑅 = [𝐵]𝑅)
3129, 30eleqtrd 2841 . . . 4 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → 𝐴 ∈ [𝐵]𝑅)
3230dmec2d 36368 . . . . . 6 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → (𝐴 ∈ dom 𝑅𝐵 ∈ dom 𝑅))
3326, 32mpbid 231 . . . . 5 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → 𝐵 ∈ dom 𝑅)
34 elecALTV 36332 . . . . 5 ((𝐵 ∈ dom 𝑅𝐴 ∈ dom 𝑅) → (𝐴 ∈ [𝐵]𝑅𝐵𝑅𝐴))
3533, 26, 34syl2anc 583 . . . 4 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → (𝐴 ∈ [𝐵]𝑅𝐵𝑅𝐴))
3631, 35mpbid 231 . . 3 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → 𝐵𝑅𝐴)
3723, 36eqvrelsym 36645 . 2 ((𝜑 ∧ [𝐴]𝑅 = [𝐵]𝑅) → 𝐴𝑅𝐵)
3822, 37impbida 797 1 (𝜑 → (𝐴𝑅𝐵 ↔ [𝐴]𝑅 = [𝐵]𝑅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  Vcvv 3422   class class class wbr 5070  dom cdm 5580  Rel wrel 5585  [cec 8454   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
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-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-br 5071  df-opab 5133  df-id 5480  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-refrel 36557  df-symrel 36585  df-trrel 36615  df-eqvrel 36625
This theorem is referenced by:  eqvrelthi  36653
  Copyright terms: Public domain W3C validator