How many tokens would it cost to write some library functions to fill in the gaps?
You could try solving that in Lean perhaps
You could try solving that in Lean perhaps