Other

项目介绍

HOL-Theorem-Prover/HOL 是一个托管在 GitHub 上的开源项目,主要使用 Standard ML 编写,采用 Other 许可证,目前获得 770 个 Star、181 次 Fork。

仓库全名
HOL-Theorem-Prover/HOL
开源许可证
Other
Star 数
770
Fork 数
181
未关闭 Issue
266

README 摘要

This is the distribution directory for HOL4. See http://hol-theorem-prover.org for online resources. Installation See the HOL homepage for more detailed installation instructions, including for Windows. Prerequisites HOL4 supports multiple SML compilers: Poly/ML (recommended) — The primary backend for building and running HOL4. Moscow ML (version 2.10) — An alternative backend, ensuring HOL sources remain portable…

完整内容见 GitHub 原始 README 或本页 。

常见问题

HOL 用什么语言开发?

主要使用 Standard ML 编写,采用 Other 许可证,目前有 770 个 Star。

HOL 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 HOL 的源码?

可以直接克隆仓库:git clone https://github.com/HOL-Theorem-Prover/HOL.git,默认分支为 develop;安装与运行步骤见仓库 README。

HOL 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 266 个未关闭 Issue;Star 数为 770,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Canonical sources for HOL4 theorem-proving system. Branch develop is where “mainline development” occurs; when develop passes our regression tests, master is merged forward to catch up.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1171
价值分
506
活跃状态
活跃

语言占比

C
C++
CSS
Dockerfile
Emacs Lisp
HTML
Handlebars
Isabelle
JavaScript
JetBrains MPS
KakouneScript
Lex
Lua
Makefile
Nix
OCaml
PLSQL
Perl
Python
Raku
Shell
Standard ML
TeX
Vim Script
YASnippet

Release

README

Build Status

This is the distribution directory for HOL4. See http://hol-theorem-prover.org for online resources.

Installation

See the HOL homepage for more detailed installation instructions, including for Windows.

Prerequisites

HOL4 supports multiple SML compilers:

  • Poly/ML (recommended) — The primary backend for building and running HOL4.
  • Moscow ML (version 2.10) — An alternative backend, ensuring HOL sources remain portable across SML implementations.
  • MLton (optional) — If installed, automatically used to build tool executables (Holmake, etc.) which may run faster.

For Poly/ML, ensure that your dynamic library loading can find libpolyml.so and libpolymain.so. If these are not in /usr/lib, you may need to set LD_LIBRARY_PATH, e.g.:

export LD_LIBRARY_PATH=/usr/local/lib:$HOME/lib

Building

In the HOL directory, run:

poly --script tools/smart-configure.sml

(or mosml < ... for Moscow ML). Then:

bin/build

If smart-configure guesses options incorrectly, create tools-poly/poly-includes.ML with corrected ML bindings (e.g., val holdir = "/path/to/hol").

Once the build completes, the key executables are:

bin/hol       The standard HOL interactive system
bin/Holmake   A batch compiler for HOL directories

Note that the system is built in place and cannot easily be moved after installation.

External tools

Some components include C/C++ code that requires a C compiler:

  • src/HolSat/sat_solvers/minisat/ contains the MiniSat SAT solver sources. Run make in that directory to build.
  • examples/muddy/ contains the BDD library, which requires building the shared library in examples/muddy/muddyC/.

Dealing with failure

If the build fails, try bin/build cleanAll before rebuilding. To report problems, come find us on Zulip, and/or use the GitHub issues page.

Distribution contents

The following is a brief listing of what’s available in the distribution.

 README.md      * This file
 bin/           * Executables
 CONTRIBUTORS   * List of contributors
 COPYRIGHT      * Copyright notice
 copyrights/    * Copyright/Licence files
 developers/    * Resources for developers
 examples/      * Example formal developments, from small to large
 help/          * Sources for online help
 Manual/        * System manuals
 release-notes/ * Release notes
 sigobj/        * Collection of all signatures and compiled code
 src/           * System sources
 tools/         * Support for building the system
 tools-poly/    * Poly/ML-specific support for building the system

评论

暂无评论