Dataset Open Access

Superposition for Lambda-Free Higher-Order Logic — Supplementary Material

Bentkamp, Alexander; Blanchette, Jasmin; Cruanes, Simon; Waldmann, Uwe


Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:creator>Bentkamp, Alexander</dc:creator>
  <dc:creator>Blanchette, Jasmin</dc:creator>
  <dc:creator>Cruanes, Simon</dc:creator>
  <dc:creator>Waldmann, Uwe</dc:creator>
  <dc:date>2018-06-30</dc:date>
  <dc:description>We provide the following supplementary material for our paper. The longer version of our paper can be found here: report.

Compiling Zipperposition

Compilation instructions for Zipperposition, in particular instructions for compilation for StarExec, can also be found in the Zipperposition readme.

In general, follow the following steps:


	Install OPAM
	Zipperposition requires OCaml &gt;= 4.03.0, e.g. use
	opam switch 4.05.0+flambda
eval `opam config env`
	
	You might have to install gmplib on your system, e.g.
	sudo apt-get install libgmp3-dev
	
	Zipperposition requires the following dependencies.
	opam install zarith containers sequence oasis msat menhir jbuilder
	
	Clone Zipperposition and compile it (we used commit 7fe2ebeb0500e350fd0f1dd4c4ad402ba9cf99b6):
	git clone https://github.com/c-cube/zipperposition.git --branch dev
cd zipperposition
make build
	This will create the binary zipperposition.native.
	Compile the applicative encoder if needed:
	jbuilder build ./src/tools/app_encode.exe
	This will create the binary ./_build/default/src/tools/app_encode.exe.


Problems

We used the following first-order (TFF) and the higher-order (THF) TPTP (v7.0.0) problems for the evaluation:
TFF problem list 
THF problem list 

The selection criteria for the problems are described in our paper. We used these scripts to create these problems lists and to generate an XML file to link these problems into a seperate space in Starexec:  Problem selection &amp; StarExec XML generation scripts 

Run scripts

We used the following run scripts on starexec. This archive also contains the Zipperposition binary and the applicative encoder binary, compiled for Starexec:  StarExec run scripts 

The scripts use the following command-line options for Zipperposition:


	First-order mode:
	./zipperposition.native -i tptp -o tptp --no-ho --no-avatar --no-induction --no-unif-pattern --simultaneous-sup false --no-max-vars --no-fool
	
	Intensional purifying calculus:
	./zipperposition.native -i tptp -o tptp --no-avatar --ho --force-ho --no-ho-elim-pred-var --ho-general-ext-pos --no-ho-unif --no-induction --no-unif-pattern --simultaneous-sup false --ho-purify int --ho-no-ext-pos --ho-no-ext-neg --ho-prim-enum none --no-max-vars --dont-select-ho-var-lits --no-fool
	
	Intensional nonpurifying calculus:
	./zipperposition.native -i tptp -o tptp --no-avatar --ho --force-ho --no-ho-elim-pred-var --ho-general-ext-pos --no-ho-unif --no-induction --no-unif-pattern --simultaneous-sup false --sup-at-vars --ho-no-ext-pos --ho-no-ext-neg --ho-prim-enum none --no-max-vars --dont-select-ho-var-lits --no-fool
	
	Extensional purifying calculus:
	./zipperposition.native -i tptp -o tptp --no-avatar --ho --force-ho --no-ho-elim-pred-var --ho-general-ext-pos --no-ho-unif --no-induction --no-unif-pattern --simultaneous-sup false --ho-purify ext --ho-ext-axiom --restrict-hidden-sup-at-vars --ho-prim-enum none --no-max-vars --dont-select-ho-var-lits --no-fool
	
	Extensional nonpurifying calculus:
	./zipperposition.native -i tptp -o tptp --no-avatar --ho --force-ho --no-ho-elim-pred-var --ho-general-ext-pos --no-ho-unif --no-induction --no-unif-pattern --simultaneous-sup false --sup-at-vars --restrict-hidden-sup-at-vars --ho-ext-axiom --ho-prim-enum none --no-max-vars --dont-select-ho-var-lits --no-fool
	


Additionally, we provided the problem's filename as the first argument, the order (--ord rpo6 or --ord kbo), the timeout (--timeout 600) and the memory limit (--mem-limit 128000). We used --timeout 600 and Starexec's Wallclock timeout was set to 600s, but Starexec's CPU timeout was set to 300s. So effectively we allowed only 300s of calculation time.

For the applicative encoder app_encode.exe, we provide the problem's filename as the first argument. The option -o tptp should be used to ensure that the output is also in TPTP format. To add the extensionality axiom to the applicative encoding, we use --app-encode-extensional.

Results

Download the raw output of the evaluation and the .csv files created by StarExec here:  Evaluation output 

We used our own scripts to statistically analyse the results instead of using StarExec's statistics:  Evaluation scripts. Set the location of the xml-file and the output files produced by StarExec in config.py and run stats.py to obtain the statistics displayed in the paper.

Examples

We tested the examples given in our paper in Zipperposition. Here are the problem files we used. Some are in TPTP format (.p) and some are in Zipperposition format (.zf).


	Example "Justification for the weaker variable condition in the intensional variant" 
	Example "Justification PosExt" (only in report) 
	Example "Justification for purification and SUP inferences at variables" (only in report) 
	Example "Addition of Peano numbers" 
	Example "Addition of Peano numbers" (applicative encoding) 
</dc:description>
  <dc:identifier>https://zenodo.org/record/3975512</dc:identifier>
  <dc:identifier>10.5281/zenodo.3975512</dc:identifier>
  <dc:identifier>oai:zenodo.org:3975512</dc:identifier>
  <dc:relation>info:eu-repo/grantAgreement/EC/H2020/713999/</dc:relation>
  <dc:relation>doi:10.1007/978-3-319-94205-6_3</dc:relation>
  <dc:relation>doi:10.5281/zenodo.3975511</dc:relation>
  <dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
  <dc:rights>https://creativecommons.org/licenses/by/4.0/legalcode</dc:rights>
  <dc:title>Superposition for Lambda-Free Higher-Order Logic — Supplementary Material</dc:title>
  <dc:type>info:eu-repo/semantics/other</dc:type>
  <dc:type>dataset</dc:type>
</oai_dc:dc>
32
25
views
downloads
All versions This version
Views 3232
Downloads 2525
Data volume 48.8 MB48.8 MB
Unique views 2020
Unique downloads 44

Share

Cite as