HSE Home Hilbert Space Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  HSE Home  >  Th. List  >  normpyth Structured version   Visualization version   GIF version

Theorem normpyth 31573
Description: Analogy to Pythagorean theorem for orthogonal vectors. Remark 3.4(C) of [Beran] p. 98. (Contributed by NM, 17-Oct-1999.) (New usage is discouraged.)
Assertion
Ref Expression
normpyth ((𝐴 ∈ ℋ ∧ 𝐵 ∈ ℋ) → ((𝐴 ·ih 𝐵) = 0 → ((norm‘(𝐴 + 𝐵))↑2) = (((norm𝐴)↑2) + ((norm𝐵)↑2))))

Proof of Theorem normpyth
StepHypRef Expression
1 oveq1 7427 . . . 4 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → (𝐴 ·ih 𝐵) = (if(𝐴 ∈ ℋ, 𝐴, 0) ·ih 𝐵))
21eqeq1d 2767 . . 3 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → ((𝐴 ·ih 𝐵) = 0 ↔ (if(𝐴 ∈ ℋ, 𝐴, 0) ·ih 𝐵) = 0))
3 fvoveq1 7443 . . . . 5 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → (norm‘(𝐴 + 𝐵)) = (norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵)))
43oveq1d 7435 . . . 4 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → ((norm‘(𝐴 + 𝐵))↑2) = ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵))↑2))
5 fveq2 6886 . . . . . 6 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → (norm𝐴) = (norm‘if(𝐴 ∈ ℋ, 𝐴, 0)))
65oveq1d 7435 . . . . 5 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → ((norm𝐴)↑2) = ((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2))
76oveq1d 7435 . . . 4 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → (((norm𝐴)↑2) + ((norm𝐵)↑2)) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm𝐵)↑2)))
84, 7eqeq12d 2781 . . 3 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → (((norm‘(𝐴 + 𝐵))↑2) = (((norm𝐴)↑2) + ((norm𝐵)↑2)) ↔ ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵))↑2) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm𝐵)↑2))))
92, 8imbi12d 347 . 2 (𝐴 = if(𝐴 ∈ ℋ, 𝐴, 0) → (((𝐴 ·ih 𝐵) = 0 → ((norm‘(𝐴 + 𝐵))↑2) = (((norm𝐴)↑2) + ((norm𝐵)↑2))) ↔ ((if(𝐴 ∈ ℋ, 𝐴, 0) ·ih 𝐵) = 0 → ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵))↑2) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm𝐵)↑2)))))
10 oveq2 7428 . . . 4 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → (if(𝐴 ∈ ℋ, 𝐴, 0) ·ih 𝐵) = (if(𝐴 ∈ ℋ, 𝐴, 0) ·ih if(𝐵 ∈ ℋ, 𝐵, 0)))
1110eqeq1d 2767 . . 3 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → ((if(𝐴 ∈ ℋ, 𝐴, 0) ·ih 𝐵) = 0 ↔ (if(𝐴 ∈ ℋ, 𝐴, 0) ·ih if(𝐵 ∈ ℋ, 𝐵, 0)) = 0))
12 oveq2 7428 . . . . . 6 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → (if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵) = (if(𝐴 ∈ ℋ, 𝐴, 0) + if(𝐵 ∈ ℋ, 𝐵, 0)))
1312fveq2d 6890 . . . . 5 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → (norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵)) = (norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + if(𝐵 ∈ ℋ, 𝐵, 0))))
1413oveq1d 7435 . . . 4 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵))↑2) = ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + if(𝐵 ∈ ℋ, 𝐵, 0)))↑2))
15 fveq2 6886 . . . . . 6 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → (norm𝐵) = (norm‘if(𝐵 ∈ ℋ, 𝐵, 0)))
1615oveq1d 7435 . . . . 5 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → ((norm𝐵)↑2) = ((norm‘if(𝐵 ∈ ℋ, 𝐵, 0))↑2))
1716oveq2d 7436 . . . 4 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm𝐵)↑2)) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm‘if(𝐵 ∈ ℋ, 𝐵, 0))↑2)))
1814, 17eqeq12d 2781 . . 3 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → (((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵))↑2) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm𝐵)↑2)) ↔ ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + if(𝐵 ∈ ℋ, 𝐵, 0)))↑2) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm‘if(𝐵 ∈ ℋ, 𝐵, 0))↑2))))
1911, 18imbi12d 347 . 2 (𝐵 = if(𝐵 ∈ ℋ, 𝐵, 0) → (((if(𝐴 ∈ ℋ, 𝐴, 0) ·ih 𝐵) = 0 → ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + 𝐵))↑2) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm𝐵)↑2))) ↔ ((if(𝐴 ∈ ℋ, 𝐴, 0) ·ih if(𝐵 ∈ ℋ, 𝐵, 0)) = 0 → ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + if(𝐵 ∈ ℋ, 𝐵, 0)))↑2) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm‘if(𝐵 ∈ ℋ, 𝐵, 0))↑2)))))
20 ifhvhv0 31450 . . 3 if(𝐴 ∈ ℋ, 𝐴, 0) ∈ ℋ
21 ifhvhv0 31450 . . 3 if(𝐵 ∈ ℋ, 𝐵, 0) ∈ ℋ
2220, 21normpythi 31570 . 2 ((if(𝐴 ∈ ℋ, 𝐴, 0) ·ih if(𝐵 ∈ ℋ, 𝐵, 0)) = 0 → ((norm‘(if(𝐴 ∈ ℋ, 𝐴, 0) + if(𝐵 ∈ ℋ, 𝐵, 0)))↑2) = (((norm‘if(𝐴 ∈ ℋ, 𝐴, 0))↑2) + ((norm‘if(𝐵 ∈ ℋ, 𝐵, 0))↑2)))
239, 19, 22dedth2h 4549 1 ((𝐴 ∈ ℋ ∧ 𝐵 ∈ ℋ) → ((𝐴 ·ih 𝐵) = 0 → ((norm‘(𝐴 + 𝐵))↑2) = (((norm𝐴)↑2) + ((norm𝐵)↑2))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2146  ifcif 4489  cfv 6541  (class class class)co 7420  0cc0 11120   + caddc 11123  2c2 12315  cexp 14120  chba 31347   + cva 31348   ·ih csp 31350  normcno 31351  0c0v 31352
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2737  ax-sep 5259  ax-nul 5271  ax-pow 5338  ax-pr 5406  ax-un 7743  ax-cnex 11176  ax-resscn 11177  ax-1cn 11178  ax-icn 11179  ax-addcl 11180  ax-addrcl 11181  ax-mulcl 11182  ax-mulrcl 11183  ax-mulcom 11184  ax-addass 11185  ax-mulass 11186  ax-distr 11187  ax-i2m1 11188  ax-1ne0 11189  ax-1rid 11190  ax-rnegex 11191  ax-rrecex 11192  ax-cnre 11193  ax-pre-lttri 11194  ax-pre-lttrn 11195  ax-pre-ltadd 11196  ax-pre-mulgt0 11197  ax-pre-sup 11198  ax-hfvadd 31428  ax-hv0cl 31431  ax-hvmul0 31438  ax-hfi 31507  ax-his1 31510  ax-his2 31511  ax-his3 31512  ax-his4 31513
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-nel 3067  df-ral 3082  df-rex 3092  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3459  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4287  df-if 4490  df-pw 4566  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-iun 4960  df-br 5112  df-opab 5176  df-mpt 5195  df-tr 5221  df-id 5558  df-eprel 5563  df-po 5571  df-so 5572  df-fr 5616  df-we 5618  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7870  df-2nd 7994  df-frecs 8285  df-wrecs 8316  df-recs 8365  df-rdg 8404  df-er 8701  df-en 8951  df-dom 8952  df-sdom 8953  df-sup 9410  df-pnf 11265  df-mnf 11266  df-xr 11267  df-ltxr 11268  df-le 11269  df-sub 11463  df-neg 11464  df-div 11892  df-nn 12254  df-2 12323  df-3 12324  df-n0 12525  df-z 12612  df-uz 12884  df-rp 13038  df-seq 14061  df-exp 14121  df-cj 15179  df-re 15180  df-im 15181  df-sqrt 15315  df-hnorm 31396
This theorem is used by:  normpyc  31574  chscllem2  32066  hstnmoc  32651  hstpyth  32657
  Copyright terms: Public domain W3C validator