# Python to lean4 translator

> Translate Python programs to equivalent Lean4 code while preserving semantics and ensuring type safety.

- Page: https://youraiskill.com/skill/arabelatso-python-to-lean4-translator
- What it does: Translate Python programs to equivalent Lean4 code while preserving semantics and ensuring type safety. Use when users ask to convert, translate, or port Python code to Lean4, or when they need to verify Python algorithms using Lean4's theorem proving capabilities. Handles functions, classes, data structures, control flow, and ensures the generated Lean4 code is well-typed, executable, and can suc
- Niches: translation, coding, python
- 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
