c-cpp-to-lean4-translator
CommunityConvert C/C++ to Lean4
AuthorArabelaTso
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the complex and error-prone process of translating C or C++ code into Lean4, ensuring semantic equivalence and functional correctness.
Core Features & Use Cases
- Semantic Preservation: Translates C/C++ code to Lean4 while maintaining the original program's meaning and behavior.
- Type Safety: Generates well-typed Lean4 code that leverages its strong type system.
- Executable Code: Produces Lean4 code that can be compiled and run successfully.
- Use Case: Porting critical C/C++ algorithms or libraries to Lean4 for formal verification, leveraging Lean4's proof capabilities.
Quick Start
Translate the provided C code snippet into Lean4.
Dependency Matrix
Required Modules
None requiredComponents
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: c-cpp-to-lean4-translator Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#c-cpp-to-lean4-translator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.