Skip to content
Adding conjecturing to Sage
C Python Makefile Shell
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
c Fixed bug with unallocated memory while generating labeled trees Sep 7, 2017
examples Added main invariant which was accidentally deleted Apr 5, 2016
sage Additional prints in verbose mode Jun 22, 2018
spkg Upgrading to version 0.12 Sep 11, 2017
.gitignore Ignore build folders Jul 22, 2013 Corrected filename Sep 10, 2013


See the directory spkg for instructions on how to build and install a Sage package containing the expressions program. Once you have built and installed such a Sage package, you can use the Python files in the directory sage to interact with the package.

Open the directory sage in a terminal window and start Sage. Usually this is done using the following command:

$ sage

Once Sage has started, you can load the file

sage: attach('')

You can also choose to load any of the other files, but this is not necessary.

An example run might look like this:

sage: attach('')
sage: attach('')
sage: objects = [5, 10]
sage: conjecture(objects, invariants, 1)

Note that loading the file sets the variable invariants to a list of invariants used in number theory.

You can’t perform that action at this time.