Shen computer algebra system

80 views
Skip to first unread message

Raoul Duke

unread,
Jun 17, 2026, 11:26:08 AM (6 days ago) Jun 17
to qilang

Reuben

unread,
Jun 17, 2026, 8:14:57 PM (5 days ago) Jun 17
to Shen
This would be amazing. Back in 2017 Mathematica was the only CAS i could find that would do symbolic integration (gnarly 3rd/4th order partial derivatives of Black-Scholes equation). To my knowledge it's still the only one...

dr.mt...@gmail.com

unread,
Jun 18, 2026, 10:13:25 AM (5 days ago) Jun 18
to Shen
There is some mat'l in TBoS on algebra in Seh which might

Mark

Joshua Scholar

unread,
Jun 18, 2026, 7:37:08 PM (4 days ago) Jun 18
to qil...@googlegroups.com
There has been some work on implementing a CAS in Julia, but I want to echo Richard Fateman who was heavily involved in developing Maxsyma and then in its open sourced version in Julia's forums, Maxima that there isn't a huge advantage to trying to duplicate hundreds of man years of work in a different language. 
Maxima is written in Common Lisp and the most common version of Shen is implemented in Common Lisp.  You could just load both in at the same time and have shen programs directly access Maxima data and programs and routines. 


I don't know the state of Julia's symbolics package now, whether they got an advantage out of it the last 5 years since that argument.

--
You received this message because you are subscribed to the Google Groups "Shen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qilang+un...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/qilang/1e17ab57-fbf3-4f18-b346-46ba492f8254n%40googlegroups.com.

Joshua Scholar

unread,
Jun 18, 2026, 7:37:12 PM (4 days ago) Jun 18
to qil...@googlegroups.com
Apologies.  I don't know how an editing error moved some words around in my last post. It should have read




On Thu, Jun 18, 2026 at 7:13 AM dr.mt...@gmail.com <dr.mt...@gmail.com> wrote:

Joshua Scholar

unread,
Jun 18, 2026, 7:37:17 PM (4 days ago) Jun 18
to qil...@googlegroups.com
Arrgh!!! Here in Firefox in Linux I just found that I can't hit "return" without it deciding to send an unfinished email.  Idk.  I guess it decides to highlight the button instead of putting a carriage return in. Two messed up posts in a row! Once again it was supposed to say:

There has been some work on implementing a CAS in Julia, but I want to echo Richard Fateman who was heavily involved in developing Maxsyma and then in its open sourced version Maxima  in Julia's forums, that there isn't a huge advantage to trying to duplicate hundreds of man years of work in a different language.
Maxima is written in Common Lisp and the most common version of Shen is implemented in Common Lisp.  You could just load both in at the same time and have shen programs directly access Maxima data and programs and routines.

https://discourse.julialang.org/t/cas-best-practices/58092/22
https://discourse.julialang.org/t/cas-best-practices/58092/27

I don't know the state of Julia's symbolics package now, whether they got an advantage out of it the last 5 years since that argument.
https://docs.sciml.ai/Symbolics/stable/

Raoul Duke

unread,
Jun 18, 2026, 7:54:40 PM (4 days ago) Jun 18
to qil...@googlegroups.com
0) sure, anybody is free to not reinvent wheels :-)
a) because it is there.
b) because shen can in theory find more errors, making everything more robust.
c) if one is willing/able to leverage AI then the open source man
hours can be paid forward into a stronger more robust system in less
time. (i can understand if some people are "pro" that idea, and if
some people are "con" that idea.)
d) i think if one is "pro" that idea, then one should incorporate
ai-agents into the new system, to help with things like explaining
errors, working on proofs, offering interactive help with the system,
etc.

Joshua Scholar

unread,
Jun 19, 2026, 3:42:19 AM (4 days ago) Jun 19
to qil...@googlegroups.com
I just had an interesting idea. Say you decide that Julia's symbolic math system is better for your problem than Maxima is, then maybe you implement k-lambda in Julia and run your program in Shen on Julia using Julia's library.
If you want Maxima, then you use Marks version in Lisp and connect directly to Maxima.
And if you need Mathematica, maybe you can implement K-Lambda in Wolfram and connect to Mathematica natively. 
Maybe it's silly but for systems that are lisp like, that has to be a temptation.
I don't think you need Shen in C++ to interface with GiNaC. 

--
You received this message because you are subscribed to the Google Groups "Shen" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qilang+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages