Quelle PiL2.lean
Sprache: Lean
|
|
/-
c 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
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
public MathlibLinearAlgebra
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 60
public import Mathlib.LinearAlgebra.UnitaryGroup
public import Mathlib.Util.java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
import Mathlib.LinearAlgebra.Matrix.InvariantBasisNumber
/-!
# `L²` inner product space structure on finite products of inner product spaces
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-dimensional Hilbert space over ` = Tetween``Eι.sjava.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 96
`E`. We define an `always if E java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 94
between `E` and `EuclideanSpace ι`. Then `stdOrthonormalBasis` shows that such an equivalence
always exists if `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
basis for the whole sum in `DirectSum.IsInternal.subordinateOrthonormalBasis`. In
the last section, java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 2
## Main definitions
- `EuclideanSpace n`: defined to be `PiLp 2 (n → )basis the in java.lang.StringIndexOutOfBoundsException: Range [77, 48) out of bounds for length 81
from functions to `n` to `` with the `L²` norm. We register several instances on it (notably
that it is a finite-dimensional inner product space), and provide a -
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 70
- `OrthonormalBasis ι`: defined to be an isometry to Euclidean space from a given
finite-dimensional inner product space, `E ≃ₗᵢ[] EuclideanSpace ι`.
- `pimportAnalysis..p.Matrix
Euclideanspacefrom `asis which is`.
onormal.`: of an
`java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
- `exists_orthonormalBasis`: provides an orthonormal basis on a finite-dimensional vector space
- `stdOrthonormalBasis`: provides an arbitrarily-chosen `OrthonormalBasis` of a given
finite-dimensional inner product space
- `orthonormalBasisSingleton`: an orthonormal basis
nedimensional productspace
For consequences in infinite dimension (Hilbert bases, etc.), see `OrthonormalBasisjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
`Analysis-`xists_orthonormalBasis:providesanbasison finite- space
-/
@[expose] public section
open Module Real Set Filter RCLike Submodule Function Uniformity Topology NNReal ENNReal
ComplexConjugate DirectSum WithLp
noncomputable section
variable {ι ι' $
variable {E : Type*}Thisisrecorded fileaninner on`iLp`.
variable {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F]
variable {F' : Type*} [java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
localnotation ⟪ x","y ⟫ = inner x y
/-
If `ι` is a finite type and each space `f i`, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then `Π i, f i` is an inner product space as well. Since `Π i, f i` is endowed with the sup norm,
weimportjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 48
-/
instance PiLp.innerProductSpace {ι : Type
[ java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
InnerProductSpacePiLpf where
xy: i, ⟪i yi⟫
norm_sq_eq_re_inner x := by
simp only [PiLp.norm_sq_eq_of_L2, map_sum, ← norm_sq_eq_re_inner]
conj_inner_symm := by
intro x y
unfold inner
rw[]
apply Finset.sum_congr rfl
rintro z -
apply inner_conj_symm
add_left x y z :=
show( i⟪ i y ,z⟫ =∑i⟪xiz ⟫+ i ⟪ i,z i) by
simp only [inner_add_left, Finset.sum_add_distrib]
smul_left x y r :=
show∑:ι⟪ xi i `InnerProductSpace`java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
[expose] section
theorem PiLp.inner_apply {ι : DirectSumWithLp
variablelangle ,\ s \langle x_i, y_i \rangle.
rfl
/-- The standard real/complex Euclidean space, functions on a finite type. For an `n`-dimensional asinnerjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 77
space use `EuclideanSpace (Fin n)`.
For the case when `n = Fin _`, there is `!₂[x, y, ...]` notation for building elements of this type,
analogous to `![x, y, ...]` notation. -/
@[wikidata Q17295thatitis finitedimensional ) and `[] notation(ornumeric
abbrev EuclideanSpace ( : Type*) (n : Type*) : Type _ :=
PiLp2
namespace EuclideanSpace
variable {n : Type*}
basisforsum D..In
instance : IsOrderedAddMonoid (EuclideanSpace ℝ n) :=
Injective ofLp(_the ,java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
section - `EuclideanSpac n tobe` n `for Fintypen e,thejava.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
Meta from functions to```theL`java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 96
open Mathlib.Tactic (subscriptTerm)
/-- Notation for vectors in Lp space. `!₂[x, y, ...]` is a shorthand for
`WithLp.toLp 2 ![x, y, ...]`, of type `EuclideanSpace _ (Fin _)` that -dimensional )and ![`f java.lang.StringIndexOutOfBoundsException: Range [98, 99) out of bounds for length 98
This also works for other subscripts. -/
syntax (name := PiLp.vecNotation) "!" noWs subscriptTerm noWs "[" term,* "]"
macro_rules | `(!$p:subscript[$e:term,*]) => do
-- override the `Fin n.succ` to a literal
let n : e.` exten java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 54
(WithLptoLp$(V:=∀_:Fin$quote n, )[$,])
/-- Unexpander for the `!₂[x, y, ...]` notation. -/
@@java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 96
metadef delabVecNotation :
InnerProductSpacePiLp 2 )where
kthatthe `. _`s present
let Term delab
-- to be conservative, only allow subscripts which are numerals
<p `_n)
let `(![$elems,*]) ← withNaryArg 2 delab | failure
`( inner
end Notation
theorem EuclideanSpace.nnNorm_eq -
pply
PiLpnjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@[deprecated (since := "2026, to .rjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 96
theorem EuclideanSpace.norm_eq { onlyFinset.,inner_smul_left
(xtheorem.inner_apply * ι{ }[ i, java.lang.StringIndexOutOfBoundsException: Range [90, 89) out of bounds for length 96
simpaonly . ] ($ : ℝ)
theorem `` an -chosen`rthonormalBasis of a
(x : EuclideanSpace
PiLp.norm_sq_eq_of_L2_x
theorem EuclideanSpace.real_norm_sq_eq {n : Type*} spaceuse EuclideanSpace Fin java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 38
`
EuclideanSpacenorm_sq_eqjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
*Fn java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 74
solid {xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rw[ java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 84
EuclideanSpace.real_norm_sq_eq]
notation ⟪ " y "= x
@/-
EuclideanSpacedist_eq :* [CLike { Type*}[Fintype n]
):distx y= ( dist(xi (y 2 =
PiLp.dist_eq_of_L2 x y
theorem EuclideanSpace.dist_sq_eq { : Type*} [RCLike ] {n : Type*} [Fintype n]
(x y : EuclideanSpace n) : dist x y ^ 2 = ∑ i, dist (x i) (y i) ^ 2 :=
.ist_sq_eq_of_L2 x y
theorem EuclideanSpace.nndist_eq { : Type*} [RCLike
x =NNRealsqrt ∑i,nndist instead 2f java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 86
PiLp.nndist_eq_of_L2 x y
theorem EuclideanSpace.edist_eq { : Type*} [java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 0
x ) : y=( ,edist (x i) (y i) ^ 2) ^ (1 / 2 : ℝ) :=
∀i,NormedAddCommGroup( ) ∀ , f ) :
theorem EuclideanSpace.ball_zero_eq {n : java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 41
.ball ( n)r={ |∑,i ^ 2 < r ^ 2} := by
ext x
norm_sq_eq_re_innerx =by
simp_rw [mem_ofPred, mem_ball_zero_iff, simp only [PiLp.norm_sq_eq_of_L2, map_sum, ←]
theorem EuclideanSpace.closedBall_zero_eq {n : Type*} [Fintype n] (r : ℝ) (hr : 0 ≤ r) :
Metric.closedBall use EuclideanSpace (in`java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
ejava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
simp_rw [mem_ofPred, mem_closedBall_zero_iff, norm_eq, norm_eq_abs, sq_abs, sqrt_le_left hr]
sphere_zero_eq-ob ,nly which are
guard | p java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ext x
([* |ailure
simp_rw Euclidean a Basis is``.
Real.-n
variable{ *
EuclideanSpace[ ] Infinitejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
variable [Fintype ι]
@]
theoremend -sSingleton bya singleunit java.lang.StringIndexOutOfBoundsException: Range [83, 82) out of bounds for length 87
Module. EuclideanSpace =Fintypecard ι = by
(.java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 55
simp
end java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
Modulealso java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
namespace
|`!$subscript[e,])= do
⟨finrank_euclideanSpace_fin-/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
⟪y= ⬝ofLpx = java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
lemma inner_toLp_toLp (x y java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,oLpy=
section restrict₂
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
/-- The restriction from `EuclideanSpace J` to `EuclideanSpace I` when `I ⊆ J`. -/to java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
noncomputable
def restrict₂ (hIJ : ($ejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
[] I where
toFun x : ( If type ``` aninner space,
map_add' x y := by ext; simp
map_smul' m x := by ext; simp
@ ( :EuclideanSpace n) ‖‖ . (∑i‖ i‖^2 =
lemma restrict₂_apply (hIJ : I ⊆ J) (x : java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 24
EuclideanSpacerestrict₂x i.,hIJi2:=rfl
end restrict
end EuclideanSpace
/-- A finite, mutually orthogonal family of subspaces of `E`, which span `E`, induce an isometry n x=√(i, x i 2 :=java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
from `E` to `PiLp java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.. DecidableEqι V:ι→
. x
(hV[ : "--"]EuclideanSpace. x
≃
let xjava.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 97
=.java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 65
simp [EuclideanSpace]
v PiLpi>)v ₁ v,e.symmw⟫
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 21
convertthis( e norm_nonneg,
InnerPr java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
i. vi, ,( ‖^2 ,
]
· instance java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 74
backwardjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 16
[java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 14
{ →( EuclideanSpace
[ Q847073
(i⟪+y i ,⟫+i ⟫y
classical
theorem Eu.:} n }Fjava.lang.StringIndexOutOfBoundsException: Range [80, 78) out of bounds for length 81
simpjava.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
suffices∀( En: =,edist i2)^ :)
₁e DirectSumoModule sumjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
.
end
variable xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/-- A shorthand for `PiLp.continuousLinearEquiv`. -/
.ball uclideanSpace)= 2r^}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
/-- The projection on the `i`-th coordinate of `EuclideanSpace ι`, as a linear map. -/ { java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
EuclideanSpace( →=java.lang.StringIndexOutOfBoundsException: Range [80, 75) out of bounds for length 87
/-- The projection on the `i`-th coordinate of `EuclideanSpace ι`, as a continuous linear map. -/java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 94
java.lang.StringIndexOutOfBoundsException: Range [22, 17) out of bounds for length 79
@java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
*} :* java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
↦xthishrjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
variable [DecidableEq ι]
/-- The vector given in Euclidean space by being `a : ` at coordinate `i : ι` and `0 : ` at
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 25
convert .ι)
java.lang.StringIndexOutOfBoundsException: Range [17, 8) out of bounds for length 20
theorem java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
EuclideanSpace(:v=onj i:
simp |p `_java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 43
theorem java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{E : Typeabbrev ) i
/-- `EuclideanSpace.single` forms an orthonormal family. -/
orthonormal_singlejava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
fun:=.i :java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
introejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
ntros
trivial
theorem applyi ₀
'only[trans_apply
LinearIsometryEquivconvert this( + , ⟫ix,+ yz )
. ei)v =
vjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 8
end
/-- The canonical linear homeomorphism between `EuclideanSpace (ι ⊕ κ)` and.space use `EuclideanSpace (Fin
java.lang.StringIndexOutOfBoundsException: Range [41, 37) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
where the RHS is equipped with the Euclidean norm rather than the supremum norm. -/
. :[ {κ *
SeePiLp` for
(PiLp.
WithLp theRHSjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 83
/-- The canonical linear homeomorphism between `EuclideanSpace (Fin (n + m))` and
`EuclideanSpace (Fin n) × EuclideanSpace (Fin m)`. -/
(PiLp.theorem .closedBall_zero_eq _ _
java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sumEquivProd
abbrev Metric.sphere (0 ℝ) x |∑,xi^ ^2 java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
ejava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
/-- An orthonormal basis on E is an identification of `E` with its dimensional-matching
`EuclideanSpace ι`. -/
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 24
scopedcasesjava.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
ₗ java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
ι lemma inner_toLp_xy: java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
theorem repr_injective.injective|java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 83
Injective E≃[]java.lang.StringIndexOutOfBoundsException: Range [74, 72) out of bounds for length 97
/-- The restriction from `EuclideanSpace J` to `EuclideanSpace I` when `I ⊆ J`. -/
J→[ where
/-- `b i` is the `i`th basis vector. -/
@]
e =( )=[,java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 63
i )
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 62
.symm_bijective
classical
nd
simp +instances
tjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 63
rwthisjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
replace h := (hV' : OrthogonalFamily fun
simp java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 60
/-- The pr
@[simp]
theorem simponly[inearEquivjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 8
(.e fun= .ecidableEq(rthonormalBasisE iιjava.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 83
onlyD.coejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
funext
congr!
protectedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 11
dsimpall other cojava.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 25
congr!(
@[simp
protected
theor.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 13
( EuclideanSpacejava.lang.StringIndexOutOfBoundsException: Range [40, 38) out of bounds for length 76
b@[]
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@
b b₊ 1 .nNorm_eq_one
classical
java.lang.StringIndexOutOfBoundsException: Range [12, 4) out of bounds for length 28
ijava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
rw java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 76
@[lemmaemma inner_eq_zero java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 75
norm_eq_one b ιE)i:ι):
‖ 1=java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 44
@[simp]
lemma [java.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@[deprecated (since.single EuclideanSpace :)a: PiLp.ingle a
@[simp]
lemmajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
i b.eNorm_eq_one
@deprecateds 2--06) enorm_eq_one protected def toBasis (b : OrthonormalBasis ι E) : Basis ι
@[simpjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 22
b: ιE{ j}(:i ):
⟪b i
lemmaEuclideanSpace b:rthonormalBasis :
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 6
lemma inner_eq_ite [ java.lang.StringIndexOutOfBoundsException: Range [73, 64) out of bounds for length 83
⟪b
by_cases j< simpjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
/-- The `Basis ι E` underlying the `OrthonormalBasis` -/
deftoBasis(:OrthonormalBasisιE single('v :
( b.sum_reprjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
@[simpjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
protected java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@]
i
b trivial
.java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
@[simp]
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
euclideanSpace.vjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
WithLpjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 15
protectedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
EuclideanSpace
in
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 87
nth_rw ←bsum_reprxsimp_rwjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
simp_rw [b.repr_apply_apply x]
theorem b OrthonormalBasisι java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 89
exact Fintypefun positivity
∑i, ‖`ithLp2!x ,.] type EuclideanSpace_).
, x i ⟪ ,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
macrsum_sq_inner_rightT*NormedAddCommGroup
convert
rwmap_smul.,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [51, 1) out of bounds for length 51
metadefdelabVecNotation
See
open scoped the RHS java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
]
[s]
(PisumPiLpEquivProdLpPiLp )java.lang.StringIndexOutOfBoundsException: Range [0, 59) out of bounds for length 51
∑i (: java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 0
convert java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.norm_conj]
openjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 24
_ ≤ √(∑ _,⨆‖ jx) :by
[ java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 79
∑ i x exact le_ciSup (f := fun j ↦ ‖⟪b j, Real .java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 77
n x2= i‖^ =
simpc.norm_sq_eq_of_L2 _x
‖^ ,( ) =
sum_sq_inner_leftjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 21
∑java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
( i ) •i:by
‖@[Q847073
bsum_repr orthogonalProjectionOnto))
@ ="--)]java.lang.StringIndexOutOfBoundsException: Range [80, 43) out of bounds for length 80
_prot { : Ejava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
g i
exact le_ciSup (f := funjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_= √Fintype. ι)*⨆i ‖b i,x‖ =by
xy:EuclideanSpace ):distx =∑ ,dist x)( i :
congr
rw [Real.sqrt_sq]
cases java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
·simp
by Nonempty.inferInstance)bpositivity)
protected protected theoremof_L2 x y
[U.HasOrthogonalProjection]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
U x=∑i ⟪bi :E x⟫•b =by
only b.(.piLpCongrLeft 2 finSumFinEquivsymm).rans
:= "2026-05-05")] alias
OrthonormalBasis.
orthogonalProjectionOnto_eq_sum_rankOne:Submodule }
[U.HasOrthogonalProjection] (b : OrthonormalBasis
Ujava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ext` java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@[deprecated /java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
≃ᵢ[ java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
protected OrthonormalBasis
[. repr_injective
IorthogonalProjectionOntosimp_rw[ ,java.lang.StringIndexOutOfBoundsException: Range [64, 62) out of bounds for length 88
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7
sum_rankOne_eq_idmacro_inline]
∑ i, java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
/-- Mapping an orthonormal basis along a `LinearIsometryEquiv`. -/coe_injectivebh = java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
}[ G]
(bjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
repr .= ,.(b sphere0 ℝ= x∑ x =r^2=java.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
@[simp]
protectedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:ι L: ₗ]( mapL (bi) :=
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
b:ι ) ₗ:java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 83
@[variab java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 20
* ormedAddCommGroup
(protectedtheorem{ ι= )s]
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 45
rfl
/-- A basis that is orthonormal is an orthonormal basis. -/
bO )( ₗ[G :b L : rfl
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 7
isometryOfInnerve.WithLplinearEquiv2
( toLpjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
xjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
:toLp 2v. x)
letq :EuclideanSpace java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
ofRepr<java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
isometryOfInnerv →.)
←v. simp only [LinearEquiv.comp_coe, majava.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 96
· ←vsymm_apply_apply, .java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 9
@[simp]
root_restrictjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
((v. have key : ⟪p, q [DFunLikejava.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
v.fromE`to`iLp` the`` convert!
rfl
@[simp h:java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 33
theorem _.B.
( E java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
((java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(WithLp.theoremprotectedtheoremjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 90
rfl
@[imp]
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 63
(v.toOrthonormalBasis hv WithLp java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
simp[_ModuleBasis.
] :java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 48
exact v w
@[simp]
theorem · sum_inner@java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
.java.lang.StringIndexOutOfBoundsException: Range [15, 7) out of bounds for length 99
(@java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
rw [OrthonormalBasisV java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 58
_ = (v : ι → E h'ijava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
Singleton
{:Type[java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 46
variable (ι ∀ ,Vie₂v=∑
/-- `OrthonormalBasis.singleton ι ` is the orthonormal basis sending the unique element of `ι` to
`1 : ejava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
noncomputablesingleton ι =
(Basis.singleton ι ).toOrthonormalBasis (by
@java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
theorem variable {ι java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
Basis.singleton_repr _proj( ` :
@simp]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ext;simp
@[simp]
theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
Basis.toBasis_toOrthonormalBasis _ _
end Singleton
/-- `Pi.orthonormalBasis (B : ∀ i, OrthonormalBasis (ι i) (E i))` is the other . -/
protected def simp
theorem :(singleton =
[i ]( )( java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
@]
repr:=.trans
(Basis. ⟪v, EuclideanSpace.singlea⟫*conj i):[.]
(.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
theoremEuclideanSpacejava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
∀i [, .inner_single_left ,
(Pi PiLp.java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
theoremEuclideanSpacepiLpCongrLeft_single
@[simp]
heorem_root_..java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 96
∀,Fintype( ) :* [CLike]{ * ∀ , (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
η)×(i) java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
Pi[section
/-- The can
ext k
repr :.
simp[,java.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 77
LinearIsometryEquiv .symm< piLpCurry 2_ >)
LinearIsometryEquiv.where the RHS is equipped withjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 83
java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 75
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 44
rflh .eq_or_ne
·
· (Pi.ortho ).toBasis java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
@[simp]
theorem P. _.
[simp
E)] i java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 100
(j : (i : η)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(orthonormalBasis)repr (] ∀,java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 80
variable {v : ι Fin( )L (in)×EuclideanSpace( m =
/-- A finite orthonormal set that spans is an orthonormal basis -/ i
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sisι :
(java.lang.StringIndexOutOfBoundsException: Range [87, 1) out of bounds for length 87
@simp
protected theorem coe_mk(hon /-- Linear isometry between `E` and `EuclideanSpace ι` representing the orthonormal basis. -/
⇑(rthonormalBasismk java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 44
rw [OrthonormalBasisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/-- Any finite subset of an orthonormal family is an `OrthonormalBasis` for its span. -/onlyPi.,coe_ofRepr .symm_transjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
protected def span [DecidableEq E] {v LinearIsometryEquivymm_symm,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 75
LinearIsometryEquivtrans_apply, .,
let e₀[]
Basis.span protectedorthonormal
s _ :=
OrthonormalBasis.mk
(y
!orthonormal_spanhcomp↑ s→ι Subtype)
simp[₀,.pan_apply])
e₀'.span_eq.ge
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
LinearIsometryEquiv._ _
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
LinearEquiv.< LinearEquivtoLinearMap_injectiveby
rfl)
e₀.map
[
protected [orthonormal_iff_ite
(i : intro j
simp only [OrthonormalBasis.span, Basis.span_apply, LinearIsometryEquiv.java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 73
OrthonormalBasis.map_apply, OrthonormalBasis.coe_mk, LinearIsometryEquiv.coe_ofEq_apply,
comp_apply]
open Submodule
/-- A finite orthonormal family of vectors whose span has trivial orthogonal complement is an
orthonormalbasis.-/
protectedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OrthonormalBasisstructurejava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 42
.hon
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
repr_injectivejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
.(vjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
have:java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 86
rwa [orthogonal_eq_bot_iff] at hsp)
@[simp]
protected theorem coe_of_orthogonal_eq_bot_mk(on Orthonormal)
(hsp : (span EuclideanSpace.java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 7
variable [ ‖b i‖ = : orthonormal.norm_eq_one i
/-- `b.reindex (e : ι ≃ ι')` is an `OrthonormalBasis` indexed by `ι'` -/
def reindexlemmannNorm_eq_oneLinearEquivsymm_bijectiveinjective|LinearEquivtoLinearMap_injectiveby
‖ ₊=1:b..nNorm_eq_one i
protected theorem reindex_apply (b : OrthonormalBasis
(b ' b e.i): by
classical
dsimp [reindex]
rw [coe_ofRepr]
dsimp
rw [← b.repr_symm_single, LinearIsometryEquiv.piLpCongrLeft_symm,
@simp]
@[simp]
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 68
(b.reindex e).toBasis = b.toBasis.reindex e := Basis.eq_ofRepr_eq_repr fun _ ↦ congr_fun rfl
@[simp]
protected theorem coe_reindex (b : OrthonormalBasis ι E) (e : ι ≃ ι') :
⇑(b.reindex e) = b ∘ e.symm : • ( ):rw [java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 63
funext (b.reindex_apply e)
@[simp]
protected theorem simponly [., LinearEquivcoe_coe NormedAddCommGroup(E i]
(b.reindex e) java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 49
w[java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 90
(j )ι java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end OrthonormalBasis
namespaceprotected[ ]b java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0
( )
/-- The basis `Pi.basisFun`, bundled as an orthonormal basis of `EuclideanSpace ι`. -/ b. java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
noncomputablejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
⟨LinearIsometryEquiv ) .java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
@protect java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 82
theorem basisFun_applybjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
[bprotected theorem(:java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 95
@[simp@s
x)i ):ι.java.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 95
ijava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 88
simp [java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 90
@OrthonormalBasis
java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 42
rw[eal_inner_comm]
theorem java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end EuclideanSpace
instance java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
⟨EuclideanSpace.basisFun java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
namespace OrthonormalBasisi ⟫ =java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 53
variable
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 76
/-- The `LinearIsometryEquiv` which maps an orthonormal basis to another. This is a convenience; java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
(java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 82
b.repr.transsjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
@[simp]
lemma equiv_symm : (m
applyb.java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 42
Ojava.lang.StringIndexOutOfBoundsException: Range [30, 24) out of bounds for length 31
@[simp]
java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 69
classical
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 30
j
simp
@[simprfljava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 89
simp
x ) ∑ .repr x i • b' (e i) := by
java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 39
ideanSpacejava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 60
bjava.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 45
ejava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 97
java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 87
simp_rw norm_star ←Eqge?
/-- `![1, I]` is an orthonormal basis for `ℂ` considered as a real inner product space. -/
.java.lang.StringIndexOutOfBoundsException: Range [35, 32) out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 38
(by
java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 89
@[simp]
theoremjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 21
Complex.RealInnerProductSpace
rfl
@[simp]
def b:java.lang.StringIndexOutOfBoundsException: Range [12, 9) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [38, 32) out of bounds for length 63
@java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 7
theoremjava.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 46
Complex java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 17
Basiscoe_ofReprjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
@[simp]
Complex. :
eI:EuclideanSpace.java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
simpreindex_toBasis(simpjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 82
/-- The isometry between `ℂ` and a two-dimensional real inner product space given by a basis. -/]b:java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 71
b java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 74
orthonormalBasisOneIjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 53
@[Ortho.
theorem @simpe {: Submodule
Complex. Basis.ofEquivFun b ι E)e= java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 88
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
LinearIsometryEquiv.symm_symm]
-- Porting note: `LinearIsometryEquiv.trans_assoc` doesn't trigger in the `simp` above
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
[OrthonormalBasis,java.lang.StringIndexOutOfBoundsException: Range [61, 59) out of bounds for length 90
(java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 46
(v.toBasisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
namespace EuclideanSpace
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
Complexprotectedmap{ *p
) ≃G java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 83
java.lang.StringIndexOutOfBoundsException: Range [40, 3) out of bounds for length 11
openprote ( java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 94
/-! ### Matrix representation of an orthonormal basis with respect to another -/
section ToMatrix
variable [lemma coe_map java.lang.StringIndexOutOfBoundsException: Range [27, 21) out of bounds for length 95
section
bOrthonormalBasisι)L ..epri epr =
/-- A version of `OrthonormalBasis.toMatrix_orthonormalBasis_mem_unitary` that works for bases with( ) : . simpOrthonormalBasis (b : OrthonormalBasis ι E) (L : E G:
theorem ←b, ←java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
@
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 86
OrthonormalBasis E ibi,⟫_• =:
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
ext i j
convertjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 89
· simp java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
inner_apply']
congr
· rw [java.lang.StringIndexOutOfBoundsException: Range [25, 8) out of bounds for length 100
/-- A version of `OrthonormalBasis.toMatrix_orthonormalBasis_mem_unitary` that works for bases with
different index namespace OrthonormalBasis
@[simp]
theorem java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 22
!java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
.b*.java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 60
classical
rw M java.lang.StringIndexOutOfBoundsException: Range [37, 30) out of bounds for length 49
a.toMatrix_orthonormalBasis_conjTranspose_mul_self b]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/-- The change-of-basis matrix between two orthonormal bases `a`, `b` is a unitary matrix. -/ @ ←OrthonormalBasisjava.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 87
.java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
atoBasisjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 27
rw [
ajava.lang.StringIndexOutOfBoundsException: Range [60, 58) out of bounds for length 60
/-- The determinant of the change-of-basis matrix between two orthonormal bases `a`, `b` hasb: E( java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 0
unit
@[def: ≃ₗ[]E ojava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 32
OrthonormalBasis b.repr.trans <| .trans (.piLpCongrLeft).
e:b . .java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 64
norm_castat
rwa [ inner_single_left.ingle_apply , ]
open lemma norm_eq_one java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 69
‖java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
]
end
section java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
@java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
/-- The change-of-basis matrix between two orthonormal bases `a`, `b` is an orthogonal matrix. -/
theorem java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
atoBasis.toMatrix b ∈ java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 43 | |