Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fblanqui committed Jan 11, 2025
1 parent 6844f29 commit 4e3477f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This library provides a translation in Coq of the definition of real numbers in

It has been automatically generated from HOL-Light using [hol2dk](https://github.com/Deducteam/hol2dk) and [lambdapi](https://github.com/Deducteam/lambdapi).

Proofs are not included but can be regenerated and rechecked by running [reproduce](https://github.com/Deducteam/coq-hol-light-real/blob/main/reproduce) (it takes around 5 minutes on a machine with 32 processors Intel Core i9-13950HX and 64 Gb RAM).
Proofs are not included but can be regenerated and rechecked by running [reproduce](https://github.com/Deducteam/coq-hol-light-real/blob/main/reproduce) (it takes around 10 minutes on a machine with 32 processors Intel Core i9-13950HX and 64 Gb RAM).

As HOL-Light is based on higher-order logic, this library assumes classical logic, Hilbert's ε operator, functional and propositional extensionnality (see [HOLLight.v](https://github.com/Deducteam/coq-hol-light-real/blob/main/HOLLight.v) for more details):

Expand Down
6 changes: 3 additions & 3 deletions reproduce
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e # to exit as soon as there is an error

hollight_version=3.0.0 # for dependencies
hollight_commit=28e4aed
hol2dk_commit=123cf68
hol2dk_commit=86bdfb0
lambdapi_commit=ccfa0e77

opam_version=2.2.1
Expand Down Expand Up @@ -96,7 +96,7 @@ translate_proofs() {
mkdir -p output
cd output
make $jobs clean-all || true
hol2dk config $base.ml --erasing ../../erasing.lp HOLLight_Real ../../Logic.v ../With_N.v ../../deps.mk
hol2dk config $base.ml $root_path ../../Logic.v ../../With_N.v BinNat ../../deps.mk ../../erasing.lp
make split
make $jobs lp
make $jobs v
Expand All @@ -121,7 +121,7 @@ create_and_check_opam_library() {
sed -e "s/${base}_//g" -e "/^Require Import ${root_path}.types.$/d" ${base}_terms.v > ../opam/terms.v
sed -e "s/${base}_//g" -e "/^Require Import ${root_path}.types.$/d" -e '/^Require Import ${root_path}.axioms.$/d' ${base}_opam.v > ../opam/theorems.v
cd ../opam
cp ../../Logic.v ../../With_N.v ../../deps.mk ../../Makefile .
cp ../../*.v ../../deps.mk ../../Makefile .
make
cd ..
}
Expand Down

0 comments on commit 4e3477f

Please sign in to comment.