Users' Mathboxes Mathbox for Jeff Hankins < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  tailfval Structured version   Visualization version   GIF version

Theorem tailfval 36685
Description: The tail function for a directed set. (Contributed by Jeff Hankins, 25-Nov-2009.) (Revised by Mario Carneiro, 24-Nov-2013.)
Hypothesis
Ref Expression
tailfval.1 𝑋 = dom 𝐷
Assertion
Ref Expression
tailfval (𝐷 ∈ DirRel → (tail‘𝐷) = (𝑥𝑋 ↦ (𝐷 “ {𝑥})))
Distinct variable groups:   𝑥,𝐷   𝑥,𝑋

Proof of Theorem tailfval
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 uniexg 7717 . . . 4 (𝐷 ∈ DirRel → 𝐷 ∈ V)
2 uniexg 7717 . . . 4 ( 𝐷 ∈ V → 𝐷 ∈ V)
3 mptexg 7199 . . . 4 ( 𝐷 ∈ V → (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) ∈ V)
41, 2, 33syl 18 . . 3 (𝐷 ∈ DirRel → (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) ∈ V)
5 unieq 4875 . . . . . 6 (𝑑 = 𝐷 𝑑 = 𝐷)
65unieqd 4877 . . . . 5 (𝑑 = 𝐷 𝑑 = 𝐷)
7 imaeq1 6039 . . . . 5 (𝑑 = 𝐷 → (𝑑 “ {𝑥}) = (𝐷 “ {𝑥}))
86, 7mpteq12dv 5186 . . . 4 (𝑑 = 𝐷 → (𝑥 𝑑 ↦ (𝑑 “ {𝑥})) = (𝑥 𝐷 ↦ (𝐷 “ {𝑥})))
9 df-tail 18610 . . . 4 tail = (𝑑 ∈ DirRel ↦ (𝑥 𝑑 ↦ (𝑑 “ {𝑥})))
108, 9fvmptg 6967 . . 3 ((𝐷 ∈ DirRel ∧ (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) ∈ V) → (tail‘𝐷) = (𝑥 𝐷 ↦ (𝐷 “ {𝑥})))
114, 10mpdan 697 . 2 (𝐷 ∈ DirRel → (tail‘𝐷) = (𝑥 𝐷 ↦ (𝐷 “ {𝑥})))
12 tailfval.1 . . . 4 𝑋 = dom 𝐷
13 dirdm 18613 . . . 4 (𝐷 ∈ DirRel → dom 𝐷 = 𝐷)
1412, 13eqtr2id 2809 . . 3 (𝐷 ∈ DirRel → 𝐷 = 𝑋)
1514mpteq1d 5189 . 2 (𝐷 ∈ DirRel → (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) = (𝑥𝑋 ↦ (𝐷 “ {𝑥})))
1611, 15eqtrd 2796 1 (𝐷 ∈ DirRel → (tail‘𝐷) = (𝑥𝑋 ↦ (𝐷 “ {𝑥})))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1559  wcel 2141  Vcvv 3453  {csn 4581   cuni 4864  cmpt 5180  dom cdm 5645  cima 5648  cfv 6515  DirRelcdir 18607  tailctail 18608
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-rep 5226  ax-sep 5245  ax-nul 5255  ax-pr 5389  ax-un 7712
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3076  df-rex 3086  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4480  df-sn 4582  df-pr 4584  df-op 4588  df-uni 4865  df-iun 4950  df-br 5100  df-opab 5162  df-mpt 5181  df-id 5540  df-xp 5651  df-rel 5652  df-cnv 5653  df-co 5654  df-dm 5655  df-rn 5656  df-res 5657  df-ima 5658  df-iota 6471  df-fun 6517  df-fn 6518  df-f 6519  df-f1 6520  df-fo 6521  df-f1o 6522  df-fv 6523  df-dir 18609  df-tail 18610
This theorem is referenced by:  tailval  36686  tailf  36688
  Copyright terms: Public domain W3C validator