> although it (appears to) proves the conjecture, it was doing a hang of a lot more too - which could have been interfering with the result
Lean works within the framework of standard structural rules that include weakening [0]. Extra results cannot "interfere" with a logical inference that doesn't use any of them.
[0] https://math.stackexchange.com/questions/933289/weakening-an...
Lean has I/O and you can modify files. It's only a problem if you run it naively, but it is something to keep in mind when running random Lean code.