fact: Fixpoint eval (e : seq R) (t : term R) {struct t} : R := match t with | ('X_i)%qfT => e`_i | (x%:T)%qfT => x | (n%:R)%qfT => n%:R | (t1 + t2)%qfT => eval e t1 + eval e t2 | (- t1)%qfT => - eval e t1 | (t1 *+ n)%qfT => eval e t1 *+ n | (t1 * t2)%qfT => eval e t1 * eval e t2 | (t1 ^+ n)%qfT => eval e t1 ^+ n end.
imports: mathcomp.ssreflect.ssreflect mathcomp(ssrfun ssrbool eqtype ssrnat seq choice fintype) mathcomp(finfun path matrix) mathcomp(bigop order ssralg poly polydiv ssrnum zmodp div ssrint) mathcomp(polyorder polyrcf interval polyXY) mathcomp(qe_rcf_th ordered_qelim mxtens)