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

Theorem mexval 32810
 Description: The set of expressions, which are pairs whose first element is a typecode, and whose second element is a raw expression. (Contributed by Mario Carneiro, 18-Jul-2016.)
Hypotheses
Ref Expression
mexval.k 𝐾 = (mTC‘𝑇)
mexval.e 𝐸 = (mEx‘𝑇)
mexval.r 𝑅 = (mREx‘𝑇)
Assertion
Ref Expression
mexval 𝐸 = (𝐾 × 𝑅)

Proof of Theorem mexval
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 mexval.e . 2 𝐸 = (mEx‘𝑇)
2 fveq2 6661 . . . . . 6 (𝑡 = 𝑇 → (mTC‘𝑡) = (mTC‘𝑇))
3 mexval.k . . . . . 6 𝐾 = (mTC‘𝑇)
42, 3eqtr4di 2877 . . . . 5 (𝑡 = 𝑇 → (mTC‘𝑡) = 𝐾)
5 fveq2 6661 . . . . . 6 (𝑡 = 𝑇 → (mREx‘𝑡) = (mREx‘𝑇))
6 mexval.r . . . . . 6 𝑅 = (mREx‘𝑇)
75, 6eqtr4di 2877 . . . . 5 (𝑡 = 𝑇 → (mREx‘𝑡) = 𝑅)
84, 7xpeq12d 5573 . . . 4 (𝑡 = 𝑇 → ((mTC‘𝑡) × (mREx‘𝑡)) = (𝐾 × 𝑅))
9 df-mex 32795 . . . 4 mEx = (𝑡 ∈ V ↦ ((mTC‘𝑡) × (mREx‘𝑡)))
10 fvex 6674 . . . . 5 (mTC‘𝑡) ∈ V
11 fvex 6674 . . . . 5 (mREx‘𝑡) ∈ V
1210, 11xpex 7470 . . . 4 ((mTC‘𝑡) × (mREx‘𝑡)) ∈ V
138, 9, 12fvmpt3i 6764 . . 3 (𝑇 ∈ V → (mEx‘𝑇) = (𝐾 × 𝑅))
14 xp0 6002 . . . . 5 (𝐾 × ∅) = ∅
1514eqcomi 2833 . . . 4 ∅ = (𝐾 × ∅)
16 fvprc 6654 . . . 4 𝑇 ∈ V → (mEx‘𝑇) = ∅)
17 fvprc 6654 . . . . . 6 𝑇 ∈ V → (mREx‘𝑇) = ∅)
186, 17syl5eq 2871 . . . . 5 𝑇 ∈ V → 𝑅 = ∅)
1918xpeq2d 5572 . . . 4 𝑇 ∈ V → (𝐾 × 𝑅) = (𝐾 × ∅))
2015, 16, 193eqtr4a 2885 . . 3 𝑇 ∈ V → (mEx‘𝑇) = (𝐾 × 𝑅))
2113, 20pm2.61i 185 . 2 (mEx‘𝑇) = (𝐾 × 𝑅)
221, 21eqtri 2847 1 𝐸 = (𝐾 × 𝑅)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   = wceq 1538   ∈ wcel 2115  Vcvv 3480  ∅c0 4276   × cxp 5540  ‘cfv 6343  mTCcmtc 32772  mRExcmrex 32774  mExcmex 32775 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 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5189  ax-nul 5196  ax-pow 5253  ax-pr 5317  ax-un 7455 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ral 3138  df-rex 3139  df-rab 3142  df-v 3482  df-sbc 3759  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-nul 4277  df-if 4451  df-pw 4524  df-sn 4551  df-pr 4553  df-op 4557  df-uni 4825  df-br 5053  df-opab 5115  df-mpt 5133  df-id 5447  df-xp 5548  df-rel 5549  df-cnv 5550  df-co 5551  df-dm 5552  df-iota 6302  df-fun 6345  df-fv 6351  df-mex 32795 This theorem is referenced by:  mexval2  32811  msubff  32838  msubco  32839  msubff1  32864  mvhf  32866  msubvrs  32868
 Copyright terms: Public domain W3C validator