MIT License

项目介绍

palmskog/fitch 是一个托管在 GitHub 上的开源项目,主要使用 Standard ML 编写,采用 MIT License 许可证,目前获得 7 个 Star、3 次 Fork。

仓库全名
palmskog/fitch
开源许可证
MIT License
Star 数
7
Fork 数
3

README 摘要

Fitch ===== A certified proof checker for Fitch-style propositional logic proofs as defined in the book Logic for Computer Science by Huth and Ryan. Requirements Coq definitions and proofs: Coq (8.16 or later) Coq Ott library (0.33 or later) HOL4 definitions and proofs: HOL4 Kananaskis-13 Executable OCaml checkers: OCaml 4.05 (or later) menhir OCamlbuild ocamlfind Executable CakeML checker: HOL4 Kananaskis-13 CakeML…

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

常见问题

fitch 用什么语言开发?

主要使用 Standard ML 编写,采用 MIT License 许可证,目前有 7 个 Star。

fitch 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 fitch 的源码?

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

fitch 最近还在维护吗?

仓库最近一次更新为 2023年11月22日,当前没有未关闭的 Issue;Star 数为 7,可作为社区活跃度的参考。

关于

Certified proof checker for Fitch-style propositional logic proofs

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
15
价值分
5
活跃状态
活跃

语言占比

Coq
Makefile
OCaml
Standard ML

贡献者

README

Fitch

A certified proof checker for Fitch-style propositional logic proofs as defined in the book Logic for Computer Science by Huth and Ryan.

Requirements

Coq definitions and proofs:

HOL4 definitions and proofs:

Executable OCaml checkers:

Executable CakeML checker:

Building Coq definitions and proofs

Make sure Ott’s Coq auxiliary library has been installed in Coq’s user-contrib library directory. One easy way to install Ott and its Coq library is via opam:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-ott

Then, run make. This will compile the Coq syntax and relational definitions and check all proofs.

Building HOL4 definitions and proofs

Run make hol. This will compile the HOL4 syntax and relational definitions and check all proofs.

Building the OCaml checkers

To build the default executable checker program, run make checker. Example proofs (.nd files) can then be checked as follows:

$ ./checker.native examples/imp.nd

To generate an OCaml program with the alternative Prolog file format parser, run make prolog in the root directory. Example proofs (.pl files) can then be checked as follows:

$ ./prolog.native examples/imp_perm.pl

Building the CakeML checker

A verified executable checker in CakeML can be obtained using the CakeML proof-producing synthesis tool (“compiler frontend 1”). To generate it, go to the cakeml directory and adjust the CAKEMLDIR variable in the Holmake file to point to the directory with CakeML release 1009. Then, run Holmake.

For convenience, a pretty-printed version of the verified CakeML code is available; note that the pretty-printing itself has not been verified. Moreover, there is currently no parser for for the surface syntax.

Documentation

To generate a document (fitch.pdf) describing the proof system and proofs, run make fitch.pdf (requires LaTeX and Ott).

评论

暂无评论