Ask Lean what already exists
Lean ships with a large mathematical library. The #check command prints the type of a definition or theorem, which is how most proofs begin.
import Mathlib
#check Nat.Prime
#check Nat.add_comm
#check Real.sqrt
#check Function.InjectiveTry this: Replace one name with a definition you want to use. If Lean finds it, its type appears in the messages panel.