Algebraic properties of dense vector dot products.
theorem
Vector.dotProduct_add_left
{n : Nat}
{R : Type u}
[Lean.Grind.Ring R]
(u v w : Vector R n)
:
Dot product is additive in its left argument.
theorem
Vector.dotProduct_smul_left
{n : Nat}
{R : Type u}
[Lean.Grind.Ring R]
(c : R)
(u w : Vector R n)
:
Dot product is homogeneous in its left argument.
Dot product is symmetric over a commutative coefficient type.
theorem
Vector.dotProduct_add_right
{n : Nat}
{R : Type u}
[Lean.Grind.Ring R]
(u v w : Vector R n)
:
Dot product is additive in its right argument.
theorem
Vector.dotProduct_smul_right
{n : Nat}
{R : Type u}
[Lean.Grind.CommRing R]
(c : R)
(u v : Vector R n)
:
Dot product is homogeneous in its right argument.
theorem
Vector.dotProduct_sub_left
{n : Nat}
{R : Type u}
[Lean.Grind.Ring R]
(u v w : Vector R n)
:
Dot product is additive over subtraction in its left argument.
theorem
Vector.dotProduct_sub_right
{n : Nat}
{R : Type u}
[Lean.Grind.Ring R]
(u v w : Vector R n)
:
Dot product is additive over subtraction in its right argument.
theorem
Vector.dotProduct_sub_smul_left
{n : Nat}
{R : Type u}
[Lean.Grind.Ring R]
(u v w : Vector R n)
(c : R)
:
Dot product distributes over subtracting a scalar multiple in the left argument.
theorem
Vector.dotProduct_sub_smul_right
{n : Nat}
{R : Type u}
[Lean.Grind.CommRing R]
(u v w : Vector R n)
(c : R)
:
Dot product distributes over subtracting a scalar multiple in the right argument.