HarrisonGrodin / HarrisonGrodin/Simplify.jl

Named rules

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
feature good first issue
Dominant language
Julia
Stars
83
Forks
6
PR merge metrics
No merged PRs in 30d

Description

We should be able to attach names to rules, so that normalization steps (and error messages?) can be better understood by users. For example:

```
normalize(@term(diff(x + y, x)))
- @term(diff(x,x) + diff(y,x)) by sum rule in differentiation
- @term(one(x) + diff(y, x)) by linear rule of differentiation
- @term(1 + diff(y, x)) by multiplicative identity of a number
- @term(1 + zero(x)) by assumption that variables are independent
- @term(1 + 0) by additive identity of a number
- @term(1) by removal of additive identity
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the normalize entry point and the rule-application code referenced by the example. Determine how rule names could be represented and surfaced in normalization steps or error messages; the issue does not identify files, tests, or a more specific completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.