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

Theorem phpar 29214
Description: The parallelogram law for an inner product space. (Contributed by NM, 2-Apr-2007.) (New usage is discouraged.)
Hypotheses
Ref Expression
phpar.1 𝑋 = (BaseSet‘𝑈)
phpar.2 𝐺 = ( +𝑣𝑈)
phpar.4 𝑆 = ( ·𝑠OLD𝑈)
phpar.6 𝑁 = (normCV𝑈)
Assertion
Ref Expression
phpar ((𝑈 ∈ CPreHilOLD𝐴𝑋𝐵𝑋) → (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2))))

Proof of Theorem phpar
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 phpar.2 . . . . . 6 𝐺 = ( +𝑣𝑈)
21fvexi 6806 . . . . 5 𝐺 ∈ V
3 phpar.4 . . . . . 6 𝑆 = ( ·𝑠OLD𝑈)
43fvexi 6806 . . . . 5 𝑆 ∈ V
5 phpar.6 . . . . . 6 𝑁 = (normCV𝑈)
65fvexi 6806 . . . . 5 𝑁 ∈ V
72, 4, 63pm3.2i 1337 . . . 4 (𝐺 ∈ V ∧ 𝑆 ∈ V ∧ 𝑁 ∈ V)
81, 3, 5phop 29208 . . . . . 6 (𝑈 ∈ CPreHilOLD𝑈 = ⟨⟨𝐺, 𝑆⟩, 𝑁⟩)
98eleq1d 2818 . . . . 5 (𝑈 ∈ CPreHilOLD → (𝑈 ∈ CPreHilOLD ↔ ⟨⟨𝐺, 𝑆⟩, 𝑁⟩ ∈ CPreHilOLD))
109ibi 266 . . . 4 (𝑈 ∈ CPreHilOLD → ⟨⟨𝐺, 𝑆⟩, 𝑁⟩ ∈ CPreHilOLD)
11 phpar.1 . . . . . . 7 𝑋 = (BaseSet‘𝑈)
1211, 1bafval 28994 . . . . . 6 𝑋 = ran 𝐺
1312isphg 29207 . . . . 5 ((𝐺 ∈ V ∧ 𝑆 ∈ V ∧ 𝑁 ∈ V) → (⟨⟨𝐺, 𝑆⟩, 𝑁⟩ ∈ CPreHilOLD ↔ (⟨⟨𝐺, 𝑆⟩, 𝑁⟩ ∈ NrmCVec ∧ ∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))))))
1413simplbda 499 . . . 4 (((𝐺 ∈ V ∧ 𝑆 ∈ V ∧ 𝑁 ∈ V) ∧ ⟨⟨𝐺, 𝑆⟩, 𝑁⟩ ∈ CPreHilOLD) → ∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))))
157, 10, 14sylancr 586 . . 3 (𝑈 ∈ CPreHilOLD → ∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))))
16153ad2ant1 1131 . 2 ((𝑈 ∈ CPreHilOLD𝐴𝑋𝐵𝑋) → ∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))))
17 fvoveq1 7318 . . . . . . 7 (𝑥 = 𝐴 → (𝑁‘(𝑥𝐺𝑦)) = (𝑁‘(𝐴𝐺𝑦)))
1817oveq1d 7310 . . . . . 6 (𝑥 = 𝐴 → ((𝑁‘(𝑥𝐺𝑦))↑2) = ((𝑁‘(𝐴𝐺𝑦))↑2))
19 fvoveq1 7318 . . . . . . 7 (𝑥 = 𝐴 → (𝑁‘(𝑥𝐺(-1𝑆𝑦))) = (𝑁‘(𝐴𝐺(-1𝑆𝑦))))
2019oveq1d 7310 . . . . . 6 (𝑥 = 𝐴 → ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2) = ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2))
2118, 20oveq12d 7313 . . . . 5 (𝑥 = 𝐴 → (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)))
22 fveq2 6792 . . . . . . . 8 (𝑥 = 𝐴 → (𝑁𝑥) = (𝑁𝐴))
2322oveq1d 7310 . . . . . . 7 (𝑥 = 𝐴 → ((𝑁𝑥)↑2) = ((𝑁𝐴)↑2))
2423oveq1d 7310 . . . . . 6 (𝑥 = 𝐴 → (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2)) = (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)))
2524oveq2d 7311 . . . . 5 (𝑥 = 𝐴 → (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))))
2621, 25eqeq12d 2749 . . . 4 (𝑥 = 𝐴 → ((((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) ↔ (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)))))
27 oveq2 7303 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝐺𝑦) = (𝐴𝐺𝐵))
2827fveq2d 6796 . . . . . . 7 (𝑦 = 𝐵 → (𝑁‘(𝐴𝐺𝑦)) = (𝑁‘(𝐴𝐺𝐵)))
2928oveq1d 7310 . . . . . 6 (𝑦 = 𝐵 → ((𝑁‘(𝐴𝐺𝑦))↑2) = ((𝑁‘(𝐴𝐺𝐵))↑2))
30 oveq2 7303 . . . . . . . . 9 (𝑦 = 𝐵 → (-1𝑆𝑦) = (-1𝑆𝐵))
3130oveq2d 7311 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝐺(-1𝑆𝑦)) = (𝐴𝐺(-1𝑆𝐵)))
3231fveq2d 6796 . . . . . . 7 (𝑦 = 𝐵 → (𝑁‘(𝐴𝐺(-1𝑆𝑦))) = (𝑁‘(𝐴𝐺(-1𝑆𝐵))))
3332oveq1d 7310 . . . . . 6 (𝑦 = 𝐵 → ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2) = ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2))
3429, 33oveq12d 7313 . . . . 5 (𝑦 = 𝐵 → (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)) = (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)))
35 fveq2 6792 . . . . . . . 8 (𝑦 = 𝐵 → (𝑁𝑦) = (𝑁𝐵))
3635oveq1d 7310 . . . . . . 7 (𝑦 = 𝐵 → ((𝑁𝑦)↑2) = ((𝑁𝐵)↑2))
3736oveq2d 7311 . . . . . 6 (𝑦 = 𝐵 → (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)) = (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))
3837oveq2d 7311 . . . . 5 (𝑦 = 𝐵 → (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2))))
3934, 38eqeq12d 2749 . . . 4 (𝑦 = 𝐵 → ((((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))) ↔ (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))))
4026, 39rspc2v 3572 . . 3 ((𝐴𝑋𝐵𝑋) → (∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) → (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))))
41403adant1 1128 . 2 ((𝑈 ∈ CPreHilOLD𝐴𝑋𝐵𝑋) → (∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) → (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))))
4216, 41mpd 15 1 ((𝑈 ∈ CPreHilOLD𝐴𝑋𝐵𝑋) → (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1085   = wceq 1537  wcel 2101  wral 3059  Vcvv 3434  cop 4570  cfv 6447  (class class class)co 7295  1c1 10900   + caddc 10902   · cmul 10904  -cneg 11234  2c2 12056  cexp 13810  NrmCVeccnv 28974   +𝑣 cpv 28975  BaseSetcba 28976   ·𝑠OLD cns 28977  normCVcnmcv 28980  CPreHilOLDccphlo 29202
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2103  ax-9 2111  ax-10 2132  ax-11 2149  ax-12 2166  ax-ext 2704  ax-rep 5212  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7608
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2063  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2884  df-ne 2939  df-ral 3060  df-rex 3069  df-reu 3223  df-rab 3224  df-v 3436  df-sbc 3719  df-csb 3835  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4260  df-if 4463  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4842  df-iun 4929  df-br 5078  df-opab 5140  df-mpt 5161  df-id 5491  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-res 5603  df-ima 5604  df-iota 6399  df-fun 6449  df-fn 6450  df-f 6451  df-f1 6452  df-fo 6453  df-f1o 6454  df-fv 6455  df-ov 7298  df-oprab 7299  df-1st 7851  df-2nd 7852  df-vc 28949  df-nv 28982  df-va 28985  df-ba 28986  df-sm 28987  df-0v 28988  df-nmcv 28990  df-ph 29203
This theorem is referenced by:  ip0i  29215  hlpar  29287
  Copyright terms: Public domain W3C validator