Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(algebra/group/{prod,pi}): fix non-defeq
has_scalar
diamonds (#9584
) This fixes diamonds in the following instances for nat- and int- actions: * `has_scalar ℕ (α × β)` * `has_scalar ℤ (α × β)` * `has_scalar ℤ (Π a, β a)` The last one revealed a diamond caused by inconsistent use of `pi_instance_derive_field`: ```lean -- fails before this change example [Π a, group $ β a] : group.to_div_inv_monoid (Π a, β a) = pi.div_inv_monoid := rfl ```
- Loading branch information
1 parent
cb3c844
commit 0bc7c2d
Showing
3 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters