package hol2dk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
HOL-Light to Dedukti/Lambdapi and Rocq translator
Install
dune-project
Dependency
Authors
Maintainers
Sources
hol2dk-2.1.0.tbz
sha256=57a91423ffa5d560b092a5285c67e7eba7c44bae9904e10e0688868a7ff6e656
sha512=677d19ec68aac820790b5bb0c7afcff1440c00a3799c9d86edaefe006e733bdb12045b6f3534dee994658e8d013740ac182649441d01ed5314e3a3e22f911718
doc/CHANGES.html
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.1.0 (2025-11-20)
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
hol2dk can now generate term abbreviations and proofs in several files in parallel:
- The option --max-size-abbrev allows to fix the maximum size for term abbreviations files.
- The option --max-size-proof allows to fix the maximum size for proof files.
- optimization of lp file dependencies in generated lp files.
- generation of Makefile lpo dependencies at the same time as lp files.
- Makefile: lpo and vo dependencies are recomputed automatically.
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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page