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

Theorem mvrsfpw 32932
 Description: The set of variables in an expression is a finite subset of 𝑉. (Contributed by Mario Carneiro, 18-Jul-2016.)
Hypotheses
Ref Expression
mvrsval.v 𝑉 = (mVR‘𝑇)
mvrsval.e 𝐸 = (mEx‘𝑇)
mvrsval.w 𝑊 = (mVars‘𝑇)
Assertion
Ref Expression
mvrsfpw (𝑋𝐸 → (𝑊𝑋) ∈ (𝒫 𝑉 ∩ Fin))

Proof of Theorem mvrsfpw
StepHypRef Expression
1 mvrsval.v . . 3 𝑉 = (mVR‘𝑇)
2 mvrsval.e . . 3 𝐸 = (mEx‘𝑇)
3 mvrsval.w . . 3 𝑊 = (mVars‘𝑇)
41, 2, 3mvrsval 32931 . 2 (𝑋𝐸 → (𝑊𝑋) = (ran (2nd𝑋) ∩ 𝑉))
5 inss2 4159 . . . 4 (ran (2nd𝑋) ∩ 𝑉) ⊆ 𝑉
65a1i 11 . . 3 (𝑋𝐸 → (ran (2nd𝑋) ∩ 𝑉) ⊆ 𝑉)
7 fzofi 13357 . . . . 5 (0..^(♯‘(2nd𝑋))) ∈ Fin
8 xp2nd 7717 . . . . . . . 8 (𝑋 ∈ ((mTC‘𝑇) × Word ((mCN‘𝑇) ∪ 𝑉)) → (2nd𝑋) ∈ Word ((mCN‘𝑇) ∪ 𝑉))
9 eqid 2798 . . . . . . . . 9 (mTC‘𝑇) = (mTC‘𝑇)
10 eqid 2798 . . . . . . . . 9 (mCN‘𝑇) = (mCN‘𝑇)
119, 2, 10, 1mexval2 32929 . . . . . . . 8 𝐸 = ((mTC‘𝑇) × Word ((mCN‘𝑇) ∪ 𝑉))
128, 11eleq2s 2908 . . . . . . 7 (𝑋𝐸 → (2nd𝑋) ∈ Word ((mCN‘𝑇) ∪ 𝑉))
13 wrdf 13882 . . . . . . 7 ((2nd𝑋) ∈ Word ((mCN‘𝑇) ∪ 𝑉) → (2nd𝑋):(0..^(♯‘(2nd𝑋)))⟶((mCN‘𝑇) ∪ 𝑉))
14 ffn 6495 . . . . . . 7 ((2nd𝑋):(0..^(♯‘(2nd𝑋)))⟶((mCN‘𝑇) ∪ 𝑉) → (2nd𝑋) Fn (0..^(♯‘(2nd𝑋))))
1512, 13, 143syl 18 . . . . . 6 (𝑋𝐸 → (2nd𝑋) Fn (0..^(♯‘(2nd𝑋))))
16 dffn4 6579 . . . . . 6 ((2nd𝑋) Fn (0..^(♯‘(2nd𝑋))) ↔ (2nd𝑋):(0..^(♯‘(2nd𝑋)))–onto→ran (2nd𝑋))
1715, 16sylib 221 . . . . 5 (𝑋𝐸 → (2nd𝑋):(0..^(♯‘(2nd𝑋)))–onto→ran (2nd𝑋))
18 fofi 8812 . . . . 5 (((0..^(♯‘(2nd𝑋))) ∈ Fin ∧ (2nd𝑋):(0..^(♯‘(2nd𝑋)))–onto→ran (2nd𝑋)) → ran (2nd𝑋) ∈ Fin)
197, 17, 18sylancr 590 . . . 4 (𝑋𝐸 → ran (2nd𝑋) ∈ Fin)
20 inss1 4158 . . . 4 (ran (2nd𝑋) ∩ 𝑉) ⊆ ran (2nd𝑋)
21 ssfi 8740 . . . 4 ((ran (2nd𝑋) ∈ Fin ∧ (ran (2nd𝑋) ∩ 𝑉) ⊆ ran (2nd𝑋)) → (ran (2nd𝑋) ∩ 𝑉) ∈ Fin)
2219, 20, 21sylancl 589 . . 3 (𝑋𝐸 → (ran (2nd𝑋) ∩ 𝑉) ∈ Fin)
23 elfpw 8828 . . 3 ((ran (2nd𝑋) ∩ 𝑉) ∈ (𝒫 𝑉 ∩ Fin) ↔ ((ran (2nd𝑋) ∩ 𝑉) ⊆ 𝑉 ∧ (ran (2nd𝑋) ∩ 𝑉) ∈ Fin))
246, 22, 23sylanbrc 586 . 2 (𝑋𝐸 → (ran (2nd𝑋) ∩ 𝑉) ∈ (𝒫 𝑉 ∩ Fin))
254, 24eqeltrd 2890 1 (𝑋𝐸 → (𝑊𝑋) ∈ (𝒫 𝑉 ∩ Fin))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   = wceq 1538   ∈ wcel 2111   ∪ cun 3881   ∩ cin 3882   ⊆ wss 3883  𝒫 cpw 4500   × cxp 5521  ran crn 5524   Fn wfn 6327  ⟶wf 6328  –onto→wfo 6330  ‘cfv 6332  (class class class)co 7145  2nd c2nd 7683  Fincfn 8510  0cc0 10544  ..^cfzo 13048  ♯chash 13706  Word cword 13877  mCNcmcn 32886  mVRcmvar 32887  mTCcmtc 32890  mExcmex 32893  mVarscmvrs 32895 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5158  ax-sep 5171  ax-nul 5178  ax-pow 5235  ax-pr 5299  ax-un 7454  ax-cnex 10600  ax-resscn 10601  ax-1cn 10602  ax-icn 10603  ax-addcl 10604  ax-addrcl 10605  ax-mulcl 10606  ax-mulrcl 10607  ax-mulcom 10608  ax-addass 10609  ax-mulass 10610  ax-distr 10611  ax-i2m1 10612  ax-1ne0 10613  ax-1rid 10614  ax-rnegex 10615  ax-rrecex 10616  ax-cnre 10617  ax-pre-lttri 10618  ax-pre-lttrn 10619  ax-pre-ltadd 10620  ax-pre-mulgt0 10621 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3444  df-sbc 3723  df-csb 3831  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4247  df-if 4429  df-pw 4502  df-sn 4529  df-pr 4531  df-tp 4533  df-op 4535  df-uni 4805  df-int 4843  df-iun 4887  df-br 5035  df-opab 5097  df-mpt 5115  df-tr 5141  df-id 5429  df-eprel 5434  df-po 5442  df-so 5443  df-fr 5482  df-we 5484  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-res 5535  df-ima 5536  df-pred 6123  df-ord 6169  df-on 6170  df-lim 6171  df-suc 6172  df-iota 6291  df-fun 6334  df-fn 6335  df-f 6336  df-f1 6337  df-fo 6338  df-f1o 6339  df-fv 6340  df-riota 7103  df-ov 7148  df-oprab 7149  df-mpo 7150  df-om 7574  df-1st 7684  df-2nd 7685  df-wrecs 7948  df-recs 8009  df-rdg 8047  df-1o 8103  df-er 8290  df-map 8409  df-en 8511  df-dom 8512  df-sdom 8513  df-fin 8514  df-card 9370  df-pnf 10684  df-mnf 10685  df-xr 10686  df-ltxr 10687  df-le 10688  df-sub 10879  df-neg 10880  df-nn 11644  df-n0 11904  df-z 11990  df-uz 12252  df-fz 12906  df-fzo 13049  df-hash 13707  df-word 13878  df-mrex 32912  df-mex 32913  df-mvrs 32915 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator