Skip to content

Reference

Operational reference. Most of these point back to the repository itself since they describe the build and tooling rather than the design.

Install Git and follow the official elan installation instructions. Open a fresh terminal so that lake is available on your PATH. Elan selects the Lean version pinned by this checkout’s lean-toolchain file.

Terminal window
git clone https://github.com/Lizn-zn/VeriTile.git
cd VeriTile
lake build
lake env lean bench/examples/VectorAdd.lean

The first build needs network access to fetch the toolchain and dependencies. Budget several gigabytes for Lean/Mathlib caches and build output. The September 2026 audit used about 11 GB including website dependencies and recorded an approximately eight-minute library build after the Mathlib cache download; these are one machine’s measurements, not a timing guarantee. The final command should exit with code 0 and report that the example’s axiom and statement-surface checks pass. Existing linter warnings may still appear.

  • Lean toolchain: v4.29.0. Pinned in lean-toolchain.
  • Routine build: lake build from the repo root (the default VeriTile target).
  • Full build: lake build VeriTile VeriTileFull, including the GeLU analysis and library trust report.
  • Standalone example: lake env lean bench/examples/VectorAdd.lean after the library build.
  • Manifest + sorry check: scripts/check-artifact.sh.
  • Bench port check: bench/check_ports.sh.
  • Trust checks: see the trust audit guide.

These live in the repo and are the authoritative source for their respective areas: