ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  tpostpos GIF version

Theorem tpostpos 5879
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 5865 . 2 Rel tpos tpos 𝐹
2 inss2 3158 . . 3 (𝐹 ∩ (((V × V) ∪ {∅}) × V)) ⊆ (((V × V) ∪ {∅}) × V)
3 relxp 4447 . . 3 Rel (((V × V) ∪ {∅}) × V)
4 relss 4427 . . 3 ((𝐹 ∩ (((V × V) ∪ {∅}) × V)) ⊆ (((V × V) ∪ {∅}) × V) → (Rel (((V × V) ∪ {∅}) × V) → Rel (𝐹 ∩ (((V × V) ∪ {∅}) × V))))
52, 3, 4mp2 16 . 2 Rel (𝐹 ∩ (((V × V) ∪ {∅}) × V))
6 relcnv 4703 . . . . . . . . 9 Rel dom tpos 𝐹
7 df-rel 4352 . . . . . . . . 9 (Rel dom tpos 𝐹dom tpos 𝐹 ⊆ (V × V))
86, 7mpbi 133 . . . . . . . 8 dom tpos 𝐹 ⊆ (V × V)
9 simpl 102 . . . . . . . 8 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤dom tpos 𝐹)
108, 9sseldi 2943 . . . . . . 7 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) → 𝑤 ∈ (V × V))
11 simpr 103 . . . . . . 7 ((𝑤𝐹𝑧𝑤 ∈ (V × V)) → 𝑤 ∈ (V × V))
12 elvv 4402 . . . . . . . . 9 (𝑤 ∈ (V × V) ↔ ∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩)
13 eleq1 2100 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹))
14 vex 2560 . . . . . . . . . . . . . . 15 𝑥 ∈ V
15 vex 2560 . . . . . . . . . . . . . . 15 𝑦 ∈ V
1614, 15opelcnv 4517 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑦⟩ ∈ dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
1713, 16syl6bb 185 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤dom tpos 𝐹 ↔ ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹))
18 sneq 3386 . . . . . . . . . . . . . . . . 17 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
1918cnveqd 4511 . . . . . . . . . . . . . . . 16 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
2019unieqd 3591 . . . . . . . . . . . . . . 15 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = {⟨𝑥, 𝑦⟩})
21 opswapg 4807 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → {⟨𝑥, 𝑦⟩} = ⟨𝑦, 𝑥⟩)
2214, 15, 21mp2an 402 . . . . . . . . . . . . . . 15 {⟨𝑥, 𝑦⟩} = ⟨𝑦, 𝑥
2320, 22syl6eq 2088 . . . . . . . . . . . . . 14 (𝑤 = ⟨𝑥, 𝑦⟩ → {𝑤} = ⟨𝑦, 𝑥⟩)
2423breq1d 3774 . . . . . . . . . . . . 13 (𝑤 = ⟨𝑥, 𝑦⟩ → ( {𝑤}tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
2517, 24anbi12d 442 . . . . . . . . . . . 12 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧)))
2615, 14opex 3966 . . . . . . . . . . . . . . 15 𝑦, 𝑥⟩ ∈ V
27 vex 2560 . . . . . . . . . . . . . . 15 𝑧 ∈ V
2826, 27breldm 4539 . . . . . . . . . . . . . 14 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 → ⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹)
2928pm4.71ri 372 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ (⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧))
30 brtposg 5869 . . . . . . . . . . . . . 14 ((𝑦 ∈ V ∧ 𝑥 ∈ V ∧ 𝑧 ∈ V) → (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
3115, 14, 27, 30mp3an 1232 . . . . . . . . . . . . 13 (⟨𝑦, 𝑥⟩tpos 𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧)
3229, 31bitr3i 175 . . . . . . . . . . . 12 ((⟨𝑦, 𝑥⟩ ∈ dom tpos 𝐹 ∧ ⟨𝑦, 𝑥⟩tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧)
3325, 32syl6bb 185 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ ⟨𝑥, 𝑦𝐹𝑧))
34 breq1 3767 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦⟩ → (𝑤𝐹𝑧 ↔ ⟨𝑥, 𝑦𝐹𝑧))
3533, 34bitr4d 180 . . . . . . . . . 10 (𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
3635exlimivv 1776 . . . . . . . . 9 (∃𝑥𝑦 𝑤 = ⟨𝑥, 𝑦⟩ → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
3712, 36sylbi 114 . . . . . . . 8 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ 𝑤𝐹𝑧))
38 iba 284 . . . . . . . 8 (𝑤 ∈ (V × V) → (𝑤𝐹𝑧 ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
3937, 38bitrd 177 . . . . . . 7 (𝑤 ∈ (V × V) → ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V))))
4010, 11, 39pm5.21nii 620 . . . . . 6 ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ (V × V)))
41 elsni 3393 . . . . . . . . . . . . . . . 16 (𝑤 ∈ {∅} → 𝑤 = ∅)
4241sneqd 3388 . . . . . . . . . . . . . . 15 (𝑤 ∈ {∅} → {𝑤} = {∅})
4342cnveqd 4511 . . . . . . . . . . . . . 14 (𝑤 ∈ {∅} → {𝑤} = {∅})
44 cnvsn0 4789 . . . . . . . . . . . . . 14 {∅} = ∅
4543, 44syl6eq 2088 . . . . . . . . . . . . 13 (𝑤 ∈ {∅} → {𝑤} = ∅)
4645unieqd 3591 . . . . . . . . . . . 12 (𝑤 ∈ {∅} → {𝑤} = ∅)
47 uni0 3607 . . . . . . . . . . . 12 ∅ = ∅
4846, 47syl6eq 2088 . . . . . . . . . . 11 (𝑤 ∈ {∅} → {𝑤} = ∅)
4948breq1d 3774 . . . . . . . . . 10 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅tpos 𝐹𝑧))
50 brtpos0 5867 . . . . . . . . . . 11 (𝑧 ∈ V → (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
5127, 50ax-mp 7 . . . . . . . . . 10 (∅tpos 𝐹𝑧 ↔ ∅𝐹𝑧)
5249, 51syl6bb 185 . . . . . . . . 9 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧 ↔ ∅𝐹𝑧))
5341breq1d 3774 . . . . . . . . 9 (𝑤 ∈ {∅} → (𝑤𝐹𝑧 ↔ ∅𝐹𝑧))
5452, 53bitr4d 180 . . . . . . . 8 (𝑤 ∈ {∅} → ( {𝑤}tpos 𝐹𝑧𝑤𝐹𝑧))
5554pm5.32i 427 . . . . . . 7 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤 ∈ {∅} ∧ 𝑤𝐹𝑧))
56 ancom 253 . . . . . . 7 ((𝑤 ∈ {∅} ∧ 𝑤𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ {∅}))
5755, 56bitri 173 . . . . . 6 ((𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤 ∈ {∅}))
5840, 57orbi12i 681 . . . . 5 (((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
59 andir 732 . . . . 5 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹 {𝑤}tpos 𝐹𝑧) ∨ (𝑤 ∈ {∅} ∧ {𝑤}tpos 𝐹𝑧)))
60 andi 731 . . . . 5 ((𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})) ↔ ((𝑤𝐹𝑧𝑤 ∈ (V × V)) ∨ (𝑤𝐹𝑧𝑤 ∈ {∅})))
6158, 59, 603bitr4i 201 . . . 4 (((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
62 elun 3084 . . . . 5 (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ↔ (𝑤dom tpos 𝐹𝑤 ∈ {∅}))
6362anbi1i 431 . . . 4 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ ((𝑤dom tpos 𝐹𝑤 ∈ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
64 brxp 4375 . . . . . . 7 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 ∈ V))
6527, 64mpbiran2 848 . . . . . 6 (𝑤(((V × V) ∪ {∅}) × V)𝑧𝑤 ∈ ((V × V) ∪ {∅}))
66 elun 3084 . . . . . 6 (𝑤 ∈ ((V × V) ∪ {∅}) ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6765, 66bitri 173 . . . . 5 (𝑤(((V × V) ∪ {∅}) × V)𝑧 ↔ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅}))
6867anbi2i 430 . . . 4 ((𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧) ↔ (𝑤𝐹𝑧 ∧ (𝑤 ∈ (V × V) ∨ 𝑤 ∈ {∅})))
6961, 63, 683bitr4i 201 . . 3 ((𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧) ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
70 brtpos2 5866 . . . 4 (𝑧 ∈ V → (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧)))
7127, 70ax-mp 7 . . 3 (𝑤tpos tpos 𝐹𝑧 ↔ (𝑤 ∈ (dom tpos 𝐹 ∪ {∅}) ∧ {𝑤}tpos 𝐹𝑧))
72 brin 3811 . . 3 (𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧 ↔ (𝑤𝐹𝑧𝑤(((V × V) ∪ {∅}) × V)𝑧))
7369, 71, 723bitr4i 201 . 2 (𝑤tpos tpos 𝐹𝑧𝑤(𝐹 ∩ (((V × V) ∪ {∅}) × V))𝑧)
741, 5, 73eqbrriv 4435 1 tpos tpos 𝐹 = (𝐹 ∩ (((V × V) ∪ {∅}) × V))
Colors of variables: wff set class
Syntax hints:  wa 97  wb 98  wo 629   = wceq 1243  wex 1381  wcel 1393  Vcvv 2557  cun 2915  cin 2916  wss 2917  c0 3224  {csn 3375  cop 3378   cuni 3580   class class class wbr 3764   × cxp 4343  ccnv 4344  dom cdm 4345  Rel wrel 4350  tpos ctpos 5859
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-13 1404  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-nul 3883  ax-pow 3927  ax-pr 3944  ax-un 4170
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-fal 1249  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ne 2206  df-ral 2311  df-rex 2312  df-rab 2315  df-v 2559  df-sbc 2765  df-dif 2920  df-un 2922  df-in 2924  df-ss 2931  df-nul 3225  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-br 3765  df-opab 3819  df-mpt 3820  df-id 4030  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-res 4357  df-ima 4358  df-iota 4867  df-fun 4904  df-fn 4905  df-fv 4910  df-tpos 5860
This theorem is referenced by:  tpostpos2  5880
  Copyright terms: Public domain W3C validator