Added
- command nbp to print the number of (useful) proofs
- command files to print theorem statements following the file structuration in HOL-Light
- command thms to print theorems (named or not) proved in a file
- command unsplit to put the proofs of all the theorems proved in a HOL-Light file in the same Lambdapi file
- command concl to print the statements of theorems between two indexes
- option --max-dup $k to share the proof of a theorem if it is duplicated more than $k times
- renamings to handle the Multivariate library
- test/Sig_mappings_N.v and test/Sig_With_N.v: axiomatizations of mappings_N.v and With_N.v respectively
- test/Makefile: generates Spec_mappings_N.v and Spec_With_N.v, standalone versions of Sig_mappings_N.v and Sig_With_N.v, and checks the correctness of mappings_N.v and With_N.v wrt to those specification files the use of Spec_With_N.v instead of With_N.v allows to reduce the Coq checking time of Multivariate/make_complex.ml by 40% (21 hours instead of 35 hours)
Changed
- command link renamed into config and improved
- update to work with HOL-Light 3.1 and Rocq 9.0
- minimize dependencies in spec files
- theory_hol.lp: rename T into ⊤ and F into ⊥
Fixed
- handling of type variables occurring in a proof but not in a statement
2.0.0 (2024-04-23)
Big improvements in Lambdapi and Coq file generation time, and Coq checking time.
Added
Changed
- FILES_WITH_SHARING renamed into BIG_FILES and not added by add-links anymore
- command dump[-simp]-use renamed into dump[-simp]-before-hol
- for each theorem, two files are generated: one with the proof, and one declaring the theorem as an axiom
1.0.0 (2024-02-25)
Added
- add-links script
- command rewrite to simplify prf files
- command purge to compute useless theorems these two commands greatly reduce the size of generated proofs
- command simp is equivalent to rewrite and purge
- command dump-simp is equivalent to dump, pos, use and simp
- allow simultaneous dumping
- alignments of the types option, Sum, list, char, nadd
- command split to generate a pos/use/sti/nbp file for each named theorem (an sti file contains the starting index of the corresponding proof)
- command theorem to generate the lp files corresponding to a named theorem
- Makefile to generate and check lp and coq files generated with split
- command size to get statistics on the size of terms
- option --print-stats to print statistics on hash tables at exit
- use hash tables instead of maps to build abbreviations maps
- use sharing when building canonical types and terms
- add option --use-sharing for using sharing in lp output when defining term abbreviations
- command nbp to get the number of proof steps
- commands patch, unpatch and link to call the corresponding scripts
- command env to print $HOL2DK_DIR and $HOLLIGHT_DIR
Modified
- identifier renamings
- merged the command dg in the command mk
- fusion.ml: do not generate new theorems for empty instantiations
Fixed
- valid dedukti and lambdapi identifiers
0.0.1 (2023-11-22)
Added
- add command dump-use for dumping a file without including "hol.ml"
Modified
- rename mk-part command into mk
- the dump command now includes "hol.ml"
- do not print ocaml warnings while dumping proofs
- do not export unused proofs (about 7%)
- make hol2dk stat give the number of unused proofs
Fixed
- README.md
- output of hol2dk axm
- output of hol2dk mk
0.0.0 (2023-11-08)
First release.