We now prove the guarantees of our LDP agnostic learning algorithm.
Let C\geq3 be a universal constant for which Proposition 5.4 holds, and set t=(C+1)(d+1)s, and M=\left\lceil\frac{2t}{\alpha}\right\rceil.
Let \widetilde P:=\operatorname{Disc}_{R,\delta}(P) with support I_{R,\delta}:=[-R-\delta,R+\delta]. Using Theorem 6.3, with accuracy parameter \alpha/(2t), the stated sample size suffices to obtain a synthetic multiset \mathcal{Z}\subseteq I_{R,\delta} of size M, with empirical probability measure H, such that
\begin{aligned}
\left\|F_H-F_{\widetilde P}\right\|_\infty
\leq\frac{\alpha}{2t}
=\frac{\alpha}{2(C+1)(d+1)s}
\end{aligned}
with probability at least 1-\beta. We condition on this event for the rest of the proof.
Run the deterministic algorithm from Proposition 5.4 on I_{R,\delta},\mathcal{Z},s,d, with parameter \eta=\alpha. Since \widetilde P has a density supported on I_{R,\delta}, the Kolmogorov bound (?) satisfies the requirement of the proposition for P^\star=\widetilde P. Thus, the output of the deterministic piece-wise polynomial learner Q\in\mathcal{P}_{Cs,d} is nonnegative and satisfies:
\begin{aligned}
\|Q-\widetilde P\|_1
\leq
4\inf_{P'\in\mathcal{P}_{s,d}}\|P'-\widetilde P\|_1+4\alpha.
\end{aligned}
Fix any F\in\mathcal{F}. We can write:
\begin{aligned}
\|F-\widetilde P\|_1
&\leq
\left\|F-\operatorname{Disc}_{R,\delta}(F)\right\|_1
+\left\|
\operatorname{Disc}_{R,\delta}(F)
-\operatorname{Disc}_{R,\delta}(P)
\right\|_1\\
&\leq
\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F})
+\|F-P\|_1,
\end{aligned}
where the first inequality follows from the triangle inequality, and the second follows from Definition 2.3 and the fact that \operatorname{Disc}_{R,\delta} is a Markov operator and does not increase L_1 distance (see Lemma C.2).
Consequently, we can write:
\begin{aligned}
\inf_{P'\in\mathcal{P}_{s,d}}\|P'-\widetilde P\|_1
&\leq
\inf_{P'\in\mathcal{P}_{s,d}}\|P'-F\|_1+\|F-\widetilde P\|_1\\
&\leq
\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F})
+\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F})+\|F-P\|_1.
\end{aligned}
Putting together with (?), we get:
\begin{aligned}
\|Q-\widetilde P\|_1
\leq
4\alpha+4\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F})
+4\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F})+4\|F-P\|_1.
\end{aligned}
Since Q is a piece-wise polynomial supported on the bounded interval I_{R,\delta}, it is integrable. Let m_0:=\int_{\mathbb{R}}Q(x)\,dx < \infty, and define the normalized output distribution by:
\begin{aligned}
\widehat P:=
\begin{cases}
Q/m_0,&m_0>0,\\
\operatorname{Unif}(I_{R,\delta}),&m_0=0.
\end{cases}
\end{aligned}
If m_0>0, then
\begin{aligned}
\|\widehat P-\widetilde P\|_1
\leq
\|\widehat P-Q\|_1+\|Q-\widetilde P\|_1
=|1-m_0|+\|Q-\widetilde P\|_1\leq2\|Q-\widetilde P\|_1.
\end{aligned}
If m_0=0, then \|Q-\widetilde P\|_1=1 and \|\widehat P-\widetilde P\|_1\leq2. Therefore, in both cases, we have \|\widehat P-\widetilde P\|_1\leq2\|Q-\widetilde P\|_1. Note that \widehat P remains a piece-wise polynomial, since normalization preserves the number and degrees of the polynomial pieces, and the fallback density \operatorname{Unif}(I_{R,\delta}) has at most three pieces on \mathbb{R}.
Moreover, we can write:
\begin{aligned}
\|\widetilde P-P\|_1
&\leq
\|\widetilde P-F\|_1+\|F-P\|_1\\
&\leq
\left\|
\operatorname{Disc}_{R,\delta}(P)
-\operatorname{Disc}_{R,\delta}(F)
\right\|_1
+\|\operatorname{Disc}_{R,\delta}(F)-F\|_1
+\|F-P\|_1\\
&\leq
\|P-F\|_1
+\|\operatorname{Disc}_{R,\delta}(F)-F\|_1
+\|F-P\|_1\\
&\leq
2\|F-P\|_1
+\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F}),
\end{aligned}
where the first two inequalities follow from the triangle inequality, the third follows because \operatorname{Disc}_{R,\delta} is a Markov operator and does not increase L_1 distance (see Lemma C.2), and the last follows from Definition 2.3.
Finally, we can write:
\begin{aligned}
\|\widehat P-P\|_1
&\leq
\|\widehat P-\widetilde P\|_1+\|\widetilde P-P\|_1\\
&\leq
2\|Q-\widetilde P\|_1+\|\widetilde P-P\|_1\\
&\leq
8\alpha+8\|F-P\|_1
+8\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F})+8\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F})
+\|\widetilde P-P\|_1\\
&\leq
8\alpha+10\|F-P\|_1
+9\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F})
+8\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F}),
\end{aligned}
where the first inequality follows from the triangle inequality, the second follows from (?), the third follows from (?), and the last follows from (?). Taking the infimum over F\in\mathcal{F} gives
\|\widehat P-P\|_1
\leq
10\inf_{F\in\mathcal{F}}\|F-P\|_1
+8\alpha
+9\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F})
+8\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F}).
Privacy and non-interactivity follow from Theorem 6.3, since fitting and normalization are post-processing operations. By Theorem 6.3 and Proposition 5.4, the total running time is
\begin{aligned}
&O\left(
\frac{t}{\alpha}\log\left(\frac{R}{\delta}\right)
\left(n+\log\left(\frac{R}{\delta}\right)\right)
\right)
+\widetilde{O}\left(
M(d+1)^{\omega+2}
\log_+^3\left(\frac{s}{\alpha}\right)
\left(1+\log_+\left(\frac{M}{s}\right)\right)
\right),
\end{aligned}
where \log_+(x):=\max\{1,\log x\}, and the \widetilde{O} term hides only logarithmic factors in M and d+1.
For the chosen sample size, n=\Omega(\log(R/\delta)), so n+\log(R/\delta)=O(n), t=O(s(d+1)), M=O(s(d+1)/\alpha), and M/s=O((d+1)/\alpha). Absorbing only logarithmic factors in s, d+1, and 1/\alpha therefore gives the stated runtime bound in the theorem. Integrating and normalizing the polynomial pieces takes O(s(d+1)) additional operations, which is absorbed in the bound.