I've been on and off interested in this conjecturing software since Craig Larson gave a presentation on an earlier version of it at BYU in 2014. But when I try to run it, I get a "Broken Pipe" error. I am using
SageMath version 8.1, Release Date: 2017-12-07
installed on an Ubuntu 18.04.
When I try to run the toy example described in the README.md, I get the following error:
sage: attach("conjecturing.py")
sage: attach("numbertheory.py")
sage: objects = [5, 10]
sage: conjecture(objects, invariants, 1)
IOError Traceback (most recent call last)
in ()
----> 1 conjecture(objects, invariants, Integer(1))
/home/grant/Programs/conjecturing-0.12/sage/conjecturing.py in conjecture(objects, invariants, mainInvariant, variableName, time, debug, verbose, upperBound, operators, theory, precomputed)
447 stdin.write('{}\n'.format(float(get_value(invariantsDict[invariant], o))))
448 except:
--> 449 stdin.write('NaN\n')
450
451 if debug:
IOError: [Errno 32] Broken pipe
I've been on and off interested in this conjecturing software since Craig Larson gave a presentation on an earlier version of it at BYU in 2014. But when I try to run it, I get a "Broken Pipe" error. I am using
SageMath version 8.1, Release Date: 2017-12-07
installed on an Ubuntu 18.04.
When I try to run the toy example described in the README.md, I get the following error:
sage: attach("conjecturing.py")
sage: attach("numbertheory.py")
sage: objects = [5, 10]
sage: conjecture(objects, invariants, 1)
IOError Traceback (most recent call last)
in ()
----> 1 conjecture(objects, invariants, Integer(1))
/home/grant/Programs/conjecturing-0.12/sage/conjecturing.py in conjecture(objects, invariants, mainInvariant, variableName, time, debug, verbose, upperBound, operators, theory, precomputed)
447 stdin.write('{}\n'.format(float(get_value(invariantsDict[invariant], o))))
448 except:
--> 449 stdin.write('NaN\n')
450
451 if debug:
IOError: [Errno 32] Broken pipe