MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  tpostpos Structured version   Visualization version   GIF version

Theorem tpostpos 8033
Description: Value of the double transposition for a general class 𝐹. (Contributed by Mario Carneiro, 16-Sep-2015.)
Assertion
Ref Expression
tpostpos tpos tpos 𝐹 = (𝐹 ∩ (((V × V) ∪ {∅}) × V))

Proof of Theorem tpostpos
Dummy variables 𝑥 𝑦 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 reltpos 8018 . 2 Rel tpos tpos 𝐹
2 relinxp 5713 . 2 Rel (𝐹 ∩ (((V × V) ∪ {∅}) × V))
3 relcnv 6001 . . . . . . . . 9 Rel dom tpos 𝐹
4 df-rel 5587 . . . . . . . . 9 (Rel dom tpos 𝐹dom tpos 𝐹 ⊆ (V × V))
53, 4mpbi 229 . . . . . . . 8 dom tpos 𝐹 ⊆ (V × V)
6 simpl 482 . . . . . . . 8 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤dom tpos 𝐹)
75, 6sselid 3915 . . . . . . 7 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤 ∈ (V × V))
8 simpr 484 . . . . . . 7 ((𝑤𝐹𝑧𝑤 ∈ (V × V)) → 𝑤 ∈ (V × V))
9 elvv 5652 . . . . . . . . 9 (𝑤 ∈ (V × V) ↔ ∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩)
10 eleq1 2826 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹))
11 vex 3426 . . . . . . . . . . . . . . 15 𝑥 ∈ V
12 vex 3426 . . . . . . . . . . . . . . 15 𝑦 ∈ V
1311, 12opelcnv 5779 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
1410, 13bitrdi 286 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹))
15 sneq 4568 . . . . . . . . . . . . . . . . 17 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
1615cnveqd 5773 . . . . . . . . . . . . . . . 16 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
1716unieqd 4850 . . . . . . . . . . . . . . 15 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
18 opswap 6121 . . . . . . . . . . . . . . 15 {⟨𝑥, 𝑦⟩} = ⟨𝑦, 𝑥
1917, 18eqtrdi 2795 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = ⟨𝑦, 𝑥⟩)
2019breq1d 5080 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → ( {𝑤}tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
2114, 20anbi12d 630 . . . . . . . . . . . 12 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧)))
22 opex 5373 . . . . . . . . . . . . . . 15 𝑦, 𝑥⟩ ∈ V
23 vex 3426 . . . . . . . . . . . . . . 15 𝑧 ∈ V
2422, 23breldm 5806 . . . . . . . . . . . . . 14 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 → ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
2524pm4.71ri 560 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
26 brtpos 8022 . . . . . . . . . . . . . 14 (𝑧 ∈ V → (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
2726elv 3428 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧)
2825, 27bitr3i 276 . . . . . . . . . . . 12 ((⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧)
2921, 28bitrdi 286 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧))
30 breq1 5073 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
3129, 30bitr4d 281 . . . . . . . . . 10 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
3231exlimivv 1936 . . . . . . . . 9 (∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
339, 32sylbi 216 . . . . . . . 8 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
34 iba 527 . . . . . . . 8 (𝑤 ∈ (V × V) → (𝑤𝐹𝑧 ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
3533, 34bitrd 278 . . . . . . 7 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
367, 8, 35pm5.21nii 379 . . . . . 6 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V)))
37 elsni 4575 . . . . . . . . . . . . . . . 16 (𝑤 ∈ {∅} → 𝑤 = ∅)
3837sneqd 4570 . . . . . . . . . . . . . . 15 (𝑤 ∈ {∅} → {𝑤} = {∅})
3938cnveqd 5773 . . . . . . . . . . . . . 14 (𝑤 ∈ {∅} → {𝑤} = {∅})
40 cnvsn0 6102 . . . . . . . . . . . . . 14 {∅} = ∅
4139, 40eqtrdi 2795 . . . . . . . . . . . . 13 (𝑤 ∈ {∅} → {𝑤} = ∅)
4241unieqd 4850 . . . . . . . . . . . 12 (𝑤 ∈ {∅} → {𝑤} = ∅)
43 uni0 4866 . . . . . . . . . . . 12 ∅ = ∅
4442, 43eqtrdi 2795 . . . . . . . . . . 11 (𝑤 ∈ {∅} → {𝑤} = ∅)
4544breq1d 5080 . . . . . . . . . 10 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅tpos 𝐹𝑧))
46 brtpos0 8020 . . . . . . . . . . 11 (𝑧 ∈ V → (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
4746elv 3428 . . . . . . . . . 10 (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧)
4845, 47bitrdi 286 . . . . . . . . 9 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
4937breq1d 5080 . . . . . . . . 9 (𝑤 ∈ {∅} → (𝑤𝐹𝑧 ↔ ∅𝐹𝑧))
5048, 49bitr4d 281 . . . . . . . 8 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧𝑤𝐹𝑧))
5150pm5.32i 574 . . . . . . 7 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤 ∈ {∅} ∧ 𝑤𝐹𝑧))
5251biancomi 462 . . . . . 6 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ {∅}))
5336, 52orbi12i 911 . . . . 5 (((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
54 andir 1005 . . . . 5 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)))
55 andi 1004 . . . . 5 ((𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
5653, 54, 553bitr4i 302 . . . 4 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
57 elun 4079 . . . . 5 (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ↔ (𝑤dom tpos 𝐹𝑤 ∈ {∅}))
5857anbi1i 623 . . . 4 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
59 brxp 5627 . . . . . . 7 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 ∈ V))
6023, 59mpbiran2 706 . . . . . 6 (𝑤(((V × V) ∪ {∅}) × V)𝑧𝑤 ∈ ((V × V) ∪ {∅}))
61 elun 4079 . . . . . 6 (𝑤 ∈ ((V × V) ∪ {∅}) ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6260, 61bitri 274 . . . . 5 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6362anbi2i 622 . . . 4 ((𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
6456, 58, 633bitr4i 302 . . 3 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
65 brtpos2 8019 . . . 4 (𝑧 ∈ V → (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧)))
6665elv 3428 . . 3 (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
67 brin 5122 . . 3 (𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧 ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
6864, 66, 673bitr4i 302 . 2 (𝑤tpos tpos 𝐹𝑧𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧)
691, 2, 68eqbrriv 5690 1 tpos tpos 𝐹 = (𝐹 ∩ (((V × V) ∪ {∅}) × V))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  wo 843   = wceq 1539  wex 1783  wcel 2108  Vcvv 3422  cun 3881  cin 3882  wss 3883  c0 4253  {csn 4558  cop 4564   cuni 4836   class class class wbr 5070   × cxp 5578  ccnv 5579  dom cdm 5580  Rel wrel 5585  tpos ctpos 8012
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-pow 5283  ax-pr 5347  ax-un 7566
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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  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-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  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-iota 6376  df-fun 6420  df-fn 6421  df-fv 6426  df-tpos 8013
This theorem is referenced by:  tpostpos2  8034
  Copyright terms: Public domain W3C validator