1.25 Minimal Working Examples
A minimal working example is the smallest complete Lean fragment that demonstrates a definition, theorem, error, or technique. It should compile by itself inside a project, use only the imports it needs, and contain no unrelated code. Minimal examples are essential for learning, debugging, documentation, and reporting issues. Problem You want to isolate a Lean idea in a short file that another person can run and understand immediately. Solution Start...