In 2017, Kevin Buzzard formalized the definition and basic properties of complex numbers in Lean and submitted them to Mathlib