Barry Trager sent me a copy of the book "Integration in Finite Terms:
Fundamental Sources"[0]. The book has a series of papers leading up
to his PhD thesis. Years ago I tried several times to read and understand
his PhD work in integration and failed completely. Now I am working
through the background material.
While working through the book I revisited the resultant algorithm.
I asked an LLM about it. The result was
"When integrating rational functions, finding the logarithmic part of the
integral requires determining the poles and their associated residues.
Computing these algebraically without finding the roots of large
denominator polynomials requires the Rothstein-Trager Resultant."
Pulling on that thread leads to Barry's Masters Thesis.
I asked an LLM to explain the resultant algorithm. The LLM not
only explained it in great detail (I'm a slow learner), it constructed
many examples until I could compute it by hand.
That leads to WHY you need the resultant algorithm which leads
to further LLM question-answer sessions.
Without LLMs I'm not sure I could fully understand Trager in any
reasonable amount of time.
The point is that the LLMs can already explain Trager. The question
then becomes "When can they use that understanding to compute
integration". My guess is it already can when given the correct series of
prompts.
I had advocated developing an MCP (Model Context Protocol) server
to give LLMs access to the computer algebra system, part of the goal
of making the algebra available to other systems. However I think the
time has passed when this is useful. The LLMs already "know" most
of the answers to computer algebra questions. Whether the answer is
correct or not is questionable at the moment but I think that will change.
It would be an interesting study to discover how much computer algebra
system output is already "known" to an LLM. The LLM output requires
careful prompt construction (known as "skills"). I suspect the likely path
going forward will be constructing "skills" that give the same or better
output than the current computer algebra systems. It has the added
feature of being able to explain the result (aka machine-to-human) in
any desired amount of detail.
So the forward-looking path is "skill development" rather than hand
written algorithms. I am trying hard to learn this new game.
As the Red Queen in Carroll's "Through the Looking-Glass" said:
"Now, here, you see, it takes all the running you can do, to keep in
the same place. If you want to get somewhere else, you must run
at least twice as fast as that!"
Tim, the trailing edge runner.
[0] Clemens G. Raab and Michael F. Singer (ed)
"Integration in Finite Terms: Fundamental Sources" (2022) ISBN 9783030978664