feat(GroupTheory/Divisible): Add rational SMul and Module#25190
feat(GroupTheory/Divisible): Add rational SMul and Module#25190
Conversation
PR summary ab7ba7e5eaImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
This seems like a big enough deal to me that this should not be a (global) instance at all. I think it would be better to add theorems saying that if an instance exists, then smul can be expressed in terms of divisibility.
Unfortunately instance priorities are not an effective tool for dealing with typeclass diamonds. At best, they are good for performance optimization. |
|
This PR has been migrated to a fork-based workflow: #26059 |
This is part of #25140. A torsion-free ℕ-divisible commutative group is a ℚ-module.
This new instance could collide with existing instances such as ℚ-module on ℝ that comes from
Algebra. I don't know how much an issue this is. I set the new instance with low priority so hopefully it won't interfere existing instances.