Skip to content

simplify solve output #22

@mschuene

Description

@mschuene

(solve '[x y](ex %28= y %28* x 4/3%29%29) ;; y = 4/3 x
(ex (= y (+ 1 -1 (* x 4/3))))) ;; y = 4/3 x
returns #{{x (* (- _0) -3/4), y _0}} , which is correct but can be simplified further to

{{x (* _0 3/4), y _0}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions