Commit 2026-02-15 11:14 946b120a

View on Github →

feat(to_additive): automatically infer relevant_arg (#35318) This PR implements a better heuristic in to_additive for figuring out the (relevant_arg := ...) option. After this PR, there is only one place where the option needs to be provided manually: the definition of MonoidAlgebra. A future PR may do a similar change, but for the dont_translate option.

Estimated changes

deleted structure AddMonoidAlgebra'
added structure AddMonoidAlgebra
deleted structure MonoidAlgebra'
added structure MonoidAlgebra
added def monoidAlgebraFoo