I struggle with a problem that I believe is due to a compiler bug.
With the attached program and
)co foo.spad
findIdentity()$QEtaRamanujanKolberg(Fraction Integer)
I get
(1) -> findIdentity()$QEtaRamanujanKolberg(Fraction Integer)
[:> , foo, 1]
Function: laurent : (Integer, Stream(Fraction(Integer))) -> % is
missing from domain:
UnivariateLaurentSeries(SimpleAlgebraicExtension(Fraction(Integer),SparseUnivariatePolynomial(Fraction(Integer)),?^2+1),q,0)
Internal Error
The function laurent with signature $(Integer)
(Stream (Fraction (Integer))) is missing from domain
UnivariateLaurentSeries
(SimpleAlgebraicExtension (Fraction (Integer))
(SparseUnivariatePolynomial (Fraction (Integer))) ((2 1 . 1) (0 1 . 1)))
q
When I uncooment the line
-- px()$SiftedEtaQuotientGamma(C, L1 CX)
The result is:
(1) -> findIdentity()$QEtaRamanujanKolberg(Fraction Integer)
Internal Error
The function px with signature () -> UnivariateLaurentSeries(
SimpleAlgebraicExtension(Fraction(Integer),
SparseUnivariatePolynomial(Fraction(Integer)),?^2+1),q,0) is
missing from domain SiftedEtaQuotientGamma(Fraction (Integer))
(UnivariateLaurentSeries (SimpleAlgebraicExtension (Fraction
(Integer)) (SparseUnivariatePolynomial (Fraction (Integer))) ((2 1 . 1)
(0 1 . 1))) (QUOTE q) 0)
I cannot explain the second problem, but the missing "laurent" signature
seems to come from the fact that laurent: (Integer, Stream Coef) -> % is
implemented here
laurent(n: I, st: Stream Coef): % == laurent(n, series(st)$UTS)
https://github.com/fricas/fricas/blob/master/src/algebra/laurent.spad#L71
ad a category default. And seemingly that category default does not apply.
Any idea what is the real problem?
Ralf