Skip to content

Version and compatibility

Lema v0.3 supports native Apple Silicon and Linux development, project starters, library packs, and local HTTPS applications on the VM.

The public v0.3 releases bring native Mac development, the project workflow, starters, library packs, and local HTTPS applications together on top of Lema’s content-addressed store and register VM. Get started with Lema walks through a local HTTPS application step by step.

Every status entry below uses the strict evidence labels defined in Checked, tested and assumed:

  • checked means accepted by the pinned Lean 4.34.1 kernel under the store’s axiom policy and any stated theorem hypotheses. Library modules adopted from a matching pack identify their provenance as checked (Lema release) or checked (local pack); user code is always checked locally.
  • tested means exercised and observed by automated test suites (lema test or workspace tests), differential VM oracle suites, or static LemaIR guarantee analyzers.
  • assumed means relied upon as an explicit mathematical hypothesis or part of the trusted base.

What v0.3 adds

AreaReleased behaviorBoundary
Native Mac developmentApple Silicon macOS supports sandboxed Lean checking and VM applications using the pinned Darwin distribution and Seatbelt runtime.Memory and thread limits are sampled and may briefly overshoot; swap and a hard thread cap are not enforced.
Project starterslema new hello creates a command-line project; lema new echo creates an HTTPS server with a handler you can edit. lema add, test, and run provide the local development loop.The echo starter needs OpenSSL with Ed25519 support and a TLS 1.3 client. Its self-signed certificate is for local development.
Standard-library packslema setup installs the release pack for Linux x86_64 or Apple Silicon macOS. lema new and lema lib add adopt matching library objects without local elaboration.Archive digests, objects, build keys, and the store axiom policy are verified before adoption. Missing or incompatible packs fall back to local Lean checking.
Local pack provenancelema pack build and lema pack install reuse checks performed on the same machine, labeled checked (local pack).Does not trust arbitrary imported receipts or share module caches across platforms.
Resident services & HTTPSResident actors, anonymous browser-compatible TLS accept (stream), streamed responses, and static inspection pages are included.Applications authorize their own requests. Public v0.3 releases do not include hosted deployment; the private Cloud pilot below uses separate pilot builds.

The private Cloud pilot

Lema Cloud runs as a private, invitation-only pilot in the EU, separate from the v0.3 releases; LemaHub’s pages for the projects it publishes are public at hub.lema-lang.org. Lema Cloud’s commands are in pilot client builds; released clients up to v0.3.2 do not have them. Lema Cloud and LemaHub explains the service, and Develop a library on the private Cloud pilot is the guide for invited accounts.

AreaPilot statusBoundary
Accounts and project transferInvitation-only accounts, hosted projects, lema clone, fetch, push, and merge, and owner publication of held candidates. Two pilot accounts have completed that round trip (tested).Signup needs an invitation. A large project can exceed the per-push limits.
LemaHubRead-only pages and name search, public at hub.lema-lang.org for projects whose publication is turned on (tested).During the pilot, publication is turned on and withdrawn on request. A withdrawn project’s pages answer 404.
Hosted VM applicationslema cloud deploy --target vm.Not open to pilot accounts yet.

Core platform baseline

Across local projects and libraries, Lema’s core subsystems carry the following evidence status:

SubsystemWhat it providesEvidence status
Content-addressed store & kernel replayCanonical object identity (statement, template, proof, satisfaction), source-free Lean 4.34.1 kernel replay, fixed axiom floor, incremental delta modules, and full-store lema reverify.Kernel replay checked; store identity and sandbox rules tested.
Pythonic Lema & Lean views, contract selectionsDeterministic rendering and structural re-derivation of specifications in Pythonic Lema syntax alongside Lean authoring and proof-optional select obligations (open, checked, waived).Selected contract targets and witness theorems checked; parser and renderer tested.
Semantic Version Control & workspacesStore-native lema diff (7 semantic change categories), lema commit, 3-way lema merge, display-bound code reviews, and isolated multi-agent workspaces (lema workspace).Store rules, merges, and CLI workflows tested.
LemaIR compiler & register VMProof-erased lowering from store objects to register bytecode, reference-counted copy-on-write memory, bounded supervisor leases, differential Lema.Ir.Semantics oracle suites, and static ConstantTime / SecretFlow receipts.Lema.Ir.Semantics checked; compiler, VM, and static analyzers tested.
Capabilities, BlockStore, and HTTPS stackLayer -1 program and concurrency core, the 6 flat-byte OS capability families (tcp, udp, block, random, clock, secret), opaque exchange/serve drivers, BlockStore, RFC cryptography, TLS 1.3, HTTP/1.1, and S3.Core, storage, crypto, and protocol theorems checked; host bridge, fault injection, and rustls interop tested.

Supported hosts and current boundaries

  • Operating systems and toolchains: Sandboxed checking and VM execution run natively on Linux x86_64 (bubblewrap) and Apple Silicon macOS (Seatbelt), pinning Lean 4.34.1 for checking while running released VM artifacts with zero Lean or C compiler dependencies (Requirements).
  • Clean evolution before 1.0: While Lema is pre-1.0, superseded internal schemas and shims (such as early leanc C compilation and foreign rustls/ring host shims) are retired cleanly in favor of rebuilding stores from canonical library inputs (Decision 0033).
  • Explicit cryptographic and storage hypotheses: Shared-secret commutativity on Curve25519 (DhCommutes), prime-field inversion on P-256 (Fermat), and non-torn 4 KiB sector persistence across flush (CrashIntegrity) are stated explicitly on the theorems that use them (The proved storage and HTTPS stack).
  • Runtime engineering boundaries: Static ConstantTime and SecretFlow receipts verify LemaIR control flow and dataflow rather than physical CPU cache or electromagnetic timing; pure-VM TLS and cryptography execute more slowly than hardware-accelerated native instructions; and inbound S3d SigV4 verification enforces timestamp skew windows without a stateful nonce replay cache.

See The trusted base and Design decisions for complete architectural background.

Lema v0.3.2 · Updated 29 October 2026 · Version and compatibility