I am trying to learn how to use computers to prove identities like this one
which I came across on math.stackexchange.com. If you put it Mathematica and simplify, you will simply get a True without any explanation. But how dose computer know it? In the following, I will explain one possible way that machines can prove this for us -- using creative telescoping algorithms.
I am going to use the Mathematica package Sigma by Carsten Schneider.
First the left-hand-side can be written as
where \(n_0=n-m\) and
Next, let
and
and
Then you can verify in your favorite CAS system that
I did not magically find this recursion myself. This is done by Sigma.
Summing over \(k=1,..n_0-1\), the left-hand-side telescopes (perhaps this is where the name creative-telescoping comes from), and we get
This is a simple recursion. Put in \(S(0)=f(0,0)=1\), we get
where we substitute by \(n_0=n-m\). This is exactly the right-hand-side.
All these have been completely automated. What you need to do is only to trust the computer when it says something is true. See Schneider's paper for many more examples!