While writing a paper leaning towards mathematics, I formalized a part of it using a tool called Lean. In this article, I ...