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 36526
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 2766 . . . 4 (mTC‘𝑇) = (mTC‘𝑇)
3 mtyf.y . . . 4 𝑌 = (mType‘𝑇)
41, 2, 3mtyf2 36525 . . 3 (𝑇 ∈ mFS → 𝑌:𝑉⟶(mTC‘𝑇))
5 ffn 6738 . . . 4 (𝑌:𝑉⟶(mTC‘𝑇) → 𝑌 Fn 𝑉)
6 dffn4 6831 . . . 4 (𝑌 Fn 𝑉 ↔ 𝑌:𝑉⟶ontoran 𝑌)
75, 6sylib 221 . . 3 (𝑌:𝑉⟶(mTC‘𝑇) → 𝑌:𝑉⟶ontoran 𝑌)
8 fof 6825 . . 3 (𝑌:𝑉⟶ontoran 𝑌 → 𝑌:𝑉⟶ran 𝑌)
94, 7, 83syl 19 . 2 (𝑇 ∈ mFS → 𝑌:𝑉⟶ran 𝑌)
10 mtyf.f . . . 4 𝐹 = (mVT‘𝑇)
1110, 3mvtval 36474 . . 3 𝐹 = ran 𝑌
12 feq3 6718 . . 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 1572   ∈ wcel 2150  ran crn 5658   Fn wfn 6560  ⟶wf 6561  ⟶ontowfo 6563  ‘cfv 6565  mVRcmvar 36435  mTypecmty 36436  mVTcmvt 36437  mTCcmtc 36438  mFScmfs 36450
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pr 5397  ax-un 7782
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-fo 6571  df-fv 6573  df-mvt 36459  df-mfs 36470
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator