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

Theorem dftpos4 7900
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 7881 . . 3 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
2 relcnv 5960 . . . . . . 7 Rel dom 𝐹
3 df-rel 5555 . . . . . . 7 (Rel dom 𝐹dom 𝐹 ⊆ (V × V))
42, 3mpbi 231 . . . . . 6 dom 𝐹 ⊆ (V × V)
5 unss1 4152 . . . . . 6 (dom 𝐹 ⊆ (V × V) → (dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}))
6 resmpt 5898 . . . . . 6 ((dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}) → ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
74, 5, 6mp2b 10 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})
8 resss 5871 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
97, 8eqsstrri 3999 . . . 4 (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
10 coss2 5720 . . . 4 ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) → (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})))
119, 10ax-mp 5 . . 3 (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
121, 11eqsstri 3998 . 2 tpos 𝐹 ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
13 relco 6090 . . 3 Rel (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
14 vex 3495 . . . . 5 𝑦 ∈ V
15 vex 3495 . . . . 5 𝑧 ∈ V
1614, 15opelco 5735 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ↔ ∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧))
17 vex 3495 . . . . . . . . 9 𝑤 ∈ V
18 eleq1 2897 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥 ∈ ((V × V) ∪ {∅}) ↔ 𝑦 ∈ ((V × V) ∪ {∅})))
19 sneq 4567 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → {𝑥} = {𝑦})
2019cnveqd 5739 . . . . . . . . . . . 12 (𝑥 = 𝑦{𝑥} = {𝑦})
2120unieqd 4840 . . . . . . . . . . 11 (𝑥 = 𝑦 {𝑥} = {𝑦})
2221eqeq2d 2829 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑧 = {𝑥} ↔ 𝑧 = {𝑦}))
2318, 22anbi12d 630 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦})))
24 eqeq1 2822 . . . . . . . . . 10 (𝑧 = 𝑤 → (𝑧 = {𝑦} ↔ 𝑤 = {𝑦}))
2524anbi2d 628 . . . . . . . . 9 (𝑧 = 𝑤 → ((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦})))
26 df-mpt 5138 . . . . . . . . 9 (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥})}
2714, 17, 23, 25, 26brab 5421 . . . . . . . 8 (𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤 ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}))
28 simplr 765 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 = {𝑦})
2917, 15breldm 5770 . . . . . . . . . . . . 13 (𝑤𝐹𝑧𝑤 ∈ dom 𝐹)
3029adantl 482 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 ∈ dom 𝐹)
3128, 30eqeltrrd 2911 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦} ∈ dom 𝐹)
32 elvv 5619 . . . . . . . . . . . . . 14 (𝑦 ∈ (V × V) ↔ ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
33 opswap 6079 . . . . . . . . . . . . . . . . . 18 {⟨𝑧, 𝑤⟩} = ⟨𝑤, 𝑧
3433eleq1i 2900 . . . . . . . . . . . . . . . . 17 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3515, 17opelcnv 5745 . . . . . . . . . . . . . . . . 17 (⟨𝑧, 𝑤⟩ ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3634, 35bitr4i 279 . . . . . . . . . . . . . . . 16 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)
37 sneq 4567 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
3837cnveqd 5739 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
3938unieqd 4840 . . . . . . . . . . . . . . . . . 18 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
4039eleq1d 2894 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹 {⟨𝑧, 𝑤⟩} ∈ dom 𝐹))
41 eleq1 2897 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑦dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹))
4240, 41bibi12d 347 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, 𝑤⟩ → (( {𝑦} ∈ dom 𝐹𝑦dom 𝐹) ↔ ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)))
4336, 42mpbiri 259 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4443exlimivv 1924 . . . . . . . . . . . . . 14 (∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4532, 44sylbi 218 . . . . . . . . . . . . 13 (𝑦 ∈ (V × V) → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4645biimpcd 250 . . . . . . . . . . . 12 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦dom 𝐹))
47 elun1 4149 . . . . . . . . . . . 12 (𝑦dom 𝐹𝑦 ∈ (dom 𝐹 ∪ {∅}))
4846, 47syl6 35 . . . . . . . . . . 11 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
4931, 48syl 17 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
50 elun2 4150 . . . . . . . . . . 11 (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
5150a1i 11 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
52 simpll 763 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ ((V × V) ∪ {∅}))
53 elun 4122 . . . . . . . . . . 11 (𝑦 ∈ ((V × V) ∪ {∅}) ↔ (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5452, 53sylib 219 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5549, 51, 54mpjaod 854 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
56 simpr 485 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤𝐹𝑧)
5728, 56eqbrtrrd 5081 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦}𝐹𝑧)
5855, 57jca 512 . . . . . . . 8 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
5927, 58sylanb 581 . . . . . . 7 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
60 brtpos2 7887 . . . . . . . 8 (𝑧 ∈ V → (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧)))
6115, 60ax-mp 5 . . . . . . 7 (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
6259, 61sylibr 235 . . . . . 6 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → 𝑦tpos 𝐹𝑧)
63 df-br 5058 . . . . . 6 (𝑦tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6462, 63sylib 219 . . . . 5 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6564exlimiv 1922 . . . 4 (∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6616, 65sylbi 218 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6713, 66relssi 5653 . 2 (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ⊆ tpos 𝐹
6812, 67eqssi 3980 1 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  wo 841   = wceq 1528  wex 1771  wcel 2105  Vcvv 3492  cun 3931  wss 3933  c0 4288  {csn 4557  cop 4563   cuni 4830   class class class wbr 5057  cmpt 5137   × cxp 5546  ccnv 5547  dom cdm 5548  cres 5550  ccom 5552  Rel wrel 5553  tpos ctpos 7880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-fv 6356  df-tpos 7881
This theorem is referenced by:  tposco  7912  nftpos  7916  oftpos  20989
  Copyright terms: Public domain W3C validator