Skip to content

TheoremOS Rust CLI v0.1.0 for Linux

Latest

Choose a tag to compare

@LikC1606 LikC1606 released this 04 Dec 07:04
1586fb2

TheoremOS Rust CLI for Linux

The x86-64 Linux package runs TheoremOS proof workflows from a standalone Rust executable. It supports single-agent proof runs, live Codex teams, checkpoints and resume, frozen Lean library packs, and independent Lean acceptance. The browser workbench has its own release process.

  • Prepare a Lean task and preflight a single solver or team. With the packaged Codex backend, the team can exchange messages, submit helper theorems for Lean checking, and resume saved member sessions.
  • Bring archived proof drafts into a fresh single-agent run for the same frozen task. The new run checks a reused proof independently.
  • Formalize statements, compare Lean reference targets, build reusable lemmas, and generate checked proof explanations in the supported native environments. The CLI can export formalization and explanation reports as self-contained HTML.
  • Use the default Sub2API profile or a configured HTTPS Responses endpoint. Historical runs keep their pinned runtimes. Some custom Lean environments, project library mounts in online formalization, falsification modes, and other model harnesses use the source checkout compatibility entry. Migration guide

Installation

Download the CLI archive and its SHA-256 file from the assets below. The package targets x86-64 Linux with glibc and was tested on Ubuntu 24.04.

sha256sum --check theorem-os-x86_64-linux-gnu-7fca2fe79ab2.tar.gz.sha256
tar -xzf theorem-os-x86_64-linux-gnu-7fca2fe79ab2.tar.gz
./theorem-os-x86_64-linux-gnu-7fca2fe79ab2/bin/theorem-os --help

Install Git, Bubblewrap and Lean 4.36.0 with Elan. You can replay a proof offline in a fresh directory without model credentials.

./theorem-os-x86_64-linux-gnu-7fca2fe79ab2/bin/theorem-os example replay --dir ./replay

For teams, verify and unpack the Codex backend from a download directory that contains one backend archive.

sha256sum --check theoremos-codex-backend-x86_64-linux-gnu-*.tar.gz.sha256
tar -xzf theoremos-codex-backend-x86_64-linux-gnu-*.tar.gz

Keep the backend’s bin/codex and bin/codex-code-mode-host together. Prepare a team tutorial with example prepare --dir ./tutorial --agent-team 2 --codex /absolute/path/to/bin/codex. Online runs require a configured provider. The backend uses libssl3t64 on Ubuntu 24.04. Mathlib tasks also need their locked Lean packages and FUSE tools. Linux installation guide

Extract each CLI update into its own directory. To resume an existing run, use the same executable at its original installation path and keep its build manifest and run directory.

Verification

The CLI archive was built from 7fca2fe79ab2. Its source tree is identical to the merged release commit 1586fb271283.

The Linux package passed its checksum and offline Lean replay. The installed CLI also passed the tests for proof recovery, archived draft import, team preflight and resume, and reference matching with Lean. The backend asset was built on Ubuntu 24.04 from the pinned upstream revision and patches. It passed the same AgentControl and Code Mode capability probe used in CI. CLI checks · Repository checks · Codex backend checks

Live Codex/Sub2API smoke runs resumed both team threads and checked a Chinese proof explanation. Other live smoke runs compiled a formalization, published a proved lemma, and independently accepted a fresh proof that cited the lemma.