I was trying to add a proper support for semirings in Algebra Tactics (on top of math-comp/algebra-tactics#71), and then found that this semiring instance would be useful for that.
I also wanted to add morphism instances for nat_of_bin and bin_of_nat, but it requires math-comp/math-comp#1031. Maybe I can just copy instances for nat from math-comp/math-comp#1031 to here.
I was trying to add a proper support for semirings in Algebra Tactics (on top of math-comp/algebra-tactics#71), and then found that this semiring instance would be useful for that.
I also wanted to add morphism instances for
nat_of_bin
andbin_of_nat
, but it requires math-comp/math-comp#1031. Maybe I can just copy instances fornat
from math-comp/math-comp#1031 to here.