{"id":13992759,"url":"https://github.com/dwrensha/animate-lean-proofs","last_synced_at":"2025-03-20T15:27:47.121Z","repository":{"id":246270723,"uuid":"768260652","full_name":"dwrensha/animate-lean-proofs","owner":"dwrensha","description":"tool for turning Lean proofs into Blender animations","archived":false,"fork":false,"pushed_at":"2025-01-08T18:33:14.000Z","size":1973,"stargazers_count":53,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-25T14:42:10.509Z","etag":null,"topics":["lean4"],"latest_commit_sha":null,"homepage":"https://youtu.be/KuxFWwwlEtc","language":"Lean","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwrensha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-06T18:59:35.000Z","updated_at":"2025-01-23T09:11:48.000Z","dependencies_parsed_at":"2024-06-27T00:16:29.584Z","dependency_job_id":"b2892142-7f99-49ff-b619-c3b673e6f2ae","html_url":"https://github.com/dwrensha/animate-lean-proofs","commit_stats":null,"previous_names":["dwrensha/animate-lean-proofs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwrensha%2Fanimate-lean-proofs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwrensha%2Fanimate-lean-proofs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwrensha%2Fanimate-lean-proofs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwrensha%2Fanimate-lean-proofs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwrensha","download_url":"https://codeload.github.com/dwrensha/animate-lean-proofs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244639186,"owners_count":20485838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lean4"],"created_at":"2024-08-09T14:02:07.666Z","updated_at":"2025-03-20T15:27:47.103Z","avatar_url":"https://github.com/dwrensha.png","language":"Lean","funding_links":[],"categories":["Lean"],"sub_categories":[],"readme":"# Animate Lean Proofs\n\nThis is a tool that accepts as input any Lean 4 theorem,\nand produces as output a Blender animation showing\nthe steps of the proof smoothly evolving in sequence.\n\n![example](./example.gif)\n\n[This video](https://youtu.be/KuxFWwwlEtc) provides some more background\nand shows some examples.\n\n[\u003cimg src=\"http://img.youtube.com/vi/KuxFWwwlEtc/maxresdefault.jpg\" height=\"240px\"\u003e](http://youtu.be/KuxFWwwlEtc)\n\n## more examples\n\n|  |  |\n| ----- | ---- |\n| [IMO 2024 Problem 2](https://youtu.be/5IARsdn78xE) | [\u003cimg src=\"http://img.youtube.com/vi/5IARsdn78xE/maxresdefault.jpg\" height=\"120px\"\u003e](https://youtu.be/5IARsdn78xE)|\n| [IMO 1987 Problem 4](https://youtu.be/gi8ZTjRO-xI) | [\u003cimg src=\"http://img.youtube.com/vi/gi8ZTjRO-xI/maxresdefault.jpg\" height=\"120px\"\u003e](https://youtu.be/gi8ZTjRO-xI)|\n\n\n## setup\n\n1. Install [Blender](https://www.blender.org/).\n   I've been using v4.0.2, but any recentish version should work.\n\n2. Install Pygments:\n```shell\n$ pip install pygments\n```\n\n## running\n\n```shell\n$ lake exe cache get\n$ lake exe Animate Input/NNG.lean NNG.mul_pow \u003e /tmp/mul_pow.json\n$ blender --python animate_proof.py -- /tmp/mul_pow.json\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwrensha%2Fanimate-lean-proofs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwrensha%2Fanimate-lean-proofs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwrensha%2Fanimate-lean-proofs/lists"}