vero-verus-pitfalls

Identify and mitigate common pitfalls when translating Verus code to Lean 4.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps users avoid known pitfalls when translating Verus code to Lean 4, ensuring smooth and correct translation.

Core Features & Use Cases

  • Pitfall Identification: Lists common issues and their Lean 4 equivalents.
  • Translation Guidelines: Provides detailed instructions for translating specific Verus constructs to Lean 4.
  • Use Case: When translating a Verus library to Lean 4, use this Skill to understand and address potential pitfalls in the translation process.

Quick Start

Run the vero-verus-pitfalls skill to review the common pitfalls in translating Verus to Lean 4 and follow the guidelines for each issue.

Frequently Asked Questions about vero-verus-pitfalls

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

FAQPage Schema
What are the common pitfalls when translating Verus code to Lean 4?

Translating Verus to Lean 4 often causes issues with syntax mismatches and semantic differences. This Skill identifies known pitfalls and maps them to their correct Lean 4 equivalents for accurate formal verification.

How do I translate specific Verus constructs to Lean 4 syntax?

To translate Verus constructs to Lean 4, follow the detailed translation guidelines provided by this Skill. It maps specific Verus structures to their accurate Lean 4 syntax and semantic equivalents.

Do I need to understand both Verus and Lean 4 syntax to use this translation guide?

Yes, understanding both Verus and Lean 4 syntax and semantics is required. This Skill targets software developers working on formal verification who need to navigate structural translation between the two languages.

Why does my Verus to Lean 4 formal verification translation fail?

Verus to Lean 4 translation fails when semantic differences and construct mismatches go unaddressed. Use this Skill to identify specific common pitfalls and apply translation guidelines to mitigate these structural issues.

Can I use this to check a Verus library translation against known Lean 4 issues?

Yes, when translating a Verus library to Lean 4, use this Skill to review common pitfalls. It helps identify and address potential issues, ensuring a correct and smooth translation process for formal verification.