bug in Ext with yonedaExtension

17 views
Skip to first unread message

David Eisenbud

unread,
May 18, 2025, 6:17:40 PMMay 18
to maca...@googlegroups.com
In Ext.m2 in the new release, e=Ext(ZZ, Module, Module)
does not set 
e.cache.Ext
but yonedaExtension (Matrix)  (where Matrix is a map with target e) requires it.

For example,
i25 : S = ZZ/101[t]
i26 : M = coker vars S
i27 : e = Ext^1(M,M)
o27 = cokernel {-1} | t |
i28 : peek e.cache
o28 = CacheTable{cache => MutableHashTable{}}
                 pruningMap => {-1} | 1 |
i29 : yonedaExtension(e_{0})
stdio:62:15:(3): error: expected target of map to be an Ext^d(M,N) module

(Oddly, this bug doesn't show up unless you uninstallpackage "Complexes" and then
reinstall it, so two of my systems behaved differently).

--
David Eisenbud
Professor of Mathematics
University of California Berkeley

Mahrud Sayrafi

unread,
May 18, 2025, 7:11:22 PMMay 18
to maca...@googlegroups.com
I can't reproduce this issue yet. yonedaExtension is only defined in Complexes, and only works if the Ext module was computed using the routine in Complexes, so you would need to load Complexes first (or have set HomologicalAlgebraPackage = "Complexes" in init.m2).

Also, I don't think you need to install Complexes, which takes a long time, in order to use it. Is there a particular reason you install it first?

Mahrud

--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/macaulay2/CAFbL_pbNNj2HVCH%2BJ000_7qGg9nG5%3DstnA7Owd8jHczPxukYLQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages