Show HN: Data structure that lets different parts of math work together
Category: ai-ml
Tags: automatic-differentiation, non-standard-analysis, infinitesimals, calculus, python
Score: 7.0/10 (Innovation: 8, Technical: 9, Documentation: 7, Utility: 4)
Composite Machine is a Python library implementing a non-standard number system based on infinitesimals and dimensional arithmetic, enabling automatic differentiation, integration, and limits as side effects of normal computation. It represents numbers as sparse dictionaries mapping dimensions to coefficients, with negative dimensions storing derivative information, and draws on Levi-Civita fields, Hahn series, and transseries. This is highly experimental research code that showcases a novel approach to calculus but is not yet production-ready.
Target audience: researchers, mathematicians, and developers interested in automatic differentiation and non-standard analysis
Repository: https://github.com/tmilovan/composite-machine · Python · NOASSERTION · 16 stars
View on Hacker News