#15303: Coercion discovery fails to be transitive
-------------------------------------+-------------------------------------
Reporter: nbruin | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.13
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: Simon King | Reviewers:
Report Upstream: N/A | Work issues: Analyse recursion
Branch: | error
u/SimonKing/ticket/15303 | Commit:
Dependencies: #14711 | 74821fe5409c3104b5d6eb7407a8287d54170df9
| Stopgaps:
-------------------------------------+-------------------------------------
Comment (by SimonKing):
I think I see a potential problem. In
`sage.combinat.sf.k_dual.DualkSchurFunctions.__init__`, there is
{{{
kHLP = kBoundedRing.kHallLittlewoodP()
self.module_morphism(self._dks_to_khlp_on_basis,codomain=kHLP).register_as_coercion()
self.module_morphism(self._dks_to_khlp_on_basis,codomain=kHLP).register_as_coercion()
}}}
Hence, a coercion is registered on `kHLP` '''after''' it is initialised.
As we have seen in the proof of my Lemma, such registration should result
in an increase of the cache version number.
Hence, I will change `Map.register_as_coercion()` so that it increases the
cache version number.
--
Ticket URL: <http://trac.sagemath.org/ticket/15303#comment:36>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.