Zulip Chat Archive
Stream: general
Topic: dot product commutative?
victoria (May 08 2024 at 19:50):
Is there a direct way to show the below?
variable {n m:ℕ} [NeZero m]
example (x: Fin n → ℝ )(y: Fin n → ℝ): x ⬝ᵥ y = y ⬝ᵥ x := by sorry
Yury G. Kudryashov (May 08 2024 at 19:54):
Unfold the definition and use commutativity of multiplication?
victoria (May 08 2024 at 20:05):
how to use unfold here?
Eric Wieser (May 08 2024 at 20:48):
The result is already in the library as docs#Matrix.dotProduct_comm
Kevin Buzzard (May 09 2024 at 13:41):
If you make a #mwe then it will be much easier for others to answer the question "how to use unfold here?".
Last updated: May 02 2025 at 03:31 UTC