🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #2789

Algebraic simplification algorythm wanted.

#2789
From: szulc
Date: Fri, 02 Oct 1987 10:07
8 lines
991 bytes
Algebraic simplification algorythm wanted.

I'm looking for an algorythm, preferably in Prolog, for simplifying
an algebraic expression. My first attempts can handle expressions
of the form 2+a+3 => 5+a, but gets lost with 2+a+3+b+4. I know that
I could flatten the trees, sort them and then re-construct them,
but I need something that works for all sorts of operators and that
can be defined by simple rules.
Technical Details
Message-ID: <461@dlt1.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ukma!uunet!mcvax!dlt1!szulc

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!ukma!uunet!mcvax!dlt1!szulc
From: szulc@dlt1.UUCP
Newsgroups: comp.lang.prolog,sci.math.symbolic
Subject: Algebraic simplification algorythm wanted.
Message-ID: <461@dlt1.uucp>
Date: Fri, 2-Oct-87 06:07:36 EDT
Article-I.D.: dlt1.461
Posted: Fri Oct  2 06:07:36 1987
Date-Received: Sat, 3-Oct-87 12:13:58 EDT
Reply-To: szulc@dlt1.UUCP (Eddy Szulc)
Distribution: world
Organization: BSO/Research, Utrecht, Holland
Lines: 8
Keywords: symbolic algebra prolog