vero-translate

Translate verified Dafny, Verus, or Coq code into Lean 4 benchmark projects.

2|Updated Jul 4, 2026
One-click install
npx skills add https://github.com/sunblaze-ucb/vero --skill vero-translate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vero-translate
Source: https://github.com/sunblaze-ucb/vero/tree/main/.claude/skills/vero-translate
Command: npx skills add https://github.com/sunblaze-ucb/vero --skill vero-translate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the translation of verified code from Dafny/Verus/Coq into Lean 4 benchmarks, streamlining the process of creating a Lean 4 project that matches the ratified bundle paradigm.

Core Features & Use Cases

  • Automated Translation: Converts verified code from other languages to Lean 4, simplifying the creation of Lean 4 benchmarks.
  • Benchmark Scaffolding: Generates a Lean 4 project with the correct structure, including Impl/, Spec/, Harness.lean, Bundle.lean, Test.lean, and other necessary files.
  • Use Case: When you have verified code in Dafny/Verus/Coq and need to translate it into Lean 4 to create a benchmark for verification.

Quick Start

Use the vero-translate skill to translate the provided Dafny code into a Lean 4 benchmark.

Frequently Asked Questions about vero-translate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate verified code from Dafny to Lean 4 benchmarks?

To translate verified code from Dafny to Lean 4 benchmarks, you can automate the process by generating a complete Lean 4 project structure with required files and appropriate !benchmark markers wrapping the code.

Can I convert Coq verified code into a Lean 4 project automatically?

Yes, you can convert Coq verified code into a Lean 4 project automatically. The translation process scaffolds the correct project structure, including Impl/, Spec/, Harness.lean, and Bundle.lean files for benchmarking.

What is the best way to create Lean 4 benchmarks from Verus code?

The best way to create Lean 4 benchmarks from Verus code is using an automated translation process that matches the ratified bundle paradigm, generating necessary project files and wrapping the code with benchmark markers.

Do I need language-specific translation skills to generate Lean 4 benchmarks?

Yes, you need language-specific translation skills to generate Lean 4 benchmarks. The automated translation requires access to source files and these specific skills to properly convert verified code from languages like Dafny, Verus, or Coq.

What files are required when scaffolding a Lean 4 benchmark project?

Scaffolding a Lean 4 benchmark project requires generating specific files including Impl/, Spec/, Harness.lean, Bundle.lean, and Test.lean. These files establish the correct structure matching the ratified bundle paradigm.

Why use automated translation for verified code into Lean 4?

Automated translation for verified code into Lean 4 streamlines the creation of benchmarks by automatically generating project files and wrapping code with !benchmark markers, eliminating manual setup and structural errors.