Basic question on Julia symbolic. How to keep exp(1) as is and not convert it to a floating point number?

Perhaps using a tuple instead of a vector would help, like this:

julia> using Symbolics

julia> 1
1

julia> Symbolics.Term(exp, (ans,))
exp(1)

julia> Symbolics.Term(exp, (ans,))
exp(exp(1))

julia> Symbolics.Term(exp, (ans,))
exp(exp(exp(1)))

The relevant struct uses a Vector{Any} field anyway, so this is of limited help; but perhaps sometimes it makes sense to use a tuple.

I don’t know, but at least it will work :sweat_smile:. Not putting an array in there probably fails in most operations.

What is being done as far as Risch implementations. Is that part of SciML, or a seperate project?