imperative-to-coq-model-extractor

Community

Formalize imperative code in Coq.

AuthorArabelaTso
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill bridges the gap between imperative programming and formal verification by enabling the extraction of abstract mathematical models from imperative code, making it suitable for rigorous reasoning in Coq.

Core Features & Use Cases

  • Model Extraction: Transforms imperative code (C, C++, Python, Java, etc.) into functional Coq definitions with explicit state modeling.
  • Formal Reasoning: Facilitates formal proofs about program behavior, invariants, and correctness properties.
  • Use Case: When you need to prove the correctness of a critical algorithm implemented in C, this Skill helps you create a verifiable Coq model of that algorithm.

Quick Start

Extract a Coq model from the provided C code snippet for formal verification.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: imperative-to-coq-model-extractor
Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#imperative-to-coq-model-extractor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.