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

Theorem dftpos4 7913
Description: Alternate definition of tpos. (Contributed by Mario Carneiro, 4-Oct-2015.)
Assertion
Ref Expression
dftpos4 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
Distinct variable group:   𝑥,𝐹

Proof of Theorem dftpos4
Dummy variables 𝑦 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-tpos 7894 . . 3 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
2 relcnv 5969 . . . . . . 7 Rel dom 𝐹
3 df-rel 5564 . . . . . . 7 (Rel dom 𝐹dom 𝐹 ⊆ (V × V))
42, 3mpbi 232 . . . . . 6 dom 𝐹 ⊆ (V × V)
5 unss1 4157 . . . . . 6 (dom 𝐹 ⊆ (V × V) → (dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}))
6 resmpt 5907 . . . . . 6 ((dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}) → ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
74, 5, 6mp2b 10 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})
8 resss 5880 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
97, 8eqsstrri 4004 . . . 4 (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
10 coss2 5729 . . . 4 ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) → (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})))
119, 10ax-mp 5 . . 3 (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
121, 11eqsstri 4003 . 2 tpos 𝐹 ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
13 relco 6099 . . 3 Rel (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
14 vex 3499 . . . . 5 𝑦 ∈ V
15 vex 3499 . . . . 5 𝑧 ∈ V
1614, 15opelco 5744 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ↔ ∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧))
17 vex 3499 . . . . . . . . 9 𝑤 ∈ V
18 eleq1 2902 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥 ∈ ((V × V) ∪ {∅}) ↔ 𝑦 ∈ ((V × V) ∪ {∅})))
19 sneq 4579 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → {𝑥} = {𝑦})
2019cnveqd 5748 . . . . . . . . . . . 12 (𝑥 = 𝑦{𝑥} = {𝑦})
2120unieqd 4854 . . . . . . . . . . 11 (𝑥 = 𝑦 {𝑥} = {𝑦})
2221eqeq2d 2834 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑧 = {𝑥} ↔ 𝑧 = {𝑦}))
2318, 22anbi12d 632 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦})))
24 eqeq1 2827 . . . . . . . . . 10 (𝑧 = 𝑤 → (𝑧 = {𝑦} ↔ 𝑤 = {𝑦}))
2524anbi2d 630 . . . . . . . . 9 (𝑧 = 𝑤 → ((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦})))
26 df-mpt 5149 . . . . . . . . 9 (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥})}
2714, 17, 23, 25, 26brab 5432 . . . . . . . 8 (𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤 ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}))
28 simplr 767 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 = {𝑦})
2917, 15breldm 5779 . . . . . . . . . . . . 13 (𝑤𝐹𝑧𝑤 ∈ dom 𝐹)
3029adantl 484 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 ∈ dom 𝐹)
3128, 30eqeltrrd 2916 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦} ∈ dom 𝐹)
32 elvv 5628 . . . . . . . . . . . . . 14 (𝑦 ∈ (V × V) ↔ ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
33 opswap 6088 . . . . . . . . . . . . . . . . . 18 {⟨𝑧, 𝑤⟩} = ⟨𝑤, 𝑧
3433eleq1i 2905 . . . . . . . . . . . . . . . . 17 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3515, 17opelcnv 5754 . . . . . . . . . . . . . . . . 17 (⟨𝑧, 𝑤⟩ ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3634, 35bitr4i 280 . . . . . . . . . . . . . . . 16 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)
37 sneq 4579 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
3837cnveqd 5748 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
3938unieqd 4854 . . . . . . . . . . . . . . . . . 18 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
4039eleq1d 2899 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹 {⟨𝑧, 𝑤⟩} ∈ dom 𝐹))
41 eleq1 2902 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑦dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹))
4240, 41bibi12d 348 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, 𝑤⟩ → (( {𝑦} ∈ dom 𝐹𝑦dom 𝐹) ↔ ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)))
4336, 42mpbiri 260 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4443exlimivv 1933 . . . . . . . . . . . . . 14 (∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4532, 44sylbi 219 . . . . . . . . . . . . 13 (𝑦 ∈ (V × V) → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4645biimpcd 251 . . . . . . . . . . . 12 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦dom 𝐹))
47 elun1 4154 . . . . . . . . . . . 12 (𝑦dom 𝐹𝑦 ∈ (dom 𝐹 ∪ {∅}))
4846, 47syl6 35 . . . . . . . . . . 11 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
4931, 48syl 17 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
50 elun2 4155 . . . . . . . . . . 11 (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
5150a1i 11 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
52 simpll 765 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ ((V × V) ∪ {∅}))
53 elun 4127 . . . . . . . . . . 11 (𝑦 ∈ ((V × V) ∪ {∅}) ↔ (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5452, 53sylib 220 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5549, 51, 54mpjaod 856 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
56 simpr 487 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤𝐹𝑧)
5728, 56eqbrtrrd 5092 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦}𝐹𝑧)
5855, 57jca 514 . . . . . . . 8 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
5927, 58sylanb 583 . . . . . . 7 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
60 brtpos2 7900 . . . . . . . 8 (𝑧 ∈ V → (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧)))
6115, 60ax-mp 5 . . . . . . 7 (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
6259, 61sylibr 236 . . . . . 6 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → 𝑦tpos 𝐹𝑧)
63 df-br 5069 . . . . . 6 (𝑦tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6462, 63sylib 220 . . . . 5 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6564exlimiv 1931 . . . 4 (∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6616, 65sylbi 219 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6713, 66relssi 5662 . 2 (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ⊆ tpos 𝐹
6812, 67eqssi 3985 1 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843   = wceq 1537  wex 1780  wcel 2114  Vcvv 3496  cun 3936  wss 3938  c0 4293  {csn 4569  cop 4575   cuni 4840   class class class wbr 5068  cmpt 5148   × cxp 5555  ccnv 5556  dom cdm 5557  cres 5559  ccom 5561  Rel wrel 5562  tpos ctpos 7893
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-fv 6365  df-tpos 7894
This theorem is referenced by:  tposco  7925  nftpos  7929  oftpos  21063
  Copyright terms: Public domain W3C validator