Commit 2026-11-06 11:08 a564d5f4

View on Github →

chore(LinearAlgebra/SesquilinearForm/Basic): generalize LinearMap.Nondegenerate (#44123) The implemented definition LinearMap.Nondegenerate required CommSemirings. This is a stronger requirement than necessary. This PR relaxes the conditions on LinearMap.Nondegenerate to the minimal ones, i.e. the same as needed to define a bilinear map. NB: This change causes a breakage in behavior, as the LinearMap.SeparatingLeft, LinearMap.SeparatingRight and LinearMap.Nondegenerate now depend on two semirings instead of one commutative semiring. When assigning explicit values to the implicit ring, this leads to an error. The resulting error can be fixed by replacing (R := X) by (S₁ := X) (S₂ := X).

Estimated changes