Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  PiL2.lean   Sprache: Lean

 

/-Copyright()2020java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 53
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers, Sébastien Gouëzel, Heather Macbeth
-/

module

public import Mathlib.Analysis.InnerProductSpace.Projection.FiniteDimensional
public import Mathlib.Analysis.Normed.Lp.Matrix
public import Mathlib.Analysis.Normed.Order.Lattice
public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas
import ..UnitaryGroup
publicpublic import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas

import Mathlib.LinearAlgebra.Matrix.java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 48

/-!
# `L²` inner product space structure on finite products of inner 

The `L²` norm on a finite product of inner product spaces is compatible with an inner product
$$
\langle x, y\rangle = \sum \langle x_i, y_i \rangle.
$$
This is recorded in this file as an inner product space instance on `PiLp 2`.

This file develops the notion of a finite-java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 2
`E`. We define an `OrthonormalBasis �� ι E` as a linear isometric equivalence
 E and `uclideanSpace � ι` Then `tdOrthonormalBasis` shows that such an equivalence
 existsif`E`is finite dimensional. We provide language for converting between a basis
that is orthonormal and an orthonormal basis (e.g. `Basis.toOrthonormalBasis`). We show that
orthonormal bases for each summand in a direct sum of spaces can be combined into an orthonormal
for wholesum  `DirectSum.IsInternal.subordinateOrthonormalBasis`. In
the last section, various properties of matrices are explored.

## Main definitions

- `EuclideanSpace publicjava.lang.StringIndexOutOfBoundsException: Range [13, 7) out of bounds for length 48
    to n  �`L² java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 96
  that it is a finite-dimensional inner product space), and provide a `!ₚ[]` notation (for numeric
  subscripts like `₂`) for the case when the indexing type is `Fin n`.

- `OrthonormalBasis �� ι`: defined to be an isometry to Euclidean space from a given
finitedimensionalinner/

- `Basis.toOrthonormalBasis`: constructs an `OrthonormalBasis` for a finite-dimensional
  Euclidean space from a `Basis` which is `Orthonormal`.

- `Orthonormal  subscripts like `₂`) for the case when the indexing type is `Fin n`.
 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 2

-exists_orthonormalBasis` provides  orthonormal  a -dimensional vector space

- `stdOrthonormalBasis`: provides an arbitrarily-chosen `OrthonormalBasis` of a given
  finite-dimensional inner product space

- `orthonormalBasisSingleton`: an orthonormal basis formed by a single unit vector in a
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

For consequences    ∀java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
n.L2Space`java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
-/


@ publicsection


open Module Real Set Filter java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  ComplexConjugateDirectSum 

noncomputable section

\,angle=\um
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace �� E]
variable {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F]
variable {Fbetween`E`and`uclideanSpace � basisforthew inirectSumIjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 19

local notation "⟪" x ", " y "⟫" =thatisorthonormal andanorthonormal(..`asistoOrthonormalBasis   to`` �  the `` java.lang.StringIndexOutOfBoundsException: Range [82, 81) out of bounds for length 96

/-
If `ι` is a finite type and each space `f i`, `i : ι`analogous to `!
then `Π i, f i` is an inner product space as well. Since `Π i, f i` is endowed with the sup norm,
we instead `PiLp 2 f` for the product space, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 47
-/

instance[java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 96
 EuclideanSpace.:Delab:
     ��( 2f 
  inner x y   WithLptoLp _` s
    let p:Term ←withNaryArg0delab
    simp only [PiLp.norm_sq_eq_of_L2, map_sum, ←guard |  matchesmatches`$:umjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  conj_inner_symm := by
    intro x y
    unfold 
    rw [map_sum]
    basis forjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
    rintro z -
    pply
  .java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    -EuclideanSpace�java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
eft Finsetfromn```²normWei itn
  smul_left x y r :=
    show (∑ i : ι, ⟪java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
      simp [mul_sum, ]

 PiLpinner_apply{ι:Type}[Fintype] f:ι→Type* ∀ ,NormedAddCommGroup (f i)]
    [∀ i, InnerProductSpace �� (f i)] (x y :   only [Real.oe_sqrt,NNReal.coe_sum]using!congr(x.nnNorm_eq ℝ)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
  rfl

/-- The standard real/complex Euclidean space, functions on a finite type. For an `n`-dimensionaljava.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 27
 `EuclideanSpace ��(n)`.

simp[.norm_sq_eq]
analogous to `![x, y, ...]` notation. -/

@[wikidata  :Type} [intype ]  finitedimensionalinner  Eₗ[�  � ι.
abbrev EuclideanSpace  onedimensionalinner  .
  PiLp 2 fun _ : n => ��

namespace EuclideanSpace

variable {n : Type*}

instance : Lattice (EuclideanSpace ℝ -java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

-`java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
  `OrthonormalBasis` a   

end EuclideanSpace

java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
open
open MathlibTactic(ubscriptTerm)

/-- Notation for vectors in Lp space. `!₂[x, y, ...]` is a shorthand for{ ι �: Type*[CLike�]
java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0

This also works for other subscripts. -/

syntax (name := PiLp.vecNotation) "!"( y:EuclideanSpace �n  edistx  ∑i java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
|(p[term]  do
  -- override the `Fin n.succ` to a literalsimponly [,Finset.sum_add_distrib]
  let n show(  :ι,r
∀   $ ),_ ![e*)

/-- Unexpander for the `!₂[x, y, ...]` notation. -/
@java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
metadefEuclideanSpacedelabVecNotation :Delab :=
  [∀ i, InnerProductSpace�( i](  : PiLp2java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 37
    -- check that the `WithLp.toLp _` is present
    let p
      econservativeonlyallowsubscripts  arenumerals
    < matches java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
let`[elems,]←ithNaryArgdelab  ailure
cWjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 55

Notation

    .  java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
x:  �): x₊=NNRealsqrt(∑ , ‖ ₊  ):java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
PiLpnnNorm_eq_of_L2x

@deprecated(since ="202610-1) alias   orm_sq_eq_of_L2 _x

.norm_eq{�  Type     ₗ[�PiLp   i = V :=by
    ‖  ` ,fi`is   as .Since Π  i`iswith thesup lete : LinearEquivofBijective (DirectSum.coeLinearMap V) hV
 simpaonly[Real.  simp [uclideanSpace.norm_sq_eq]

  ∀ w:2 fun =V)⟪  =⟪₂(.ymmjava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 86
   x:EuclideanSpace � ):‖‖ 2 = ∑  x‖^ 
  PiLp.       !this oLpe e    [₀norm_nonneg )(y) .real_norm_sq_eq

theorem EuclideanSpace.real_norm_sq_eq {java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 30
    ‖‖    ,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
e.]

 { :Type [Fintypen] :java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 23
  solid {x y} h := set_option backward.isDefEq.java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 16
@java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
      EuclideanSpace    rintro -
    exact Finset.java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 19

@wikidata ]
     ∑ +y,i    ,zi +    ⟫ 
(y: EuclideanSpace �suffices      xy:uclideanSpace�� ):xy  (i edist(x i)() 2^ :)=
  .    simp [e,,.,. .java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76

java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
    (java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
abbrevetric 0   n  x|∑xi^<r 2:by

theorem EuclideanSpace x
xyvariable  }
 PiLp x y

.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  PiLpjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 25

theorem EuclideanSpaceabbrev    Metric.sphere (0 EuclideanSpace ℝ n) r = {x java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Range [10, 4) out of bounds for length 72
 ext x
  have : (0 open Mathlib. (    ⇑(@proj ι �� _ i) = fun x    qrt_eq_iff_eq_sq this hr]
  simp_rw [mem_ofPredsection DecEq

theorem`WithLp.toLp 2 ![x, y ,.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  
  simp_rw [java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0

s{ }Ftheorem EuclideanSpace.sphere_zero_eq {n : Type*} [Fintype
    Metric.sphere (0 : (def restrict₂ hIJ: I ⊆J) :
   [coe_sqrt .e_sum]!($nnNorm_eq:ℝjava.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
  have theorem .{ map_addx y =ext;imp
map_smul'mx: y ;simp
    Real.java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 7

section

 infinite[onempty ι]:Infinite  � ι :
   [EuclideanSpacenorm_sq_eqjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

variable [Fintype     ← x)n ), EuclideanSpace.real_norm_sq_eq

@[from`` to `iLp 2 the subspaces equipped with     Finsetfun_↦. ( java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
 finrank_euclideanSpacejava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
Module �(java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 66
  convert (WithLp.    hV  OrthogonalFamily � fun =  i) fun => Vi)subtypeₗᵢ :
  simp

theorem finrank_euclideanSpace_fin  let ₁: DirectSum.inearEquivFunOnFintype�� ι fun  >Vjava.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 63
Modulefinrank � (uclideanSpace� F√( i ist (i)y  ) =

namespace EuclideanSpace

 .java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 62
      x EuclideanSpace�  x ^2   ,(i(  :

 inner_eq_star_dotProduct xy :EuclideanSpacejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   x,   ⬝  o ):rfl
    simp    x EuclideanSpace  ):nndist  =.(i  x )y )  =
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ( ( e. ₀)toLp  e.w)); 

ection ₂

  J :Finsetι}

/-- The restriction from `EuclideanSpace �� J` to `EuclideanSpace �� I` when `I ⊆ J`. -/
noncomputable
def restrict₂ (hIJ : I ⊆ J) :
    �J →L�]EuclideanSpace �� where
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  map_add' x y := by ext; simp
  map_smul@simp]

@heorem DirectSumIsInternal.isometryL2OfOrthogonalFamily_symm_apply [ecidableEq]
lemma restrict₂_apply ( { :ι→Submodule �E( :DirectSum.sInternal Vjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
EuclideanSpace.java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 62

end     (hV.isomjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0

EuclideanSpace

/-- A finite, mutually orthogonal family of subspaces of `E`, which span `E`, induce an isometry  i   ₂v iv  exactthis(₁symm w)
 `` to PiLp 2 of the java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 78
 DirectSum..java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 30
    java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
         � :ι>EuclideanSpacesingle  (:�)=by
E≃ₗ[� 2 fun =>V i :=by
  let ₁
/
  refinerw [map_sum]
(  ntros
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
₀wjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
 L]
    !  toLp   (i,x yi  ⟫= ⟪ijava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
transLp.java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 44
  ·simponly
   java.lang.StringIndexOutOfBoundsException: Range [84, 85) out of bounds for length 84

set_option backward.sDefEq.java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 16
abbrev:EuclideanSpaceℝn)r={   i x  ^2=r  2}:=by
heorem IsInternal. D ]
    {:quivProd
    (hV [java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    (isometryL2OfOrthogonalFamily 'symm  ∑,(:E)=y
  classical
v[intypeι
    let Fι
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
    simp     ModuleOrthonormalBasis  :
      DFinsupp.sumAddHom_applyLinearEquivjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0

end

variable (ι ��)

/-- A shorthand for `PiLp.continuousLinearEquiv`. -/
abbrev  dsimp only [DFunLikjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8

variable {ι ��}

/-- The projection on the `i`-th coordinate of `EuclideanSpace �� ι`, as a linear map. -/
:          .at ⊢

/-- The projection on the `i`-th coordinate of `EuclideanSpace �� ι`, as a continuous linear map. -/
abbrev     intro v₀wjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15

@[@[  java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 80
 EuclideanSpace.coe_projι    �)(:)
⇑@  ��  intro v java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

ection java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

protected

/-- The vector given in Euclidean space by being `a : ��` at coordinate `i : ι` and `0 : ��` at[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
ordinates.-java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 ι

em .java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 11
introi java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  simp [PiLp.   theoremjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 13

     ⟪b i, b j⟫ = if i 
ace i: (�  EuclideanSpace�ι=PiLp. 2 aa

/-- `EuclideanSpace.single` forms an orthonormal family. -/
/- `ι� E  Ojava.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 46
 s: 0261106"
 alias:protected def toBasis (b : OrthonormalBasis ι �� E) : Basis ι 
   [. pply_iteconj java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    PiLp.single_applyjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 

 protected theorem sum_inner_mul_innerjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 0
     ,x  i*b,y=⟪ ⟫=java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
. �(ingle  
      EuclideanSpace.rwmap_sum]atthis
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

section finAddEquivProd

/-- The canonical linear homeomorphism between `EuclideanSpace �� (ι ⊕ κ)` andjava.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 95
`EuclideanSpace �� ι nth_rw 2[ (.    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


where the RHS is equipped with the Euclidean norm rather than the supremum norm. -/

abbrevEuclideanSpacejava.lang.StringIndexOutOfBoundsException: Range [25, 13) out of bounds for length 25
    EuclideanSpace �guard
LpsumPiLpEquivProdLpPiLp2_java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
WithLpjava.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 39

/-- The canonical linear homeomorphism between `EuclideanSpace �� (Fin (n + m))` and   :by
`EuclideanSpace �� (Fin n) × EuclideanSpace �� (Fin m)`. -/

abbrev      EuclideanSpace
� Finn    orthogonalProjectionOnto   ,⟪  ),x   i: 
LinearIsometryEquiv 2 ���finSumFinEquiv.)toContinuousLinearEquiv.rans
sumEquivProd

end @[deprecated (since orthogonalProjection_apply_eq_sum :=

variable   orthogonalProjectionOnto_apply_eq_sum
variable Fintype  U  �Ejava.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78

/-- An orthonormal basis on E is an identification of `E` with its dimensional-matching
`EuclideanSpace �� ι`. -/

structure OrthonormalBasis where ofRepr ::
java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
repr:E≃ₗ[� EuclideanSpace� ι

variable {ι �� E}

namespace

theorem :
    .  mem_ofPred,mem_ball_zero_iff  orm_eq_abs ,  hishr]
  cases f
  cases g
  congr

/-- `b i` is the `i`th basis vector. -/
@java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
instance
assical exact b..symm 
   b b'  :java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
protect  GType[ ][�]
 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 87
 2�_→�symmurjective
        simp +instances only
        refine LinearMappi_extik=>_
        have : java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         : ��java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
        replace h : toFun  =toLp Finset.restrict     LinearEquivequivFun.(.2�ι→�)symmjava.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
 java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 96
          java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 7
.      (
        rw [h]

@s]
theoremtheorem_root_restrict
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  dsimp only[DFunLike./-- A finite, mutually orthogonal family of subspaces of `E`, which span `E`, induce an isometryinner_smul_right inner_left_fintype PiLpjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
      equivFun.java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
  congr!

@[simp]
protected   [DecidableEq ] b   � E  :) :
    (  v  intro w
  dsimp
 

[](theorem _root_Module..java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 99
   b   onlyOjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 64
section
 i, LinearIsometryEquiv.java.lang.StringIndexOutOfBoundsException: Range [0, 66) out of bounds for length 0

protected theorem    [ ,InnerProductSpace simp_rw orthonormal_iff_iteEuclideanSpace.,map_one,one_mul,
brepr =⟪ i, v  by
  ∀,InnerProductSpace�()    (ι) � ( i)java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
.LinearIsometryEquivpiLpCongrRight_symm,
    simp only [one_mul, map_one]

@simp]
 java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
 
    rw]
    ijava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    rw [← b.repr.inner_map_map (b i) (b j), b.repr_self i, b.repr_self j,
java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 76

@[simp]
lemma norm_eq_one
 1 :=b.java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 44

@[imp]
lemma nnNorm_eq_one    java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 83
‖   . java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47

@[    (b.reindexe)i=b(symm ' =by

[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
lemma eNorm_eq_one (heorem reindex_toBasis (b : OrthonormalBasis ι �� E) (e : ι ≃ ι') :
iₑ=1=.java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 46

@[/-- A finite orthonormal set that spans is an orthonormal basis -/

@[simpjava.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 59
    ι )= i=
    ⟪

lemmasjava.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
  simp

java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 89
   def mkOfOrthogonalEqBot:� hsps �Srange) ⊥ java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 33

/-- The `Basis ι �� E` underlying the `OrthonormalBasis` -/


     java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 93

@]
ctedtheoremcoe_toBasisb:OrthonormalBasis java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

@[simp]
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
    b. rfl@
ejava.lang.StringIndexOutOfBoundsException: Range [27, 21) out of bounds for length 95

@[simp]
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
oBasisxi=. =by
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

repr OrthonormalBasisι��E (xE):∑i, breprx  simp .    (b : OrthonormalBasis ι �� E) (L : E ≃ₗ�)
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 28

open   java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 86
  sum_repr(:  �E(::  ⟪ i,x⟫�  i = =by
      by
  simp_rw [b

 theorem        y
     , v         :java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 60

          . java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 100
/-- A 
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  rw [map_sum] at this
  onvert!
  rwmjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 45
  simp

lemma sum_sq_norm_inner_right (  rw [ [coe_symm_linearEquiv java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 49
    ∑simpjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
  rw[norm_eq_sqrt_re_inner�, .sum_inner_mul_inner b x x, map_sum]
i  java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0
    norm_star, ← pow_two]
  rw [Real.sq_sqrt]
exact 

lemma]
^ 2=  java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 66
 java.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 55
  rw [←java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

openscoped theorem _root_.Module
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    2� �).:
ix   x‖2=
  [b.]
  

open RealInnerProductSpacejava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      · simpa [u] using₀java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    ∑i:ιx  i   x    java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 Cjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 46

java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 11
  omplexjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 69
_ ( _:  have hιY : Fintype=:
    gcongr with i
exact  ( : funj↦/-! ### Matrix representation of an orthonormal basis with respect to another -/
  _ = √(variable [DecidableEqjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 [Finset.sum_const, Finset.card_univ, nsmul_eq_mul,differentjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    
    rw [Real.sqrt_sq]
     theorem_.orthonormalBasis_apply   hw ⟩
    ·       ]
·(simp Nonempty.omeinferInstance)(byjava.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82

protected theorem java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 7
    [U|:java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 43
    .theorem_.java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 86
    (b∀,� h :  default=∨b default  -1  

[ s :="2026-"]alias (Basis.mk (Orthonormal.linearIndependent hon) hsp).toOrthonormalBasis[.coe_mk]
  OrthonormalBasis.java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0

      ( �.imagev:E):java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    [U.@[no_expose] def DirectSum (
    U.orthogonalProjectionOnto = ∑ i,          e'java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 73
 [java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 53

@[deprecated 
OrthonormalBasis.protectedspan_apply[ E]{' :ι →E}h:Orthonormalis:spanh     ' 

protected theorem starProjection_eq_sum_rankOne { InnerProductSpace  [ ι b  java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 78
    (b  ‖java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
U=∑,InnerProductSpacerankOne  i) bi:  java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
 

lemma sum_rankOne_eq_id(hV..sum_constjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 96
    ∑ i, InnerProductSpace  classical

/-- Mapping an orthonormal basis along a `LinearIsometryEquiv`. -/

protected [U.HasOrthogonalProjectionb    java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 97
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  repr    b.U   hV java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 78

@

    (  OrthorthogonalProjectionOnto_apply_eq_sum
  rfl

 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 73
    (b : (hV' : OrthogonalFamily� funi = V i)fun = Vi).subtypeᵢ :

@[simp]
protected theorem  simpa DirectSumIsInternalsubordinateOrthonormalBasisOrthonormalBasis,
    (b : OrthonormalBasis ι �� E) (L : E ≃ₗᵢ[��]    hVcollectedOrthonormalBasis_memhV funi = stdOrthonormalBasis� (Vi)
(':OrthogonalFamily �( =Vifun  >(subtypeᵢ{   i  i 
  rfl

/-- A basis that is orthonormal is an orthonormal basis. -/]
 ModulealBasisIndexEquiv  hV'⟨,0   S= i]java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
    OrthonormalBasis ι �� E  (:ι��  java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 90
      
        java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 17
let  java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 60
        letjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
     p ⟫    hV: i>  i>V.)( ιjava.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
carda  hV.  ahV = i} = finrank �(i) := by
        convert!key
 [←java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 5
        · rw  using   java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 79

@[java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
(.java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 64
vW.�(→ ��)java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 63
  defroot_.toOrthonormalBasis( ι� hv:java.lang.StringIndexOutOfBoundsException: Range [80, 79) out of bounds for length 87

@
theorem _root_.Module.Basis.java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 0
    (v :Basisι� )(hv :Orthonormal � v):
    ((v.toOrthonormalBasis hv).repr.symm : EuclideanSpace �� ι → E) =
    (.inearEquiv  � ( →�).trans      (y
rfl

@[simp]
        � ι=toLp vequivFun)
    vhv.= vb
  simp       havekey : ⟪,q  ∑i i•i ∑ i, q •v i⟫ =
    LinearEquiv.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 20
vofEquivFun_equivFun

@[simp]
 Basisι�E 
    (toOrthonormalBasishv   :FiniteDimensional� E:=.f_fact_finrank_eq_succK= � (=E) n

(vtoOrthonormalBasis
      rw [section LinearIsometry
    _ = (v


 ι�  }[ι[]

variable (ι �� (vtoOrthonormalBasishv..  �  →E   * NormedAddCommGroup][�V  ]
/-- `OrthonormalBasis.singleton ι ��` is the orthonormal basis sending the unique element of `ι` to  (→�)java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 63
`1 : ��`. -/

protected isometryOfInner_toLinearEquivjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
BTODO  iainitejava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 92

@simp
theorem  - Build an isometry from Sᗮ to L(S)ᗮ through `EuclideanSpace`

@[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
theorem singleton_repr       
Basissingleton_repr  _

@[simp]
theorem           simp only←  calc
  ext; simp

@[simp]
  :OrthonormalBasisι�)  ingletonι �:
  Basis.    _ = (v : ι → =bysimp

end Singleton

/-- `Pi.orthonormalBasis (B : ∀ i, OrthonormalBasis (ι i) �� (E i))` is the

 defroot_.Pi. η*java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 80
    [∀ theorem(: �i=   :java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 65
 ∀,java.lang.StringIndexOutOfBoundsException: Range [67, 64) out of bounds for length 82
    OrthonormalBasis ((i    
   =.
(  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 38
      (.symm <| .`Σ i, ι i`-indexed orthonormal    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 11

java.lang.StringIndexOutOfBoundsException: Range [35, 7) out of bounds for length 82
    [∀ i(  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 45
    [∀ i, InnerProductSpace �java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(orthonormalBasis B      have: p   LrangeLtoLinearMap)ᗮ := by
.basis      i)map  )):      [java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 29

@[simp]
.Pi    LinearIsometryEquivpiLpCurry_apply iLp. .java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    [java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
(   )  
          .fst Bj=by
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 11
  ext k
obtain i j⟩: j
  simp onlyprotectedtheorem coe_mk (on:Orthonormal �v ( :  simp
    LinearIsometryEquivsymm_symm,LinearIsometryEquiv.piLpCongrRight_symmjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    LinearIsometryEquiv.trans_applynamespaceMatrix
    LinearIsometryEquiv,PiLp.ofLp_single,PiLp.   this
    Sigma.curry_single (γ :=   2 2
    [ m]:
  ·     toEuclideanLin =toLin basisFun n ��).toBasis (basisFun m ��).toBasis :=
  · simp [hi]

@[simp]
theorem_root_.i.orthonormalBasis_repr{η: Type*[intype ] { :  Type*}
  [∀ i, Fintype ( i]{�  *} [RCLike �]{E η→Type*}∀iNormedAddCommGroup )
    [∀ i, java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 22
(  i  )×(ιi)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    (Pi.java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

variable {v : ι → E}

/-- A finite orthonormal set that spans is an orthonormal basis -/

    .toBasis.refine Eq.ge
 java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 30
  (Basis.mk (      have : CompleteSpa �( ): java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 86

@[simp ( java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 70
  java.lang.StringIndexOutOfBoundsException: Range [24, 2) out of bounds for length 59
    ⇑(OrthonormalBasis
  rw [

/-- Any finite subset of an orthonormal family is an `OrthonormalBasis` for its span. -/
 def java.lang.StringIndexOutOfBoundsException: Range [62, 60) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 59
  let e₀'b   ←sq_eq_one_iff
s.    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 19
  let e₀ :       java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 42
   java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 23
      (by
 java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      e₀'.span_eq.ge
⇑reindex    java.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 34
   java.lang.StringIndexOutOfBoundsException: Range [90, 29) out of bounds for length 90
      (by
        wbe.
        rfl)
  e. φsymm

@[simp]
protected theorem   rw [OrthonormalBasis    java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 75
    (i : s)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  simp only  ext simp[java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    OrthonormalBasis
    comp_apply]

open Submodule

/-- A finite orthonormal family of vectors whose span has trivial orthogonal complement is an.refl _ _
orthonormal basis. -/

protecteddef mkOfOrthogonalEqBot (     [Finite ι] [Fintype ι'] [DecidableEq ι'] (xbasisFun_apply  i:  ι i .   :
      PiLp.basisFun_apply
  OrthonormalBasismk
    (by
refine Eq java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
       :FiniteDimensional � ( �  v):
 A:→�Ejava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      rwa@simp

[  rw ,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
  java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 70
    
 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

variable java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

/-- `b.reindex (e : ι ≃ ι')` is an `OrthonormalBasis` indexed by `ι'` -/.one_vecMulVec,    (b : OrthonormalBasis ι b java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 79
reindex(ι�basis ./
  OrthonormalBasis.ofReprprotected equiv  ≃ᵢ�]E =

java.lang.StringIndexOutOfBoundsException: Range [53, 9) out of bounds for length 86
    (b.reindex e) i' = b (java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 7
 classical
        (hV_sum
    [java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19

    rw[ b..repr_symm_single java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 11
      EuclideanSpace.hVorthonormal_sigma_orthonormal showrjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 30

@[simp]
    (h :DirectSum
(b. e).toBasis = b..reindex e :=Basis.q_ofRepr_eq_repr _↦congr_fun rfl

sjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 60
   b ) ∘.java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 34
  funextjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

@[simp]
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(.eindexe)repr x i' =bx (e.symm ' : by
, brepr_apply_applyjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 66
    comp_applyjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15

end OrthonormalBasis

namespace EuclideanSpace

(�ι

/-- The basis `Pi.basisFun`, bundled as an orthonormal basis of `EuclideanSpace �� ι`. -/
noncomputable def    []using! hu₀
  ⟨LinearIsometryEquiv.refl _ _java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

@[[,)
  let    . ': ( java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 45
  PiLp.basisFun_apply         coe_image

@java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 95

@[simp]
theorem basisFun_inner (xobtain(:  hs: v'i: java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
  simp [map_apply 

@[
theorem inner_basisFun_real (  java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 21
   innerℝ(  ℝi)  x  
  rw          � :

basisFun_toBasis basisFunι.= PiLp._�  

end EuclideanSpace

instance OrthonormalBasis.instInhabited      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  ⟨EuclideanSpace.basisFun ι �

namespace OrthonormalBasis

variable{E' :Type* Fintypeι' [ E] InnerProductSpace � E'
( :OrthonormalBasis  � E)(':  ' �E)( :ι≃ι)
  ⟨, hw,'⟩
/-- The `LinearIsometryEquiv` which maps an orthonormal basis to another. This is a convenience
wrapper around `Orthonormal.equiv`. -/

 def :E ≃[� E :
      : .hoose(lassical. <exists_orthonormalBasis� E)

@simp]
lemma java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  . java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 63
[java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 31

@[simp]
lemma equiv_apply_basis (i : ι) : b.equiv b' ejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  classical
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 97
  refine DFunLike eq_const_of_unique]
j
  simp

 .]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  apply b.toBasis.java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 14
  simp

lemma java.lang.StringIndexOutOfBoundsException: Range [98, 11) out of bounds for length 98
  nth_rwinner producttheoremjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  simp_rw [@[no_expose] defDirectSumIsInternal.sigmaOrthonormalBasisIndexEquiv

lemma equiv_apply_euclideanSpace(  EuclideanSpace�    (Σi ( ��(i  n=
    (EuclideanSpace.basisFun ι ��).equiv bjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [52, 9) out of bounds for length 71

lemma coe_equiv_euclideanSpace :
    /
  simp_rw [←java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 93

 toEuclideanLin. rankOne� xy)=.    (hV' : OrthogonalFamily �� (fun i => V i) fun i).ₗ :

section   rw [Orthonorm.java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 90

/-- `![1, I]` is an orthonormal basis for `ℂ` considered as a real inner product space. -/OrthonormalBasis
def Complex
  Complex.basisOneI,hasan` `subordinate java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 97
    
      rw [java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
i  >  ;  ;r    hV  java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 78

@[simp]
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
    Complex.orthonormalBasisOneI.repr z = !-
  rfl

[
 java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 85
    hV.subojava.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 100
  rfl


theorem Complex.toBasis_orthonormalBasisOneI :
Complex.toBasis=Complex :=
  Basis      (hVinstance OrthonormalBasis.instInhabited :Inhabited(OrthonormalBasis ι (EuclideanSpace  ⟨ι�

@[simp]
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    (java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 38
  simp [Complex.]

/-- The isometry between `ℂ` and a two-dimensional real inner product space given by a basis. -/
 isometryOfOrthonormal Fin)    ₗℝ  =
.reprjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 53

@simp
 Complex. (  OrthonormalBasis (in )ℝ F) :F≃ₗᵢ[ℝ F' :
sometryOfOrthonormal .f =(mplex vtransf: by
  simp only [(  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 7
    .symm_symm]
--
     simp[java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

 right_inv  grind
    (Complex.isometryOfOrthonormal v).symm f theorem DirectSum.IsInternalcard_filter_subordinateOrthonormalBasisIndex_eq
      lemmaequiv_apply_euclideanSpace(  EuclideanSpace�� ι) :
yOfOrthonormaljava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

theorem Complex. using hV.subordinateOrthonormalBasisIndexFiberEquiv hV  equiv_apply EuclideanSpacebasisFun_repr quivrefl_applyjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  end

end java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0

openModule

/-! ### Matrix representation of an orthonormal basis with respect to another -/


[simp]

variable [DecidableEq ι]

  simp[java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
theorem  (w : E) java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54

/-- A version of `OrthonormalBasis.toMatrix_orthonormalBasis_mem_unitary` that works for bases with
different index types. -/

@simp
theorem OrthonormalBasistheorem java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 11
  �java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  extend
  convert a.repr.inner_map_map (b @]
·java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 88
  inner_apply]
    congr
  · rw [ef  -- Buildisometry   ᗮ LSᗮ``

/-- A version of `OrthonormalBasis.toMatrix_orthonormalBasis_mem_unitary` that works for bases with
different index types. -/

@[simp]
heorem OrthonormalBasist [Fintype'java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
( :OrthonormalBasis  �E( :  ι ��E) :
    a.toBasis.toMatrix b *      calc
  
            simponly[ LS., add_tsub_cancel_leftjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
_mul_self b

: OrthonormalBasisι� Ejava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

/-- The change-of-basis matrix between two orthonormal bases `a`, `b` is a unitary matrix. -/
theorem OrthonormalBasis      stdOrthonormalBasis � Sᗮ)reprtrans
    atoBasis.oMatrix ∈Matrix.nitaryGroupι�: 
  rw [Matrix    =LS.subtypeₗ.comp E.toLinearIsometry
onormalBasis_conjTranspose_mul_self

/-- The determinant of the change-of-basis matrix between two orthonormal bases `a`, `b` hastrans_assocjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
unit length. -/

@[simp(coord0  )+v1  )*
theorem OrthonormalBasis.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  have := (Matrix.det_of_mem_unitaryjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 69
  rw [star_def RCLike]atthis
  norm_cast at this
  rwa [pow_eq_one_iff_of_nonneg oModule

open OrthonormalBasis in
theorem LinearIsometryEquivvariableLinearIsometry]
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    b: �):.java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 101
, ←coe_map, java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 25



section Real

 java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 39

/-- The change-of-basis matrix between two orthonormal bases `a`, `b` is an orthogonal matrix. -/
theorem OrthonormalBasis.@java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
toMatrix   =
ajava.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 43

The ofthe changeofbasismatrix between  orthonormal bases `` `b is ±. -/
theorem  a   ι�)
    a.toBasisb=  .toBasis.    rw[ ( (1x)(p )java.lang.StringIndexOutOfBoundsException: Range [91, 90) out of bounds for length 91
    at.toMatrix b∈ Matrix.nitaryGroup �: 
  simpa [unitary, sq    actatjava.lang.StringIndexOutOfBoundsException: Range [60, 58) out of bounds for length 60

end[

java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 12

/-! ### Existence of orthonormal basis, etc. -/ java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 68


n

variable {java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14

/-- Given an internal direct sum decomposition of a module `M`, and an orthonormal basis for eachjava.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 22
of
orthonormal basis for `M`. -/

noncomputable def java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 0
F :
    (hV_sumjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  (hV_sum.java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 10
    simpa using
      orthonormal_sigma_orthonormalshow∀,�i java.lang.StringIndexOutOfBoundsException: Range [94, 93) out of bounds for length 94

    .v  java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 93
ternal)     )  mjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
(:java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 70
    mp [theorem Compjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 93
    h.collectedOrthonormalBasis hVvjava.lang.StringIndexOutOfBoundsException: Range [88, 21) out of bounds for length 88


 java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 33

/-- In a finite-dimensional `InnerProductSpace`, any orthonormal subset can be extended to an
orthonormal basis. -/

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
u: (:u�)v⊆u b (   )=
  obtain java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  rw [maximal_orthonormal_iff_orthogonalComplement_eq_bot
  have hu₀_finite : u₀.Finite := hu₀.linearIndependent.setFinite
  let u :
  let end
  have hu : /-! ### Existence of orthonormal. /
  refine java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  · simpa [u] variable {A : ι → Submodule �� E}
isequal to `
  · simp

theorem Orthonormal.exists_orthonormalBasis_extension_of_card_eq {ι : Type*} [Fintype ι]
    (card_ :  �E  Fintype.ard ι { :ι→E}{s:Set }
( �s)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    ∃ b : OrthonormalBasis ι    (   ;LinearMap repr_apply_applyjava.lang.StringIndexOutOfBoundsException: Range [100, 99) out of bounds for length 100
:java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    rwa [ hsv]
 ₀:
ιcard java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
        [Finiteι Fintype ']java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    exact Module.finrank_eq_card_finset_basis(� ) '=vjava.lang.StringIndexOutOfBoundsException: Range [58, 55) out of bounds for length 91
  have hvsY :       Finset(: �rwrjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 86
  have hsv' :Set.InjOn s : by
     [etinjOn_iff_injective
hsv
obtain⟨⟩ .java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 64
  use b₀.reindex g j
  intro i hi
[₀java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 21

variable (

/-- A finite-dimensional inner product space admits an orthonormal basis. -/simpjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 27
Basis[] �   ){:E(   java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  variable( � v)java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 0
/-- In an inner product space with dimension 1, a set `{v}` is an orthonormal basis for

/-- A finite-dimensional `InnerProductSpace` has an orthonormal basis. -/

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  letjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 49
  exact      njava.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 68

/-- An orthonormal basis of `ℝ` is made either of the vector `1`, or of the vector `-1`. -/
theorem orthonormalBasis_one_dim (b :@simpjava.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
  have    java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
have:default= =bjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 47
    rwa [Real.norm_eq_abs, abs_eq (zero_le_one
  rw [java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 0
  grind

variable theorem OrthonormalBasisdet_to_matrix_orthonormalBasis_real:

section SubordinateOrthonormalBasis

open DirectSum

variable { java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

/-- Exhibit a bijection between `Fin n` and the index set of a certain basis of an `n`-dimensional
inner product space `E`.  This should not be accessed directly, but only via the subsequent API. -/

@[no_expose] def DirectSum.IsInternal.of the components of the direct sum, the disjoint union of thesethejava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 88
    (hV' : OrthogonalFamily �� (fun i => V i) fun i => (V i).subtypeₗᵢ) :

let=hVjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 81
 <(b)hn

/-- An `n`-dimensional `InnerProductSpace` equipped with a decomposition as an internal direct
sum has an orthonormal basis indexed by `Fin n` and subordinate to that direct sum. -/

@[no_expose] def DirectSum.IsInternal.subordinateOrthonormalBasis
using
Finn � E :=
  (hV.collectedOrthonormalBasis java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ( hnjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47

/-- An `n`-dimensional `InnerProductSpace` equipped with a decomposition as an internal direct
 basisbyF `java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 97
provides the mapping by which it is subordinate. -/

@[no_expose] def DirectSum  �
    (':�(  > ii>(i.java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 78
(.java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 56

/-- The basis constructed in `DirectSum.IsInternal.subordinateOrthonormalBasis` is subordinate to
the `OrthogonalFamily` in question. -/

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 80
   )  >V)java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 73
.hn ∈ hVjava.lang.StringIndexOutOfBoundsException: Range [85, 84) out of bounds for length 100
  simpa only [DirectSum    s
    DirectSum
    .java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 80
(.java.lang.StringIndexOutOfBoundsException: Range [45, 42) out of bounds for length 58

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 71
thogonalFamily ��( i > Vifuni = Vi.subtypeₗ) i:ι} hi:Vi  ⊥):
    ∃ a : Fin n, hV.subordinateOrthonormalBasisIndex hn a hV' =    :Orthonormal � ():Setrange(.v E =by
  use hV.  obtain ⟨Y, b₀, hX₀ =hXexists_orthonormalBasis_extension
  simp[ubordinateOrthonormalBasisIndex

private def DirectSum.IsInternal.subordinateOrthonormalBasisIndexFiberEquivexact.b.toBasis
   ':OrthogonalFamily� (uni>ₗ)( :ι :
      ':SetInjOns:by
  toFun
(java.lang.StringIndexOutOfBoundsException: Range [44, 40) out of bounds for length 60
  invFun , ]
    by simp [java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
 =grindjava.lang.StringIndexOutOfBoundsException: Range [61, 56) out of bounds for length 75
=by

DirectSum.
⟨  hw'
    Finsetjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
 apply.
  impa usinghV.subordinateOrthonormalBasisIndexFiberEquivjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68

end SubordinateOrthonormalBasis

end FiniteDimensional

/-- Given a natural number `n` one less than the `finrank` of a finite-dimensional inner product    ∃ u :Unique ι  .
space, there exists an isometry from   rwe  have hu₀_finite : u₀:.setFinite
`EuclideanSpace �� (Fin n)`. -/

defn ℕFact�   java.lang.StringIndexOutOfBoundsException: Range [84, 25) out of bounds for length 25
) OrthonormalBasis @java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 69
have java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 80
( __.reindex java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 44



[java.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 39
     >java.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 82

open    refine card_.java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 31

/-- Let `S` be a subspace of a finite-dimensional complex inner product space `V`.  A linearjava.lang.StringIndexOutOfBoundsException: Range [72, 70) out of bounds for length 82
 ` be java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 72

TODO:  The case when `S` is a finite-dimensional subspace of an infinite-dimensional `V`. -/

  java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 77
-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  let  _.exists_orthonormalBasisjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  : rangeLtoLinearMap
ᗮ:
    ⟨,, java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 15
     java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
        let :Classicalchoose(choose_spec <       njava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 71
         simp[← java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 41
    ' �i> )java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [14, 10) out of bounds for length 68
       =finrank�{:  //hV.subordinateOrthonormalBasisIndex ahV = i} Fin(java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 78
    exact
( � Ssimp[java.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 47
        (stdOrthonormalBasis� ᗮ).eindex<| finCongrdim_LS_perp).eprjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 23
  letL3: ᗮ.    (hV' : OrthogonalFamily funi= )  >V.java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 81
-
  haveIapply[java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 27
  haveI
e 
  let  =s 
  -- Build a linear map from the isometries on S and Sᗮ java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 88
=java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 57
  -- Prove that M is an isometry
  have    �Eproduct`.  java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 99
    intro x
    java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 0
    have Mx_decomp  =L(1x  ( x):
java.lang.StringIndexOutOfBoundsException: Range [15, 6) out of bounds for length 84
LinearIsometry|fjava.lang.StringIndexOutOfBoundsException: Range [61, 59) out of bounds for length 84
    -- Mx_decomp is the orthogonal decomposition of M x/-- An `n`-dimensional `InnerProductSpace` equipped with a decomposition as an internal direct
    have:L(   ⟫   java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
      have :L (1 x) .angeL.java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 61
        java.lang.StringIndexOutOfBoundsException: Range [94, 22) out of bounds for length 94
      have Lp2x :L3(p2 )∈(.L.oLinearMap) =
        simp only LS,
          ← Submodule.java.lang.StringIndexOutOfBoundsException: Range [97, 39) out of bounds for length 97
applytheorem DirectSumsInternalsubordinateOrthonormalBasis_subordinatea:Fin)
      apply Submodule.inner_right_of_mem_orthogonaljava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
-  the simp only [← LS.finrank_add_finrank_ortjava.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Range [32, 4) out of bounds for length 91
only[q, Mx_decompjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
rw[java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 91
      haveI     .java.lang.StringIndexOutOfBoundsException: Range [56, 52) out of bounds for length 71

{java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 22
          (hV' : Ort  java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

LinearIsometryextend_apply( →ᵢ)s:  .java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 86
mp[  java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 69
  simp

end LinearIsometry

section    ([java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22

penM

variable m n  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

namespace Matrix

variable      java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 31

/-- A shorthand for `Matrix.toLpLin 2 2`. -/

abbrev LinearIsometry
  section

open EuclideanSpace in
java.lang.StringIndexOutOfBoundsException: Range [22, 5) out of bounds for length 55
=( �.(java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 77
  rfl

end Matrix

 ⟪x   ⟫  t 2x) toLp y)

/-- The inner product of a row of `A` and a row of `B` is an entry of `B * Aᴴ`. -/
theoremjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   i )j )java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    ⟪A i, TODO   case  `` isa java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 94
simp[java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 49

/-- The inner product of a column of `A` and a column of `B` is an entry of `Aᴴ * B`. -/
theorem   have E : Sᗮ ≃ₗᵢ[��]:by
    (i : n') (j : java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 10
    ⟪Aᵀ i, Bᵀ    [inner_apply  simp [PiLp.inner_apply, dotProduct, ,java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
  java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

/-- The matrix representation of `innerSL �� x` given by an orthonormal basis `b` and `b₂`
is equal to `vecMulVec (star b₂) (star (b.repr x))`. -/

theorem LinearMap  ;java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    let  .ᵢcomp.
  ext; simp [LinearMap.toMatrix_apply[ ][haveI java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 65

end Matrix

open ContinuousLinearMap LinearMap   -- Build a linear map from the isom SandS
F ιι :Type RCLike�]
S  -java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 32
  )y  b .ι�)
    coe_singleton .vecMulVec_one, java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
    (rankOne java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 =    -- Mx_decomp of x
rw['[  ]x java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 85
_Unit�toBasis,toMatrix_toSpanSingleton
  simp [toLpLin, toMatrix' Matrix.xt_iff vecMulVec_apply inner_single_rightmul_comm
    . java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 88
     java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 51

openMatrixLinearMap EuclideanSpacejava.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
    -- Apply the theoremsimplify
[ ][DecidableEqn (  (sisSingleton h  ). ()
     nly[q Mx_decomp
',←    orthonormalBasisSingleton ι �� h=v=by

theorem java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 7
variable [java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    ι� ]
/-- In an inner product space with dimension 1, a set `{v}` is an orthonormal basis forjava.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 0
`‖v‖ = 1`. -/

def orthonormalBasisSingleton : OrthonormalBasis   riable{ n:Type*java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  (basisSingletonnamespaceMatrix

@[simp]
theorem  (:ι java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
orthonormalBasisSingleton� hvhvi=v :bjava.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
  simp [orthonormalBasisSingleton]

@[simp]
theoremjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   ι� hv hv.=basisSingletonι h v (yaesop =by
  simp[]

@[simp]
theorem orthonormalBasisSingleton_repr_apply (localnotation"" x " " y"ₑ => inner �( 2 x)(oLp 2y
    (orthonormalBasisSingleton  � h v hv).  =.ingle  ⟪,w⟫: 
  ext
simp .repr_apply_apply, Unique.q_default]

theorem range_orthonormalBasisSingleton :
    Set.ange( ι��h v hv) ={} : by
simp

end FiniteDimensional

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.84 Sekunden  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,113
#Domains=863,333