litexlang/golitex
About
Python of formal math
Science & EngineeringMeasured star growth
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +3
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalLitex 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.
Explore related projects
Loading…