correspondence-review

Classify Lean definitions against source code as exact, abstraction, approximation, or mismatch.

5|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/nicholls-inc/claude-code-marketplace --skill correspondence-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: correspondence-review
Source: https://github.com/nicholls-inc/claude-code-marketplace/tree/main/crosscheck/skills/correspondence-review
Command: npx skills add https://github.com/nicholls-inc/claude-code-marketplace --skill correspondence-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates the auditing of Lean definitions against source code to identify divergences and determine their impact on formal verification.

Core Features & Use Cases

  • Correspondence Classification: Compares Lean implementations with source code to categorize fidelity as exact, abstraction, approximation, or mismatch.
  • Impact Assessment: Evaluates how divergences affect downstream verification tasks like differential testing.
  • Use Case: For a formal verification project, verify that Lean models precisely mirror source code or correctly abstract over it before launching model checking.

Quick Start

Use this Skill to review the correspondence between your Lean model and source code by specifying the module name.

Frequently Asked Questions about correspondence-review

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

FAQPage Schema
How do I verify that a Lean model accurately reflects source code for formal verification?

To verify Lean model correspondence with source code, you audit the definitions to classify fidelity as exact, abstraction, approximation, or mismatch. This ensures formal models precisely mirror source code or correctly abstract over it before launching verification tasks.

What is Lean-source code correspondence classification in formal verification?

Lean-source code correspondence classification compares Lean implementations against source code to detect and categorize divergences. It determines whether models are exact, abstracted, approximate, or mismatched, ensuring reliable formal verification and model suitability.

How do I assess the impact of Lean definition divergences on differential testing?

Assessing the impact of Lean definition divergences involves evaluating how mismatches or abstractions affect downstream verification tasks like differential testing. This impact assessment ensures divergences do not compromise the reliability of formal model checking.

Can I use formal verification workflows to audit Lean models across large codebases?

Yes, you can audit Lean models across codebases in formal verification workflows. The process operates across your source code to detect divergences and determine if models are accurate or appropriately abstracted for reliable verification.

When do I need to check Lean model fidelity before running model checking?

You need to check Lean model fidelity before running model checking when you want to ensure formal models precisely mirror source code or correctly abstract over it. This prevents inaccurate verification results caused by undetected model divergences.

What is the best way to categorize formal model fidelity against source code?

The best way to categorize formal model fidelity is by comparing Lean implementations with source code to classify them as exact, abstraction, approximation, or mismatch. This categorization identifies divergences and evaluates their impact on verification reliability.