sandialabs / Prove-It

A tool for proving and organizing general theorems using Python.
http://pyproveit.org
Other
27 stars 10 forks source link

Cancelations with the same canonical form #304

Open wwitzel opened 2 years ago

wwitzel commented 2 years ago

Rather than ensuring sub-expressions are identical in order to cancel them (in a sum or product/division), we can do this based upon canonical forms. This has been implemented for Add (in the QPE_finale_witzel branch) but not yet for Mult and Divide. Cancelation theorems need to be changed for this to work flexibly. For example, image rather than just having "a - a = 0". The same needs to be done for multiplicative cancelations.