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 36030
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 = {⟨𝑥, 𝑦⟩ ∣ ∃𝑢𝐴 (𝑥𝑢𝑦𝑢)}
21relopabi 5694 . . 3 Rel
32a1i 11 . 2 (Prt 𝐴 → Rel )
41prtlem16 36020 . . 3 dom = 𝐴
54a1i 11 . 2 (Prt 𝐴 → dom = 𝐴)
6 prtlem15 36026 . . . . . 6 (Prt 𝐴 → (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) → ∃𝑟𝐴 (𝑧𝑟𝑝𝑟)))
71prtlem13 36019 . . . . . . . 8 (𝑧 𝑤 ↔ ∃𝑣𝐴 (𝑧𝑣𝑤𝑣))
81prtlem13 36019 . . . . . . . 8 (𝑤 𝑝 ↔ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞))
97, 8anbi12i 628 . . . . . . 7 ((𝑧 𝑤𝑤 𝑝) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
10 reeanv 3367 . . . . . . 7 (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
119, 10bitr4i 280 . . . . . 6 ((𝑧 𝑤𝑤 𝑝) ↔ ∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)))
121prtlem13 36019 . . . . . 6 (𝑧 𝑝 ↔ ∃𝑟𝐴 (𝑧𝑟𝑝𝑟))
136, 11, 123imtr4g 298 . . . . 5 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))
14 pm3.22 462 . . . . . . 7 ((𝑧𝑣𝑤𝑣) → (𝑤𝑣𝑧𝑣))
1514reximi 3243 . . . . . 6 (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) → ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
161prtlem13 36019 . . . . . 6 (𝑤 𝑧 ↔ ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
1715, 7, 163imtr4i 294 . . . . 5 (𝑧 𝑤𝑤 𝑧)
1813, 17jctil 522 . . . 4 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
1918alrimivv 1929 . . 3 (Prt 𝐴 → ∀𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
2019alrimiv 1928 . 2 (Prt 𝐴 → ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
21 dfer2 8290 . 2 ( Er 𝐴 ↔ (Rel ∧ dom = 𝐴 ∧ ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))))
223, 5, 20, 21syl3anbrc 1339 1 (Prt 𝐴 Er 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wal 1535   = wceq 1537  wrex 3139   cuni 4838   class class class wbr 5066  {copab 5128  dom cdm 5555  Rel wrel 5560   Er wer 8286  Prt wprt 36022
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-er 8289  df-prt 36023
This theorem is referenced by:  prtex  36031
  Copyright terms: Public domain W3C validator