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

Theorem obsip 20838
Description: The inner product of two elements of an orthonormal basis. (Contributed by Mario Carneiro, 23-Oct-2015.)
Hypotheses
Ref Expression
isobs.v 𝑉 = (Base‘𝑊)
isobs.h , = (·𝑖𝑊)
isobs.f 𝐹 = (Scalar‘𝑊)
isobs.u 1 = (1r𝐹)
isobs.z 0 = (0g𝐹)
Assertion
Ref Expression
obsip ((𝐵 ∈ (OBasis‘𝑊) ∧ 𝑃𝐵𝑄𝐵) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 ))

Proof of Theorem obsip
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isobs.v . . . . . 6 𝑉 = (Base‘𝑊)
2 isobs.h . . . . . 6 , = (·𝑖𝑊)
3 isobs.f . . . . . 6 𝐹 = (Scalar‘𝑊)
4 isobs.u . . . . . 6 1 = (1r𝐹)
5 isobs.z . . . . . 6 0 = (0g𝐹)
6 eqid 2738 . . . . . 6 (ocv‘𝑊) = (ocv‘𝑊)
7 eqid 2738 . . . . . 6 (0g𝑊) = (0g𝑊)
81, 2, 3, 4, 5, 6, 7isobs 20837 . . . . 5 (𝐵 ∈ (OBasis‘𝑊) ↔ (𝑊 ∈ PreHil ∧ 𝐵𝑉 ∧ (∀𝑥𝐵𝑦𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ∧ ((ocv‘𝑊)‘𝐵) = {(0g𝑊)})))
98simp3bi 1145 . . . 4 (𝐵 ∈ (OBasis‘𝑊) → (∀𝑥𝐵𝑦𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ∧ ((ocv‘𝑊)‘𝐵) = {(0g𝑊)}))
109simpld 494 . . 3 (𝐵 ∈ (OBasis‘𝑊) → ∀𝑥𝐵𝑦𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ))
11 oveq1 7262 . . . . 5 (𝑥 = 𝑃 → (𝑥 , 𝑦) = (𝑃 , 𝑦))
12 eqeq1 2742 . . . . . 6 (𝑥 = 𝑃 → (𝑥 = 𝑦𝑃 = 𝑦))
1312ifbid 4479 . . . . 5 (𝑥 = 𝑃 → if(𝑥 = 𝑦, 1 , 0 ) = if(𝑃 = 𝑦, 1 , 0 ))
1411, 13eqeq12d 2754 . . . 4 (𝑥 = 𝑃 → ((𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ↔ (𝑃 , 𝑦) = if(𝑃 = 𝑦, 1 , 0 )))
15 oveq2 7263 . . . . 5 (𝑦 = 𝑄 → (𝑃 , 𝑦) = (𝑃 , 𝑄))
16 eqeq2 2750 . . . . . 6 (𝑦 = 𝑄 → (𝑃 = 𝑦𝑃 = 𝑄))
1716ifbid 4479 . . . . 5 (𝑦 = 𝑄 → if(𝑃 = 𝑦, 1 , 0 ) = if(𝑃 = 𝑄, 1 , 0 ))
1815, 17eqeq12d 2754 . . . 4 (𝑦 = 𝑄 → ((𝑃 , 𝑦) = if(𝑃 = 𝑦, 1 , 0 ) ↔ (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
1914, 18rspc2v 3562 . . 3 ((𝑃𝐵𝑄𝐵) → (∀𝑥𝐵𝑦𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
2010, 19syl5com 31 . 2 (𝐵 ∈ (OBasis‘𝑊) → ((𝑃𝐵𝑄𝐵) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
21203impib 1114 1 ((𝐵 ∈ (OBasis‘𝑊) ∧ 𝑃𝐵𝑄𝐵) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 ))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wss 3883  ifcif 4456  {csn 4558  cfv 6418  (class class class)co 7255  Basecbs 16840  Scalarcsca 16891  ·𝑖cip 16893  0gc0g 17067  1rcur 19652  PreHilcphl 20741  ocvcocv 20777  OBasiscobs 20819
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-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347
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-rab 3072  df-v 3424  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-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-fv 6426  df-ov 7258  df-obs 20822
This theorem is referenced by:  obsipid  20839  obselocv  20845
  Copyright terms: Public domain W3C validator