Python To Lean4 Translator

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 successfully run.

tools-only 292abe0 3 files · 17.9 KB Updated 7 repo stars

File contents

tools-only/X-Skills/tree/main/development/003-name-skill_36c47dfe commit 292abe0932

Frequently asked questions

npx skillmds add tools-only/python-to-lean4-translator