Skip to content

Codebase for plCoP, a Prolog Technology Reinforcement Learning Prover

Notifications You must be signed in to change notification settings

zsoltzombori/plcop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

72b157f · May 3, 2021

History

10 Commits
May 3, 2021
Jan 31, 2020
May 3, 2021
Jan 26, 2020
May 3, 2021
May 12, 2020
Jan 26, 2020
Jan 26, 2020
Jan 27, 2020
Jan 26, 2020
May 15, 2020
Jan 26, 2020
Jan 26, 2020
May 3, 2021
Jan 26, 2020
May 3, 2021
Jan 26, 2020
Jan 26, 2020
May 3, 2021
Jan 26, 2020
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
Jan 26, 2020
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
May 3, 2021
Jan 26, 2020
May 3, 2021
Jan 26, 2020
Jan 26, 2020
May 3, 2021
Jan 26, 2020
May 3, 2021
Jan 26, 2020
May 3, 2021
May 3, 2021
May 3, 2021
Jan 26, 2020

Repository files navigation

Codebase for plCoP, a Prolog Technology Reinforcement Learning Prover

Paper: https://arxiv.org/abs/2004.06997

Download project:

git clone --recurse-submodules [email protected]:zsoltzombori/plcop.git

This project makes use of two external repositories:

To install pyswip:

cd pyswip
pip install -e .
cd ..

The xgb foreign interface is provided in

foreign/xgb.so

However, depending on your system configuration, you may need to recompile it. See

foreign/INSTALL1

for an example how to do it. For the recompilation, make sure that the xgboost c library is in /tmp/:

cp foreign/libxgboost.so /tmp/

If you need to obtain another version of xgboost, this link can help:

https://xgboost.readthedocs.io/en/latest/build.html#building-the-shared-library

Usage

To run Monte Carlo Tree Search on a single tptp problem:

python montecarlo.py ini/plcop0.ini --problem_file <path_to_file>

To run a few iterations of learning on a directory of problems, see e.g.:

bash baseline.sh

About

Codebase for plCoP, a Prolog Technology Reinforcement Learning Prover

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published