math-comp / algebra-tactics

Ring, field, lra, nra, and psatz tactics for Mathematical Components
33 stars 2 forks source link

adapt to MC#1256 #100

Open Tragicus opened 3 months ago

Tragicus commented 3 months ago

https://github.com/math-comp/math-comp/pull/1256 generalizes operations. This PR generalizes everything that was on nmodType to baseAddUMagmaType (and addition to addMagmaType). It also changes the mem predicate in common.elpi to use coq.unify-eq because elpi's unification is not module delta, which causes issues when N-modules are cast to baseAddUMagmaType.