Documentation

ConvexAnalysisMonotoneOperators_BauschkeCombettes_2017.Chap02.Example_2_2

Statements

Source excerpts; proofs omitted. recall restates an existing declaration; #check records an expression, not its inferred type.

The canonical constructor for the textbook standard unit vector is lp.single.

recall lp.single

Lean source

Source context
universe u
open scoped BigOperators
variable {I : Type u}

Module source

theorem standard_unit_vector_apply {I : Type u} [DecidableEq I] (i j : I) :
↑(lp.single 2 i 1) j = if j = i then 1 else 0

The standard unit vector is 1 at its defining index and 0 at every other coordinate.

theorem l2_inner_eq_tsum_mul {I : Type u} (ξ η : ↥(lp (fun (x : I) => ℝ) 2)) :
inner ℝ ξ η = ∑' (j : I), ↑ξ j * ↑η j

In real ℓ²(I), the inner product is the sum of the pointwise products of the coordinates.