Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mtyf Structured version   Visualization version   GIF version

Theorem mtyf 36317
Description: The type function maps variables to variable typecodes. (Contributed by Mario Carneiro, 18-Jul-2016.)
Hypotheses
Ref Expression
mtyf.v 𝑉 = (mVR‘𝑇)
mtyf.f 𝐹 = (mVT‘𝑇)
mtyf.y 𝑌 = (mType‘𝑇)
Assertion
Ref Expression
mtyf (𝑇 ∈ mFS → 𝑌:𝑉⟶𝐹)

Proof of Theorem mtyf
StepHypRef Expression
1 mtyf.v . . . 4 𝑉 = (mVR‘𝑇)
2 eqid 2760 . . . 4 (mTC‘𝑇) = (mTC‘𝑇)
3 mtyf.y . . . 4 𝑌 = (mType‘𝑇)
41, 2, 3mtyf2 36316 . . 3 (𝑇 ∈ mFS → 𝑌:𝑉⟶(mTC‘𝑇))
5 ffn 6709 . . . 4 (𝑌:𝑉⟶(mTC‘𝑇) → 𝑌 Fn 𝑉)
6 dffn4 6802 . . . 4 (𝑌 Fn 𝑉 ↔ 𝑌:𝑉–onto→ran 𝑌)
75, 6sylib 221 . . 3 (𝑌:𝑉⟶(mTC‘𝑇) → 𝑌:𝑉–onto→ran 𝑌)
8 fof 6796 . . 3 (𝑌:𝑉–onto→ran 𝑌 → 𝑌:𝑉⟶ran 𝑌)
94, 7, 83syl 19 . 2 (𝑇 ∈ mFS → 𝑌:𝑉⟶ran 𝑌)
10 mtyf.f . . . 4 𝐹 = (mVT‘𝑇)
1110, 3mvtval 36265 . . 3 𝐹 = ran 𝑌
12 feq3 6689 . . 3 (𝐹 = ran 𝑌 → (𝑌:𝑉⟶𝐹 ↔ 𝑌:𝑉⟶ran 𝑌))
1311, 12ax-mp 5 . 2 (𝑌:𝑉⟶𝐹 ↔ 𝑌:𝑉⟶ran 𝑌)
149, 13sylibr 237 1 (𝑇 ∈ mFS → 𝑌:𝑉⟶𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569   ∈ wcel 2144  ran crn 5651   Fn wfn 6533  ⟶wf 6534  –onto→wfo 6536  ‘cfv 6538  mVRcmvar 36226  mTypecmty 36227  mVTcmvt 36228  mTCcmtc 36229  mFScmfs 36241
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fo 6544  df-fv 6546  df-mvt 36250  df-mfs 36261
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator