leesugil / symbolic

Symbolic calculator for arithmetic operations with fractions
GNU General Public License v3.0
1 stars 0 forks source link

commutativity and associativity not perfect #21

Open leesugil opened 7 months ago

leesugil commented 7 months ago

there are still expressions that are not completely reduced even if it's obvious to eyes. i'm leaving this note in rush so apologies for lack of bringing specific examples. the current temporary design for MVP feels like blind shooting when reducing terms and evaluating it. that's reflected in how the main "process" loop is placed, yet still not doing a complete job reducing terms. maybe we need to take more fundamental, core combinatorial consideration.

i suggest a combinatorially complete way to consider comparing all terms of a given mathematical expression.

leesugil commented 7 months ago

will start by making some combinatorial functions

leesugil commented 7 months ago
Screenshot 2024-02-18 at 8 16 51 PM

here's a non-working example