There are some integrals that are impossible to express in terms of elementary function, for example, $ \int \frac{e^x}{x} dx $ is only expressible as a "special" function $Ei(x)$, the exponential integral, or $ \int \frac{\sin x}{x} dx = Si(x)$, the sine integral.
Is there a finite set of solutions $S$ of functions (and compositions of those functions) able to represent the set of solutions of a given finite set $C$ of functions?
What if we consider the set $S$, and ask if it is closed under indefinite integration? For example, if $C$ is the set of elementary functions, $S$ would have to include $Ei(x)$, and integrals of functions involving $Ei(x)$ and other functions in $S$ would be have to be closed under integration.
Could we iterate this process by making $S$ our new $C$, and always come up with a finite set as an answer? Will this process eventually stop producing new answers, making the set of all functions derivable from integrals on the set of compositions of elementary functions closed?