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

Theorem msubffval 31727
Description: A substitution applied to an expression. (Contributed by Mario Carneiro, 18-Jul-2016.)
Hypotheses
Ref Expression
msubffval.v 𝑉 = (mVR‘𝑇)
msubffval.r 𝑅 = (mREx‘𝑇)
msubffval.s 𝑆 = (mSubst‘𝑇)
msubffval.e 𝐸 = (mEx‘𝑇)
msubffval.o 𝑂 = (mRSubst‘𝑇)
Assertion
Ref Expression
msubffval (𝑇𝑊𝑆 = (𝑓 ∈ (𝑅pm 𝑉) ↦ (𝑒𝐸 ↦ ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩)))
Distinct variable groups:   𝑒,𝑓,𝐸   𝑒,𝑂,𝑓   𝑅,𝑒,𝑓   𝑇,𝑒,𝑓   𝑒,𝑉,𝑓
Allowed substitution hints:   𝑆(𝑒,𝑓)   𝑊(𝑒,𝑓)

Proof of Theorem msubffval
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 elex 3352 . 2 (𝑇𝑊𝑇 ∈ V)
2 msubffval.s . . 3 𝑆 = (mSubst‘𝑇)
3 fveq2 6352 . . . . . . 7 (𝑡 = 𝑇 → (mREx‘𝑡) = (mREx‘𝑇))
4 msubffval.r . . . . . . 7 𝑅 = (mREx‘𝑇)
53, 4syl6eqr 2812 . . . . . 6 (𝑡 = 𝑇 → (mREx‘𝑡) = 𝑅)
6 fveq2 6352 . . . . . . 7 (𝑡 = 𝑇 → (mVR‘𝑡) = (mVR‘𝑇))
7 msubffval.v . . . . . . 7 𝑉 = (mVR‘𝑇)
86, 7syl6eqr 2812 . . . . . 6 (𝑡 = 𝑇 → (mVR‘𝑡) = 𝑉)
95, 8oveq12d 6831 . . . . 5 (𝑡 = 𝑇 → ((mREx‘𝑡) ↑pm (mVR‘𝑡)) = (𝑅pm 𝑉))
10 fveq2 6352 . . . . . . 7 (𝑡 = 𝑇 → (mEx‘𝑡) = (mEx‘𝑇))
11 msubffval.e . . . . . . 7 𝐸 = (mEx‘𝑇)
1210, 11syl6eqr 2812 . . . . . 6 (𝑡 = 𝑇 → (mEx‘𝑡) = 𝐸)
13 fveq2 6352 . . . . . . . . . 10 (𝑡 = 𝑇 → (mRSubst‘𝑡) = (mRSubst‘𝑇))
14 msubffval.o . . . . . . . . . 10 𝑂 = (mRSubst‘𝑇)
1513, 14syl6eqr 2812 . . . . . . . . 9 (𝑡 = 𝑇 → (mRSubst‘𝑡) = 𝑂)
1615fveq1d 6354 . . . . . . . 8 (𝑡 = 𝑇 → ((mRSubst‘𝑡)‘𝑓) = (𝑂𝑓))
1716fveq1d 6354 . . . . . . 7 (𝑡 = 𝑇 → (((mRSubst‘𝑡)‘𝑓)‘(2nd𝑒)) = ((𝑂𝑓)‘(2nd𝑒)))
1817opeq2d 4560 . . . . . 6 (𝑡 = 𝑇 → ⟨(1st𝑒), (((mRSubst‘𝑡)‘𝑓)‘(2nd𝑒))⟩ = ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩)
1912, 18mpteq12dv 4885 . . . . 5 (𝑡 = 𝑇 → (𝑒 ∈ (mEx‘𝑡) ↦ ⟨(1st𝑒), (((mRSubst‘𝑡)‘𝑓)‘(2nd𝑒))⟩) = (𝑒𝐸 ↦ ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩))
209, 19mpteq12dv 4885 . . . 4 (𝑡 = 𝑇 → (𝑓 ∈ ((mREx‘𝑡) ↑pm (mVR‘𝑡)) ↦ (𝑒 ∈ (mEx‘𝑡) ↦ ⟨(1st𝑒), (((mRSubst‘𝑡)‘𝑓)‘(2nd𝑒))⟩)) = (𝑓 ∈ (𝑅pm 𝑉) ↦ (𝑒𝐸 ↦ ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩)))
21 df-msub 31695 . . . 4 mSubst = (𝑡 ∈ V ↦ (𝑓 ∈ ((mREx‘𝑡) ↑pm (mVR‘𝑡)) ↦ (𝑒 ∈ (mEx‘𝑡) ↦ ⟨(1st𝑒), (((mRSubst‘𝑡)‘𝑓)‘(2nd𝑒))⟩)))
22 ovex 6841 . . . . 5 (𝑅pm 𝑉) ∈ V
2322mptex 6650 . . . 4 (𝑓 ∈ (𝑅pm 𝑉) ↦ (𝑒𝐸 ↦ ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩)) ∈ V
2420, 21, 23fvmpt 6444 . . 3 (𝑇 ∈ V → (mSubst‘𝑇) = (𝑓 ∈ (𝑅pm 𝑉) ↦ (𝑒𝐸 ↦ ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩)))
252, 24syl5eq 2806 . 2 (𝑇 ∈ V → 𝑆 = (𝑓 ∈ (𝑅pm 𝑉) ↦ (𝑒𝐸 ↦ ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩)))
261, 25syl 17 1 (𝑇𝑊𝑆 = (𝑓 ∈ (𝑅pm 𝑉) ↦ (𝑒𝐸 ↦ ⟨(1st𝑒), ((𝑂𝑓)‘(2nd𝑒))⟩)))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1632  wcel 2139  Vcvv 3340  cop 4327  cmpt 4881  cfv 6049  (class class class)co 6813  1st c1st 7331  2nd c2nd 7332  pm cpm 8024  mVRcmvar 31665  mRExcmrex 31670  mExcmex 31671  mRSubstcmrsub 31674  mSubstcmsub 31675
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pr 5055
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-reu 3057  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-ov 6816  df-msub 31695
This theorem is referenced by:  msubfval  31728  elmsubrn  31732  msubrn  31733  msubff  31734
  Copyright terms: Public domain W3C validator