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 36893
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 5730 . . 3 Rel
32a1i 11 . 2 (Prt 𝐴 → Rel )
41prtlem16 36883 . . 3 dom = 𝐴
54a1i 11 . 2 (Prt 𝐴 → dom = 𝐴)
6 prtlem15 36889 . . . . . 6 (Prt 𝐴 → (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) → ∃𝑟𝐴 (𝑧𝑟𝑝𝑟)))
71prtlem13 36882 . . . . . . . 8 (𝑧 𝑤 ↔ ∃𝑣𝐴 (𝑧𝑣𝑤𝑣))
81prtlem13 36882 . . . . . . . 8 (𝑤 𝑝 ↔ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞))
97, 8anbi12i 627 . . . . . . 7 ((𝑧 𝑤𝑤 𝑝) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
10 reeanv 3294 . . . . . . 7 (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
119, 10bitr4i 277 . . . . . 6 ((𝑧 𝑤𝑤 𝑝) ↔ ∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)))
121prtlem13 36882 . . . . . 6 (𝑧 𝑝 ↔ ∃𝑟𝐴 (𝑧𝑟𝑝𝑟))
136, 11, 123imtr4g 296 . . . . 5 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))
14 pm3.22 460 . . . . . . 7 ((𝑧𝑣𝑤𝑣) → (𝑤𝑣𝑧𝑣))
1514reximi 3178 . . . . . 6 (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) → ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
161prtlem13 36882 . . . . . 6 (𝑤 𝑧 ↔ ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
1715, 7, 163imtr4i 292 . . . . 5 (𝑧 𝑤𝑤 𝑧)
1813, 17jctil 520 . . . 4 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
1918alrimivv 1931 . . 3 (Prt 𝐴 → ∀𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
2019alrimiv 1930 . 2 (Prt 𝐴 → ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
21 dfer2 8499 . 2 ( Er 𝐴 ↔ (Rel ∧ dom = 𝐴 ∧ ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))))
223, 5, 20, 21syl3anbrc 1342 1 (Prt 𝐴 Er 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1537   = wceq 1539  wrex 3065   cuni 4839   class class class wbr 5074  {copab 5136  dom cdm 5589  Rel wrel 5594   Er wer 8495  Prt wprt 36885
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-er 8498  df-prt 36886
This theorem is referenced by:  prtex  36894
  Copyright terms: Public domain W3C validator