-
Notifications
You must be signed in to change notification settings - Fork 78
/
opam
75 lines (74 loc) · 2.61 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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}%"]
]