[step:Apply the normalized Freiman interval bound]We use the following structural form of Freiman's interval theorem.
[claim:Freiman Lev Smeliansky Stanchescu interval theorem]
Let $B\subset\mathbb Z$ be finite with $|B|=k\ge 3$. Suppose $B\subset\{0,1,\dots,n\}$, $0,n\in B$, $\gcd(B)=1$, and
\begin{align*}
|B+B|\le 3k-4.
\end{align*}
Then
\begin{align*}
n\le |B+B|-k.
\end{align*}
[/claim]
[proof]
This is the interval form of the Freiman--Lev--Smeliansky--Stanchescu inverse theorem for subsets of the integers, used here as an external structural input rather than as a restatement of the present theorem. In this interval form, the hypotheses are exactly: the set is finite, the endpoints $0$ and $n$ both belong to the set, the additive gcd is $1$, and the doubling bound is at most $3k-4$. Its conclusion is that the ambient interval length $n+1$ is at most $|B+B|-k+1$, equivalently $n\le |B+B|-k$.
[/proof]
The set $B$ constructed in the previous step satisfies every hypothesis of the Freiman--Lev--Smeliansky--Stanchescu interval theorem: it is finite, $|B|=k\ge3$, $B\subset\{0,1,\dots,n\}$, $0,n\in B$, $\gcd(B)=1$, and $|B+B|\le3k-4$. Therefore
\begin{align*}
n\le |B+B|-k.
\end{align*}[/step]