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

Theorem obsip 22099
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 2769 . . . . . 6 (ocv‘𝑊) = (ocv‘𝑊)
7 eqid 2769 . . . . . 6 (0g‘𝑊) = (0g‘𝑊)
81, 2, 3, 4, 5, 6, 7isobs 22098 . . . . 5 (𝐵 ∈ (OBasis‘𝑊) ↔ (𝑊 ∈ PreHil ∧ 𝐵 ⊆ 𝑉 ∧ (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ∧ ((ocv‘𝑊)‘𝐵) = {(0g‘𝑊)})))
98simp3bi 1166 . . . 4 (𝐵 ∈ (OBasis‘𝑊) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ∧ ((ocv‘𝑊)‘𝐵) = {(0g‘𝑊)}))
109simpld 500 . . 3 (𝐵 ∈ (OBasis‘𝑊) → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ))
11 oveq1 7468 . . . . 5 (𝑥 = 𝑃 → (𝑥 , 𝑦) = (𝑃 , 𝑦))
12 eqeq1 2773 . . . . . 6 (𝑥 = 𝑃 → (𝑥 = 𝑦 ↔ 𝑃 = 𝑦))
1312ifbid 4511 . . . . 5 (𝑥 = 𝑃 → if(𝑥 = 𝑦, 1 , 0 ) = if(𝑃 = 𝑦, 1 , 0 ))
1411, 13eqeq12d 2785 . . . 4 (𝑥 = 𝑃 → ((𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) ↔ (𝑃 , 𝑦) = if(𝑃 = 𝑦, 1 , 0 )))
15 oveq2 7469 . . . . 5 (𝑦 = 𝑄 → (𝑃 , 𝑦) = (𝑃 , 𝑄))
16 eqeq2 2781 . . . . . 6 (𝑦 = 𝑄 → (𝑃 = 𝑦 ↔ 𝑃 = 𝑄))
1716ifbid 4511 . . . . 5 (𝑦 = 𝑄 → if(𝑃 = 𝑦, 1 , 0 ) = if(𝑃 = 𝑄, 1 , 0 ))
1815, 17eqeq12d 2785 . . . 4 (𝑦 = 𝑄 → ((𝑃 , 𝑦) = if(𝑃 = 𝑦, 1 , 0 ) ↔ (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
1914, 18rspc2v 3592 . . 3 ((𝑃 ∈ 𝐵 ∧ 𝑄 ∈ 𝐵) → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 (𝑥 , 𝑦) = if(𝑥 = 𝑦, 1 , 0 ) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
2010, 19syl5com 32 . 2 (𝐵 ∈ (OBasis‘𝑊) → ((𝑃 ∈ 𝐵 ∧ 𝑄 ∈ 𝐵) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 )))
21203impib 1135 1 ((𝐵 ∈ (OBasis‘𝑊) ∧ 𝑃 ∈ 𝐵 ∧ 𝑄 ∈ 𝐵) → (𝑃 , 𝑄) = if(𝑃 = 𝑄, 1 , 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2151  ∀wral 3086   ⊆ wss 3902  ifcif 4487  {csn 4590  ‘cfv 6573  (class class class)co 7461  Basecbs 17444  Scalarcsca 17488  ·𝑖cip 17490  0gc0g 17677  1rcur 20475  PreHilcphl 22002  ocvcocv 22038  OBasiscobs 22080
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fv 6581  df-ov 7464  df-obs 22083
This theorem is used by:  obsipid  22100  obselocv  22106
  Copyright terms: Public domain W3C validator