I believe that it could be more akin to decompilation? When done correctly, you turn something a bit crude into potentially beautiful.
The Lean is already full-fledged code with structure and names. What are you decompiling into? How do you raise it further?
The Lean is already full-fledged code with structure and names. What are you decompiling into? How do you raise it further?