Wouldn’t a lot already be in leans mathlib?

AI is hopeless at using existing code, it likes to append only.