Mathport is a tool for porting Lean3 projects to Lean4. It consists of two (loosely coupled) components:
- "binport", which translates Lean3
.leanfiles to Lean4.oleanfiles - "synport", which best-effort translates Lean3
.leanfiles to Lean4.leanfiles
See the Makefile for usage (it takes several hours to rebuild the mathlib port),
or the test-mathport repository if you'd prefer to use a pre-built artifact.