There is the following apochryphal dedication of a doctoral thesis:
"I am deeply grateful to Professor X, whose wrong conjectures and fallacious proofs led me to the theorems he had overlooked."
In fact this is a description of excellent supervision, in giving confidence to a student!

