-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from aqjune-aws/opam
Add opam and META files, add '-dir' to hol.sh, other updates
- Loading branch information
Showing
6 changed files
with
125 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
version = "3.0.0+" | ||
description = "The HOL Light interactive theorem prover" | ||
requires = "camlp5 zarith" | ||
archive(byte) = "hol_lib.cma" | ||
archive(native) = "hol_lib.cmxa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
opam-version: "2.0" | ||
name: "hol_light" | ||
version: "3.0.0" | ||
synopsis: "The HOL-Light interactive theorem prover" | ||
description: """ | ||
HOL Light is a computer program written by John Harrison to help users prove | ||
interesting mathematical theorems completely formally in higher order logic. | ||
It sets a very exacting standard of correctness, but provides a number of | ||
automated tools and pre-proved mathematical theorems (e.g. about arithmetic, | ||
basic set theory and real analysis) to save the user work. It is also fully | ||
programmable, so users can extend it with new theorems and inference rules | ||
without compromising its soundness. There are a number of versions of HOL, | ||
going back to Mike Gordon’s work in the early 80s. Compared with other HOL | ||
systems, HOL Light uses a much simpler logical core and has little legacy code, | ||
giving the system a simple and uncluttered feel. Despite its simplicity, it | ||
offers theorem proving power comparable to, and in some areas greater than, | ||
other versions of HOL, and has been used for some significant | ||
industrial-scale verification applications. | ||
|
||
This package will install `hol.sh` which will run OCaml REPL with HOL Light | ||
loaded. | ||
To use a compiled module of HOL Light, please install with the | ||
hol_light_module OPAM package. | ||
""" | ||
authors: "HOL Light" | ||
license: "https://github.com/jrh13/hol-light/blob/master/LICENSE" | ||
homepage: "https://hol-light.github.io/" | ||
bug-reports: "https://github.com/jrh13/hol-light/issues" | ||
dev-repo: "git+https://github.com/jrh13/hol-light.git" | ||
maintainer: ["John Harrison <[email protected]>" "Juneyoung Lee <[email protected]>"] | ||
depopts: [ "hol_light_module" ] | ||
depends: [ | ||
("ocaml" {> "4.02.0" & < "4.04.0"} & | ||
"camlp5" {>= "6.15" & <= "7.1"}) | ||
| | ||
("ocaml" {>= "4.04.0" & < "4.06.0"} & | ||
"camlp5" {>= "7.01" & <= "7.1"}) | ||
| | ||
("ocaml" {>= "4.06.1" & < "4.08.0"} & | ||
"num" & | ||
"camlp5" {>= "7.06" & < "7.15"} & | ||
"ledit") | ||
| | ||
("ocaml" {>= "4.08.0" & < "4.10.0"} & | ||
"num" & | ||
"camlp5" {>= "7.11" & < "8.01"} & | ||
"ledit") | ||
| | ||
("ocaml" {>= "4.10.0" & < "4.14.0"} & | ||
"num" & | ||
"camlp5" {>= "7.14"} & | ||
"ledit") | ||
| | ||
("ocaml" {>= "4.14.0"} & | ||
"camlp5" {>= "8.0"} & | ||
"zarith" {>= "1.5"} & | ||
"ledit") | ||
] | ||
available: os = "linux" | os = "macos" | os = "cygwin" | ||
build: [ | ||
[make] {!hol_light_module:installed} | ||
[make "HOLLIGHT_USE_MODULE=1"] {hol_light_module:installed} | ||
["sh" "-c" "sed \"s^%{hol_light:build}%^%{hol_light:lib}%^g\" hol.sh >hol_new.sh"] | ||
["mv" "hol_new.sh" "hol.sh"] | ||
["chmod" "+x" "hol.sh"] | ||
] | ||
install: [ | ||
["mkdir" "-p" "%{hol_light:lib}%"] | ||
["cp" "-r" "." "%{hol_light:lib}%"] | ||
["cp" "hol.sh" "%{bin}%/hol.sh"] | ||
] | ||
remove: [ | ||
["rm" "%{bin}%/hol.sh"] | ||
["rm" "-rf" "%{hol_light:lib}%"] | ||
] |