{"id":16057824,"url":"https://github.com/jonaprieto/online-atps","last_synced_at":"2025-03-18T04:31:16.612Z","repository":{"id":142379927,"uuid":"65866897","full_name":"jonaprieto/online-atps","owner":"jonaprieto","description":"Run ATPs from SystemOnTPTP","archived":false,"fork":false,"pushed_at":"2019-07-08T12:42:49.000Z","size":520,"stargazers_count":6,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T07:11:47.902Z","etag":null,"topics":["atp","eprover","metis","theorem","tptp","vampire"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonaprieto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-08-17T01:46:27.000Z","updated_at":"2023-02-20T20:15:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e904328-4a23-4b3f-ba70-9e68d07454cf","html_url":"https://github.com/jonaprieto/online-atps","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaprieto%2Fonline-atps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaprieto%2Fonline-atps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaprieto%2Fonline-atps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaprieto%2Fonline-atps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonaprieto","download_url":"https://codeload.github.com/jonaprieto/online-atps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902285,"owners_count":20366260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atp","eprover","metis","theorem","tptp","vampire"],"created_at":"2024-10-09T03:04:54.411Z","updated_at":"2025-03-18T04:31:16.153Z","avatar_url":"https://github.com/jonaprieto.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OnlineATPs [![Build Status](https://travis-ci.org/jonaprieto/online-atps.svg?branch=master)](https://travis-ci.org/jonaprieto/online-atps) [![DOI](https://zenodo.org/badge/65866897.svg)](https://zenodo.org/badge/latestdoi/65866897)\n\n  OnlineATPs is a command-line client for\n  [TPTP World](http://www.cs.miami.edu/~tptp/cgi-bin/SystemOnTPTP).\n  We can use an online [ATP](http://www.cs.miami.edu/~tptp/OverviewOfATP.html)\n  as it would be running locally. Indeed, SystemOnTPTP has available more than\n  forty automatic theorem provers and we take avantage of all.\n\n\n#### Requirements\n\n* OnlineATPs has been built and tested using [GHC](https://www.haskell.org/ghc/) 8.6.5. Please, check your version with:\n\n````bash\n$ ghc --version\n````\n\n* Use the last version of [Cabal](https://www.haskell.org/cabal/). OnlineATPs has been installed successfully using `cabal-1.22` and `cabal-1.24`.\n\n````bash\n$ cabal update\n$ cabal install cabal-install\n$ cabal --version\n````\n\n#### Installation\n\n````bash\n$ git clone https://github.com/jonaprieto/online-atps.git\n$ cd online-atps\n$ cabal install\n````\n\n#### Usage\n\n* To take advantage of OnlineATPs, we recommend check first\n[SystemOnTPTP](http://www.cs.miami.edu/~tptp/cgi-bin/SystemOnTPTP) to see what is about.\n\n* The user provide a problem formatted using\n[TPTP](http://www.cs.miami.edu/~tptp/TPTP/QuickGuide/) syntax. Also, specify at least one ATP name. Then, execute online-atps to get an output, as we can see this output is pretty similar to the answer given by a local ATP but more verbose. Let see.\n\n    * For instance, a TPTP problem looks similar to:\n\n    ````bash\n    $ cat basic.tptp\n    fof(a1, axiom, a).\n    fof(a2, axiom, b).\n    fof(a3, axiom, (a \u0026 b) =\u003e z).\n    fof(a4, conjecture, z).\n\n    ````\n\n\n    * Using the option `--atp` we specify the ATP. For instance, using `--atp=vampire` we specify that we are going to use [Vampire](http://www.vprover.org) ATP against the problem.\n\n\n    ```\n    $ online-atps basic.tptp --atp=vampire\n    % SZS start RequiredInformation\n    % Congratulations - you have become a registered power user of SystemOnTPTP,\n    at IP address 138.121.12.14.\n    % Please consider donating to the TPTP project - see www.tptp.org for\n    details.\n    % When you donate this message will disappear.\n    % If you do not donate a random delay might be added to your processing time.\n    % SZS end RequiredInformation\n    Vampire---4.1   system information being retrieved\n    Vampire---4.1's non-default parameters being retrieved\n        -t none\n        -f tptp:raw\n        -x vampire --mode casc -m 90000 -t %d %s\n    Vampire---4.1   being checked for execution\n    Vampire---4.1   checking time limit 240\n    Vampire---4.1   checking problem name /tmp/SystemOnTPTPFormReply38743/\n    SOT_Xry401\n    ...\n    % ------------------------------\n    % Version: Vampire 4.1 for CASC J8 Entry\n    % Termination reason: Refutation\n\n    % Memory used [KB]: 511\n    % Time elapsed: 0.043 s\n    % ------------------------------\n    % ------------------------------\n    % Success in time 0.045 s\n\n    % END OF SYSTEM OUTPUT\n    RESULT: SOT_Xry401 - Vampire---4.1 says Theorem - CPU = 0.00 WC = 0.04\n    OUTPUT: SOT_Xry401 - Vampire---4.1 says Refutation - CPU = 0.00 WC = 0.04\n\n    ```\n\n\n* See all ATPs available. Run this command:\n\n````bash\n$ online-atps --list-atps\n````\n\n* Check the `help` command to see all options of `online-atps`:\n\n````bash\n$ online-atps --help\n````\n\n* OnlineATPs accepts a name for a ATP using the prefix \"online-\" or not (e.g \"vampire\" or \"online-vampire\")\n\n````bash\n$ online-atps basic.tptp --atp=online-metis\n````\n\n* Check if a problem states a theorem or not using `--only-check`\n\n````bash\n$ online-atps basic.tptp --atp=online-metis --only-check\n````\n\n#### Contribute\n\nAny contribution to improve this package is welcomed. Just check the issues or create a new one.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaprieto%2Fonline-atps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonaprieto%2Fonline-atps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaprieto%2Fonline-atps/lists"}