cd /news/robotics/leap-lean-4-action-families-verify-r… · home › topics › robotics › article
[ARTICLE · art-178476] src=explainx.ai ↗ pub= topic=robotics verified=true sentiment=↑ positive

LEAP: Lean 4 Action Families Verify Robot Moves Before the Arm Runs

Researchers at NTU S-Lab released LEAP, a system that writes every feasible robot manipulation action as a Lean 4 specification, selects one action, and verifies it with exact interval arithmetic before the arm moves, reporting 95.0% success on LIBERO-PRO with one replan versus 61.5% open loop. On real-robot tabletop tasks, LEAP completed 13 of 15 rollouts against 5 of 15 for GPT-6 Astra, and the team published the LEAP-Harness code alongside arXiv paper 2611.36564. The approach inverts standard vision-language-action pipelines, which emit a single trajectory and only discover invalidity on hardware, by shrinking the feasible set when beliefs change, such as restricting a full mug to side grasps.

recommendation

Encode the feasible action set as explicit constraints and verify the chosen action before execution; LEAP's one replan lifted LIBERO-PRO success from 61.5% to 95.0% and fixed 67 of 77 open-loop failures.

more in playbook: Designing agent systems
by read8 min views2 publishedNov 30, 2026
LEAP: Lean 4 Action Families Verify Robot Moves Before the Arm Runs
Image: Explainx (auto-discovered)

LEAP defines every valid way to manipulate an object in Lean 4, picks one action, and verifies it before the robot moves—instead of emitting a single trajectory and discovering failure on hardware. Researchers at NTU S-Lab report 95.0% success on LIBERO-PRO with one replan, strong real-robot tabletop completion rates versus GPT-6 Astra, and open LEAP-Harness code in arXiv 2611.36564.

Picking up a mug admits many grasps and paths. Vision-language-action (VLA) models, Code-as-Policies, and teleoperators usually output one command. Validity shows up only after the arm tries it. LEAP reverses the order: state the feasible set, optimize, prove or refute, then act.

Quick reference #

| Item | Detail |

|---|---|
| **Paper** | [arXiv 2611.36564](https://arxiv.org/abs/2611.36564?ref=explainx) | 
| **Project** | [lean-as-policy.github.io](https://lean-as-policy.github.io/?ref=explainx) | 
| **Code** | [github.com/WeichenFan/LEAP](https://github.com/WeichenFan/LEAP?ref=explainx) | 

| Lean | Version 4.19.0 law library | | LIBERO-PRO | 61.5% open loop, 95.0% one replan | | Real robot | 13/15 rollouts vs 5/15 for GPT-6 Astra (tabletop) | | Default VLM | Claude Opus 5.5 in benchmark tables |

The three-step LEAP loop #

The teaser figure on the project site breaks LEAP into:

  1. Write the feasible setF in Lean—goal ,physics , andembodiment rows separated from user preferences.
  2. Select one action that minimizes objectiveJ among all actions inF .
  3. Check the chosen action against the same constraints usingexact interval arithmetic and, optionally, theLean kernel , then execute once admitted.

LEAP-Harness modules for Lean-as-Policy verifiable robot control

Image: NTU S-Lab (LEAP) LEAP-Harness implements five modules: perception (Depth Anything 3 and SAM 3 by default), Lean formalizer, solver, verifier, and executor. If no plan is admitted, the agent observes more or revises the family—the dashed recovery loop in the diagram.

Perception stays deliberately dumb: it stores masks and depth in an immutable sensor packet. The agent queries geometry through tools; it does not receive a pre-digested scene graph from a monolithic vision tower.

Mug grasps: why feasible sets matter #

The project’s cup figure shows one task with changing beliefs: an empty mug allows rim, handle, and side grasps in ℱ, while a full mug may leave only a side grasp because physics rows rule out risky rim lifts. VLAs that always aim for the handle do not encode that distinction; LEAP shrinks the feasible set when mass beliefs change.

That is the pedagogical core for builders: policies can be small, but specifications must be explicit if you want explainable rejection instead of mysterious stalls.

LIBERO-PRO benchmark numbers #

LIBERO-PRO perturbs LIBERO suites so memorized layouts fail, per Zhou et al. as cited in the LEAP paper. The paper evaluates four swap suites (Object, Spatial, Goal, LIBERO-10), 10 tasks each, seeds 0–4, 50 instances per suite, scoring with the benchmark harness.

Method (Claude Opus 5.5) Success rate
Direct end-effector targets 48.0%
PyRUA-Lean + fine-tuned π₀.₅ 87.0%
LEAP open loop 61.5%
LEAP + one replan 95.0%

Direct acting hits 0% on LIBERO-10 in Table 2, while LEAP with one replan reaches 84.0% on that column. Goal suites jump from 45.5% to 100.0% with replanning because multi-step tasks require every goal row satisfied before execution.

One replan fixes 67 of 77 open-loop failures in the paper’s accounting—cheap compared to full hierarchical retraining.

Beyond LIBERO-PRO, the paper’s closing evaluation reports 73.8% success on RoboDojo-Sim and 90.1% on RoboCasa365 with LEAP-Harness under the same Claude Opus 5.5 agent setup in Section 4. The project page mirrors those headline numbers and documents the five-step observe→formalize→solve→verify→execute demos readers can replay in the browser before cloning LEAP on GitHub.

Real-robot tabletop and teleop judging #

Three ball-into-bowl-onto-plate tasks share one tabletop layout. LEAP completes 13/15 rollouts; GPT-6 Astra completes 5/15, failing baseball lifts and golf-ball grasps per trajectory figures.

More striking for safety teams: on human teleoperation traces, LEAP correctly judges all 30 trajectories before execution while GPT-6 Astra judges two. LEAP becomes a lint layer for any policy output—not only its own sampler.

Qualitative clips on a TianJi Marvin humanoid extend the same law library to dual-arm tasks (lid hold plus insert, dual-place objectives) with per-step checks.

Robotic gripper approaching an object, representing verified manipulation before motion

RoboDojo and dataset-to-Lean targets #

Table 3 compares RoboDojo-Sim success rates against public leaderboard entries (not rerun by the authors). LEAP reports zero-shot construction without RoboDojo demonstrations in that row—read the paper for per-task SR cells.

Section 5.4 explains AgiBot episode → Lean target conversion: manifests fix channel meaning, unfinished sub-tasks become typed goals, and recorded actions are checked, never copied into targets. Corrupt episodes (e.g., 20.4 cm wrist jump with static camera) get rejected—a pattern RL dataset curators can steal for non-Lean pipelines too.

How LEAP fits next to Code-as-Policies and VLAs #

Pattern When validity is known
VLA / teleop After motion
Code-as-Policies Often after partial execution
LEAP Before motion, on the same Lean family

If you already use formal methods in software CI, LEAP is the manipulation analogue: families are types, verifier is test, executor is deploy. Pair this with embodied criteria exposure when benchmarking: LEAP optimizes for constraint satisfaction, not predicate hacking against a naive reward.

Perception stack and why it stays shallow #

LEAP’s perception module runs Depth Anything 3 (Small) and SAM 3, then freezes outputs in a sensor packet with flags for metric depth, relative depth, or unknown extrinsics alignment. Nothing in perception names objects or decides grasps. The formalizer agent must call observe tools to fit planes, compare views, or measure rim circles.

That split keeps verification scope honest: the Lean family states only what perception can support. If depth is relative, physics rows widen uncertainty intervals instead of pretending millimeter certainty. Builders auditing safety cases should appreciate that explicit uncertainty propagates to rejection, not silent clamping.

Solver, verifier, and executor division #

After the agent writes a candidate action family, the solver picks a member optimizing J (time, energy, joint limit margin—objective details appear in Section 3). The verifier re-checks against embodiment, physics, and goal rows using compiled constraints. The executor sends joint commands only when admission succeeds.

The dashed recovery loop in LEAP-Harness is load-bearing. When verification fails, the agent may gather observations or revise the family (for example, tighter beliefs about mug fill level). That is how one replan rescues most open-loop LIBERO-PRO failures without a full hierarchical policy.

PyRUA-Lean and direct EEF baselines in context #

Table 2 includes PyRUA-Lean, which writes Python over primitives and relies on a pi policy fine-tuned on LIBERO. It reaches 87.0%—strong, but below LEAP at 95.0% with one replan while carrying learned components. LEAP’s open-loop 61.5% already beats 48.0% direct end-effector targets from the same Claude Opus 5.5 backbone, showing that representation matters before counting replans.

Code-Only-as-Policy (COAP), cited in related work, runs offline libraries without a model in the loop on RoboDojo. LEAP shares the programs-first ethos but keeps the LLM author for families while eliminating the model at execution once constraints compile.

Formal methods culture meets manipulation #

Lean appears in coding agents for proof obligations and in math benchmarks like Left to Solve. LEAP exports that pattern to continuous control via interval arithmetic over joint limits and contact constraints. It checks what the family states, which is narrower than a full physics simulator but still catches impossible grasps.

Safety, teleoperation, and dataset linting #

The 30/30 teleop judgment experiment matters for data teams. Facilities that let humans take over arms still need lint on recorded traces before replay in imitation datasets. LEAP’s checker rejected the corrupt AgiBot episode where the wrist jumped 20.4 cm with a static camera—exactly the silent bad data that poisons VLA fine-tunes.

When LEAP is worth the integration cost #

Signal Lean families likely pay off
High cost of collision Verify before power-on
Multi-step goals with order constraints Goal rows encode sequencing
Dataset curation from teleop Pre-filter corrupt traces
Regulatory trace requests Store admitted families
Signal Simpler VLA may suffice
Low-stakes pick-place in clutter Engineering cost dominates
Extremely fast cycle times Replan latency hurts throughput
No staff fluent in spec writing Family authoring stalls

Try LEAP responsibly #

  1. Start in LIBERO-PRO sim with**GitHub LEAP** adapters before binding to your arm SDK.
  2. Keep Lean law versions pinned; the paper uses4.19.0 without external math libs.
  3. Budget replan loops in latency planning—95% success assumesone revision, not zero overhead.
  4. Log rejected plans for operators; the value isexplainable no , not only higher SR.
  5. Teams learning agent orchestration can study LEAP alongsideformal Lean math agents — same prover, different actuators.

Limits #

The paper is careful about scope: LEAP verifies families the agent wrote, not the full physics of the world. That is still useful when failures are expensive, but it is not a certificate for every edge case your cell can encounter. The authors position LEAP as a lint and certification layer any policy can run against—not only trajectories the Lean formalizer sampled itself in simulation.

  • Claude Opus 5.5 tables do not automatically transfer to every open VLM formalizer.
  • 95% LIBERO-PRO still leavesfailure modes on unseen perturbations; sim success is not field certification.
  • Lean authoring cost is real; LEAP-Harness helps but does not eliminatedomain engineering .
  • Comparing to GPT-6 Astra on15 rollouts is illustrative, not a fleet benchmark.
── more in #robotics 4 stories · sorted by recency
── more on @ntu s-lab 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/leap-lean-4-action-f…] indexed:0 read:8min 2026-11-30 · —