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

Theorem marepveval 19362
Description: An entry of a matrix with a replaced column. (Contributed by AV, 14-Feb-2019.) (Revised by AV, 26-Feb-2019.)
Hypotheses
Ref Expression
marepvfval.a  |-  A  =  ( N Mat  R )
marepvfval.b  |-  B  =  ( Base `  A
)
marepvfval.q  |-  Q  =  ( N matRepV  R )
marepvfval.v  |-  V  =  ( ( Base `  R
)  ^m  N )
Assertion
Ref Expression
marepveval  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  -> 
( I ( ( M Q C ) `
 K ) J )  =  if ( J  =  K , 
( C `  I
) ,  ( I M J ) ) )

Proof of Theorem marepveval
Dummy variables  i 
j are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 marepvfval.a . . . 4  |-  A  =  ( N Mat  R )
2 marepvfval.b . . . 4  |-  B  =  ( Base `  A
)
3 marepvfval.q . . . 4  |-  Q  =  ( N matRepV  R )
4 marepvfval.v . . . 4  |-  V  =  ( ( Base `  R
)  ^m  N )
51, 2, 3, 4marepvval 19361 . . 3  |-  ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N )  ->  ( ( M Q C ) `  K
)  =  ( i  e.  N ,  j  e.  N  |->  if ( j  =  K , 
( C `  i
) ,  ( i M j ) ) ) )
65adantr 463 . 2  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  -> 
( ( M Q C ) `  K
)  =  ( i  e.  N ,  j  e.  N  |->  if ( j  =  K , 
( C `  i
) ,  ( i M j ) ) ) )
7 simprl 756 . . 3  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  ->  I  e.  N )
8 simplrr 763 . . 3  |-  ( ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N )  /\  (
I  e.  N  /\  J  e.  N )
)  /\  i  =  I )  ->  J  e.  N )
9 fvex 5859 . . . . . 6  |-  ( C `
 i )  e. 
_V
109a1i 11 . . . . 5  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  -> 
( C `  i
)  e.  _V )
11 ovex 6306 . . . . . 6  |-  ( i M j )  e. 
_V
1211a1i 11 . . . . 5  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  -> 
( i M j )  e.  _V )
1310, 12ifcld 3928 . . . 4  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  ->  if ( j  =  K ,  ( C `  i ) ,  ( i M j ) )  e.  _V )
1413adantr 463 . . 3  |-  ( ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N )  /\  (
I  e.  N  /\  J  e.  N )
)  /\  ( i  =  I  /\  j  =  J ) )  ->  if ( j  =  K ,  ( C `  i ) ,  ( i M j ) )  e.  _V )
15 eqeq1 2406 . . . . . 6  |-  ( j  =  J  ->  (
j  =  K  <->  J  =  K ) )
1615adantl 464 . . . . 5  |-  ( ( i  =  I  /\  j  =  J )  ->  ( j  =  K  <-> 
J  =  K ) )
17 fveq2 5849 . . . . . 6  |-  ( i  =  I  ->  ( C `  i )  =  ( C `  I ) )
1817adantr 463 . . . . 5  |-  ( ( i  =  I  /\  j  =  J )  ->  ( C `  i
)  =  ( C `
 I ) )
19 oveq12 6287 . . . . 5  |-  ( ( i  =  I  /\  j  =  J )  ->  ( i M j )  =  ( I M J ) )
2016, 18, 19ifbieq12d 3912 . . . 4  |-  ( ( i  =  I  /\  j  =  J )  ->  if ( j  =  K ,  ( C `
 i ) ,  ( i M j ) )  =  if ( J  =  K ,  ( C `  I ) ,  ( I M J ) ) )
2120adantl 464 . . 3  |-  ( ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N )  /\  (
I  e.  N  /\  J  e.  N )
)  /\  ( i  =  I  /\  j  =  J ) )  ->  if ( j  =  K ,  ( C `  i ) ,  ( i M j ) )  =  if ( J  =  K , 
( C `  I
) ,  ( I M J ) ) )
227, 8, 14, 21ovmpt2dv2 6417 . 2  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  -> 
( ( ( M Q C ) `  K )  =  ( i  e.  N , 
j  e.  N  |->  if ( j  =  K ,  ( C `  i ) ,  ( i M j ) ) )  ->  (
I ( ( M Q C ) `  K ) J )  =  if ( J  =  K ,  ( C `  I ) ,  ( I M J ) ) ) )
236, 22mpd 15 1  |-  ( ( ( M  e.  B  /\  C  e.  V  /\  K  e.  N
)  /\  ( I  e.  N  /\  J  e.  N ) )  -> 
( I ( ( M Q C ) `
 K ) J )  =  if ( J  =  K , 
( C `  I
) ,  ( I M J ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    /\ w3a 974    = wceq 1405    e. wcel 1842   _Vcvv 3059   ifcif 3885   ` cfv 5569  (class class class)co 6278    |-> cmpt2 6280    ^m cmap 7457   Basecbs 14841   Mat cmat 19201   matRepV cmatrepV 19351
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1639  ax-4 1652  ax-5 1725  ax-6 1771  ax-7 1814  ax-8 1844  ax-9 1846  ax-10 1861  ax-11 1866  ax-12 1878  ax-13 2026  ax-ext 2380  ax-rep 4507  ax-sep 4517  ax-nul 4525  ax-pow 4572  ax-pr 4630  ax-un 6574
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 976  df-tru 1408  df-ex 1634  df-nf 1638  df-sb 1764  df-eu 2242  df-mo 2243  df-clab 2388  df-cleq 2394  df-clel 2397  df-nfc 2552  df-ne 2600  df-ral 2759  df-rex 2760  df-reu 2761  df-rab 2763  df-v 3061  df-sbc 3278  df-csb 3374  df-dif 3417  df-un 3419  df-in 3421  df-ss 3428  df-nul 3739  df-if 3886  df-pw 3957  df-sn 3973  df-pr 3975  df-op 3979  df-uni 4192  df-iun 4273  df-br 4396  df-opab 4454  df-mpt 4455  df-id 4738  df-xp 4829  df-rel 4830  df-cnv 4831  df-co 4832  df-dm 4833  df-rn 4834  df-res 4835  df-ima 4836  df-iota 5533  df-fun 5571  df-fn 5572  df-f 5573  df-f1 5574  df-fo 5575  df-f1o 5576  df-fv 5577  df-ov 6281  df-oprab 6282  df-mpt2 6283  df-1st 6784  df-2nd 6785  df-slot 14845  df-base 14846  df-mat 19202  df-marepv 19353
This theorem is referenced by:  ma1repveval  19365  1marepvsma1  19377
  Copyright terms: Public domain W3C validator