https://github.com/oliverkovacs/derivative
Symbolic differentiation implemented in Prolog.
https://github.com/oliverkovacs/derivative
calculus cas derivative prolog
Last synced: 7 months ago
JSON representation
Symbolic differentiation implemented in Prolog.
- Host: GitHub
- URL: https://github.com/oliverkovacs/derivative
- Owner: OliverKovacs
- Created: 2024-07-29T14:43:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-30T15:51:55.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T08:33:16.135Z (over 1 year ago)
- Topics: calculus, cas, derivative, prolog
- Language: Prolog
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# derivative
Symbolic differentiation implemented in Prolog.
Heavily inspired by [Edmund Weitz's Video](https://www.youtube.com/watch?v=EyhL1DNrSME) showcasing a similar program in Lisp.
## Usage
```
prolog derivative.pl
?- apply_rule(d(x*x + 2*x + 5, x), Y, rule).
Y = 2*x+2
```
## Todo
- Improve simplification.