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 36915
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 7744 . . . 4 (𝐷 ∈ DirRel → 𝐷 ∈ V)
2 uniexg 7744 . . . 4 ( 𝐷 ∈ V → 𝐷 ∈ V)
3 mptexg 7223 . . . 4 ( 𝐷 ∈ V → (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) ∈ V)
41, 2, 33syl 19 . . 3 (𝐷 ∈ DirRel → (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) ∈ V)
5 unieq 4886 . . . . . 6 (𝑑 = 𝐷 𝑑 = 𝐷)
65unieqd 4888 . . . . 5 (𝑑 = 𝐷 𝑑 = 𝐷)
7 imaeq1 6060 . . . . 5 (𝑑 = 𝐷 → (𝑑 “ {𝑥}) = (𝐷 “ {𝑥}))
86, 7mpteq12dv 5201 . . . 4 (𝑑 = 𝐷 → (𝑥 𝑑 ↦ (𝑑 “ {𝑥})) = (𝑥 𝐷 ↦ (𝐷 “ {𝑥})))
9 df-tail 18663 . . . 4 tail = (𝑑 ∈ DirRel ↦ (𝑥 𝑑 ↦ (𝑑 “ {𝑥})))
108, 9fvmptg 6991 . . 3 ((𝐷 ∈ DirRel ∧ (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) ∈ V) → (tail‘𝐷) = (𝑥 𝐷 ↦ (𝐷 “ {𝑥})))
114, 10mpdan 700 . 2 (𝐷 ∈ DirRel → (tail‘𝐷) = (𝑥 𝐷 ↦ (𝐷 “ {𝑥})))
12 tailfval.1 . . . 4 𝑋 = dom 𝐷
13 dirdm 18666 . . . 4 (𝐷 ∈ DirRel → dom 𝐷 = 𝐷)
1412, 13eqtr2id 2814 . . 3 (𝐷 ∈ DirRel → 𝐷 = 𝑋)
1514mpteq1d 5204 . 2 (𝐷 ∈ DirRel → (𝑥 𝐷 ↦ (𝐷 “ {𝑥})) = (𝑥𝑋 ↦ (𝐷 “ {𝑥})))
1611, 15eqtrd 2801 1 (𝐷 ∈ DirRel → (tail‘𝐷) = (𝑥𝑋 ↦ (𝐷 “ {𝑥})))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4   = wceq 1570  wcel 2146  Vcvv 3458  {csn 4592   cuni 4875  cmpt 5195  dom cdm 5664  cima 5667  cfv 6540  DirRelcdir 18660  tailctail 18661
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-rep 5241  ax-sep 5260  ax-nul 5272  ax-pr 5407  ax-un 7738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-ral 3083  df-rex 3093  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4491  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4876  df-iun 4961  df-br 5113  df-opab 5177  df-mpt 5196  df-id 5559  df-xp 5670  df-rel 5671  df-cnv 5672  df-co 5673  df-dm 5674  df-rn 5675  df-res 5676  df-ima 5677  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fo 6546  df-f1o 6547  df-fv 6548  df-dir 18662  df-tail 18663
This theorem is used by:  tailval  36916  tailf  36918
  Copyright terms: Public domain W3C validator