Python Library for interfacing with Coq and Tactician
Project description
PyTactician
PyTactician is a Python Library for interfacing with the Coq Proof Assistant through the API of its Tactician plugin and reading associated datasets.
The major version number x
of this library
indicates the version of the dataset and communication protocol. Any PyTactician
version x.y
is compatible with the communication protocol x
.
Installation
Binary wheels are provided for Linux and MacOS (on
PyPI). On those platforms you can
install by executing pip install pytactician
. If you need to install from
source, you need to have Cap'n Proto >= 0.8 installed on your system. See the
main repo
README for
more details on prerequisites. Once you have the prerequisites, you can install
by running pip install .
from the root of the repository.
Usage
PyTactician provides a library to work with the datasets extracted from Coq and to directly interface with Coq through Tacticians API. The documentation for the library can be found here.
In addition, PyTactician contains a number of executables that can be used to
analyze datasets and interact with Coq. Available executables are as follows
(use the --help
flag for each executable to learn about all the options).
pytact-check [-h] [--jobs JOBS] [--quick] [--verbose VERBOSE] dir
Run sanity checks on a dataset and print some statistics.pytact-visualize [-h] [--port PORT] [--hostname HOSTNAME] [--dev] [--fast | --workers WORKERS] dataset
: Start an interactive server that visualizes a dataset.pytact-server [-h] [--tcp TCP] [--record RECORD_FILE] {graph,text}
Example python server capable of communicating with Coq through Tactician's 'synth' tactic To learn how to interface Coq and Tactician with this server, see the sections below.pytact-oracle [-h] [--tcp PORT] [--record RECORD_FILE] {graph,text} dataset
A tactic prediction server acting as an oracle, retrieving it's information from a datasetpytact-fake-coq [-h] (--tcp TCP_LOCATION | --stdin EXECUTABLE) data
A fake Coq client that connects to a prediction server and feeds it a stream of previously recorded messages.pytact-prover
: A dummy example client that interfaces with Coq and Tactician for proof exploration driven by the client.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pytactician-15.1.tar.gz
.
File metadata
- Download URL: pytactician-15.1.tar.gz
- Upload date:
- Size: 705.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a3013534fb951cd2059d6cb2292aa3b6d62469fbb48815e26f43fc58f644f5 |
|
MD5 | 5427ee0752a41018f30d65d7651484c9 |
|
BLAKE2b-256 | 2248f01ee6d09934261e08898960e793019d07ece4d1ea3e8c9bea82093ee078 |
File details
Details for the file pytactician-15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b1c297b953bd17b42cc0e15ff7c5199c54546b9ef56c70e624bc1a2e646a6e |
|
MD5 | 75cfb219b8c1c536a48bc89fbe2a7645 |
|
BLAKE2b-256 | 4abfcdc3ce6be49d922ad337a632e37b40783d3671c9e75e6397a32b0545be29 |
File details
Details for the file pytactician-15.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: pytactician-15.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 6.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6456c6fa6ba89817a88fadbcd94f997714b0acf71d4b11de9ed91458cc730e3a |
|
MD5 | 310db34f2fbb9e36e0fc60dfff76cfeb |
|
BLAKE2b-256 | de343306dc4fd16112eb577bb2c5fed8bc721c80f2465c804219b0fd1a1e3e3f |
File details
Details for the file pytactician-15.1-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2120866bc1e042acd0b88aaf51246cc91afe4ab08b1f84a8362996ecad419f2a |
|
MD5 | 37e2892c0279a9cc1ed30839c1273780 |
|
BLAKE2b-256 | 32f97214a9d8156e1daa61a28c2c5a1877c57dacd332ac3ba18cdcddec39345f |
File details
Details for the file pytactician-15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ada8aad8bec9d580d2e76fb889280af3268a8c2e3c33efee2fb042a618138ca8 |
|
MD5 | 22ce20560f69e2678ee2422e65fa2856 |
|
BLAKE2b-256 | 58d01ea8d6443cd6f64916742ca9d156fd8820c72d0aa9e54dc9cef7570c3a58 |
File details
Details for the file pytactician-15.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: pytactician-15.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33c5c6d5de509faa13e5ff24a14cc602f8bfc4818f27103adbc4fb642de70625 |
|
MD5 | 2e1e11bb3a87faa9a4044a80b531d658 |
|
BLAKE2b-256 | 5b70da2115bac53ec4794e9d16b28721b013a3791b625695313b0c596b1d4bcb |
File details
Details for the file pytactician-15.1-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68d7937b9b3288e45cde79e63928ffd498b9386f652c40185520c5af58ada3ac |
|
MD5 | 70ff07408e03063487dcb9657925e473 |
|
BLAKE2b-256 | 6ddfbd57b1ad5b9e9000ee5d873e627ace70b5c95d6fc2152153cc81fb996b1d |
File details
Details for the file pytactician-15.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.3 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c648818b689d6d2e8cfea1f0b25fc2fad470da129921801ff8a1e0d5c33dbff8 |
|
MD5 | 18f3ed7bec005209087e81e86df16b1f |
|
BLAKE2b-256 | ba0ae17039052b48ce57d8e6cf5454f61c7b63ed19e34a8c1fca8290424020ba |
File details
Details for the file pytactician-15.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: pytactician-15.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a077538cf4151628c2f33e3c29e373a0fbb6e949846a94682ae7e35447b1043 |
|
MD5 | 892175563ef2164c5ed99ec6c43928ee |
|
BLAKE2b-256 | 931b3d17e5361a32e43ffb00165e6baa003aaeec069bea592b7893f1dd1312ee |
File details
Details for the file pytactician-15.1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2bd02d54931306f55f7781e757f4abd46d1128709aff2a31d5e3ec501de73c3 |
|
MD5 | 4c324d1f1398ecfd72c3d655f65b6e29 |
|
BLAKE2b-256 | a9acb8fe32eaeac0b45928e19eb181f77a0fe9c3c3f6734cc3f9e5f2c5d8e534 |
File details
Details for the file pytactician-15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.3 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ed0d3dc3287319f36685a07a3e81f25965216fa908eaed373cfe08f4c516f4a |
|
MD5 | c5c99bd9723a41e1b5107a921e8ba4db |
|
BLAKE2b-256 | 1c918324d6cdff036504054ed3991d46e6505009ec7717ea7f79ff8e150e0e70 |
File details
Details for the file pytactician-15.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: pytactician-15.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 6.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9abc6e0075587600c34a279cc8263a648ec84e7f6ca5763ce0dc82e61dca04eb |
|
MD5 | 14c2b3638ad3166aed1b198831f4add4 |
|
BLAKE2b-256 | e21071395ace43cd79610a738d2af80674007f950a41f4d0d34afb7d0c2cffb7 |
File details
Details for the file pytactician-15.1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytactician-15.1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a11226263eb8819110dc69482cc443684c57770b5aa050e99d8ca954bb11a1bf |
|
MD5 | db8e7e106235ebecb3bb38339ed56f3b |
|
BLAKE2b-256 | 42d9f1a7073b81cdab6f564e7380d08739d4b1f22a108a3a8d47bca73e18f173 |