vero-coq-pitfalls

Translate Coq code to Lean 4 with guidelines and examples.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers avoid known pitfalls when translating Coq code to Lean 4, ensuring a smoother migration process.

Core Features & Use Cases

  • Translation Guidelines: Provides detailed guidelines for translating specific Coq constructs to Lean 4.
  • Example Code: Offers examples of Coq code and their Lean 4 equivalents.
  • Use Case: When working on a Coq project that needs to be translated to Lean 4, this Skill can help identify and resolve common issues during the translation process.

Quick Start

Load the vero-coq-pitfalls skill before translating any Coq item to Lean 4 to avoid known pitfalls.

Frequently Asked Questions about vero-coq-pitfalls

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

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

Common Coq to Lean 4 translation pitfalls include syntax mismatches and semantic differences in constructs. This Skill identifies known issues and provides specific guidelines and equivalent code examples to ensure a smoother code migration process.

How do I migrate Coq constructs to Lean 4 syntax?

To migrate Coq constructs to Lean 4, load this Skill to access detailed translation guidelines and example code. It maps specific Coq patterns to their Lean 4 equivalents, helping you resolve structural and semantic differences during migration.

Do I need to know both Coq and Lean 4 syntax to use this translation guide?

Yes, you need existing knowledge of both Coq and Lean 4 syntax and semantics. This Skill provides translation guidelines and identifies pitfalls during code migration, but it requires foundational understanding of both languages to apply the solutions effectively.

Can I get example code for Coq to Lean 4 migration?

Yes, this Skill offers examples of Coq code and their Lean 4 equivalents. These examples demonstrate how to translate specific constructs correctly, providing practical references to avoid common pitfalls during your migration process.

Why does my Coq to Lean 4 translation not work as expected?

Your Coq to Lean 4 translation may not work due to semantic differences or unmatched syntax constructs. This Skill helps identify these common pitfalls and provides targeted solutions and translation guidelines to resolve them for smoother migration.