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 36175
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 5658 . . 3 Rel
32a1i 11 . 2 (Prt 𝐴 → Rel )
41prtlem16 36165 . . 3 dom = 𝐴
54a1i 11 . 2 (Prt 𝐴 → dom = 𝐴)
6 prtlem15 36171 . . . . . 6 (Prt 𝐴 → (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) → ∃𝑟𝐴 (𝑧𝑟𝑝𝑟)))
71prtlem13 36164 . . . . . . . 8 (𝑧 𝑤 ↔ ∃𝑣𝐴 (𝑧𝑣𝑤𝑣))
81prtlem13 36164 . . . . . . . 8 (𝑤 𝑝 ↔ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞))
97, 8anbi12i 629 . . . . . . 7 ((𝑧 𝑤𝑤 𝑝) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
10 reeanv 3320 . . . . . . 7 (∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)) ↔ (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) ∧ ∃𝑞𝐴 (𝑤𝑞𝑝𝑞)))
119, 10bitr4i 281 . . . . . 6 ((𝑧 𝑤𝑤 𝑝) ↔ ∃𝑣𝐴𝑞𝐴 ((𝑧𝑣𝑤𝑣) ∧ (𝑤𝑞𝑝𝑞)))
121prtlem13 36164 . . . . . 6 (𝑧 𝑝 ↔ ∃𝑟𝐴 (𝑧𝑟𝑝𝑟))
136, 11, 123imtr4g 299 . . . . 5 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))
14 pm3.22 463 . . . . . . 7 ((𝑧𝑣𝑤𝑣) → (𝑤𝑣𝑧𝑣))
1514reximi 3206 . . . . . 6 (∃𝑣𝐴 (𝑧𝑣𝑤𝑣) → ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
161prtlem13 36164 . . . . . 6 (𝑤 𝑧 ↔ ∃𝑣𝐴 (𝑤𝑣𝑧𝑣))
1715, 7, 163imtr4i 295 . . . . 5 (𝑧 𝑤𝑤 𝑧)
1813, 17jctil 523 . . . 4 (Prt 𝐴 → ((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
1918alrimivv 1929 . . 3 (Prt 𝐴 → ∀𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
2019alrimiv 1928 . 2 (Prt 𝐴 → ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝)))
21 dfer2 8273 . 2 ( Er 𝐴 ↔ (Rel ∧ dom = 𝐴 ∧ ∀𝑧𝑤𝑝((𝑧 𝑤𝑤 𝑧) ∧ ((𝑧 𝑤𝑤 𝑝) → 𝑧 𝑝))))
223, 5, 20, 21syl3anbrc 1340 1 (Prt 𝐴 Er 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wal 1536   = wceq 1538  wrex 3107   cuni 4800   class class class wbr 5030  {copab 5092  dom cdm 5519  Rel wrel 5524   Er wer 8269  Prt wprt 36167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-er 8272  df-prt 36168
This theorem is referenced by:  prtex  36176
  Copyright terms: Public domain W3C validator