Skip to content

Conversation

@fblanqui
Copy link
Contributor

HOL-Light to Dedukti/Lambdapi and Rocq translator

CHANGES:

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

CHANGES:

### 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
Copy link
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All green (modulo what appears to be a network issue triggering on MSys2), thanks!

Would you consider adding an x-maintenance-intent entry?
https://github.com/ocaml/opam-repository/blob/master/governance/policies/archiving.md

@fblanqui
Copy link
Contributor Author

Yes. Should we write something like the following?

description: "HOL-Light to Dedukti/Lambdapi and Rocq translator"
x-maintenance-intent: ["(latest)"]
maintainer: ["Frédéric Blanqui"]

@jmid
Copy link
Member

jmid commented Nov 22, 2025

Yes, that would be perfect! 👍

@fblanqui
Copy link
Contributor Author

Note that the emacs mode for opam does not color this field.

@jmid jmid removed the question label Nov 22, 2025
@mseri mseri merged commit d7c3387 into ocaml:master Nov 23, 2025
4 checks passed
@mseri
Copy link
Member

mseri commented Nov 23, 2025

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants