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

Theorem dftpos4 6168
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 6150 . . 3 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
2 relcnv 4925 . . . . . . 7 Rel dom 𝐹
3 df-rel 4554 . . . . . . 7 (Rel dom 𝐹dom 𝐹 ⊆ (V × V))
42, 3mpbi 144 . . . . . 6 dom 𝐹 ⊆ (V × V)
5 unss1 3250 . . . . . 6 (dom 𝐹 ⊆ (V × V) → (dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}))
6 resmpt 4875 . . . . . 6 ((dom 𝐹 ∪ {∅}) ⊆ ((V × V) ∪ {∅}) → ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}))
74, 5, 6mp2b 8 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) = (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})
8 resss 4851 . . . . 5 ((𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) ↾ (dom 𝐹 ∪ {∅})) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
97, 8eqsstrri 3135 . . . 4 (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})
10 coss2 4703 . . . 4 ((𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥}) ⊆ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) → (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})))
119, 10ax-mp 5 . . 3 (𝐹 ∘ (𝑥 ∈ (dom 𝐹 ∪ {∅}) ↦ {𝑥})) ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
121, 11eqsstri 3134 . 2 tpos 𝐹 ⊆ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
13 relco 5045 . . 3 Rel (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
14 vex 2692 . . . . 5 𝑦 ∈ V
15 vex 2692 . . . . 5 𝑧 ∈ V
1614, 15opelco 4719 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ↔ ∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧))
17 vex 2692 . . . . . . . . 9 𝑤 ∈ V
18 eleq1 2203 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥 ∈ ((V × V) ∪ {∅}) ↔ 𝑦 ∈ ((V × V) ∪ {∅})))
19 sneq 3543 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → {𝑥} = {𝑦})
2019cnveqd 4723 . . . . . . . . . . . 12 (𝑥 = 𝑦{𝑥} = {𝑦})
2120unieqd 3755 . . . . . . . . . . 11 (𝑥 = 𝑦 {𝑥} = {𝑦})
2221eqeq2d 2152 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑧 = {𝑥} ↔ 𝑧 = {𝑦}))
2318, 22anbi12d 465 . . . . . . . . 9 (𝑥 = 𝑦 → ((𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦})))
24 eqeq1 2147 . . . . . . . . . 10 (𝑧 = 𝑤 → (𝑧 = {𝑦} ↔ 𝑤 = {𝑦}))
2524anbi2d 460 . . . . . . . . 9 (𝑧 = 𝑤 → ((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑦}) ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦})))
26 df-mpt 3999 . . . . . . . . 9 (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}) = {⟨𝑥, 𝑧⟩ ∣ (𝑥 ∈ ((V × V) ∪ {∅}) ∧ 𝑧 = {𝑥})}
2714, 17, 23, 25, 26brab 4202 . . . . . . . 8 (𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤 ↔ (𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}))
28 simplr 520 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 = {𝑦})
2917, 15breldm 4751 . . . . . . . . . . . . 13 (𝑤𝐹𝑧𝑤 ∈ dom 𝐹)
3029adantl 275 . . . . . . . . . . . 12 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤 ∈ dom 𝐹)
3128, 30eqeltrrd 2218 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦} ∈ dom 𝐹)
32 elvv 4609 . . . . . . . . . . . . . 14 (𝑦 ∈ (V × V) ↔ ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
33 opswapg 5033 . . . . . . . . . . . . . . . . . . 19 ((𝑧 ∈ V ∧ 𝑤 ∈ V) → {⟨𝑧, 𝑤⟩} = ⟨𝑤, 𝑧⟩)
3415, 17, 33mp2an 423 . . . . . . . . . . . . . . . . . 18 {⟨𝑧, 𝑤⟩} = ⟨𝑤, 𝑧
3534eleq1i 2206 . . . . . . . . . . . . . . . . 17 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3615, 17opelcnv 4729 . . . . . . . . . . . . . . . . 17 (⟨𝑧, 𝑤⟩ ∈ dom 𝐹 ↔ ⟨𝑤, 𝑧⟩ ∈ dom 𝐹)
3735, 36bitr4i 186 . . . . . . . . . . . . . . . 16 ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)
38 sneq 3543 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
3938cnveqd 4723 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
4039unieqd 3755 . . . . . . . . . . . . . . . . . 18 (𝑦 = ⟨𝑧, 𝑤⟩ → {𝑦} = {⟨𝑧, 𝑤⟩})
4140eleq1d 2209 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹 {⟨𝑧, 𝑤⟩} ∈ dom 𝐹))
42 eleq1 2203 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑦dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹))
4341, 42bibi12d 234 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, 𝑤⟩ → (( {𝑦} ∈ dom 𝐹𝑦dom 𝐹) ↔ ( {⟨𝑧, 𝑤⟩} ∈ dom 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ dom 𝐹)))
4437, 43mpbiri 167 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4544exlimivv 1869 . . . . . . . . . . . . . 14 (∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩ → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4632, 45sylbi 120 . . . . . . . . . . . . 13 (𝑦 ∈ (V × V) → ( {𝑦} ∈ dom 𝐹𝑦dom 𝐹))
4746biimpcd 158 . . . . . . . . . . . 12 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦dom 𝐹))
48 elun1 3248 . . . . . . . . . . . 12 (𝑦dom 𝐹𝑦 ∈ (dom 𝐹 ∪ {∅}))
4947, 48syl6 33 . . . . . . . . . . 11 ( {𝑦} ∈ dom 𝐹 → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
5031, 49syl 14 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
51 elun2 3249 . . . . . . . . . . 11 (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
5251a1i 9 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ {∅} → 𝑦 ∈ (dom 𝐹 ∪ {∅})))
53 simpll 519 . . . . . . . . . . 11 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ ((V × V) ∪ {∅}))
54 elun 3222 . . . . . . . . . . 11 (𝑦 ∈ ((V × V) ∪ {∅}) ↔ (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5553, 54sylib 121 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (V × V) ∨ 𝑦 ∈ {∅}))
5650, 52, 55mpjaod 708 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑦 ∈ (dom 𝐹 ∪ {∅}))
57 simpr 109 . . . . . . . . . 10 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → 𝑤𝐹𝑧)
5828, 57eqbrtrrd 3960 . . . . . . . . 9 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → {𝑦}𝐹𝑧)
5956, 58jca 304 . . . . . . . 8 (((𝑦 ∈ ((V × V) ∪ {∅}) ∧ 𝑤 = {𝑦}) ∧ 𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
6027, 59sylanb 282 . . . . . . 7 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
61 brtpos2 6156 . . . . . . . 8 (𝑧 ∈ V → (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧)))
6215, 61ax-mp 5 . . . . . . 7 (𝑦tpos 𝐹𝑧 ↔ (𝑦 ∈ (dom 𝐹 ∪ {∅}) ∧ {𝑦}𝐹𝑧))
6360, 62sylibr 133 . . . . . 6 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → 𝑦tpos 𝐹𝑧)
64 df-br 3938 . . . . . 6 (𝑦tpos 𝐹𝑧 ↔ ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6563, 64sylib 121 . . . . 5 ((𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6665exlimiv 1578 . . . 4 (∃𝑤(𝑦(𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})𝑤𝑤𝐹𝑧) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6716, 66sylbi 120 . . 3 (⟨𝑦, 𝑧⟩ ∈ (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) → ⟨𝑦, 𝑧⟩ ∈ tpos 𝐹)
6813, 67relssi 4638 . 2 (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥})) ⊆ tpos 𝐹
6912, 68eqssi 3118 1 tpos 𝐹 = (𝐹 ∘ (𝑥 ∈ ((V × V) ∪ {∅}) ↦ {𝑥}))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wo 698   = wceq 1332  wex 1469  wcel 1481  Vcvv 2689  cun 3074  wss 3076  c0 3368  {csn 3532  cop 3535   cuni 3744   class class class wbr 3937  cmpt 3997   × cxp 4545  ccnv 4546  dom cdm 4547  cres 4549  ccom 4551  Rel wrel 4552  tpos ctpos 6149
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-13 1492  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139  ax-un 4363
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-rab 2426  df-v 2691  df-sbc 2914  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-br 3938  df-opab 3998  df-mpt 3999  df-id 4223  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-res 4559  df-ima 4560  df-iota 5096  df-fun 5133  df-fn 5134  df-fv 5139  df-tpos 6150
This theorem is referenced by:  tposco  6180  nftpos  6184
  Copyright terms: Public domain W3C validator