Rubi: Symbolic integrator based on an extensive system of integration rules

by ducktectiveon 8/30/2024, 9:25 AMwith 26 comments

by ducktectiveon 8/30/2024, 12:27 PM

I encourage those interested in Computer Algebra Systems to read this comparison report: https://www.12000.org/my_notes/CAS_integration_tests/reports...

AFAIK, this is the only recent benchmark-type study that compares modern CAS software (Mathematica vs Maxima vs FriCAS vs etc).

by Y_Yon 8/30/2024, 11:47 AM

I used this a while back to do an awkward integral that no other CAS was able to do and was able to show up a paper that had claimed there was no closed-form solution.

Unfortunately the answer was in terms of hypergeometric functions and was scarcely more useful than the unevaluated integral. In any case I found Rubi to be very impressivein terms of results.

Digging into the code wasn't much fun, as it's just a colossal Mathematica rules engine, like reading Gradshteyn and Ryzhik, but with square brakets everywhere.

by injidupon 8/30/2024, 11:34 AM

What is it fundamentally about symbolic integration that makes it so much more difficult to do? I mean, I studied calculus and learned any number of the rules but it's a curious thing that one operation, differentiation is trivial, yet the opposite, integration is massively complex.

by hobscoopon 8/30/2024, 11:44 AM

Rubi is great. When I'm stuck on an integral in Mathematica with the builtin Integrate, I load up Rubi and sometimes it can find a solution.

by pkayeon 8/30/2024, 4:47 PM

There is a Golang based CAS that follows the Mathematica language which makes use of Rubi for integration.

https://github.com/corywalker/expreduce

by krackerson 8/30/2024, 9:04 PM

This is cool! The page by Abbasi they link to also contains a comparison between MMA and Maple in solving differential equations

https://12000.org/my_notes/kamek/kamke_differential_equation...

by wdkrnlson 8/31/2024, 12:18 AM

Has anyone looked at writing a script to transform those rules for yacas? Making yacas 94% as good as Mathematica at integration sounds like a worthy goal considering how easy it is to deploy it.

by ameliuson 8/30/2024, 12:53 PM

Hopefully this can be integrated (no pun intended) into SymPy.