Commit 2022-03-17 05:18 877f2e7a
View on Github →refactor(linear_algebra/ray): redefine same_ray
to allow zero vectors (#12618)
In a strictly convex space, the new definition is equivalent to the fact that the triangle inequality becomes an equality. The old definition was only used for nonzero vectors in mathlib
. Also make the definition of ray_vector
semireducible so that ray_vector.setoid
can be an instance.