MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  uvcfval Structured version   Unicode version

Theorem uvcfval 18221
Description: Value of the unit-vector generator for a free module. (Contributed by Stefan O'Rear, 1-Feb-2015.)
Hypotheses
Ref Expression
uvcfval.u  |-  U  =  ( R unitVec  I )
uvcfval.o  |-  .1.  =  ( 1r `  R )
uvcfval.z  |-  .0.  =  ( 0g `  R )
Assertion
Ref Expression
uvcfval  |-  ( ( R  e.  V  /\  I  e.  W )  ->  U  =  ( j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  )
) ) )
Distinct variable groups:    .1. , j,
k    R, j, k    j, I, k    .0. , j, k
Allowed substitution hints:    U( j, k)    V( j, k)    W( j, k)

Proof of Theorem uvcfval
Dummy variables  i 
r are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 uvcfval.u . 2  |-  U  =  ( R unitVec  I )
2 elex 2993 . . 3  |-  ( R  e.  V  ->  R  e.  _V )
3 elex 2993 . . 3  |-  ( I  e.  W  ->  I  e.  _V )
4 df-uvc 18220 . . . . 5  |- unitVec  =  ( r  e.  _V , 
i  e.  _V  |->  ( j  e.  i  |->  ( k  e.  i  |->  if ( k  =  j ,  ( 1r `  r ) ,  ( 0g `  r ) ) ) ) )
54a1i 11 . . . 4  |-  ( ( R  e.  _V  /\  I  e.  _V )  -> unitVec 
=  ( r  e. 
_V ,  i  e. 
_V  |->  ( j  e.  i  |->  ( k  e.  i  |->  if ( k  =  j ,  ( 1r `  r ) ,  ( 0g `  r ) ) ) ) ) )
6 simpr 461 . . . . . 6  |-  ( ( r  =  R  /\  i  =  I )  ->  i  =  I )
7 fveq2 5703 . . . . . . . . . 10  |-  ( r  =  R  ->  ( 1r `  r )  =  ( 1r `  R
) )
8 uvcfval.o . . . . . . . . . 10  |-  .1.  =  ( 1r `  R )
97, 8syl6eqr 2493 . . . . . . . . 9  |-  ( r  =  R  ->  ( 1r `  r )  =  .1.  )
10 fveq2 5703 . . . . . . . . . 10  |-  ( r  =  R  ->  ( 0g `  r )  =  ( 0g `  R
) )
11 uvcfval.z . . . . . . . . . 10  |-  .0.  =  ( 0g `  R )
1210, 11syl6eqr 2493 . . . . . . . . 9  |-  ( r  =  R  ->  ( 0g `  r )  =  .0.  )
139, 12ifeq12d 3821 . . . . . . . 8  |-  ( r  =  R  ->  if ( k  =  j ,  ( 1r `  r ) ,  ( 0g `  r ) )  =  if ( k  =  j ,  .1.  ,  .0.  )
)
1413adantr 465 . . . . . . 7  |-  ( ( r  =  R  /\  i  =  I )  ->  if ( k  =  j ,  ( 1r
`  r ) ,  ( 0g `  r
) )  =  if ( k  =  j ,  .1.  ,  .0.  ) )
156, 14mpteq12dv 4382 . . . . . 6  |-  ( ( r  =  R  /\  i  =  I )  ->  ( k  e.  i 
|->  if ( k  =  j ,  ( 1r
`  r ) ,  ( 0g `  r
) ) )  =  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  ) ) )
166, 15mpteq12dv 4382 . . . . 5  |-  ( ( r  =  R  /\  i  =  I )  ->  ( j  e.  i 
|->  ( k  e.  i 
|->  if ( k  =  j ,  ( 1r
`  r ) ,  ( 0g `  r
) ) ) )  =  ( j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  ) ) ) )
1716adantl 466 . . . 4  |-  ( ( ( R  e.  _V  /\  I  e.  _V )  /\  ( r  =  R  /\  i  =  I ) )  ->  (
j  e.  i  |->  ( k  e.  i  |->  if ( k  =  j ,  ( 1r `  r ) ,  ( 0g `  r ) ) ) )  =  ( j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  ) ) ) )
18 simpl 457 . . . 4  |-  ( ( R  e.  _V  /\  I  e.  _V )  ->  R  e.  _V )
19 simpr 461 . . . 4  |-  ( ( R  e.  _V  /\  I  e.  _V )  ->  I  e.  _V )
20 mptexg 5959 . . . . 5  |-  ( I  e.  _V  ->  (
j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  ) ) )  e. 
_V )
2120adantl 466 . . . 4  |-  ( ( R  e.  _V  /\  I  e.  _V )  ->  ( j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  ) ) )  e. 
_V )
225, 17, 18, 19, 21ovmpt2d 6230 . . 3  |-  ( ( R  e.  _V  /\  I  e.  _V )  ->  ( R unitVec  I )  =  ( j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  ) ) ) )
232, 3, 22syl2an 477 . 2  |-  ( ( R  e.  V  /\  I  e.  W )  ->  ( R unitVec  I )  =  ( j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  ) ) ) )
241, 23syl5eq 2487 1  |-  ( ( R  e.  V  /\  I  e.  W )  ->  U  =  ( j  e.  I  |->  ( k  e.  I  |->  if ( k  =  j ,  .1.  ,  .0.  )
) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1369    e. wcel 1756   _Vcvv 2984   ifcif 3803    e. cmpt 4362   ` cfv 5430  (class class class)co 6103    e. cmpt2 6105   0gc0g 14390   1rcur 16615   unitVec cuvc 18219
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-rep 4415  ax-sep 4425  ax-nul 4433  ax-pr 4543
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2620  df-ral 2732  df-rex 2733  df-reu 2734  df-rab 2736  df-v 2986  df-sbc 3199  df-csb 3301  df-dif 3343  df-un 3345  df-in 3347  df-ss 3354  df-nul 3650  df-if 3804  df-sn 3890  df-pr 3892  df-op 3896  df-uni 4104  df-iun 4185  df-br 4305  df-opab 4363  df-mpt 4364  df-id 4648  df-xp 4858  df-rel 4859  df-cnv 4860  df-co 4861  df-dm 4862  df-rn 4863  df-res 4864  df-ima 4865  df-iota 5393  df-fun 5432  df-fn 5433  df-f 5434  df-f1 5435  df-fo 5436  df-f1o 5437  df-fv 5438  df-ov 6106  df-oprab 6107  df-mpt2 6108  df-uvc 18220
This theorem is referenced by:  uvcval  18222  uvcff  18228
  Copyright terms: Public domain W3C validator