Skip to content
プロジェクト

概要

形式数学のためのPython

科学・工学

この数値の測り方

計測したスター増加

24時間
+1
7日間
+1
15日間
+3
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Litex logo

Litex

A High-Level Language for Formal Mathematics

Website & Playground · Manual · Setup · 中文说明

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.

関連プロジェクトを探す

読み込み中…