TITLE: Examples of problems where considering "discrete analogues" has provided insight or led to a solution of the original problem
QUESTION [16 upvotes]: The Kakeya conjecture posits that any Kakeya set in $\mathbb{R}^n$ has dimension $n$. 
A discrete (finitized?) version of this problem is the Finite Field Kakeya conjecture, which was proved by Dvir in 2008.
My understanding is that the Finite Field Kakeya Conjecture was proposed at the end of the twentieth century with the hope that it would lead to methods that could be applied to the original Kakeya conjecture. 
However, it seems that in this case the approach used for resolving the discrete analogue is not easily applied to the original problem, so that the Kakeya conjecture still remains open.
My question is asking for examples of problems where discretizing "succeeded."
Question:
Are there examples of math problems where looking at a finite or discrete variant of the initial statement did lead to a solution (or if not a complete solution, at least significant progress) of the original problem?
If so, what are they? 
Edit:
As commenters pointed out, this question is similar to the one here which requests examples where a discrete version of a theory was developed before the continuous version of the same theory.
My question is different from that previous question, in that I am not interested in cases where discrete problems predated continuous problems.
Instead, I'd like to learn about instances where a continuous problem was already proposed, and studying a discrete version of that problem helped inform a solution to the continuous variant.

REPLY [10 votes]: In my paper
Tao, Terence, Norm convergence of multiple ergodic averages for commuting transformations, Ergodic Theory Dyn. Syst. 28, No. 2, 657-688 (2008). ZBL1181.37004.
I was able to settle a question in ergodic theory (namely, the norm convergence of averages $\frac{1}{N} \sum_{n=1}^N \int_X T_1^n f_1 \dots T_k^n f_k\ d\mu$ for $k$ commuting measure-preserving transformations $T_1,\dots,T_k$ on a probability space $(X,\mu)$ and bounded functions $f_1,\dots,f_k$), by abandoning all the usual ergodic theory machinery (e.g., characteristic factors), and translating the problem to a purely finitary one without explicit use of limits.  This could then be attacked by methods related to graph and hypergraph regularity.  The argument was then significantly generalised in
Walsh, Miguel N., Norm convergence of nilpotent ergodic averages, Ann. Math. (2) 175, No. 3, 1667-1688 (2012). ZBL1248.37008.
It should however be pointed out that an alternate, ergodic-theoretic proof of these results was also subsequently given in
Austin, Tim, On the norm convergence of non-conventional ergodic averages, Ergodic Theory Dyn. Syst. 30, No. 2, 321-338 (2010). ZBL1206.37003.
Austin, Tim, A proof of Walsh’s convergence theorem using couplings, Int. Math. Res. Not. 2015, No. 15, 6661-6674 (2015). ZBL1372.37012.
I should also mention that there are several papers of Bourgain in which he establishes various ergodic theorems by converting them to quantitative questions in harmonic analysis which are strictly speaking not discrete or finitary, but are amenable to many of the same techniques (in particular, a focus on "hard analysis" estimates) as such discrete problems.  A typical such paper is
Bourgain, J., On the pointwise ergodic theorem on $L^p$ for arithmetic sets, Isr. J. Math. 61, No. 1, 73-84 (1988). ZBL0642.28011.

REPLY [5 votes]: As a non-expert, I will tell a story (since I am not qualified to do more):
Once upon a time (1859) there was conjecture about the zeros of a complex function known as the Riemann Hypothesis (RH).  
Years later Weil formulated a "discrete version" (in terms of finite fields $\mathbb{F}_q$) of this conjecture; the third of his Weil Conjectures (1949).  In 1974, Deligne proved this discrete version to much acclaim.  Here is a well regarded exposition by Milne.
Years later still, Connes is motivated to explore a potential proof of the original RH along the lines of Deligne's proof by taking a "limit as $q\to 1$".
These attempts are probably uncontroversially considered mathematical advances.  Some, presumably Connes himself, consider this work an advance in the problem at hand (and so making this hopefully an appropriate response to this MO question).  However, there are other opinions, and so this MO post might prove controversial too.