Ah, I meant RBF(erfi(1/sqrt(2)).
I hadn't noticed I was running cocalc on Sagemath 9.2 rather than Sagemath 9.4. Switching to Sagemath 9.4 fixes the issue with RBF(stieltjes(1)).
Now, however, I get a different error for RBF(erfi(1/sqrt(2)). See below.
I get the same errors as before for RBF(gamma(3/2,1)) and RIF(gamma(3/2,1)).
Harald
PS. Here is the output for RBF(erfi(1/sqrt(2))):
RecursionError Traceback (most recent call last)
<ipython-input-2-dee2477a9f8d> in <module>
----> 1 RBF(erfi(Integer(1)/sqrt(Integer(2))))
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9338)()
896 if mor is not None:
897 if no_extra_args:
--> 898 return mor._call_(x)
899 else:
900 return mor._call_with_args(x, args, kwds)
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.NamedConvertMap._call_ (build/cythonized/sage/structure/coerce_maps.c:6042)()
285 raise TypeError("Cannot coerce {} to {}".format(x, C))
286 cdef Map m
--> 287 cdef Element e = method(C)
288 if e is None:
289 raise RuntimeError("BUG in coercion model: {} method of {} returned None".format(self.method_name, type(x)))
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression._arb_ (build/cythonized/sage/symbolic/expression.cpp:11830)()
1647 pass
1648 else:
-> 1649 return R(res)
1650 # Typically more informative and consistent than the exceptions that
1651 # would propagate
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9338)()
896 if mor is not None:
897 if no_extra_args:
--> 898 return mor._call_(x)
899 else:
900 return mor._call_with_args(x, args, kwds)
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.NamedConvertMap._call_ (build/cythonized/sage/structure/coerce_maps.c:6042)()
285 raise TypeError("Cannot coerce {} to {}".format(x, C))
286 cdef Map m
--> 287 cdef Element e = method(C)
288 if e is None:
289 raise RuntimeError("BUG in coercion model: {} method of {} returned None".format(self.method_name, type(x)))
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression._arb_ (build/cythonized/sage/symbolic/expression.cpp:11830)()
1647 pass
1648 else:
-> 1649 return R(res)
1650 # Typically more informative and consistent than the exceptions that
1651 # would propagate
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9338)()
896 if mor is not None:
897 if no_extra_args:
--> 898 return mor._call_(x)
899 else:
900 return mor._call_with_args(x, args, kwds)
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.NamedConvertMap._call_ (build/cythonized/sage/structure/coerce_maps.c:6042)()
285 raise TypeError("Cannot coerce {} to {}".format(x, C))
286 cdef Map m
--> 287 cdef Element e = method(C)
288 if e is None:
289 raise RuntimeError("BUG in coercion model: {} method of {} returned None".format(self.method_name, type(x)))
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression._arb_ (build/cythonized/sage/symbolic/expression.cpp:11830)()
1647 pass
1648 else:
-> 1649 return R(res)
1650 # Typically more informative and consistent than the exceptions that
1651 # would propagate
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9338)()
896 if mor is not None:
897 if no_extra_args:
--> 898 return mor._call_(x)
899 else:
900 return mor._call_with_args(x, args, kwds)
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.NamedConvertMap._call_ (build/cythonized/sage/structure/coerce_maps.c:6042)()
285 raise TypeError("Cannot coerce {} to {}".format(x, C))
286 cdef Map m
--> 287 cdef Element e = method(C)
288 if e is None:
289 raise RuntimeError("BUG in coercion model: {} method of {} returned None".format(self.method_name, type(x)))
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression._arb_ (build/cythonized/sage/symbolic/expression.cpp:11830)()
1647 pass
1648 else:
-> 1649 return R(res)
1650 # Typically more informative and consistent than the exceptions that
1651 # would propagate
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/parent.pyx in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9338)()
896 if mor is not None:
897 if no_extra_args:
--> 898 return mor._call_(x)
899 else:
900 return mor._call_with_args(x, args, kwds)
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/structure/coerce_maps.pyx in sage.structure.coerce_maps.NamedConvertMap._call_ (build/cythonized/sage/structure/coerce_maps.c:6042)()
285 raise TypeError("Cannot coerce {} to {}".format(x, C))
286 cdef Map m
--> 287 cdef Element e = method(C)
288 if e is None:
289 raise RuntimeError("BUG in coercion model: {} method of {} returned None".format(self.method_name, type(x)))
... last 14 frames repeated, from the frame below ...
/ext/sage/9.4/local/lib/python3.9/site-packages/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression._arb_ (build/cythonized/sage/symbolic/expression.cpp:11830)()
1647 pass
1648 else:
-> 1649 return R(res)
1650 # Typically more informative and consistent than the exceptions that
1651 # would propagate
RecursionError: maximum recursion depth exceeded while calling a Python object