# C cpp to lean4 translator

> Translate C or C++ programs into equivalent Lean4 code, preserving program semantics and ensuring the generated code is well-typed, executable.

- Page: https://youraiskill.com/skill/arabelatso-c-cpp-to-lean4-translator
- What it does: Translate C or C++ programs into equivalent Lean4 code, preserving program semantics and ensuring the generated code is well-typed, executable, and can run successfully. Use when the user asks to convert C/C++ code to Lean4, port C/C++ programs to Lean4, translate imperative code to functional Lean4, or create Lean4 versions of C/C++ algorithms.
- Niches: translation
- Licence: Apache-2.0
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions and reference files only

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
