1 | initial version |
Here's a function you can use which will keep simplifying until it can't any longer:
def simp(f):
old = f.simplify_full()
new = old.simplify_full()
while 1:
if hash(new) == hash(old):
return old
else:
old = old.simplify_full()
2 | No.2 Revision |
Here's a function you can use which will keep simplifying until it can't any longer:
def simp(f):
old = f.simplify_full()
f
new = old.simplify_full()
while 1:
print 'Run!'
if hash(new) == hash(old):
return old
else:
old = old.simplify_full()
new
new = new.simplify_full()
3 | No.3 Revision |
Here's a function you can use which will keep simplifying until it can't any longer:
def simp(f):
old = f
new = old.simplify_full()
while 1:
print 'Run!'
if hash(new) == hash(old):
return old
else:
old = new
new = new.simplify_full()