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

Theorem tpostpos 7317
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 7302 . 2 Rel tpos tpos 𝐹
2 inss2 3812 . . 3 (𝐹 ∩ (((V × V) ∪ {∅}) × V)) ⊆ (((V × V) ∪ {∅}) × V)
3 relxp 5188 . . 3 Rel (((V × V) ∪ {∅}) × V)
4 relss 5167 . . 3 ((𝐹 ∩ (((V × V) ∪ {∅}) × V)) ⊆ (((V × V) ∪ {∅}) × V) → (Rel (((V × V) ∪ {∅}) × V) → Rel (𝐹 ∩ (((V × V) ∪ {∅}) × V))))
52, 3, 4mp2 9 . 2 Rel (𝐹 ∩ (((V × V) ∪ {∅}) × V))
6 relcnv 5462 . . . . . . . . 9 Rel dom tpos 𝐹
7 df-rel 5081 . . . . . . . . 9 (Rel dom tpos 𝐹dom tpos 𝐹 ⊆ (V × V))
86, 7mpbi 220 . . . . . . . 8 dom tpos 𝐹 ⊆ (V × V)
9 simpl 473 . . . . . . . 8 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤dom tpos 𝐹)
108, 9sseldi 3581 . . . . . . 7 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤 ∈ (V × V))
11 simpr 477 . . . . . . 7 ((𝑤𝐹𝑧𝑤 ∈ (V × V)) → 𝑤 ∈ (V × V))
12 elvv 5138 . . . . . . . . 9 (𝑤 ∈ (V × V) ↔ ∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩)
13 eleq1 2686 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹))
14 vex 3189 . . . . . . . . . . . . . . 15 𝑥 ∈ V
15 vex 3189 . . . . . . . . . . . . . . 15 𝑦 ∈ V
1614, 15opelcnv 5264 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
1713, 16syl6bb 276 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹))
18 sneq 4158 . . . . . . . . . . . . . . . . 17 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
1918cnveqd 5258 . . . . . . . . . . . . . . . 16 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
2019unieqd 4412 . . . . . . . . . . . . . . 15 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
21 opswap 5581 . . . . . . . . . . . . . . 15 {⟨𝑥, 𝑦⟩} = ⟨𝑦, 𝑥
2220, 21syl6eq 2671 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = ⟨𝑦, 𝑥⟩)
2322breq1d 4623 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → ( {𝑤}tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
2417, 23anbi12d 746 . . . . . . . . . . . 12 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧)))
25 opex 4893 . . . . . . . . . . . . . . 15 𝑦, 𝑥⟩ ∈ V
26 vex 3189 . . . . . . . . . . . . . . 15 𝑧 ∈ V
2725, 26breldm 5289 . . . . . . . . . . . . . 14 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 → ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
2827pm4.71ri 664 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
29 brtpos 7306 . . . . . . . . . . . . . 14 (𝑧 ∈ V → (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
3026, 29ax-mp 5 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧)
3128, 30bitr3i 266 . . . . . . . . . . . 12 ((⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧)
3224, 31syl6bb 276 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧))
33 breq1 4616 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
3432, 33bitr4d 271 . . . . . . . . . 10 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
3534exlimivv 1857 . . . . . . . . 9 (∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
3612, 35sylbi 207 . . . . . . . 8 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
37 iba 524 . . . . . . . 8 (𝑤 ∈ (V × V) → (𝑤𝐹𝑧 ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
3836, 37bitrd 268 . . . . . . 7 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
3910, 11, 38pm5.21nii 368 . . . . . 6 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V)))
40 elsni 4165 . . . . . . . . . . . . . . . 16 (𝑤 ∈ {∅} → 𝑤 = ∅)
4140sneqd 4160 . . . . . . . . . . . . . . 15 (𝑤 ∈ {∅} → {𝑤} = {∅})
4241cnveqd 5258 . . . . . . . . . . . . . 14 (𝑤 ∈ {∅} → {𝑤} = {∅})
43 cnvsn0 5562 . . . . . . . . . . . . . 14 {∅} = ∅
4442, 43syl6eq 2671 . . . . . . . . . . . . 13 (𝑤 ∈ {∅} → {𝑤} = ∅)
4544unieqd 4412 . . . . . . . . . . . 12 (𝑤 ∈ {∅} → {𝑤} = ∅)
46 uni0 4431 . . . . . . . . . . . 12 ∅ = ∅
4745, 46syl6eq 2671 . . . . . . . . . . 11 (𝑤 ∈ {∅} → {𝑤} = ∅)
4847breq1d 4623 . . . . . . . . . 10 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅tpos 𝐹𝑧))
49 brtpos0 7304 . . . . . . . . . . 11 (𝑧 ∈ V → (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
5026, 49ax-mp 5 . . . . . . . . . 10 (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧)
5148, 50syl6bb 276 . . . . . . . . 9 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
5240breq1d 4623 . . . . . . . . 9 (𝑤 ∈ {∅} → (𝑤𝐹𝑧 ↔ ∅𝐹𝑧))
5351, 52bitr4d 271 . . . . . . . 8 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧𝑤𝐹𝑧))
5453pm5.32i 668 . . . . . . 7 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤 ∈ {∅} ∧ 𝑤𝐹𝑧))
55 ancom 466 . . . . . . 7 ((𝑤 ∈ {∅} ∧ 𝑤𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ {∅}))
5654, 55bitri 264 . . . . . 6 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ {∅}))
5739, 56orbi12i 543 . . . . 5 (((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
58 andir 911 . . . . 5 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)))
59 andi 910 . . . . 5 ((𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
6057, 58, 593bitr4i 292 . . . 4 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
61 elun 3731 . . . . 5 (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ↔ (𝑤dom tpos 𝐹𝑤 ∈ {∅}))
6261anbi1i 730 . . . 4 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
63 brxp 5107 . . . . . . 7 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 ∈ V))
6426, 63mpbiran2 953 . . . . . 6 (𝑤(((V × V) ∪ {∅}) × V)𝑧𝑤 ∈ ((V × V) ∪ {∅}))
65 elun 3731 . . . . . 6 (𝑤 ∈ ((V × V) ∪ {∅}) ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6664, 65bitri 264 . . . . 5 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6766anbi2i 729 . . . 4 ((𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
6860, 62, 673bitr4i 292 . . 3 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
69 brtpos2 7303 . . . 4 (𝑧 ∈ V → (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧)))
7026, 69ax-mp 5 . . 3 (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
71 brin 4664 . . 3 (𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧 ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
7268, 70, 713bitr4i 292 . 2 (𝑤tpos tpos 𝐹𝑧𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧)
731, 5, 72eqbrriv 5176 1 tpos tpos 𝐹 = (𝐹 ∩ (((V × V) ∪ {∅}) × V))
Colors of variables: wff setvar class
Syntax hints:  wb 196  wo 383  wa 384   = wceq 1480  wex 1701  wcel 1987  Vcvv 3186  cun 3553  cin 3554  wss 3555  c0 3891  {csn 4148  cop 4154   cuni 4402   class class class wbr 4613   × cxp 5072  ccnv 5073  dom cdm 5074  Rel wrel 5079  tpos ctpos 7296
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-fv 5855  df-tpos 7297
This theorem is referenced by:  tpostpos2  7318
  Copyright terms: Public domain W3C validator