···11+opam-version: "2.0"
22+synopsis: "The HOL-Light interactive theorem prover"
33+description: """
44+HOL Light is a computer program written by John Harrison to help users prove
55+interesting mathematical theorems completely formally in higher order logic.
66+It sets a very exacting standard of correctness, but provides a number of
77+automated tools and pre-proved mathematical theorems (e.g. about arithmetic,
88+basic set theory and real analysis) to save the user work. It is also fully
99+programmable, so users can extend it with new theorems and inference rules
1010+without compromising its soundness. There are a number of versions of HOL,
1111+going back to Mike Gordon’s work in the early 80s. Compared with other HOL
1212+systems, HOL Light uses a much simpler logical core and has little legacy code,
1313+giving the system a simple and uncluttered feel. Despite its simplicity, it
1414+offers theorem proving power comparable to, and in some areas greater than,
1515+other versions of HOL, and has been used for some significant
1616+industrial-scale verification applications.
1717+1818+This package will install `hol.sh` which will run OCaml REPL with HOL Light
1919+loaded.
2020+To use a compiled module of HOL Light, please install with the
2121+hol_light_module OPAM package.
2222+"""
2323+authors: "HOL Light"
2424+license: "https://github.com/jrh13/hol-light/blob/master/LICENSE"
2525+homepage: "https://hol-light.github.io/"
2626+bug-reports: "https://github.com/jrh13/hol-light/issues"
2727+dev-repo: "git+https://github.com/jrh13/hol-light.git"
2828+maintainer: ["John Harrison <jrh013@gmail.com>" "Juneyoung Lee <aqjune@gmail.com>"]
2929+depopts: [ "hol_light_module" ]
3030+depends: [
3131+ ("ocaml" {> "4.02.0" & < "4.04.0"} &
3232+ "camlp5" {>= "6.15" & <= "7.1"})
3333+ |
3434+ ("ocaml" {>= "4.04.0" & < "4.06.0"} &
3535+ "camlp5" {>= "7.01" & <= "7.1"})
3636+ |
3737+ ("ocaml" {>= "4.06.1" & < "4.08.0"} &
3838+ "num" &
3939+ "camlp5" {>= "7.06" & < "7.15"} &
4040+ "ledit")
4141+ |
4242+ ("ocaml" {>= "4.08.0" & < "4.10.0"} &
4343+ "num" &
4444+ "camlp5" {>= "7.11" & < "8.01"} &
4545+ "ledit")
4646+ |
4747+ ("ocaml" {>= "4.10.0" & < "4.14.0"} &
4848+ "num" &
4949+ "camlp5" {>= "7.14"} &
5050+ "ledit")
5151+ |
5252+ ("ocaml" {>= "4.14.0"} &
5353+ "camlp5" {>= "8.0"} &
5454+ "zarith" {>= "1.5"} &
5555+ "ledit")
5656+]
5757+available: os = "linux" | os = "macos" | os = "cygwin"
5858+build: [
5959+ [make] {!hol_light_module:installed}
6060+ [make "HOLLIGHT_USE_MODULE=1"] {hol_light_module:installed}
6161+]
6262+install: [
6363+ ["cp" "hol.sh" "%{bin}%/hol.sh"]
6464+6565+ ["mkdir" "-p" "%{hol_light:lib}%"] {hol_light_module:installed}
6666+ ["cp" "hol_lib.cma" "hol_lib.cmi" "hol_lib.cmo" "hol_lib.cmx" "hol_lib.cmxa" "hol_lib.o" "hol_lib.a"
6767+ "bignum.cmi" "bignum.cmo" "bignum.cmx" "bignum.o"
6868+ "hol_loader.cmi" "hol_loader.cmo" "hol_loader.cmx" "hol_loader.o" "META"
6969+ "%{hol_light:lib}%"] {hol_light_module:installed}
7070+]
7171+remove: [
7272+ ["rm" "%{bin}%/hol.sh"]
7373+ ["rm" "-rf" "%{hol_light:lib}%"] {hol_light_module:installed}
7474+]
7575+extra-source "META" {
7676+ src: "https://gist.githubusercontent.com/aqjune/4b77edcc29faeebf15fcd4949f27d7ae/raw/3ff64fa63304e1944e4fc6fef8c7a7a5a2009bc2/META"
7777+ checksum: [
7878+ "sha256=60ba1ecd6c1b4c7ef96a1547111279cd7c27abefd2a09ae18e3bf0a8fa82698c"
7979+ "md5=0766bfdee09f7a31b4a36f3038b83fa0"
8080+ ]
8181+}
8282+url {
8383+ src:
8484+ "https://github.com/jrh13/hol-light/archive/refs/tags/Release-3.0.0.tar.gz"
8585+ checksum: [
8686+ "md5=6b7ece405efe5d891f547042d102f9ee"
8787+ "sha512=ffedba9a96cd0058a1ec74825c25b22f5b29117c2e7378715c5f8efc576e6008576b0649395e8f5fab8575f7f81f8816fb19a57c81413bc0d9e7d0c49b8a4c99"
8888+ ]
8989+}