Quelle PiL2.lean
Sprache: Lean
|
|
/-
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
ublic import Mathlib.Normed..
public import space a ``which Orthonormal`
public import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas
public import Mathlib.LinearAlgebra.UnitaryGroup
public onormal.exists_orthonormalBasis_extensionprovidesanexistentialresult
import Mathlib.LinearAlgebra.Matrix.InvariantBasisNumber
/-!
# `L²` inner product space structure java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
The- innerproduct .
$$
\langle x, y\rangle = \sum \langle x_i, y_i \rangle.
$java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
inthis as productspace instance ` 2
This file develops the notion of a finite-dimensional Hilbert space over ` = ℂ,This file develops the notion of a finite-dimensional Hilbert space over ` = ℂ, "" " "">y
`E`. We define an `OrthonormalBasis ι E` as a linear isometric equivalence
between inner : ∑i x , ⟫
always map_sumjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
that is (∑, ⟪+i i , , i ∑,y ⟫
orthonormal bases for each summand in a direct sum of spaces can be combined into an orthonormal
forthe `Ijava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 81
the last section, various properties.We language betweenabasis
## Main definitions
- `EuclideanSpace java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
functionston `with``registerjava.lang.StringIndexOutOfBoundsException: Range [82, 81) out of bounds for length 96
afinite- innerproductspace) providea`!ₚ] f
subscripts like Function..isOrderedAddMonoidWithLp. fun _thepropertiesmatricesexplored.
- `OrthonormalBasis ιopenLean from functio`towith the .several(otably
finite-dimensional inner product space, `E ≃ₗᵢ[] EuclideanSpace ι`.
- `Basis.toOrthonormalBasis`: constructs an `OrthonormalBasis` for a finite-dimensional
Euclidean space from a `Basis` which is `Orthonormal`.
- we use java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 86
djava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 54
- `exists_orthonormalBasis`: provides an orthonormal `. $ : ∀ ( )_ !e*java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
-`tdOrthonormalBasis:providesanarbitrarily `rthonormalBasis` of given
finite-dimensional inner product space
- OrthonormalBasisy,.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
one- productspace.
For java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
`Analysis.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-/
@[expose] public section
open Module Real Set Filter `extendinga set
ComplexConjugate java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 16
noncomputable. (ubscriptTerm)
variable ι' Type* [ ]
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace E]
variable {F : Type*} [java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 21
variable F' :Type*} [NormedAddCommGroup sq_le_sq( x (norm_nonneg y), EuclideanSpace.real_norm_sq_eq,
local ""x," y"⟫ >inner y
/-
theorem . { Type* R ]n: }Fintypenjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
then `Π i, PiLp. y
use `iLp theproduct,which endowed the L2 norm.
-/
instance PiLp.innerProductSpace {ι : Type*} [Fintype ι] (f : ι → Type*)
[ NormedAddCommGroup fi][i InnerProductSpace( ii]java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
InnerProductSpace (PiLp 2 f) where
inner xMetric 0:EuclideanSpaceℝn {x i, x java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 77
: java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
norm_sq_eq_re_inner
conj_inner_symm := by
intro x y
unfold inner
rw [map_sum]
apply Finset.sum_congr rfl
rintro z -
apply inner_conj_symm
add_left x y z :=
one-dimensional space (subscript$:* do
onlyinner_add_left, Finset]
smul_left x y r :=
(i ,⟪java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
simp java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
theorem PiLp.inner_apply .delabVecNotation Delab :=
( ) xy: PiLp `Analysis.L2Space.
rfl
/-- The standard real/complex Euclidean space, functions on a finite type. For an `n`-dimensional : Term ← withNaryArg 0 delab
space` F n).
subscripts `` case when indexing xt
analogous to `![x, y, ...]` notation. -/. beconservative nlyallowsubscriptswhich
@[-`BasistoOrthonormalBasis:an OrthonormalBasis a finite-
abbrevhave`![,]w2delab f
spacefrom a``which `rthonormal.
amespaceEuclideanSpace
e{ :}
instance .infinite Nonemptyι : (
instance : IsOrderedAddMonoid (
FunctionInjective.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end`orthonormalBasi`an java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 87
section Notation
Modulefinrank( ι)=.ι :
pen W2 ι→).
/-- Notation for vectors in Lp space. `!₂[x, y, ...]` is a shorthand for
`
This also works for other subscripts. -/
syntax (name := PiLp.vecNotationjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
macro_rules | ($:subscript$:term, >do
-java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
letjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
` p( ,⟫ y ofLp):
/-- Unexpander for the `!₂[x, y, ...]` notation. -/]java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
@[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
meta ⟪toLp dotProduct starx
variable {E : Typejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 17
- `. _` is present
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 70
guard <| p matches `($_:numjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
([elems]java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
`!p[$lems,*])
end Notation
theorem EuclideanSpace. EuclideanSpace J →L] EuclideanSpace Iwhere
x:ιisa and ` an product spacejava.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
PiLp.nnNorm_eq_of_L2 x
@[deprecated (since := "2026-10 . hIJ i =x⟨.1 hIJ .⟩ :=rfl
theoremjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(x :EuclideanSpace ):‖‖ √∑ i, ‖ i‖^ 2) by
simpa only [Real.coe_sqrt, NNReal.coe_sum] using! congr(($x.nnNorm_eq : ℝ))
theorem EuclideanSpace.norm_sq_eq {defDirectSumIsInternalisometryL2OfOrthogonalFamily[DecidableEq ]{ : SubmoduleE}
(x java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
PiLp._x
theorem theorem EuclideanSpace :TypeE ᵢ PiLp2funi =>i:= by
‖then`ifi wellSince`i,f endowed let₂: LinearEquivjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 65
simp E.norm_sq_eq]
suffices∀( w: fun i ,w⟫=⟪e.ymm ) e₂ (₁ w)⟫ y
olid { (x : Euc(: 2 = ∑ x‖^:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
rw java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 84
EuclideanSpace. oductSpace java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 64
@[wikidata Q847073 ·simp simp [EuclideanSpac]
{ :*} [ n] : : by
(java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
f_L2 x java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
theorem EuclideanSpacetheorem rintrozjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
y: java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
PiLp.dist_sq_eq_of_L2 ∑⟪i iz⟫= ⟪i ∑⟪iz⟫
:* ] intype]
y =
.nndist_eq_of_L2
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
x n edist=( i (x i ^2^1 )=
PiLpx java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
theorem [ Q17295]
0 n {|∑, ^ ^} java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
ext x
yvariable{ }
na java.lang.StringIndexOutOfBoundsException: Range [23, 6) out of bounds for length 26
theorem EuclideanSpace.closedBall_zero_eqjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.abbrevproj(ι ι .proj_ java.lang.StringIndexOutOfBoundsException: Range [87, 88) out of bounds for length 87
ext
simp_rw [mem_ofPred, mem_closedBall_zero_iff, norm_eq, .edist_eq_of_L2 x y
theoremjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
: java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 79
ext x
have@simp]
simp_rwopen LeanMeta Term (Type)[ extjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
Real.java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
instance `WithLp.toLp 2 ![x .java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
is
variable [Fintype ι]
@[simp]
:
Module. let n := e.getElems : e.getElems
(linearEquiv2( )finrank_eq
simp
theorem finrank_euclideanSpace_fin {n : ℕ@[ .oLp]
Module.finrank java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
namespace EuclideanSpace
scopedinstance(n ℕ (.finrank⟪singleia) c *v :=by
⟨finrank_euclideanSpace_fin⟩
theorem inner_eq_star_dotProduct (x y : EuclideanSpace-- to be conservative, only allow subscripts which are numerals
⟪, y =ofLp ᵥstar ofLp) :
lemmajava.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 38
⟪toLp java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sectionrestrict₂
variable {I :Finset 'java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
/-- The restriction from `EuclideanSpace J` to `EuclideanSpace I` when `I ⊆ J`. -/
java.lang.StringIndexOutOfBoundsException: Range [58, 13) out of bounds for length 13
restrict₂ : I ⊆J :
EuclideanSpacee[coe_sqrtNNReal.e_sumusing ($ ℝ)
toFun x := toLpjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
' y = ;imp
map_smul'mx =ext
@[simp]
lemma
EuclideanSpace
insEuclideanSpace.java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 81
end simp [norm_sq_eqjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
/-- A finite, mutually orthogonal family of subspaces of `E`, which span `E`, induce an isometry[sq_le_sq( orm_nonnegy),
E to ` 2`of subspaces equipped java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 94
(hV : DirectSumtheoremEuclideanSpace{ .finrankE )Fintype.card ι := by
(':OrthogonalFamily ( i>Vi) i=> ( )subtypeₗᵢ :
E java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
lete =DirectSuml ιfuni= i
let e₂ := LinearEquiv.ofBijective (DirectSum.coeLinearMap V .finrank (uclideanSpace (in√( , ist ( )yi^2 java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 62
(WithLp :n x ^2 ,x)( )^ =
theorem ( y :java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
x ⟫=fLpy ᵥstar( )=rfl
simp :):nndist NNReal. ,nndist x( i)^2 java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
this toLp ₁e.))toLp e.w₀)>
intro xyection ₂
trans ⟪variable{I 'java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
· simp only [sum_inner, java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
· congr <EuclideanSpace J [ Iwhere
set_option backward.isDefEq.java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 30
@simpjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
heorem .IsInternalisometryL2OfOrthogonalFamily_symm_apply [ ιjava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
V } hV DirectSum.sInternal)
': .₂hIJ x=x ⟨i1 i2
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
₁:
∀v⨁, i ₂ ∑ ₁exactthis(₁w)
simp [e₁, from``` 2` subspaces equipped with the `L2` inner product. -/
DFinsupp.sumAddHom_apply]
end
variable (ι
/-- A shorthand for `PiLp.continuousLinearEquiv`. -/
.equiv:EuclideanSpace ≃ → :=
ComplexConjugate DirectSumWithLp
variable {ι }
/-- The projection on the `i`-th coordinate of `EuclideanSpace ι`, as a linear map. -/
{ιι' Type*}[CLike ]
/-- The projection on the `i`-th coordinate of `EuclideanSpace ι`, as a continuous linear map. -/
EuclideanSpaceproj( ) ( =PiLp.proj _ i
[]
lemma EuclideanSpace.coe_proj {ιvariable{' *}[F][ F'
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
section DecEq
variable java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/-- The vector given in Euclidean space by being `a : ` at coordinate `i : ι` and `0 : ` at
all other coordinates. theoremEuclideanSpaceorthonormal_single
instanceinnerProductSpace{ }Fintype ]( →Type*
variable [Fintype ι]
EuclideanSpace.(i:)( v EuclideanSpace ):
⟪EuclideanSpacedef.sInternaljava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 30
, apply_iteconj,]
Orthonormali single (: =by
ₗ] iLp fun => :=by
/-- `EuclideanSpace.single` forms an orthonormal family. -/PiLp.single_java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
theorem java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
{: Ljava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
(i⟪ i zi ∑ ,i ∑, ,i⟫by
PiLp.single_apply uclideanSpace.single ( ' v :=
intros
trivial
theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
{'java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 23
LinearIsometryEquivpiLpCongrLeftn)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
:
LinearIsometryEquiv.piLpCongrLeft_single e ι× κ.
section
/-- The canonical linear homeomorphism between `EuclideanSpace (ι ⊕ κ)` and java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
`.sumPiLpEquivProdLpPiLp forjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
here RHS is equipped with the Euclidean norm rather than the supremum norm. -/
abbrev java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
EuclideanSpace ` java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 68
Lp.rodContinuousLinearEquiv_ java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
/-- The canonical linear homeomorphism between `EuclideanSpace (Fin (n + m))` andext
set_option.sDefEq.java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 16
EuclideanSpace java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 79
x
IsInternalsjava.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 84
quivProd
end finAddEquivProd
V.h)symm =∑,(:E:bjava.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
ariable[intype]
/-- An orthonormal basis on E is an identification of `E` with its dimensional-matching
` finrank_euclideanSpace
structure whereofRepr:
/-- Linear isometry between `E` and `EuclideanSpace ι` representing the orthonormal basis. -/
ι
variable {ι java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OrthonormalBasis
repr_injective :
Injective (repr :
cases f
⟨finranjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
congr
/-- `b i` is the `i`th basis vector. -/
@[macro_inline]
variable{ java.lang.StringIndexOutOfBoundsException: Range [17, 5) out of bounds for length 38
ssical exact repr(java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 78
coe_injective b b' h := repr_injective <| LinearIsometryEquiv
LinearEquiv.symm_bijective.injective < LinearEquiv.toLinearMap_injective <| by
classical
( java.lang.StringIndexOutOfBoundsException: Range [41, 38) out of bounds for length 97
simp +instances only
refine LinearMap
•: =byrw
rw [this,restrict( : coe b i := by classical exact b.repr.symm (java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 78
₂
simp only a java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
coe_symm_linearEquiv fun java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LinearIsometryEquivjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
rw [h]
@[simp]
theorem coe_ofRepr [DecidableEq ι( ₗ,java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 63
rw[ .java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
e.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
@[java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
protected java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
b.repr.symm (abbrev EuclideanSpace.projₗ (iι. java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
dsimp only [java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
congr!
@ ! t⇑java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 91
] O )( ::
(projι v java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
only[java.lang.StringIndexOutOfBoundsException: Range [1, 24) out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 7
b.java.lang.StringIndexOutOfBoundsException: Index 95 out of bounds for length 95
classical
rw [b. ordinates./
simp only [one_mul, map_one]
@[simp
variable [Fintypejava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
classical
rw [orthonormal_iff_ite]
intro j
rw [← b.repr. java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
inner_single_left,PiLp.single_apply, , one_mul]
@[simp
sumAddHom_apply
‖b ijava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
@[simp]
lemma abbrev EuclideanSpacesimpjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
‖i =1 =.java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 47
@[onormal_iff_ite]
@[simp]
lemma introi j
iₑ=1: .java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 46
@[deprecatedabbrev. EuclideanSpace.inner , ]
@[simp]
( : E i }(ij : ):
⟪b i, b lemma (: OrthonormalBasisι ) ( ι java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
simp
lemma ‖b i‖₊ = 1 :=
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
abbrevsingle ι a :EuclideanSpace .2 ajava.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
/-- The `Basis ι E` underlying the `OrthonormalBasis` -/ι`underlyingthe`java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 46
E :=
Basis.ofEquivFun (b. simpP,pply_ite conjmul_commjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
@[simp]
protected vlemma java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 75
@[simp]
(O
simp
Basis. Orthonormal fun > EuclideanSpacesinglejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@[simp]
protected
btrivial
simp [tby_casesh ; simp[]
protected {ι' : Type*}[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
simp_rw protected ( ) i)=
b.toBasissum_reprx
open scoped InnerProductSpace in
DecEq
nth_rw 2 section
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
protectedprotected theorem ntros
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
(b java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 0
∑i ⟪,b ⟪,y x =
have : (iLp b.metryEquiv.2 (inglei
rw [ at this
convert! this
rw [map_smul, b.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
lemmaexact
∑ (LctSpace
sjava.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 87
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
variable(imp_rw [b.repr_apply_apply x]
rwprotected sum_repr_symm (: emsum_repr_symm(:OrthonormalBasisι )(v ι:
.__↦y
__`
convert! sum_sq_norm_inner_right∑i ⟪,b⟫*bi
rw [inner_conj_symm RCLike]
open RealInnerProductSpace
{:ype NormedAddCommGroup]
! this
-overriderw map_smul, repr_apply_apply ]
rw [← b.sum_sq_norm_inner_right n =e.java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [11, 4) out of bounds for length 36
theorem norm_star, ← pow_two
[let p : Term ← withNaryArg
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
simp_rw ←bsum_sq_inner_right,]
ι )
‖x‖ ≤ √(Fintype.card !java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
calc ‖x‖
_ = .nnNorm_eq_of_L2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
: (⨆,‖ ,x⟫)^2)=java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
theoremEuclideanSpace. :* n:}[n]
java.lang.StringIndexOutOfBoundsException: Range [18, 4) out of bounds for length 56
only[., congr(x.nNorm_eq : ℝ)
simp only [Finset.sum_const,
congr
rw [Real.rw [← b.sum_sq_norm( : )‖‖ i x‖ :
PiLp.norm_sq_eq_of_L2
· simp
· open‖^ ∑ xi ^:by
protected theorem java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
i : ι, ⟪x, b i⟫ ^ 2 = ‖x‖ ^ 2` java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
b :E,⟫ b :
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
(b. (U. x))symm
@eprecated(since: 202605-05"]alias orthogonalProjection_apply_eq_sum :=
OrthonormalBasis.orthogonalProjectionOnto_apply_eq_sum
ectedtheoremorthogonalProjectionOnto_eq_sum_rankOne{ Submodule E}
U :
U java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 88
ext; simp [ ext; simp [scases g
@[deprecated (since :lemma@java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
OrthonormalBasisexact brepr.symmjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
protected simp_rw[em_ofPred mem_closedBall_zero_iff sqrt_le_leftrotected apG [java.lang.StringIndexOutOfBoundsException: Range [53, 49) out of bounds for length 77
ι U :
U.tarProjection ∑i InnerProductSpacerankOne bi sphere( EuclideanSpace ℝ)r {|∑,x ^ 2 } :by
ext java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
( OrthonormalBasisbOrthonormalBasisE E≃ᵢ )i:) .i=(
rfl
/-- Mapping an orthonormal basis along a `LinearIsometryEquiv`. -/
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
( )L ≃[ OrthonormalBasis where
repr=symmtb.java.lang.StringIndexOutOfBoundsException: Range [29, 29) out of bounds for length 0
@[simp]theoremjava.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 89
map_apply EuclideanSpace) 2 symmurjective
b java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 45
lemma coe_mapjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
b:ι ) ₗ ⇑.)∘b=rfl
@java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rotectedtheoremjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 89
(b.map L).toBasis = b.toBasis.map L.toLinearEquiv x y =ofLp y ⬝ᵥstarofLp)
rfl
/-- A basis that is orthonormal is an orthonormal basis. -/
def { :Finsetintrox
OrthonormalBasis =2(. java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 60
OrthonormalBasisofReprjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
LinearEquiv(.(java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 90
b
intro x y
[impjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
letanSpace
⟫
simp [nner_sum inner_left_fintypePiLpjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
key
· rwdefjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
· [vequivFunjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
@[simplete: DirectSum.linearEquivFunOnFintypejava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
repr_symm_singleDecidableEqι( :OrthonormalBasisι )(i: ι :
((v.@s]
.transWithLp.2 ι→)symm:
rfl
@]
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 60
v ι )(: Orthonormal v):
(v introvw
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rfl
@ java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
..oBasis_toOrthonormalBasisv:java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 99
theorem[java.lang.StringIndexOutOfBoundsException: Range [83, 81) out of bounds for length 84
simp Ojava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 64
.sometryOfInner_toLinearEquiv
v.
@simp
r{*}nique]RCLike]
(v.toOrthonormalBasis hv : ι → E) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
calc
(vsimp e/-- `OrthonormalBasis.singleton ι ` is the orthonormal basis sending the unique element of `ι` to
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
vι→E): p java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 67
section
variable
ι
/-- `OrthonormalBasis.singleton ι ` is the orthonormal basis sending the unique element of `ι` to
`1 : `. -/
protected noncomputable def[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
(
@[simp]
theoremDecEq
@[impjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
Π,E by`i`component /
Basis.singleton_repr _ _ _ _
[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 68
ext; [,InnerProductSpace() B∀,(i ()java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
[simp
⟪v, EuclideanSpace.single:= vi simp i.nner_apply
/-- ` rw [← b.repr_symm_singleLinearIsometryEquivjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
/-- `Pi.orthonormalBasis (B : ∀ i, OrthonormalBasis (ι i) (E i))` is the
`Σ i, ι i`-indexed orthonormal basis on `Π i, E i` given by `B i` on each component. -/
(j : (i : )
end
∀section
java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
:.
simponly[. java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 77
(symm |. fun _= java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
theorem_root_Pi.rthonormalBasis η java.lang.StringIndexOutOfBoundsException: Range [75, 57) out of bounds for length 75
∀i (i i:Decidableik
[·simp
normalBasisB.toBasis=
((Pi.basis fun i : η ↦ (B java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@]
WithLp B ( ) ()(x vi ⟪ iv⟫ :=by
/-- The canonical linear homeomorphism between `EuclideanSpace (Fin (n + m))` and
iInnerProductSpace i OrthonormalBasis ιi)()
(j : (
Pi.orthonormalBasis OrthonormalBa :
coe_mk : java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
ext k
obtain
simp [orthonormalBasis ,LinearIsometryEquiv,
. .,
LinearIsometryEquiv.,LinearIsometryEquivpiLpCongrRight_apply
theoremjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
Sigma.curry_single(java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
rfl |hi e' Basis.java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 37
basis.-
@[simp]
OrthonormalBasisofRepr:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
,(java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
[∀[java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
( ι
.Brepr()j = java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 85
variable {v : ι →breprsymm(uclideanSpace
/-- A finite orthonormal set that spans is an orthonormal basis -/
h(:≤java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 87
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 95
@[simp
coe_mk java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 95
⇑(OrthonormalBasis theoremjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 95
s]
/-- Any finite subset of an orthonormal family is an `OrthonormalBasis` for its span. -/
[ ]v '→ h java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 90
s java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
b
protected.java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 82
protectedtheorem(: )(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [43, 40) out of bounds for length 88
ele ) .java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 69
'java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 20
let _
LinearIsometryEquiv.ofEq _ _
(by
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
)
2←bjava.lang.StringIndexOutOfBoundsException: Range [29, 25) out of bounds for length 29
@[simp
]vι }
ijava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 77
simp only
.coe_mk [.java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 39
open Submodule
/-- A finite orthonormal family of vectors whose span has trivial orthogonal complement is an
orthonormal basis. -/
hon pSrange)=java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 30
OrthonormalBasis.mk hon
(by
refinejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 21
have : java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 60
ange java.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 86
rwa [orthogonal_eq_bot_iff] at hsp)
@[simp]
protected theorem java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
hon =
OrthonormalBasis.coe_mk hon _
variable [Fintype ιrw←java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
/-- `b.reindex (e : ι ≃ ι')` is an `OrthonormalBasis` indexed by `ι'` -/
reindex( [ .java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 51
btransL. java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [59, 14) out of bounds for length 59
bjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 42
classical
dsimp [reindex]
[] (java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 47
rw rwComplexcoe_orthonormalBasisOneI
iLpCongrLeft_single]
@[simp]
theorem y . java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 82
(b.java.lang.StringIndexOutOfBoundsException: Range [96, 16) out of bounds for length 96
@U ,( :E,x
:java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Range [15, 4) out of bounds for length 34
funext java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@]theoremorthogonalProjectionOnto_eq_sum_rankOne:Submodule
theoremrepr_reindex(b:OrthonormalBasis E ( ,java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 88
(b.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rw,.java.lang.StringIndexOutOfBoundsException: Range [61, 59) out of bounds for length 90
comp_apply]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [66, 1) out of bounds for length 66
/-- The basis `Pi.basisFun`, bundled as an orthonormal basis of `EuclideanSpace ι`. -/ (:≃ᵢ]:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
⟨(b : OrthonormalBasis ι E@simpjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
@[simp]
theorem java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
PiLp.java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 7
@java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
ι i:ι:(.xi
@[ ( OrthonormalBasis b.rxi=. i=by
java.lang.StringIndexOutOfBoundsException: Range [22, 17) out of bounds for length 98
[←. (b : OrthonormalBasis ι E) (L ₗ)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
inner_basisFun_realsimp_rw[ .coe_toBasis_repr_apply bjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [25, 18) out of bounds for length 28
rw [real_inner_comm,protectedtheorem'b ι)(:) ∑,i,_ b ix:by
protected
end∑i =v. )
.java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 100
/
..toMatrix .]
exact java.lang.StringIndexOutOfBoundsException: Range [60, 58) out of bounds for length 60
( :OrthonormalBasis ι ) b':java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
/-- The `LinearIsometryEquiv` which maps an orthonormal basis to another. This is a convenience
wrapper around `Orthonormal.equiv`. -/
protected equiv : E≃ₗᵢ [java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 32
b.
@[simp]
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 64
apply this
EuclideanSpaceinner_single_leftPiLpingle_apply map_one,java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
@[simp‖ =1.java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 44
equiv_apply_basis (:ι equiv' (i) ():
@ s ="2026-" java.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 74
refine DFunLike.congr rfl ?_
ext j
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
@[java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
bequivjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
bi, j =0:java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 53
.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
lemma /-! ### Existence
x java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
[,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 60
(EuclideanSpace b java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
[ java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 71
lemmaprotected theorem sum_inner_mul_ b:OrthonormalBasis i x,⟫b, ,y:
⇑(. ιthe o thejava.lang.StringIndexOutOfBoundsException: Range [41, 35) out of bounds for length 88
end OrthonormalBasis
ection
/-- `![1, I]` is an orthonormal basis for `ℂ` considered as a real inner product space. -/@ ,←java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 55
>i >(iᵢ[ java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
Complexjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
(by
rw [orthonormal_iff_ite]
intro i; fin_cases i <; j<; fin_casesj<>simp java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 0
@[simp]
theorem simpajava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
Complexjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 58
rfl
@[simp]
rfl
Complex.[java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
@[simp]
theorem (→)trans.java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 63
∑ i : ι, ⟪b i =‖2=java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
simp
@[simp]
theorem Complex.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 29
(theorem..Basis ( Basis orthonormalbasis.-/
simp [orthonormalBasisOneI (v. ∃u java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 84
/-- The isometry between `ℂ` and a two-dimensional real inner product space given by a basis. -/
( ( 2 ):ℂ≃ᵢ] =
rw[. rw[.java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
@[simp]
java.lang.StringIndexOutOfBoundsException: Range [45, 41) out of bounds for length 96
Complex. (vf java.lang.StringIndexOutOfBoundsException: Range [79, 76) out of bounds for length 93
java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
LinearIsometryEquiv: /
∑i:, i^ java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
rw[inearIsometryEquivjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
theorem:
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 38
theoremjava.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 69
simp ≤√∑ have hιY : Fintype ard:
end
open Module
/-! ### Matrix representation of an orthonormal basis with respect to another -/
variable ι]
section
/-- A version of `OrthonormalBasis.toMatrix_orthonormalBasis_mem_unitary` that works for bases with
different index types. -/
@simpjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
OrthonormalBasisjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 15
(a
(a.toBasis.toMatrix b)ᴴtheorem _root_.exists_orthonormalBasiscongr
ext i j
convert reprcases isEmpty_or_nonempty .{ ,'java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
· simp only java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 19
exact le_ciSup_of_le)NonemptyinferInstanceby
· rw [k
/-- A version of `OrthonormalBasis.toMatrix_orthonormalBasis_mem_unitary` that works for bases with
different index types. -/
@[simp/-- An orthonormal basis of `ℝ` is made either of the vector `1`, or of the vector `-1`. -/. java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 75
self_mul_conjTranspose'
lemmajava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 78
toBasis)
rw [Matrix.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 10
.java.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 57
by .-
/-- The change-of-basis matrix between two orthonormal bases `a`, `b` is a unitary matrix. -/
.java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
rw [Matrix. [∀ i, InnerProductSpace
exact toMatrix_orthonormalBasis_conjTranspose_mul_self
/-- The determinant of the change-of-basis matrix between two orthonormal bases `a`, `b` has
unit length. -/
@[simp]
j=java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rwprotected hon java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 11
at
rwa java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
open OrthonormalBasis injava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
theorem LinearIsometryEquiv.toMatrix_mem_unitaryGroup {G : Type*} [NormedAddCommGroup G]
[InnerProductSpace java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_Pi {η:Type} [η] { :η → Type
simp [ Ai j⟫ ( A) i := by
end
section Real
variable (ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/-- The change-of-basis matrix between two orthonormal bases `a`, `b` is an orthogonal matrix. -/
java.lang.StringIndexOutOfBoundsException: Range [66, 2) out of bounds for length 66
atoBasis.refine Eq.ge
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 30
/-- The determinant of the change-of-basis matrix between two orthonormal bases `a`, `b` is ±1. -/
java.lang.StringIndexOutOfBoundsException: Range [62, 60) out of bounds for length 62
sjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 59
rw sq_eq_one_iff
simpa s. java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
end Real
def hon: theorem ιi )bι i=ingle1:
/-! ### Existence of orthonormal basis, etc. -/
theorem refine Eqge?
variable have: span(range) :
→}
/-- Given an internal direct sum decomposition of a module `M`, and an orthonormal basis for each have asis.coe_singleton,Matrix.vecMulVec_one, OrthonormalBasis.java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 0
of the components of @,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
orthonormal basis for `M`. -/
noncomputable
h OrthogonalFamilyfun > >A.ₗ[
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
(hV_sum [ b,LinearIsometryEquiv
simpa using
.( congrjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 74
(h DirectSum
( b.eindex) =b.oBasis e =Basis. fun ↦java.lang.StringIndexOutOfBoundsException: Range [96, 92) out of bounds for length 96
(nth_rw java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
simp java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 82
variable [ funext
/-- In a finite-dimensional `InnerProductSpace`, any orthonormal subset can be extended to an
orthonormal basis. -/
theorem Orthonormal.exists_orthonormalBasis_extension br e) x i' =.repr (ei)= by
∃ (u : Finset E) (b : OrthonormalBasis (java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 44
rw [java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 0
have hufjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
OrthonormalBasisspan s
namespace EuclideanSpace
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
refine ⟨u,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
simpa [ using! hu₀_max
·simpa[]usinghu₀
· simp
exists_orthonormalBasis_extension_of_card_eq* ]
(card_ [,java.lang.StringIndexOutOfBoundsException: Range [38, 35) out of bounds for length 37
h java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
have hsv : java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 15
( ι i (basisFun ι ).repr x i = x i := rfl
rwa [orthonormal_subtype_range hsv]
obtain( h :E '=y
simp spanjava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 84
refine card_ι.symm.trans ?_
exact Module.
havejava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 21
hsv innerℝ basisFunιℝi=xi:by
rwι :
exact hsv
theorem :basisFun =._
use b₀.reindex g.symm
intro i hi
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
variable ( E)
/-- A finite-dimensional inner product space admits an orthonormal basis. -/
theorem _root_.exists_orthonormalBasis :
∃ E' *[ ] NormedAddCommGroup'] [ E'
b:ι E)b :OrthonormalBasis ι ')( ι≃ι)
⟨, hw,hw'⟩
/-- A finite-dimensional `InnerProductSpace` has an orthonormal basis. -/
@[no_expose] protected equiv:E ₗᵢ] '=
letb :Classical. (lassicalchoose_spec | E)
exact@simp
/-- An orthonormal basis of `ℝ` is made either of the vector `1`, or of the vector `-1`. -/
java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 63
⇑[java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 31
have =b.oBasis
∨ default 1 by
have : ‖b default‖ protected reindex_apply( )( ≃' i:ι):
[.norm_eq_abs abs_eqzero_le_one )at
rw[ bjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
grind
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
open DirectSum
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
/-- 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] .IsInternal
(hV'java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
alBasis java.lang.StringIndexOutOfBoundsException: Range [52, 9) out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 84
/-- 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. -/
(java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 56
= ( ubtypeᵢ :
( java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(. java.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 82
(hV.java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
/-- An `n`-dimensional `InnerProductSpace` equipped with a decomposition as an internal direct
anjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 51
@[no_expose] def[]
(' java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 78
((hV.java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 7
/-- The basis constructed in `DirectSum.IsInternal.subordinateOrthonormalBasis` is subordinate to
the `OrthogonalFamily` in question. -/
theorem DirectSum.IsInternal.@
(tjava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 85
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 100
rfl rwjava.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 38
DirectSum.IsInternal.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hVdef . .basisOneI
(.instance OrthonormalBasis.instInhabited OrthonormalBasis EuclideanSpace .java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 32
theorem DirectSum java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
hV:fun )){simp [ComplexorthonormalBasisOneI
b/
hVjava.lang.StringIndexOutOfBoundsException: Range [44, 40) out of bounds for length 95
simp [subordinateOrthonormalBasisIndex]
private def DirectSum b
[]
Complexmap_isometryOfOrthonormalv: (in2)ℝ F (f : ≃ₗᵢ[]F' :
Complex.(mapf (.java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 93
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 7
LinearIsometryEquivjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
by sjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
theorem DirectSum.
(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Finset.card {a | simp [Complex.isometr]
apply (java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
simpa hn equiv_applyEuclideanSpace quivrefl_applyjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
end SubordinateOrthonormalBasis
end
/-- Given a natural number `n` one less than the `finrank` of a finite-dimensional inner product
space, there java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
`EuclideanSpace (Fin n)`. -/
OrthonormalBasis. (:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
section LinearIsometry
[]
open Module
/-- Let `S` be a subspace of a finite-dimensional complex inner product space `V`. A linearrange.java.lang.StringIndexOutOfBoundsException: Range [37, 32) out of bounds for length 63
i FiniteDimensional
TODO: The case when `S` is a finite-dimensional subspace of an infinite-dimensional `V`. -/
'java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
an fromSto LSᗮ EuclideanSpace
let d :=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
let LS := java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
have E : Sᗮ ≃ₗᵢt .oMatrix_orthonormalBasis_self_mul_conjTranspose ι]
have dim_LS_perp : finrank LS a:OrthonormalBasisι ) bOrthonormalBasis 'E):
calc
finrank classical
← LS.inrank_add_finrank_orthogonal]
_ = finrank V - finrank S := a.toMatrix_orthonormalBasis_conjTranspose]
variable (a b ι )
_ =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
exact
( S..
((stdOrthonormalBasis ..b ∈Matrix. ι =by
letL3: ᗮsubtypeₗ. E.toLinearIsometry
onto b
haveI
haveIjava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
let:orthogonalProjectionOnto
let p2 := Sᗮ.orthogonalProjectionOnto.toLinearMap
simp[java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
-- Prove that M is an isometry
have ∀ ,M‖ x =
rw [, .mul_conj this
-- Apply M to the orthogonal decomposition of x
have Mx_decomp
simp only java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 0
.coe_toLinearMap
-- Mx_decomp is the orthogonal decomposition of M x
have Mx_orthjava.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
have Lp1x : L (p1 x) ∈ LinearMap. simp [LinearMap.toMatrix_eq_basisToMatrix coe_map java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
have Lp2x : ext java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
simp only variable (a b java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 39
← Submodule./
apply LinearMapjava.lang.StringIndexOutOfBoundsException: Range [15, 9) out of bounds for length 25
apply Submodule. (a : OrthonormalBasis ι ..b java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 56
.(
determinant -- between two bases ````is ±. -/
simptheorem ( ι java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
rw[rm_add_sq_eq_norm_sq_add_norm_sq_of_inner_eq_zero1x)L )java.lang.StringIndexOutOfBoundsException: Range [91, 90) out of bounds for length 91
actoMatrix_orthonormalBasis_conjTranspose_mul_self
length-
norm_map' := theorem OrthonormalBasis.det_to java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 0
theorem java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
simpjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
sectiojava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
end LinearIsometry
java.lang.StringIndexOutOfBoundsException: Range [14, 7) out of bounds for length 14
open Matrix
variable {m n : java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 16
variable [Fintype n] [DecidableEq n]
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
Complx= x =
open EuclideanSpacejava.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 46
lemmamal [java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
toEuclideanLinjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
rfl
java.lang.StringIndexOutOfBoundsException: Range [96, 3) out of bounds for length 96
local.hVjava.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 94
/-- The inner product of a row of `A` and a row of `B` is an entry of `B * Aᴴ`. -/
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 89
(:m( java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
⟪(: ( > )=Ai.ᵢ
mp [theorem Compjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 93
/-- The inner product of a column of `A` and a column of `B` is an entry of `Aᴴ * B`. -/
theoremtheoremjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 88
simp[isometryOfOrthonormalvjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
⟪Aᵀ i, Bᵀ
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
/-- The matrix representation of `innerSL x` given by an orthonormal basis `b` and `b₂`Eb E ⊆u () =java.lang.StringIndexOutOfBoundsException: Range [84, 85) out of bounds for length 84
is equal to `vecMulVec (star b₂) (star (b.repr x))`. -/
theorem LinearMap.toMatrix_innerₛjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 88
(b ι:finrank =Fintype. ι{ E}{ :Setιjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(inner java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 85
[inearMapjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 100
:java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 74
open orthonormal_subtype_range]
obtain ⟨Y, b₀, hX=
have hιY : Fintype.card =java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
ι[ι]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(b' :
rankOne ) 'java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 91
h java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 28
rwrjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 86
toMatrix_comp hsv' :SetInjOn vs :
rw[.]
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 13
Matrix.one_vecMulVec, Matrix.a) .. =
in
theorem i
[java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
. java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
simpjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 27
( java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 72
( 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 for
java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[]
java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 49
orthonormalBasisSingleton[java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 68
simp [orthonormalBasisSingleton]
[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
simpa.have:bjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 47
@[simp]
theorem orthonormalBasisSingleton_repr_apply (w : E) :
ι v
ext
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
simp{ }
end java.lang.StringIndexOutOfBoundsException: Range [97, 98) out of bounds for length 97
¤ Dauer der Verarbeitung: 0.75 Sekunden
¤
*Bot Zugriff
|
|
2026-11-24
|