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

Theorem obsip 22032
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 2760 . . . . . 6 (ocv‘𝑊) = (ocv‘𝑊)
7 eqid 2760 . . . . . 6 (0g‘𝑊) = (0g‘𝑊)
81, 2, 3, 4, 5, 6, 7isobs 22031 . . . . 5 (𝐵 ∈ (OBasis‘𝑊) ↔ (𝑊 ∈ PreHil ∧ 𝐵 ⊆ 𝑉 ∧ (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ∧ ((ocv‘𝑊)‘𝐵) = {(0g‘𝑊)})))
98simp3bi 1165 . . . 4 (𝐵 ∈ (OBasis‘𝑊) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ∧ ((ocv‘𝑊)‘𝐵) = {(0g‘𝑊)}))
109simpld 500 . . 3 (𝐵 ∈ (OBasis‘𝑊) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ))
11 oveq1 7427 . . . . 5 (𝑥 = 𝑃 → (𝑥 , 𝑦) = (𝑃 , 𝑦))
12 eqeq1 2764 . . . . . 6 (𝑥 = 𝑃 → (𝑥 = 𝑦 ↔ 𝑃 = 𝑦))
1312ifbid 4505 . . . . 5 (𝑥 = 𝑃 → if(𝑥 = 𝑦, 1 , 0 ) = if(𝑃 = 𝑦, 1 , 0 ))
1411, 13eqeq12d 2776 . . . 4 (𝑥 = 𝑃 → ((𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ↔ (𝑃 , 𝑦) = if(𝑃 = 𝑦, 1 , 0 )))
15 oveq2 7428 . . . . 5 (𝑦 = 𝑄 → (𝑃 , 𝑦) = (𝑃 , 𝑄))
16 eqeq2 2772 . . . . . 6 (𝑦 = 𝑄 → (𝑃 = 𝑦 ↔ 𝑃 = 𝑄))
1716ifbid 4505 . . . . 5 (𝑦 = 𝑄 → if(𝑃 = 𝑦, 1 , 0 ) = if(𝑃 = 𝑄, 1 , 0 ))
1815, 17eqeq12d 2776 . . . 4 (𝑦 = 𝑄 → ((𝑃 , 𝑦) = if(𝑃 = 𝑦, 1 , 0 ) ↔ (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
1914, 18rspc2v 3586 . . 3 ((𝑃 ∈ 𝐵 ∧ 𝑄 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
2010, 19syl5com 32 . 2 (𝐵 ∈ (OBasis‘𝑊) → ((𝑃 ∈ 𝐵 ∧ 𝑄 ∈ 𝐵) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
21203impib 1134 1 ((𝐵 ∈ (OBasis‘𝑊) ∧ 𝑃 ∈ 𝐵 ∧ 𝑄 ∈ 𝐵) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076   ⊆ wss 3895  ifcif 4481  {csn 4584  ‘cfv 6538  (class class class)co 7420  Basecbs 17392  Scalarcsca 17436  ·𝑖cip 17438  0gc0g 17615  1rcur 20412  PreHilcphl 21935  ocvcocv 21971  OBasiscobs 22013
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-obs 22016
This theorem is used by:  obsipid  22033  obselocv  22039
  Copyright terms: Public domain W3C validator