Closed pi8027 closed 3 years ago
I have an idea to address the performance issue of reflection (below) and also to support morphisms (including additive-to-multiplicative ones) at the same time. Concretizing and implementing it will take some time though. https://github.com/math-comp/algebra-tactics/blob/6e2eb23641df592793ed0603a186300a104e8908/examples/ring_examples.v#L589-L595
Roughly, the solution I propose is as follows:
Lemma rat_constants : 200%:R * 30%:R = 6000%:R :> rat. rewrite -![_%:R]/((Posz _)%:~R). ring. Qed.
I have an idea to address the performance issue of reflection (below) and also to support morphisms (including additive-to-multiplicative ones) at the same time. Concretizing and implementing it will take some time though. https://github.com/math-comp/algebra-tactics/blob/6e2eb23641df592793ed0603a186300a104e8908/examples/ring_examples.v#L589-L595