HarrisonGrodin / HarrisonGrodin/Simplify.jl

Normalize Flat subexpressions

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Julia
Stars
83
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Currently, normalization on flat expressions only attempts to match the pattern to the full expression, not subexpressions. Thus, given the rule `f(x) * g(x) => x`, the term `f(1) * g(1)` will return `1`, but the term f(1) * g(1) * h()` will not normalize.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the normalization entry point and the existing matching path for flat expressions. Compare the two examples in the issue, then verify that a matching flat subexpression is normalized even when other terms remain in the expression.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.