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

Theorem dftpos4 7258
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 7239 . . 3 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
2 relcnv 5422 . . . . . . 7 Rel dom 𝐹
3 df-rel 5045 . . . . . . 7 (Rel dom 𝐹dom 𝐹 ⊆ (V × V))
42, 3mpbi 219 . . . . . 6 dom 𝐹 ⊆ (V × V)
5 unss1 3744 . . . . . 6 (dom 𝐹 ⊆ (V × V) → (dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}))
6 resmpt 5369 . . . . . 6 ((dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}) → ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
74, 5, 6mp2b 10 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})
8 resss 5342 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
97, 8eqsstr3i 3599 . . . 4 (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
10 coss2 5200 . . . 4 ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) → (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})))
119, 10ax-mp 5 . . 3 (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
121, 11eqsstri 3598 . 2 tpos 𝐹 ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
13 relco 5550 . . 3 Rel (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
14 vex 3176 . . . . 5 𝑦 ∈ V
15 vex 3176 . . . . 5 𝑧 ∈ V
1614, 15opelco 5215 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ↔ ∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧))
17 vex 3176 . . . . . . . . 9 𝑤 ∈ V
18 eleq1 2676 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥 ∈ ((V × V) ∪ {∅}) ↔ 𝑦 ∈ ((V × V) ∪ {∅})))
19 sneq 4135 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → {𝑥} = {𝑦})
2019cnveqd 5220 . . . . . . . . . . . 12 (𝑥 = 𝑦{𝑥} = {𝑦})
2120unieqd 4382 . . . . . . . . . . 11 (𝑥 = 𝑦 {𝑥} = {𝑦})
2221eqeq2d 2620 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑧 = {𝑥} ↔ 𝑧 = {𝑦}))
2318, 22anbi12d 743 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦})))
24 eqeq1 2614 . . . . . . . . . 10 (𝑧 = 𝑤 → (𝑧 = {𝑦} ↔ 𝑤 = {𝑦}))
2524anbi2d 736 . . . . . . . . 9 (𝑧 = 𝑤 → ((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦})))
26 df-mpt 4645 . . . . . . . . 9 (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥})}
2714, 17, 23, 25, 26brab 4923 . . . . . . . 8 (𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤 ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}))
28 simplr 788 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 = {𝑦})
2917, 15breldm 5251 . . . . . . . . . . . . 13 (𝑤𝐹𝑧𝑤 ∈ dom 𝐹)
3029adantl 481 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 ∈ dom 𝐹)
3128, 30eqeltrrd 2689 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦} ∈ dom 𝐹)
32 elvv 5100 . . . . . . . . . . . . . 14 (𝑦 ∈ (V × V) ↔ ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
33 opswap 5540 . . . . . . . . . . . . . . . . . 18 {⟨𝑧, 𝑤⟩} = ⟨𝑤, 𝑧
3433eleq1i 2679 . . . . . . . . . . . . . . . . 17 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3515, 17opelcnv 5226 . . . . . . . . . . . . . . . . 17 (⟨𝑧, 𝑤⟩ ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3634, 35bitr4i 266 . . . . . . . . . . . . . . . 16 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)
37 sneq 4135 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
3837cnveqd 5220 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
3938unieqd 4382 . . . . . . . . . . . . . . . . . 18 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
4039eleq1d 2672 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹 {⟨𝑧, 𝑤⟩} ∈ dom 𝐹))
41 eleq1 2676 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑦dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹))
4240, 41bibi12d 334 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, 𝑤⟩ → (( {𝑦} ∈ dom 𝐹𝑦dom 𝐹) ↔ ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)))
4336, 42mpbiri 247 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4443exlimivv 1847 . . . . . . . . . . . . . 14 (∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4532, 44sylbi 206 . . . . . . . . . . . . 13 (𝑦 ∈ (V × V) → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4645biimpcd 238 . . . . . . . . . . . 12 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦dom 𝐹))
47 elun1 3742 . . . . . . . . . . . 12 (𝑦dom 𝐹𝑦 ∈ (dom 𝐹 ∪ {∅}))
4846, 47syl6 34 . . . . . . . . . . 11 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
4931, 48syl 17 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
50 elun2 3743 . . . . . . . . . . 11 (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
5150a1i 11 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
52 simpll 786 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ ((V × V) ∪ {∅}))
53 elun 3715 . . . . . . . . . . 11 (𝑦 ∈ ((V × V) ∪ {∅}) ↔ (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5452, 53sylib 207 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5549, 51, 54mpjaod 395 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
56 simpr 476 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤𝐹𝑧)
5728, 56eqbrtrrd 4607 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦}𝐹𝑧)
5855, 57jca 553 . . . . . . . 8 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
5927, 58sylanb 488 . . . . . . 7 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
60 brtpos2 7245 . . . . . . . 8 (𝑧 ∈ V → (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧)))
6115, 60ax-mp 5 . . . . . . 7 (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
6259, 61sylibr 223 . . . . . 6 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → 𝑦tpos 𝐹𝑧)
63 df-br 4584 . . . . . 6 (𝑦tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6462, 63sylib 207 . . . . 5 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6564exlimiv 1845 . . . 4 (∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6616, 65sylbi 206 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6713, 66relssi 5134 . 2 (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ⊆ tpos 𝐹
6812, 67eqssi 3584 1 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wo 382  wa 383   = wceq 1475  wex 1695  wcel 1977  Vcvv 3173  cun 3538  wss 3540  c0 3874  {csn 4125  cop 4131   cuni 4372   class class class wbr 4583  cmpt 4643   × cxp 5036  ccnv 5037  dom cdm 5038  cres 5040  ccom 5042  Rel wrel 5043  tpos ctpos 7238
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-fv 5812  df-tpos 7239
This theorem is referenced by:  tposco  7270  nftpos  7274  oftpos  20077
  Copyright terms: Public domain W3C validator