vero-source-coq

Translate Coq source code to Lean 4 using Coq-specific classification rules and type mappings.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill translates Coq source code to Lean 4, providing Coq-specific classification rules, type mappings, and patterns for mapping Coq constructs into the Lean 4 ratified bundle paradigm.

Core Features & Use Cases

  • Coq to Lean Translation: Converts Coq source code into Lean 4 code, including API definitions, specifications, and bundles.
  • Coq-specific Rules: Implements Coq-specific classification rules, type mappings, and patterns for Lean 4 translation.
  • Use Case: Use this Skill to translate Coq modules into Lean 4, enabling interoperability between the two systems.

Quick Start

Load the Coq source files and use the Skill to generate Lean 4 code.

Frequently Asked Questions about vero-source-coq

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

FAQPage Schema
How do I translate Coq source code to Lean 4?

To translate Coq source code to Lean 4, load your Coq files into a translation tool that applies Coq-specific classification rules and type mappings to generate corresponding Lean 4 code.

What is the Coq to Lean 4 ratified bundle paradigm?

The Coq to Lean 4 ratified bundle paradigm is a structural translation pattern that maps Coq constructs, such as API definitions and specifications, into Lean 4's bundle-based type class architecture.

Can I use this Coq to Lean 4 translation approach for project interoperability?

Yes, you can use this Coq to Lean 4 translation approach for projects requiring interoperability, as it specifically converts Coq modules into Lean 4 code to bridge the two verification systems.

Does the translation process handle Coq-specific type mappings?

Yes, the translation process handles Coq-specific type mappings by applying predefined classification rules that accurately convert Coq constructs into their corresponding Lean 4 types.

What is the best way to convert Coq modules into Lean 4?

The best way to convert Coq modules into Lean 4 is to use an automated translation tool that applies Coq-specific classification rules and maps constructs directly into the Lean 4 ratified bundle paradigm.