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

Theorem tpostpos 7941
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 7926 . 2 Rel tpos tpos 𝐹
2 relinxp 5658 . 2 Rel (𝐹 ∩ (((V × V) ∪ {∅}) × V))
3 relcnv 5941 . . . . . . . . 9 Rel dom tpos 𝐹
4 df-rel 5532 . . . . . . . . 9 (Rel dom tpos 𝐹dom tpos 𝐹 ⊆ (V × V))
53, 4mpbi 233 . . . . . . . 8 dom tpos 𝐹 ⊆ (V × V)
6 simpl 486 . . . . . . . 8 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤dom tpos 𝐹)
75, 6sseldi 3875 . . . . . . 7 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤 ∈ (V × V))
8 simpr 488 . . . . . . 7 ((𝑤𝐹𝑧𝑤 ∈ (V × V)) → 𝑤 ∈ (V × V))
9 elvv 5597 . . . . . . . . 9 (𝑤 ∈ (V × V) ↔ ∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩)
10 eleq1 2820 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹))
11 vex 3402 . . . . . . . . . . . . . . 15 𝑥 ∈ V
12 vex 3402 . . . . . . . . . . . . . . 15 𝑦 ∈ V
1311, 12opelcnv 5724 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
1410, 13bitrdi 290 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹))
15 sneq 4526 . . . . . . . . . . . . . . . . 17 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
1615cnveqd 5718 . . . . . . . . . . . . . . . 16 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
1716unieqd 4810 . . . . . . . . . . . . . . 15 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
18 opswap 6061 . . . . . . . . . . . . . . 15 {⟨𝑥, 𝑦⟩} = ⟨𝑦, 𝑥
1917, 18eqtrdi 2789 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = ⟨𝑦, 𝑥⟩)
2019breq1d 5040 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → ( {𝑤}tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
2114, 20anbi12d 634 . . . . . . . . . . . 12 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧)))
22 opex 5322 . . . . . . . . . . . . . . 15 𝑦, 𝑥⟩ ∈ V
23 vex 3402 . . . . . . . . . . . . . . 15 𝑧 ∈ V
2422, 23breldm 5751 . . . . . . . . . . . . . 14 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 → ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
2524pm4.71ri 564 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
26 brtpos 7930 . . . . . . . . . . . . . 14 (𝑧 ∈ V → (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
2726elv 3404 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧)
2825, 27bitr3i 280 . . . . . . . . . . . 12 ((⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧)
2921, 28bitrdi 290 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧))
30 breq1 5033 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
3129, 30bitr4d 285 . . . . . . . . . 10 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
3231exlimivv 1939 . . . . . . . . 9 (∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
339, 32sylbi 220 . . . . . . . 8 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
34 iba 531 . . . . . . . 8 (𝑤 ∈ (V × V) → (𝑤𝐹𝑧 ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
3533, 34bitrd 282 . . . . . . 7 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
367, 8, 35pm5.21nii 383 . . . . . 6 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V)))
37 elsni 4533 . . . . . . . . . . . . . . . 16 (𝑤 ∈ {∅} → 𝑤 = ∅)
3837sneqd 4528 . . . . . . . . . . . . . . 15 (𝑤 ∈ {∅} → {𝑤} = {∅})
3938cnveqd 5718 . . . . . . . . . . . . . 14 (𝑤 ∈ {∅} → {𝑤} = {∅})
40 cnvsn0 6042 . . . . . . . . . . . . . 14 {∅} = ∅
4139, 40eqtrdi 2789 . . . . . . . . . . . . 13 (𝑤 ∈ {∅} → {𝑤} = ∅)
4241unieqd 4810 . . . . . . . . . . . 12 (𝑤 ∈ {∅} → {𝑤} = ∅)
43 uni0 4826 . . . . . . . . . . . 12 ∅ = ∅
4442, 43eqtrdi 2789 . . . . . . . . . . 11 (𝑤 ∈ {∅} → {𝑤} = ∅)
4544breq1d 5040 . . . . . . . . . 10 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅tpos 𝐹𝑧))
46 brtpos0 7928 . . . . . . . . . . 11 (𝑧 ∈ V → (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
4746elv 3404 . . . . . . . . . 10 (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧)
4845, 47bitrdi 290 . . . . . . . . 9 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
4937breq1d 5040 . . . . . . . . 9 (𝑤 ∈ {∅} → (𝑤𝐹𝑧 ↔ ∅𝐹𝑧))
5048, 49bitr4d 285 . . . . . . . 8 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧𝑤𝐹𝑧))
5150pm5.32i 578 . . . . . . 7 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤 ∈ {∅} ∧ 𝑤𝐹𝑧))
5251biancomi 466 . . . . . 6 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ {∅}))
5336, 52orbi12i 914 . . . . 5 (((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
54 andir 1008 . . . . 5 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)))
55 andi 1007 . . . . 5 ((𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
5653, 54, 553bitr4i 306 . . . 4 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
57 elun 4039 . . . . 5 (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ↔ (𝑤dom tpos 𝐹𝑤 ∈ {∅}))
5857anbi1i 627 . . . 4 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
59 brxp 5572 . . . . . . 7 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 ∈ V))
6023, 59mpbiran2 710 . . . . . 6 (𝑤(((V × V) ∪ {∅}) × V)𝑧𝑤 ∈ ((V × V) ∪ {∅}))
61 elun 4039 . . . . . 6 (𝑤 ∈ ((V × V) ∪ {∅}) ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6260, 61bitri 278 . . . . 5 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6362anbi2i 626 . . . 4 ((𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
6456, 58, 633bitr4i 306 . . 3 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
65 brtpos2 7927 . . . 4 (𝑧 ∈ V → (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧)))
6665elv 3404 . . 3 (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
67 brin 5082 . . 3 (𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧 ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
6864, 66, 673bitr4i 306 . 2 (𝑤tpos tpos 𝐹𝑧𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧)
691, 2, 68eqbrriv 5635 1 tpos tpos 𝐹 = (𝐹 ∩ (((V × V) ∪ {∅}) × V))
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399  wo 846   = wceq 1542  wex 1786  wcel 2114  Vcvv 3398  cun 3841  cin 3842  wss 3843  c0 4211  {csn 4516  cop 4522   cuni 4796   class class class wbr 5030   × cxp 5523  ccnv 5524  dom cdm 5525  Rel wrel 5530  tpos ctpos 7920
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-sbc 3681  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-iota 6297  df-fun 6341  df-fn 6342  df-fv 6347  df-tpos 7921
This theorem is referenced by:  tpostpos2  7942
  Copyright terms: Public domain W3C validator