Users' Mathboxes Mathbox for Rodolfo Medina < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  prter1 Structured version   Visualization version   GIF version

Theorem prter1 36820
Description: Every partition generates an equivalence relation. (Contributed by Rodolfo Medina, 13-Oct-2010.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypothesis
Ref Expression
prtlem18.1 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑢𝐴 (𝑥𝑢𝑦𝑢)}
Assertion
Ref Expression
prter1 (Prt 𝐴 Er 𝐴)
Distinct variable group:   𝑥,𝑢,𝑦,𝐴
Allowed substitution hints:   (𝑥,𝑦,𝑢)

Proof of Theorem prter1
Dummy variables 𝑞 𝑝 𝑟 𝑣 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prtlem18.1 . . . 4 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑢𝐴 (𝑥𝑢𝑦𝑢)}
21relopabiv 5719 . . 3 Rel
32a1i 11 . 2 (Prt 𝐴 → Rel )
41prtlem16 36810 . . 3 dom = 𝐴
54a1i 11 . 2 (Prt 𝐴 → dom = 𝐴)
6 prtlem15 36816 . . . . . 6 (Prt 𝐴 → (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) → ∃𝑟𝐴 (𝑧𝑟𝑝𝑟)))
71prtlem13 36809 . . . . . . . 8 (𝑧 𝑤 ↔ ∃𝑣𝐴 (𝑧𝑣𝑤𝑣))
81prtlem13 36809 . . . . . . . 8 (𝑤 𝑝 ↔ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞))
97, 8anbi12i 626 . . . . . . 7 ((𝑧 𝑤𝑤 𝑝) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
10 reeanv 3292 . . . . . . 7 (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
119, 10bitr4i 277 . . . . . 6 ((𝑧 𝑤𝑤 𝑝) ↔ ∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)))
121prtlem13 36809 . . . . . 6 (𝑧 𝑝 ↔ ∃𝑟𝐴 (𝑧𝑟𝑝𝑟))
136, 11, 123imtr4g 295 . . . . 5 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))
14 pm3.22 459 . . . . . . 7 ((𝑧𝑣𝑤𝑣) → (𝑤𝑣𝑧𝑣))
1514reximi 3174 . . . . . 6 (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) → ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
161prtlem13 36809 . . . . . 6 (𝑤 𝑧 ↔ ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
1715, 7, 163imtr4i 291 . . . . 5 (𝑧 𝑤𝑤 𝑧)
1813, 17jctil 519 . . . 4 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
1918alrimivv 1932 . . 3 (Prt 𝐴 → ∀𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
2019alrimiv 1931 . 2 (Prt 𝐴 → ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
21 dfer2 8457 . 2 ( Er 𝐴 ↔ (Rel ∧ dom = 𝐴 ∧ ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))))
223, 5, 20, 21syl3anbrc 1341 1 (Prt 𝐴 Er 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wal 1537   = wceq 1539  wrex 3064   cuni 4836   class class class wbr 5070  {copab 5132  dom cdm 5580  Rel wrel 5585   Er wer 8453  Prt wprt 36812
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-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-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  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-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-er 8456  df-prt 36813
This theorem is referenced by:  prtex  36821
  Copyright terms: Public domain W3C validator