I'm a self-taught developer without formal education. After 3 months of intense study, I built a Gröbner basis engine that runs in the browser.
What it does:
- Solves complex 4D systems like w²+x²+y²+z²=1 with symmetric constraints
- 5-polynomial basis in 10 iterations
- Exact BigInt arithmetic, zero approximations
- Pure TypeScript, no dependencies
Why it matters:
This makes advanced computational algebra accessible to anyone with a browser - no expensive software licenses needed.
Technical details:
- Buchberger algorithm with optimized pair selection
- AST architecture with Flyweight/Visitor patterns
- Handles up to 7 variables practically
Live demo: https://romimath.pages.dev
(Currently Gröbner basis - more features coming this week)
I'd love feedback from the computational math community.
Technical insights for the HN crowd: - Optimized pair selection beats naive Buchberger by 40% - AST memory pooling handles 7-variable polynomial explosion - BigInt precision eliminates numerical stability concerns
For enterprise folks: This solves the "last-mile" problem of mathematical optimization - accessible tools for domain experts.
The 7-variable limit isn't a bug, it's a feature - covers 80% of real business constraints while staying performant.
Demo is live at the link. Code architecture questions welcome.