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

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

Proof of Theorem phpar2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isph.1 . . . . 5 𝑋 = (BaseSet‘𝑈)
2 isph.2 . . . . 5 𝐺 = ( +𝑣𝑈)
3 isph.3 . . . . 5 𝑀 = ( −𝑣𝑈)
4 isph.6 . . . . 5 𝑁 = (normCV𝑈)
51, 2, 3, 4isph 29085 . . . 4 (𝑈 ∈ CPreHilOLD ↔ (𝑈 ∈ NrmCVec ∧ ∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝑀𝑦))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2)))))
65simprbi 496 . . 3 (𝑈 ∈ CPreHilOLD → ∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝑀𝑦))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))))
763ad2ant1 1131 . 2 ((𝑈 ∈ CPreHilOLD𝐴𝑋𝐵𝑋) → ∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝑀𝑦))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))))
8 fvoveq1 7278 . . . . . . 7 (𝑥 = 𝐴 → (𝑁‘(𝑥𝐺𝑦)) = (𝑁‘(𝐴𝐺𝑦)))
98oveq1d 7270 . . . . . 6 (𝑥 = 𝐴 → ((𝑁‘(𝑥𝐺𝑦))↑2) = ((𝑁‘(𝐴𝐺𝑦))↑2))
10 fvoveq1 7278 . . . . . . 7 (𝑥 = 𝐴 → (𝑁‘(𝑥𝑀𝑦)) = (𝑁‘(𝐴𝑀𝑦)))
1110oveq1d 7270 . . . . . 6 (𝑥 = 𝐴 → ((𝑁‘(𝑥𝑀𝑦))↑2) = ((𝑁‘(𝐴𝑀𝑦))↑2))
129, 11oveq12d 7273 . . . . 5 (𝑥 = 𝐴 → (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝑀𝑦))↑2)) = (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝑀𝑦))↑2)))
13 fveq2 6756 . . . . . . . 8 (𝑥 = 𝐴 → (𝑁𝑥) = (𝑁𝐴))
1413oveq1d 7270 . . . . . . 7 (𝑥 = 𝐴 → ((𝑁𝑥)↑2) = ((𝑁𝐴)↑2))
1514oveq1d 7270 . . . . . 6 (𝑥 = 𝐴 → (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2)) = (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)))
1615oveq2d 7271 . . . . 5 (𝑥 = 𝐴 → (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))))
1712, 16eqeq12d 2754 . . . 4 (𝑥 = 𝐴 → ((((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝑀𝑦))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) ↔ (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝑀𝑦))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)))))
18 oveq2 7263 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝐺𝑦) = (𝐴𝐺𝐵))
1918fveq2d 6760 . . . . . . 7 (𝑦 = 𝐵 → (𝑁‘(𝐴𝐺𝑦)) = (𝑁‘(𝐴𝐺𝐵)))
2019oveq1d 7270 . . . . . 6 (𝑦 = 𝐵 → ((𝑁‘(𝐴𝐺𝑦))↑2) = ((𝑁‘(𝐴𝐺𝐵))↑2))
21 oveq2 7263 . . . . . . . 8 (𝑦 = 𝐵 → (𝐴𝑀𝑦) = (𝐴𝑀𝐵))
2221fveq2d 6760 . . . . . . 7 (𝑦 = 𝐵 → (𝑁‘(𝐴𝑀𝑦)) = (𝑁‘(𝐴𝑀𝐵)))
2322oveq1d 7270 . . . . . 6 (𝑦 = 𝐵 → ((𝑁‘(𝐴𝑀𝑦))↑2) = ((𝑁‘(𝐴𝑀𝐵))↑2))
2420, 23oveq12d 7273 . . . . 5 (𝑦 = 𝐵 → (((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝑀𝑦))↑2)) = (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝑀𝐵))↑2)))
25 fveq2 6756 . . . . . . . 8 (𝑦 = 𝐵 → (𝑁𝑦) = (𝑁𝐵))
2625oveq1d 7270 . . . . . . 7 (𝑦 = 𝐵 → ((𝑁𝑦)↑2) = ((𝑁𝐵)↑2))
2726oveq2d 7271 . . . . . 6 (𝑦 = 𝐵 → (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2)) = (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))
2827oveq2d 7271 . . . . 5 (𝑦 = 𝐵 → (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2))))
2924, 28eqeq12d 2754 . . . 4 (𝑦 = 𝐵 → ((((𝑁‘(𝐴𝐺𝑦))↑2) + ((𝑁‘(𝐴𝑀𝑦))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝑦)↑2))) ↔ (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝑀𝐵))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))))
3017, 29rspc2v 3562 . . 3 ((𝐴𝑋𝐵𝑋) → (∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝑀𝑦))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) → (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝑀𝐵))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))))
31303adant1 1128 . 2 ((𝑈 ∈ CPreHilOLD𝐴𝑋𝐵𝑋) → (∀𝑥𝑋𝑦𝑋 (((𝑁‘(𝑥𝐺𝑦))↑2) + ((𝑁‘(𝑥𝑀𝑦))↑2)) = (2 · (((𝑁𝑥)↑2) + ((𝑁𝑦)↑2))) → (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝑀𝐵))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2)))))
327, 31mpd 15 1 ((𝑈 ∈ CPreHilOLD𝐴𝑋𝐵𝑋) → (((𝑁‘(𝐴𝐺𝐵))↑2) + ((𝑁‘(𝐴𝑀𝐵))↑2)) = (2 · (((𝑁𝐴)↑2) + ((𝑁𝐵)↑2))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1085   = wceq 1539  wcel 2108  wral 3063  cfv 6418  (class class class)co 7255   + caddc 10805   · cmul 10807  2c2 11958  cexp 13710  NrmCVeccnv 28847   +𝑣 cpv 28848  BaseSetcba 28849  𝑣 cnsb 28852  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-pow 5283  ax-pr 5347  ax-un 7566  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  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-nel 3049  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-pw 4532  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-po 5494  df-so 5495  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-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-ltxr 10945  df-sub 11137  df-neg 11138  df-grpo 28756  df-gid 28757  df-ginv 28758  df-gdiv 28759  df-ablo 28808  df-vc 28822  df-nv 28855  df-va 28858  df-ba 28859  df-sm 28860  df-0v 28861  df-vs 28862  df-nmcv 28863  df-ph 29076
This theorem is referenced by:  minvecolem2  29138  hlpar2  29159
  Copyright terms: Public domain W3C validator