English
There exists a representation of an element x in span R w as a linear combination in w, i.e., coefficients c with x = ∑ c_i w_i.
Русский
Существует представление x в span R w в виде линейной комбинации элементов w с коэффициентами c: x = ∑ c_i w_i.
LaTeX
$$$\\text{repr}(x) = c \\quad\\text{where } x = \\sum_i c_i \\cdot w_i$$$
Lean4
/-- Pick some representation of `x : span R w` as a linear combination in `w`,
((Finsupp.mem_span_iff_linearCombination _ _ _).mp x.2).choose
-/
def repr :=
val_proj @wrapped✝.{}