Update laplace2.lean

This commit is contained in:
Stefan Kebekus 2024-06-27 06:35:02 +02:00
parent 07f4ff610b
commit c59e12a468
1 changed files with 37 additions and 16 deletions

View File

@ -12,6 +12,28 @@ variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace E] [FiniteDim
variable {F : Type*} [NormedAddCommGroup F] [NormedSpace F] variable {F : Type*} [NormedAddCommGroup F] [NormedSpace F]
lemma vectorPresentation'
[Fintype ι]
(b : OrthonormalBasis ι E)
--(hb : Orthonormal b)
(v : E) :
v = ∑ i, ⟪b i, v⟫_ • (b i) := by
let A := b.sum_repr v
let i : ι := by sorry
let B := b.repr v i
nth_rw 1 [← (b.sum_repr v)]
apply Fintype.sum_congr
intro i
--let A := b.repr v
--have : (b.repr v) = ((OrthonormalBasis.toBasis b).repr v) := by tauto
rw [← Orthonormal.inner_right_finsupp hb (b.repr v) i]
simp
lemma vectorPresentation lemma vectorPresentation
[Fintype ι] [Fintype ι]
(b : Basis ι E) (b : Basis ι E)
@ -232,4 +254,3 @@ theorem Complex.Laplace'
rw [LaplaceIndep''' Complex.orthonormalBasisOneI.toBasis Complex.orthonormalBasisOneI.orthonormal f] rw [LaplaceIndep''' Complex.orthonormalBasisOneI.toBasis Complex.orthonormalBasisOneI.orthonormal f]
unfold Laplace_wrt_basis unfold Laplace_wrt_basis
simp simp