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

Theorem phpar 24369
Description: The parallelogram law for an inner product space. (Contributed by NM, 2-Apr-2007.) (New usage is discouraged.)
Hypotheses
Ref Expression
phpar.1  |-  X  =  ( BaseSet `  U )
phpar.2  |-  G  =  ( +v `  U
)
phpar.4  |-  S  =  ( .sOLD `  U )
phpar.6  |-  N  =  ( normCV `  U )
Assertion
Ref Expression
phpar  |-  ( ( U  e.  CPreHil OLD  /\  A  e.  X  /\  B  e.  X )  ->  ( ( ( N `
 ( A G B ) ) ^
2 )  +  ( ( N `  ( A G ( -u 1 S B ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `
 A ) ^
2 )  +  ( ( N `  B
) ^ 2 ) ) ) )

Proof of Theorem phpar
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 phpar.2 . . . . . . 7  |-  G  =  ( +v `  U
)
21vafval 24126 . . . . . 6  |-  G  =  ( 1st `  ( 1st `  U ) )
3 fvex 5802 . . . . . 6  |-  ( 1st `  ( 1st `  U
) )  e.  _V
42, 3eqeltri 2535 . . . . 5  |-  G  e. 
_V
5 phpar.4 . . . . . . 7  |-  S  =  ( .sOLD `  U )
65smfval 24128 . . . . . 6  |-  S  =  ( 2nd `  ( 1st `  U ) )
7 fvex 5802 . . . . . 6  |-  ( 2nd `  ( 1st `  U
) )  e.  _V
86, 7eqeltri 2535 . . . . 5  |-  S  e. 
_V
9 phpar.6 . . . . . . 7  |-  N  =  ( normCV `  U )
109nmcvfval 24130 . . . . . 6  |-  N  =  ( 2nd `  U
)
11 fvex 5802 . . . . . 6  |-  ( 2nd `  U )  e.  _V
1210, 11eqeltri 2535 . . . . 5  |-  N  e. 
_V
134, 8, 123pm3.2i 1166 . . . 4  |-  ( G  e.  _V  /\  S  e.  _V  /\  N  e. 
_V )
141, 5, 9phop 24363 . . . . . 6  |-  ( U  e.  CPreHil OLD  ->  U  = 
<. <. G ,  S >. ,  N >. )
1514eleq1d 2520 . . . . 5  |-  ( U  e.  CPreHil OLD  ->  ( U  e.  CPreHil OLD  <->  <. <. G ,  S >. ,  N >.  e.  CPreHil OLD ) )
1615ibi 241 . . . 4  |-  ( U  e.  CPreHil OLD  ->  <. <. G ,  S >. ,  N >.  e.  CPreHil
OLD )
17 phpar.1 . . . . . . 7  |-  X  =  ( BaseSet `  U )
1817, 1bafval 24127 . . . . . 6  |-  X  =  ran  G
1918isphg 24362 . . . . 5  |-  ( ( G  e.  _V  /\  S  e.  _V  /\  N  e.  _V )  ->  ( <. <. G ,  S >. ,  N >.  e.  CPreHil OLD  <->  (
<. <. G ,  S >. ,  N >.  e.  NrmCVec  /\  A. x  e.  X  A. y  e.  X  (
( ( N `  ( x G y ) ) ^ 2 )  +  ( ( N `  ( x G ( -u 1 S y ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  x ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) ) ) ) ) )
2019simplbda 624 . . . 4  |-  ( ( ( G  e.  _V  /\  S  e.  _V  /\  N  e.  _V )  /\  <. <. G ,  S >. ,  N >.  e.  CPreHil OLD )  ->  A. x  e.  X  A. y  e.  X  ( (
( N `  (
x G y ) ) ^ 2 )  +  ( ( N `
 ( x G ( -u 1 S y ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `
 x ) ^
2 )  +  ( ( N `  y
) ^ 2 ) ) ) )
2113, 16, 20sylancr 663 . . 3  |-  ( U  e.  CPreHil OLD  ->  A. x  e.  X  A. y  e.  X  ( (
( N `  (
x G y ) ) ^ 2 )  +  ( ( N `
 ( x G ( -u 1 S y ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `
 x ) ^
2 )  +  ( ( N `  y
) ^ 2 ) ) ) )
22213ad2ant1 1009 . 2  |-  ( ( U  e.  CPreHil OLD  /\  A  e.  X  /\  B  e.  X )  ->  A. x  e.  X  A. y  e.  X  ( ( ( N `
 ( x G y ) ) ^
2 )  +  ( ( N `  (
x G ( -u
1 S y ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  x
) ^ 2 )  +  ( ( N `
 y ) ^
2 ) ) ) )
23 oveq1 6200 . . . . . . . 8  |-  ( x  =  A  ->  (
x G y )  =  ( A G y ) )
2423fveq2d 5796 . . . . . . 7  |-  ( x  =  A  ->  ( N `  ( x G y ) )  =  ( N `  ( A G y ) ) )
2524oveq1d 6208 . . . . . 6  |-  ( x  =  A  ->  (
( N `  (
x G y ) ) ^ 2 )  =  ( ( N `
 ( A G y ) ) ^
2 ) )
26 oveq1 6200 . . . . . . . 8  |-  ( x  =  A  ->  (
x G ( -u
1 S y ) )  =  ( A G ( -u 1 S y ) ) )
2726fveq2d 5796 . . . . . . 7  |-  ( x  =  A  ->  ( N `  ( x G ( -u 1 S y ) ) )  =  ( N `
 ( A G ( -u 1 S y ) ) ) )
2827oveq1d 6208 . . . . . 6  |-  ( x  =  A  ->  (
( N `  (
x G ( -u
1 S y ) ) ) ^ 2 )  =  ( ( N `  ( A G ( -u 1 S y ) ) ) ^ 2 ) )
2925, 28oveq12d 6211 . . . . 5  |-  ( x  =  A  ->  (
( ( N `  ( x G y ) ) ^ 2 )  +  ( ( N `  ( x G ( -u 1 S y ) ) ) ^ 2 ) )  =  ( ( ( N `  ( A G y ) ) ^ 2 )  +  ( ( N `  ( A G ( -u
1 S y ) ) ) ^ 2 ) ) )
30 fveq2 5792 . . . . . . . 8  |-  ( x  =  A  ->  ( N `  x )  =  ( N `  A ) )
3130oveq1d 6208 . . . . . . 7  |-  ( x  =  A  ->  (
( N `  x
) ^ 2 )  =  ( ( N `
 A ) ^
2 ) )
3231oveq1d 6208 . . . . . 6  |-  ( x  =  A  ->  (
( ( N `  x ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) )  =  ( ( ( N `  A ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) ) )
3332oveq2d 6209 . . . . 5  |-  ( x  =  A  ->  (
2  x.  ( ( ( N `  x
) ^ 2 )  +  ( ( N `
 y ) ^
2 ) ) )  =  ( 2  x.  ( ( ( N `
 A ) ^
2 )  +  ( ( N `  y
) ^ 2 ) ) ) )
3429, 33eqeq12d 2473 . . . 4  |-  ( x  =  A  ->  (
( ( ( N `
 ( x G y ) ) ^
2 )  +  ( ( N `  (
x G ( -u
1 S y ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  x
) ^ 2 )  +  ( ( N `
 y ) ^
2 ) ) )  <-> 
( ( ( N `
 ( A G y ) ) ^
2 )  +  ( ( N `  ( A G ( -u 1 S y ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  A ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) ) ) ) )
35 oveq2 6201 . . . . . . . 8  |-  ( y  =  B  ->  ( A G y )  =  ( A G B ) )
3635fveq2d 5796 . . . . . . 7  |-  ( y  =  B  ->  ( N `  ( A G y ) )  =  ( N `  ( A G B ) ) )
3736oveq1d 6208 . . . . . 6  |-  ( y  =  B  ->  (
( N `  ( A G y ) ) ^ 2 )  =  ( ( N `  ( A G B ) ) ^ 2 ) )
38 oveq2 6201 . . . . . . . . 9  |-  ( y  =  B  ->  ( -u 1 S y )  =  ( -u 1 S B ) )
3938oveq2d 6209 . . . . . . . 8  |-  ( y  =  B  ->  ( A G ( -u 1 S y ) )  =  ( A G ( -u 1 S B ) ) )
4039fveq2d 5796 . . . . . . 7  |-  ( y  =  B  ->  ( N `  ( A G ( -u 1 S y ) ) )  =  ( N `
 ( A G ( -u 1 S B ) ) ) )
4140oveq1d 6208 . . . . . 6  |-  ( y  =  B  ->  (
( N `  ( A G ( -u 1 S y ) ) ) ^ 2 )  =  ( ( N `
 ( A G ( -u 1 S B ) ) ) ^ 2 ) )
4237, 41oveq12d 6211 . . . . 5  |-  ( y  =  B  ->  (
( ( N `  ( A G y ) ) ^ 2 )  +  ( ( N `
 ( A G ( -u 1 S y ) ) ) ^ 2 ) )  =  ( ( ( N `  ( A G B ) ) ^ 2 )  +  ( ( N `  ( A G ( -u
1 S B ) ) ) ^ 2 ) ) )
43 fveq2 5792 . . . . . . . 8  |-  ( y  =  B  ->  ( N `  y )  =  ( N `  B ) )
4443oveq1d 6208 . . . . . . 7  |-  ( y  =  B  ->  (
( N `  y
) ^ 2 )  =  ( ( N `
 B ) ^
2 ) )
4544oveq2d 6209 . . . . . 6  |-  ( y  =  B  ->  (
( ( N `  A ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) )  =  ( ( ( N `  A ) ^ 2 )  +  ( ( N `  B ) ^ 2 ) ) )
4645oveq2d 6209 . . . . 5  |-  ( y  =  B  ->  (
2  x.  ( ( ( N `  A
) ^ 2 )  +  ( ( N `
 y ) ^
2 ) ) )  =  ( 2  x.  ( ( ( N `
 A ) ^
2 )  +  ( ( N `  B
) ^ 2 ) ) ) )
4742, 46eqeq12d 2473 . . . 4  |-  ( y  =  B  ->  (
( ( ( N `
 ( A G y ) ) ^
2 )  +  ( ( N `  ( A G ( -u 1 S y ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  A ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) ) )  <->  ( (
( N `  ( A G B ) ) ^ 2 )  +  ( ( N `  ( A G ( -u
1 S B ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  A
) ^ 2 )  +  ( ( N `
 B ) ^
2 ) ) ) ) )
4834, 47rspc2v 3179 . . 3  |-  ( ( A  e.  X  /\  B  e.  X )  ->  ( A. x  e.  X  A. y  e.  X  ( ( ( N `  ( x G y ) ) ^ 2 )  +  ( ( N `  ( x G (
-u 1 S y ) ) ) ^
2 ) )  =  ( 2  x.  (
( ( N `  x ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) ) )  ->  ( (
( N `  ( A G B ) ) ^ 2 )  +  ( ( N `  ( A G ( -u
1 S B ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  A
) ^ 2 )  +  ( ( N `
 B ) ^
2 ) ) ) ) )
49483adant1 1006 . 2  |-  ( ( U  e.  CPreHil OLD  /\  A  e.  X  /\  B  e.  X )  ->  ( A. x  e.  X  A. y  e.  X  ( ( ( N `  ( x G y ) ) ^ 2 )  +  ( ( N `  ( x G (
-u 1 S y ) ) ) ^
2 ) )  =  ( 2  x.  (
( ( N `  x ) ^ 2 )  +  ( ( N `  y ) ^ 2 ) ) )  ->  ( (
( N `  ( A G B ) ) ^ 2 )  +  ( ( N `  ( A G ( -u
1 S B ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `  A
) ^ 2 )  +  ( ( N `
 B ) ^
2 ) ) ) ) )
5022, 49mpd 15 1  |-  ( ( U  e.  CPreHil OLD  /\  A  e.  X  /\  B  e.  X )  ->  ( ( ( N `
 ( A G B ) ) ^
2 )  +  ( ( N `  ( A G ( -u 1 S B ) ) ) ^ 2 ) )  =  ( 2  x.  ( ( ( N `
 A ) ^
2 )  +  ( ( N `  B
) ^ 2 ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ w3a 965    = wceq 1370    e. wcel 1758   A.wral 2795   _Vcvv 3071   <.cop 3984   ` cfv 5519  (class class class)co 6193   1stc1st 6678   2ndc2nd 6679   1c1 9387    + caddc 9389    x. cmul 9391   -ucneg 9700   2c2 10475   ^cexp 11975   NrmCVeccnv 24107   +vcpv 24108   BaseSetcba 24109   .sOLDcns 24110   normCVcnmcv 24113   CPreHil OLDccphlo 24357
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-8 1760  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430  ax-rep 4504  ax-sep 4514  ax-nul 4522  ax-pow 4571  ax-pr 4632  ax-un 6475
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-nfc 2601  df-ne 2646  df-ral 2800  df-rex 2801  df-reu 2802  df-rab 2804  df-v 3073  df-sbc 3288  df-csb 3390  df-dif 3432  df-un 3434  df-in 3436  df-ss 3443  df-nul 3739  df-if 3893  df-sn 3979  df-pr 3981  df-op 3985  df-uni 4193  df-iun 4274  df-br 4394  df-opab 4452  df-mpt 4453  df-id 4737  df-xp 4947  df-rel 4948  df-cnv 4949  df-co 4950  df-dm 4951  df-rn 4952  df-res 4953  df-ima 4954  df-iota 5482  df-fun 5521  df-fn 5522  df-f 5523  df-f1 5524  df-fo 5525  df-f1o 5526  df-fv 5527  df-ov 6196  df-oprab 6197  df-1st 6680  df-2nd 6681  df-vc 24069  df-nv 24115  df-va 24118  df-ba 24119  df-sm 24120  df-0v 24121  df-nmcv 24123  df-ph 24358
This theorem is referenced by:  ip0i  24370  hlpar  24443
  Copyright terms: Public domain W3C validator