Zulip Chat Archive

Stream: general

Topic: transfer between mv_polynomial unit and polynomial


Johan Commelin (Sep 03 2018 at 19:37):

Suppose I want to build a slick machine to move back and forth between mv_polynomial unit and polynomial. Does it make sense to start with

def rel_unit {X : Type u} : (unit  X)  X  Prop :=
λ f x, f unit.star = x

More generally, what goes into building a "transfer API"?

Chris Hughes (Sep 03 2018 at 20:10):

I thought about this a bit, and I think the function should take an element of an indexing type as an argument. I think this makes it easier if I want to multiply two univariate polynomials together to get a MV poly in two variables.

Chris Hughes (Sep 03 2018 at 20:12):

I think the transfer API just has all the lemmas about preserving evaluation, degree, multiplication etc.


Last updated: Dec 20 2023 at 11:08 UTC