Exporting from STTfa files
NOTE currently, only the export from STTfa files is available.
Exporting a library requires:
- a logic encoded in one or more dedukti files, those files are in
theories/sttfa; - dedukti files of the
liblibrary encoded in the STTfa logic inimport/dedukti/sttfa/lib
Getting Started
To export the package arith_fermat using theory sttfa to PVS,
utils/export.sh -e pvs -p arith_fermat -t sttfa
Note: If it is the first time you have used this command, note that the arith_fermat library will also be generated in import/dedukti/sttfa/, as will the opentheory_stdlib library.
Options
-mspecify the middleware used-kspecify other Dedukti options
For developers
Bash scripts allow to preset many options. export.sh uses the binary
eksporti which comes with many more options,
-Iadd a folder containing Dedukti source files,-dadd a directory containing Dedukti files to export,--debug Nwith0 <= n <= 7enables debugging, the lower the quieter,--dkopts OPTSpass options to Dedukti to producedkofiles,-oset output directory
Note that each system may come with its own options;
to know more about the export options of any system sys:
dune exec -- eksporti sys --help
and to list available systems,
dune exec -- eksporti --help