Has anyone published in print or on a web site or elsewhere a compilation of successful illogical formal arguments? By those I mean arguments that follow a form in disregard of the legality of its applicability in the circumstances to which it is applied, and get a right answer.
One notable example occurred when a formula was discovered for finding solutions of third-degree algebraic equations with real coefficients, when it was known that a real root exists. It was necessary to take square roots of negative numbers. These "imaginary" numbers canceled out and then (the punch line): when the resulting values were substituted into the equation, it checked.
Many things that Euler did could be considered examples. It has been noted here in stackexchange that Euler's derivation of the product formula for the sine function considered the infinitely large leading coefficient of the polyonomial that was the product (which is an infinite product and so has no leading coefficient).
Paul Dirac's delta function was seen to lead to demonstrably correct results at a time when it was not known to to have any logically rigorous justification.
Here's an example from Paul Halmos' article Does Mathematics Have Elements:
In the general ring theory question there are no numbers, no absolute values, no inequalities, and no limits - those concepts are totally inappropriate and cannot be brought to bear. Nevertheless an impressive-sounding classical phrase, "the principle of permanence of functional form", comes to the rescue and yields an analytically inspired proof in pure algebra. The idea is to pretend that $1/(1-ba)$ can be expanded in a geometric series (which is utter nonsense), so that $$(1-ba)^{-1} = 1 + ba + baba + bababa + \cdots.$$ It follows (it doesn't really, but it's fun to keep pretending) that $$(1-ba)^{-1} = 1 + b(1 + ab + abab + ababab + \cdots )a,$$ and, after one more application of the geometric series pretense, this yields $$(1-ba)^{-1} = 1 + b(1-ab)^{-1}a.$$ Now stop the pretense and verify that, despite its unlawful derivation, the formula works. If, that is, $c = (1-ab)^{-1}$, so that $(1-ab)c = c(1-ab) = 1$, then $1 + bca$ is the inverse of $1 - ba$. Once the statement is put this way, its proof becomes a matter of (perfectly legal) mechanical computation. Why does it all this work? What goes on here? Why does it seem that the formula for the sum of an infinite geometric series is true even for an abstract ring in which convergence is meaningless? What general truth does the formula embody? I don't know the answer, but I note that the formula is applicable in other situations where it ought not to be,[ . . . ]
Question: Has anyone published in print or on a web site or elsewhere a compilation of examples of this phenomenon? (Maybe annotated with explanations of the resolution of the seeming paradox in cases where it is known.)