litexlang/golitex
关于
形式数学的 Python
科学与工程实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Litex lets you write mathematical objects, definitions, statements and proofs close to ordinary mathematical writing. Its native checker checks domains and proof steps, and makes accepted facts available to later statements.
have a R = 2
a + 1 = 3
The first line introduces a real number and its value. The second states a fact that the checker verifies using that context. A persistent Session lets you continue from accepted statements while correcting a failed step.
Install and run
On macOS or Linux:
brew install litexlang/tap/litex
On Windows:
scoop bucket add litex https://github.com/litexlang/scoop-litex
scoop install litex
For other installation options, see the setup guide.
# Check a fact
litex -e '1 + 1 = 2'
# Start an interactive Session
litex -session
# Check a saved proof
litex -f proof.lit
Documentation
| Task | Reference |
|---|---|
| Learn the language | Tutorial, cheatsheet |
| Look up syntax, domains and proof rules | Manual |
| Use the command line and read JSON output | CLI reference |
| Write proofs with an agent | Agent Guide, primer |
| Compile supported proofs to Lean | Compiler guide |
| Read mathematical examples | Examples, sample chapters, showcases |
Status and scope
Litex is under active development. The Lean backend compiles supported proof routes for independent checking; coverage and limitations are described in the compiler guide. The manual describes the native checker's trust boundary.
Created and maintained by Jiachen Shen. Report bugs with a minimal example at GitHub Issues. Community discussion is on Zulip.
Released under the Apache License 2.0.
探索相关项目
加载中…