Users' Mathboxes Mathbox for Norm Megill < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  hdmap1cbv Unicode version

Theorem hdmap1cbv 32286
Description: Frequently used lemma to change bound variables in  L hypothesis. (Contributed by NM, 15-May-2015.)
Hypothesis
Ref Expression
hdmap1cbv.l  |-  L  =  ( x  e.  _V  |->  if ( ( 2nd `  x
)  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  x ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  x ) ) R h ) } ) ) ) ) )
Assertion
Ref Expression
hdmap1cbv  |-  L  =  ( y  e.  _V  |->  if ( ( 2nd `  y
)  =  .0.  ,  Q ,  ( iota_ i  e.  D ( ( M `  ( N `
 { ( 2nd `  y ) } ) )  =  ( J `
 { i } )  /\  ( M `
 ( N `  { ( ( 1st `  ( 1st `  y
) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  {
( ( 2nd `  ( 1st `  y ) ) R i ) } ) ) ) ) )
Distinct variable groups:    h, i, x, y, D    h, J, i, x, y    h, M, i, x, y    h, N, i, x, y    x,  .0. , y    x, Q, y    R, h, i, x, y    .- , h, i, x, y
Allowed substitution hints:    Q( h, i)    L( x, y, h, i)    .0. ( h, i)

Proof of Theorem hdmap1cbv
StepHypRef Expression
1 hdmap1cbv.l . 2  |-  L  =  ( x  e.  _V  |->  if ( ( 2nd `  x
)  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  x ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  x ) ) R h ) } ) ) ) ) )
2 fveq2 5687 . . . . 5  |-  ( x  =  y  ->  ( 2nd `  x )  =  ( 2nd `  y
) )
32eqeq1d 2412 . . . 4  |-  ( x  =  y  ->  (
( 2nd `  x
)  =  .0.  <->  ( 2nd `  y )  =  .0.  ) )
42sneqd 3787 . . . . . . . . 9  |-  ( x  =  y  ->  { ( 2nd `  x ) }  =  { ( 2nd `  y ) } )
54fveq2d 5691 . . . . . . . 8  |-  ( x  =  y  ->  ( N `  { ( 2nd `  x ) } )  =  ( N `
 { ( 2nd `  y ) } ) )
65fveq2d 5691 . . . . . . 7  |-  ( x  =  y  ->  ( M `  ( N `  { ( 2nd `  x
) } ) )  =  ( M `  ( N `  { ( 2nd `  y ) } ) ) )
76eqeq1d 2412 . . . . . 6  |-  ( x  =  y  ->  (
( M `  ( N `  { ( 2nd `  x ) } ) )  =  ( J `  { h } )  <->  ( M `  ( N `  {
( 2nd `  y
) } ) )  =  ( J `  { h } ) ) )
8 fveq2 5687 . . . . . . . . . . . 12  |-  ( x  =  y  ->  ( 1st `  x )  =  ( 1st `  y
) )
98fveq2d 5691 . . . . . . . . . . 11  |-  ( x  =  y  ->  ( 1st `  ( 1st `  x
) )  =  ( 1st `  ( 1st `  y ) ) )
109, 2oveq12d 6058 . . . . . . . . . 10  |-  ( x  =  y  ->  (
( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) )  =  ( ( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) )
1110sneqd 3787 . . . . . . . . 9  |-  ( x  =  y  ->  { ( ( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) ) }  =  { ( ( 1st `  ( 1st `  y
) )  .-  ( 2nd `  y ) ) } )
1211fveq2d 5691 . . . . . . . 8  |-  ( x  =  y  ->  ( N `  { (
( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) ) } )  =  ( N `  { ( ( 1st `  ( 1st `  y
) )  .-  ( 2nd `  y ) ) } ) )
1312fveq2d 5691 . . . . . . 7  |-  ( x  =  y  ->  ( M `  ( N `  { ( ( 1st `  ( 1st `  x
) )  .-  ( 2nd `  x ) ) } ) )  =  ( M `  ( N `  { (
( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) ) )
148fveq2d 5691 . . . . . . . . . 10  |-  ( x  =  y  ->  ( 2nd `  ( 1st `  x
) )  =  ( 2nd `  ( 1st `  y ) ) )
1514oveq1d 6055 . . . . . . . . 9  |-  ( x  =  y  ->  (
( 2nd `  ( 1st `  x ) ) R h )  =  ( ( 2nd `  ( 1st `  y ) ) R h ) )
1615sneqd 3787 . . . . . . . 8  |-  ( x  =  y  ->  { ( ( 2nd `  ( 1st `  x ) ) R h ) }  =  { ( ( 2nd `  ( 1st `  y ) ) R h ) } )
1716fveq2d 5691 . . . . . . 7  |-  ( x  =  y  ->  ( J `  { (
( 2nd `  ( 1st `  x ) ) R h ) } )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } ) )
1813, 17eqeq12d 2418 . . . . . 6  |-  ( x  =  y  ->  (
( M `  ( N `  { (
( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  x ) ) R h ) } )  <-> 
( M `  ( N `  { (
( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } ) ) )
197, 18anbi12d 692 . . . . 5  |-  ( x  =  y  ->  (
( ( M `  ( N `  { ( 2nd `  x ) } ) )  =  ( J `  {
h } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  x ) )  .-  ( 2nd `  x ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  x
) ) R h ) } ) )  <-> 
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
h } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R h ) } ) ) ) )
2019riotabidv 6510 . . . 4  |-  ( x  =  y  ->  ( iota_ h  e.  D ( ( M `  ( N `  { ( 2nd `  x ) } ) )  =  ( J `  { h } )  /\  ( M `  ( N `  { ( ( 1st `  ( 1st `  x
) )  .-  ( 2nd `  x ) ) } ) )  =  ( J `  {
( ( 2nd `  ( 1st `  x ) ) R h ) } ) ) )  =  ( iota_ h  e.  D
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
h } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R h ) } ) ) ) )
213, 20ifbieq2d 3719 . . 3  |-  ( x  =  y  ->  if ( ( 2nd `  x
)  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  x ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  x ) ) R h ) } ) ) ) )  =  if ( ( 2nd `  y )  =  .0. 
,  Q ,  (
iota_ h  e.  D
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
h } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R h ) } ) ) ) ) )
2221cbvmptv 4260 . 2  |-  ( x  e.  _V  |->  if ( ( 2nd `  x
)  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  x ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  x ) ) 
.-  ( 2nd `  x
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  x ) ) R h ) } ) ) ) ) )  =  ( y  e. 
_V  |->  if ( ( 2nd `  y )  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `
 ( N `  { ( 2nd `  y
) } ) )  =  ( J `  { h } )  /\  ( M `  ( N `  { ( ( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } ) ) ) ) )
23 sneq 3785 . . . . . . . 8  |-  ( h  =  i  ->  { h }  =  { i } )
2423fveq2d 5691 . . . . . . 7  |-  ( h  =  i  ->  ( J `  { h } )  =  ( J `  { i } ) )
2524eqeq2d 2415 . . . . . 6  |-  ( h  =  i  ->  (
( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  { h } )  <->  ( M `  ( N `  {
( 2nd `  y
) } ) )  =  ( J `  { i } ) ) )
26 oveq2 6048 . . . . . . . . 9  |-  ( h  =  i  ->  (
( 2nd `  ( 1st `  y ) ) R h )  =  ( ( 2nd `  ( 1st `  y ) ) R i ) )
2726sneqd 3787 . . . . . . . 8  |-  ( h  =  i  ->  { ( ( 2nd `  ( 1st `  y ) ) R h ) }  =  { ( ( 2nd `  ( 1st `  y ) ) R i ) } )
2827fveq2d 5691 . . . . . . 7  |-  ( h  =  i  ->  ( J `  { (
( 2nd `  ( 1st `  y ) ) R h ) } )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R i ) } ) )
2928eqeq2d 2415 . . . . . 6  |-  ( h  =  i  ->  (
( M `  ( N `  { (
( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } )  <-> 
( M `  ( N `  { (
( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R i ) } ) ) )
3025, 29anbi12d 692 . . . . 5  |-  ( h  =  i  ->  (
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
h } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R h ) } ) )  <-> 
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
i } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R i ) } ) ) ) )
3130cbvriotav 6520 . . . 4  |-  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  y ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } ) ) )  =  (
iota_ i  e.  D
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
i } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R i ) } ) ) )
32 ifeq2 3704 . . . 4  |-  ( (
iota_ h  e.  D
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
h } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R h ) } ) ) )  =  ( iota_ i  e.  D ( ( M `  ( N `
 { ( 2nd `  y ) } ) )  =  ( J `
 { i } )  /\  ( M `
 ( N `  { ( ( 1st `  ( 1st `  y
) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  {
( ( 2nd `  ( 1st `  y ) ) R i ) } ) ) )  ->  if ( ( 2nd `  y
)  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  y ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } ) ) ) )  =  if ( ( 2nd `  y )  =  .0. 
,  Q ,  (
iota_ i  e.  D
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
i } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R i ) } ) ) ) ) )
3331, 32ax-mp 8 . . 3  |-  if ( ( 2nd `  y
)  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  y ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } ) ) ) )  =  if ( ( 2nd `  y )  =  .0. 
,  Q ,  (
iota_ i  e.  D
( ( M `  ( N `  { ( 2nd `  y ) } ) )  =  ( J `  {
i } )  /\  ( M `  ( N `
 { ( ( 1st `  ( 1st `  y ) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  { ( ( 2nd `  ( 1st `  y
) ) R i ) } ) ) ) )
3433mpteq2i 4252 . 2  |-  ( y  e.  _V  |->  if ( ( 2nd `  y
)  =  .0.  ,  Q ,  ( iota_ h  e.  D ( ( M `  ( N `
 { ( 2nd `  y ) } ) )  =  ( J `
 { h }
)  /\  ( M `  ( N `  {
( ( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R h ) } ) ) ) ) )  =  ( y  e. 
_V  |->  if ( ( 2nd `  y )  =  .0.  ,  Q ,  ( iota_ i  e.  D ( ( M `
 ( N `  { ( 2nd `  y
) } ) )  =  ( J `  { i } )  /\  ( M `  ( N `  { ( ( 1st `  ( 1st `  y ) ) 
.-  ( 2nd `  y
) ) } ) )  =  ( J `
 { ( ( 2nd `  ( 1st `  y ) ) R i ) } ) ) ) ) )
351, 22, 343eqtri 2428 1  |-  L  =  ( y  e.  _V  |->  if ( ( 2nd `  y
)  =  .0.  ,  Q ,  ( iota_ i  e.  D ( ( M `  ( N `
 { ( 2nd `  y ) } ) )  =  ( J `
 { i } )  /\  ( M `
 ( N `  { ( ( 1st `  ( 1st `  y
) )  .-  ( 2nd `  y ) ) } ) )  =  ( J `  {
( ( 2nd `  ( 1st `  y ) ) R i ) } ) ) ) ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 359    = wceq 1649   _Vcvv 2916   ifcif 3699   {csn 3774    e. cmpt 4226   ` cfv 5413  (class class class)co 6040   1stc1st 6306   2ndc2nd 6307   iota_crio 6501
This theorem is referenced by:  hdmap1valc  32287  hdmap1eu  32309  hdmap1euOLDN  32310
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2258  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ral 2671  df-rex 2672  df-reu 2673  df-rab 2675  df-v 2918  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-sn 3780  df-pr 3781  df-op 3783  df-uni 3976  df-br 4173  df-opab 4227  df-mpt 4228  df-iota 5377  df-fv 5421  df-ov 6043  df-riota 6508
  Copyright terms: Public domain W3C validator