Subject: Ssreflect Users Discussion List
List archive
- From: Xavier Allamigeon <>
- To: Cyril <>, "" <>
- Cc: "Ricardo D. Katz" <>
- Subject: Re: [ssreflect] Matrices over subrings
- Date: Wed, 23 May 2018 18:33:22 +0200
Dear Cyril,
Thank you for your answer and the pointers to polyOver and mxOver.
It looks like mxOver uses the predicate approach to define matrices over the subring. In this respect, we could define the type of these matrices as a subtype of 'M[R]_(m,n). But this construction is quite different from the type 'M[R']_(m,n). How can I connect the two types?
Le 23/05/2018 à 13:00, Cyril a écrit :
Whenever you want to show something that requires to work on 'M[R']So, as far as I understand, I need to have an explicit coercion from matrices over R' to matrices over R, say matR_of_matR'. However, I like to get rid of these coercions as much as possible. For instance, I'd like to rewrite expressions of the form
because R' is a field, I guess that in the current state of the library,
you must work on R'. But try to do so in a delimited way, and you may
then use map_mx to explicitly coerce from R' to R.
(matR_of_matR' A) + (matR_of_matR' B)
into matR_of_matR' (A + B). Same for matrix multiplications, opposite, constant matrices, etc. Is there any way to do it easily? It reminds me the kind of mechanisms introduced in generic_quotient (where the piE rewriting rule factors many expressions). Is it the "right way" to do it?
Best,
Xavier
- [ssreflect] Matrices over subrings, Xavier Allamigeon, 05/23/2018
- Re: [ssreflect] Matrices over subrings, Cyril, 05/23/2018
- Re: [ssreflect] Matrices over subrings, Xavier Allamigeon, 05/23/2018
- Re: [ssreflect] Matrices over subrings, Cyril, 05/23/2018
- Re: [ssreflect] Matrices over subrings, Xavier Allamigeon, 05/24/2018
- Re: [ssreflect] Matrices over subrings, Cyril, 05/23/2018
- Re: [ssreflect] Matrices over subrings, Xavier Allamigeon, 05/23/2018
- Re: [ssreflect] Matrices over subrings, Cyril, 05/23/2018
Archive powered by MHonArc 2.6.18.