I just wonder what does a heuristic proof approach really means. I keep finding it in books and from teachers. I got to the next analogy:
A heuristic proof of a mathematical proof is like pseudo-code for an algorithm.
Not a technical math question but I would like to know. Thanks in advance.
First, I object to the term "heuristic proof." That phrase is a contradiction in terms. Heuristics are not (generally speaking) proof, and proofs generally require more detail and nuance than heuristics. It would be better to use the phrase "heuristic argument."
With that bit of pedantry addressed, it is often (though not always) helpful to look at what lexicographers have determined that word means. In this case, Merriam-Webster suggests that a heuristic is something
So heuristics are learning or problem-solving tools. In mathematics, heuristics are generally informal arguments that are meant to convince someone that a result is true without necessarily getting into the nitty-gritty of a proof, which might be rather involved. For example, in an elementary calculus class, you will often see an argument for the chain rule that looks something like
This argument is not rigorous, and cannot really be made rigorous without a great deal of explanation (either by way of non-standard analysis, or a very careful $\varepsilon$-$\delta$ argument). However, the notation is suggestive, and the basic result is correct, so it is a useful aid to learning.
Another example is the heuristic argument for the Prime Number Theorem, which (roughly) states that the number of prime numbers less than $N$ is on the order of $N/\log(N)$. An actual proof of the Prime Number Theorem is rather involved, but the following heuristic argument is generally enough to convince someone that it is true:
There are a lot of holes in this argument (there are infinitely many positive integers, yet we have assumed that the probability that a given number is prime is uniform, which is a problem; we have not been very careful with the errors in a number of approximations; etc). In this case, lulu's comment that a heuristic argument is "an informal argument which assumes plausible (but unproven) results" is quite apt---there is a long way to go before we have a real proof.
Indeed, the usual proofs of the Prime Number Theorem are not probabilistic proofs, and attack the problem along other lines. However, most of the authentic proofs are pretty technical, and don't really give any insight into why we might even suspect that the Prime Number Theorem is true in the first place. This heuristic argument should convince us that the theorem might be true, and give us reason to pursue a better proof.