The most important thing is to take regular Software Engineering skills and apply it to Lean. The basic concepts like DRY still hold. You also want to reuse Mathlib as much as possible.
When you formalize a proof with Lean, you want to start off with the Challenge.lean statement file, which is good standard practice (which is surprising to me that the original proof by Alpoge lacked one). Make sure that's correct, and just replace the proof with a `sorry` statement. If your Challenge.lean is correct, then that means nobody can complain about you "proving the wrong thing". Then, counterintuitively, you want to liberally use `sorry` statements in your proof as you go. For software engineers, just think of `sorry` statements as NotImplemented exceptions. Track all the sorry statements in a centralized location, and have the AI build out the proof with breadth first search, not depth first. That's the biggest rookie mistake; most people tell their AI to do one component at a time, DFS style. You will get a much cleaner codebase if you do BFS.
The most important thing is to take regular Software Engineering skills and apply it to Lean. The basic concepts like DRY still hold. You also want to reuse Mathlib as much as possible.
When you formalize a proof with Lean, you want to start off with the Challenge.lean statement file, which is good standard practice (which is surprising to me that the original proof by Alpoge lacked one). Make sure that's correct, and just replace the proof with a `sorry` statement. If your Challenge.lean is correct, then that means nobody can complain about you "proving the wrong thing". Then, counterintuitively, you want to liberally use `sorry` statements in your proof as you go. For software engineers, just think of `sorry` statements as NotImplemented exceptions. Track all the sorry statements in a centralized location, and have the AI build out the proof with breadth first search, not depth first. That's the biggest rookie mistake; most people tell their AI to do one component at a time, DFS style. You will get a much cleaner codebase if you do BFS.