Citing Mathematical Proofs given on Math Stack Exchange Good morning.  I recently posted a question on Math Stack Exchange here and got a fantastic solution.  The problem in question is one that I've had for some time, and both myself and research professor have been searching for proof of the claim both through papers and using mathematical techniques.
It would appear that a particular solution to the problem has been found, though I must go through the proof with my professor to verify its truth.  If it is true, what is the protocol for citing the proof and giving the author credit?  Do stack exchange contributors post solutions knowing that their work may not be credited?  I would never want to plagarize, but the information is useful for the greater problems that we have been trying to solve.
There are actually two questions on MathOverflow that ask how to cite answers found on MathOverflow. I would recommend following their advice.

One of them is a fairly old question, whose answer is somewhat outdated. Summarizing:


Even though you may not be legally obligated to show where you got your answer (for example, when MO points you to a theorem already in the literature), it is a good idea — it never hurts to be generous and honest. (And if you're copying part of an answer, not citing it would be plagiarism.)
There is a little button for each answer that says "cite" and will give you a citation. You might have to reformat this to make it fit in your journal's bibliography style.