1 Pages (2 items)
AI assistance for SMath - Messages
#1 Posted: 6/12/2025 4:02:23 PM
Recently I gave an undergraduate course on Numerical Mathematics. It involved solving tasks using SMath and Python. The students complained that AI is nearly useless for SMath, whereas for python they get solutions which work out of the box with just a few prompt iterations in tools like ChatGPT.
Also, when I copy the text of my online tasks (STACK questions in the Moodle learning management system) to ChatGPT, the tool not only paraphrases the task with an impressive correctness (there are sometimes glitches like swapped numbers in data tables), but also upon request produces programs which generate the solution, even if it can't create the solution by itself. This works with Python programs and, to much less extent, also with Maxima.
I guess that many users made similar experience. For Python, even if you can't really rely on correct implementation of the requested algorithms, you usually still get a very helpful starting point.
Not so with SMath.
I guess that in the near future, software without strong AI coverage (i.e. you can ask AI any questions about it or even let it do your work) will be regarded as outdated, cumbersome and inconvenient. People using non-AI supported tools will be much less efficient than those benefitting from AI support.
I don't know if the available data to feed an LLM woud be enough to make it a good companion or co-pilot for creating or analyzing SMath sheets. The data I think of is
- handbooks
- forum contents (messages and attachments)
- public cloud worksheets
- source repository for extensions
I am aware of the AI features in the SMath roadmap like automatic keyword generation and worksheet translation to other languages.
Additional interesting features would be:
- convert printout (PDF) from SMath back to sm files
- convert handwritten calculations to sm files
- edit expressions based on written or spoken commands ("insert an empty column in the matrix right to the second one")
- optimize performance of existing sheets
- Make consistent layout, create tables of contents, interlink sections etc.
This post is to open a discussion on what you expect from AI support and what ideas or experience do you have to improve AI coverage of SMath for the users.
Also, when I copy the text of my online tasks (STACK questions in the Moodle learning management system) to ChatGPT, the tool not only paraphrases the task with an impressive correctness (there are sometimes glitches like swapped numbers in data tables), but also upon request produces programs which generate the solution, even if it can't create the solution by itself. This works with Python programs and, to much less extent, also with Maxima.
I guess that many users made similar experience. For Python, even if you can't really rely on correct implementation of the requested algorithms, you usually still get a very helpful starting point.
Not so with SMath.
I guess that in the near future, software without strong AI coverage (i.e. you can ask AI any questions about it or even let it do your work) will be regarded as outdated, cumbersome and inconvenient. People using non-AI supported tools will be much less efficient than those benefitting from AI support.
I don't know if the available data to feed an LLM woud be enough to make it a good companion or co-pilot for creating or analyzing SMath sheets. The data I think of is
- handbooks
- forum contents (messages and attachments)
- public cloud worksheets
- source repository for extensions
I am aware of the AI features in the SMath roadmap like automatic keyword generation and worksheet translation to other languages.
Additional interesting features would be:
- convert printout (PDF) from SMath back to sm files
- convert handwritten calculations to sm files
- edit expressions based on written or spoken commands ("insert an empty column in the matrix right to the second one")
- optimize performance of existing sheets
- Make consistent layout, create tables of contents, interlink sections etc.
This post is to open a discussion on what you expect from AI support and what ideas or experience do you have to improve AI coverage of SMath for the users.
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
sergio 6/12/2025 8:01:26 PM
#2 Posted: 6/13/2025 12:09:11 AM
Hi Martin. You can try this code utility ( https://smath.com/en-US/forum/topic/GbopVw/Code-utility#msg137576 ) for scripting SMath functions. By relying on plain text, the AI will be able to provide some form of useful source code for basic applications.
Also, you can use an editor for syntax highlighting

For notepad++:
userDefineLang.xml (79 KiB) downloaded 10 time(s).
Best regards.
Alvaro.
Also, you can use an editor for syntax highlighting

For notepad++:
userDefineLang.xml (79 KiB) downloaded 10 time(s).
Best regards.
Alvaro.
Edited 6/13/2025 12:20:34 AM
1 Pages (2 items)
-
New Posts
-
No New Posts