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

Theorem phpar 29087
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 6770 . . . . 5 𝐺 ∈ V
3 phpar.4 . . . . . 6 𝑆 = ( ·𝑠OLD𝑈)
43fvexi 6770 . . . . 5 𝑆 ∈ V
5 phpar.6 . . . . . 6 𝑁 = (normCV𝑈)
65fvexi 6770 . . . . 5 𝑁 ∈ V
72, 4, 63pm3.2i 1337 . . . 4 (𝐺 ∈ V ∧ 𝑆 ∈ V ∧ 𝑁 ∈ V)
81, 3, 5phop 29081 . . . . . 6 (𝑈 ∈ CPreHilOLD𝑈 = ⟨⟨𝐺, 𝑆⟩, 𝑁⟩)
98eleq1d 2823 . . . . 5 (𝑈 ∈ CPreHilOLD → (𝑈 ∈ CPreHilOLD ↔ ⟨⟨𝐺, 𝑆⟩, 𝑁⟩ ∈ CPreHilOLD))
109ibi 266 . . . 4 (𝑈 ∈ CPreHilOLD → ⟨⟨𝐺, 𝑆⟩, 𝑁⟩ ∈ CPreHilOLD)
11 phpar.1 . . . . . . 7 𝑋 = (BaseSet‘𝑈)
1211, 1bafval 28867 . . . . . 6 𝑋 = ran 𝐺
1312isphg 29080 . . . . 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 7278 . . . . . . 7 (𝑥 = 𝐴 → (𝑁‘(𝑥𝐺𝑦)) = (𝑁‘(𝐴𝐺𝑦)))
1817oveq1d 7270 . . . . . 6 (𝑥 = 𝐴 → ((𝑁‘(𝑥𝐺𝑦))↑2) = ((𝑁‘(𝐴𝐺𝑦))↑2))
19 fvoveq1 7278 . . . . . . 7 (𝑥 = 𝐴 → (𝑁‘(𝑥𝐺(-1𝑆𝑦))) = (𝑁‘(𝐴𝐺(-1𝑆𝑦))))
2019oveq1d 7270 . . . . . 6 (𝑥 = 𝐴 → ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2) = ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2))
2118, 20oveq12d 7273 . . . . 5 (𝑥 = 𝐴 → (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)))
22 fveq2 6756 . . . . . . . 8 (𝑥 = 𝐴 → (𝑁𝑥) = (𝑁𝐴))
2322oveq1d 7270 . . . . . . 7 (𝑥 = 𝐴 → ((𝑁𝑥)↑2) = ((𝑁𝐴)↑2))
2423oveq1d 7270 . . . . . 6 (𝑥 = 𝐴 → (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2)) = (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)))
2524oveq2d 7271 . . . . 5 (𝑥 = 𝐴 → (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))))
2621, 25eqeq12d 2754 . . . 4 (𝑥 = 𝐴 → ((((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) ↔ (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)))))
27 oveq2 7263 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝐺𝑦) = (𝐴𝐺𝐵))
2827fveq2d 6760 . . . . . . 7 (𝑦 = 𝐵 → (𝑁‘(𝐴𝐺𝑦)) = (𝑁‘(𝐴𝐺𝐵)))
2928oveq1d 7270 . . . . . 6 (𝑦 = 𝐵 → ((𝑁‘(𝐴𝐺𝑦))↑2) = ((𝑁‘(𝐴𝐺𝐵))↑2))
30 oveq2 7263 . . . . . . . . 9 (𝑦 = 𝐵 → (-1𝑆𝑦) = (-1𝑆𝐵))
3130oveq2d 7271 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝐺(-1𝑆𝑦)) = (𝐴𝐺(-1𝑆𝐵)))
3231fveq2d 6760 . . . . . . 7 (𝑦 = 𝐵 → (𝑁‘(𝐴𝐺(-1𝑆𝑦))) = (𝑁‘(𝐴𝐺(-1𝑆𝐵))))
3332oveq1d 7270 . . . . . 6 (𝑦 = 𝐵 → ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2) = ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2))
3429, 33oveq12d 7273 . . . . 5 (𝑦 = 𝐵 → (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)) = (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)))
35 fveq2 6756 . . . . . . . 8 (𝑦 = 𝐵 → (𝑁𝑦) = (𝑁𝐵))
3635oveq1d 7270 . . . . . . 7 (𝑦 = 𝐵 → ((𝑁𝑦)↑2) = ((𝑁𝐵)↑2))
3736oveq2d 7271 . . . . . 6 (𝑦 = 𝐵 → (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)) = (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))
3837oveq2d 7271 . . . . 5 (𝑦 = 𝐵 → (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2))))
3934, 38eqeq12d 2754 . . . 4 (𝑦 = 𝐵 → ((((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝑦)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))) ↔ (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝐺(-1𝑆𝐵)))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))))
4026, 39rspc2v 3562 . . 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 1539  wcel 2108  wral 3063  Vcvv 3422  cop 4564  cfv 6418  (class class class)co 7255  1c1 10803   + caddc 10805   · cmul 10807  -cneg 11136  2c2 11958  cexp 13710  NrmCVeccnv 28847   +𝑣 cpv 28848  BaseSetcba 28849   ·𝑠OLD cns 28850  normCVcnmcv 28853  CPreHilOLDccphlo 29075
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-1st 7804  df-2nd 7805  df-vc 28822  df-nv 28855  df-va 28858  df-ba 28859  df-sm 28860  df-0v 28861  df-nmcv 28863  df-ph 29076
This theorem is referenced by:  ip0i  29088  hlpar  29160
  Copyright terms: Public domain W3C validator