Skip to content

Commit 1ac27c8

Browse files
authored
Merge pull request ocaml#28056 from aqjune/master
Add hol_light 3.1.0
2 parents 250c760 + 54f43e0 commit 1ac27c8

File tree

1 file changed

+89
-0
lines changed
  • packages/hol_light/hol_light.3.1.0

1 file changed

+89
-0
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
opam-version: "2.0"
2+
synopsis: "The HOL-Light interactive theorem prover"
3+
description: """
4+
HOL Light is a computer program written by John Harrison to help users prove
5+
interesting mathematical theorems completely formally in higher order logic.
6+
It sets a very exacting standard of correctness, but provides a number of
7+
automated tools and pre-proved mathematical theorems (e.g. about arithmetic,
8+
basic set theory and real analysis) to save the user work. It is also fully
9+
programmable, so users can extend it with new theorems and inference rules
10+
without compromising its soundness. There are a number of versions of HOL,
11+
going back to Mike Gordon’s work in the early 80s. Compared with other HOL
12+
systems, HOL Light uses a much simpler logical core and has little legacy code,
13+
giving the system a simple and uncluttered feel. Despite its simplicity, it
14+
offers theorem proving power comparable to, and in some areas greater than,
15+
other versions of HOL, and has been used for some significant
16+
industrial-scale verification applications.
17+
18+
This package will install `hol.sh` which will run OCaml REPL with HOL Light
19+
loaded.
20+
To use a compiled module of HOL Light, please install with the
21+
hol_light_module OPAM package.
22+
"""
23+
authors: "HOL Light"
24+
license: "https://github.com/jrh13/hol-light/blob/master/LICENSE"
25+
homepage: "https://hol-light.github.io/"
26+
bug-reports: "https://github.com/jrh13/hol-light/issues"
27+
dev-repo: "git+https://github.com/jrh13/hol-light.git"
28+
maintainer: ["John Harrison <[email protected]>" "Juneyoung Lee <[email protected]>"]
29+
depopts: [ "hol_light_module" ]
30+
depends: [
31+
("ocaml" {> "4.02.0" & < "4.04.0"} &
32+
"camlp5" {>= "6.15" & <= "7.1"})
33+
|
34+
("ocaml" {>= "4.04.0" & < "4.06.0"} &
35+
"camlp5" {>= "7.01" & <= "7.1"})
36+
|
37+
("ocaml" {>= "4.06.1" & < "4.08.0"} &
38+
"num" &
39+
"camlp5" {>= "7.06" & < "7.15"} &
40+
"ledit")
41+
|
42+
("ocaml" {>= "4.08.0" & < "4.10.0"} &
43+
"num" &
44+
"camlp5" {>= "7.11" & < "8.01"} &
45+
"ledit")
46+
|
47+
("ocaml" {>= "4.10.0" & < "4.14.0"} &
48+
"num" &
49+
"camlp5" {>= "7.14"} &
50+
"ledit")
51+
|
52+
("ocaml" {>= "4.14.0"} &
53+
"ocaml-base-compiler" &
54+
"camlp5" {>= "8.0"} &
55+
"zarith" {>= "1.5"} &
56+
"ledit")
57+
]
58+
available: os = "linux" | os = "macos" | os = "cygwin"
59+
build: [
60+
[make] {!hol_light_module:installed}
61+
[make "HOLLIGHT_USE_MODULE=1"] {hol_light_module:installed}
62+
["sh" "-c" "sed \"s^%{hol_light:build}%^%{hol_light:lib}%^g\" hol.sh >hol_new.sh"]
63+
["mv" "hol_new.sh" "hol.sh"]
64+
["chmod" "+x" "hol.sh"]
65+
]
66+
install: [
67+
["mkdir" "-p" "%{hol_light:lib}%"]
68+
["cp" "-r" "." "%{hol_light:lib}%"]
69+
["cp" "hol.sh" "%{bin}%/hol.sh"]
70+
]
71+
remove: [
72+
["rm" "%{bin}%/hol.sh"]
73+
["rm" "-rf" "%{hol_light:lib}%"]
74+
]
75+
extra-source "META" {
76+
src: "https://gist.githubusercontent.com/aqjune/4b5b54a88b208672d3bc3d764675cb89/raw/107b3d14af6852f39fbf3a885d2c421e5b98617b/META"
77+
checksum: [
78+
"sha256=0e3725fbfe2ddc503781895cd0401cb0c2d8f11b715c6d3421e2233076c2cf11"
79+
"md5=553360015351e37ffbee4760aa96af93"
80+
]
81+
}
82+
url {
83+
src:
84+
"https://github.com/jrh13/hol-light/archive/refs/tags/Release-3.1.0.tar.gz"
85+
checksum: [
86+
"md5=00ff3680c6651158795388280a28b906"
87+
"sha512=0cdf9753c2cbcdbbad34f6df42490ca03324819ad78b1f5cb3d7fe24ec364c07bd7a656ce7bde3adf281f1074052e217fa77853097da4125865c64ad74335f53"
88+
]
89+
}

0 commit comments

Comments
 (0)