What it saysLet d be a prime \equiv 7 mod 8, C a CM datum for d (lattice \Lambda, theta function \theta), p a prime with a p-adic place \iota_p, I and \sigma finite index types, c \colon I \to \sigma \to \mathbb{C}_p (the coefficients of the substituted linear forms lie in \mathbb{C}_p), \delta \in \mathbb{C} with \delta \in \operatorname{quadInt}(d) (the image of \mathcal{O}_K), \delta \ne 0, |\iota_p(\overline{\delta})^{-1}\cdot c_{i, x}/d|_p \le 1 for all i, x, and y \colon I \to \mathbb{C} with \delta \cdot y_i \in \Lambda for all i (the CM integer \delta and the translation parameters y_i are complex). Then for every polynomial Q in the variables \sigma with coefficients in \iota_p^{-1}(\mathfrak{o}) (the complex numbers whose image under \iota_p is integral), the jet along \iota_p(Q) (jet: (Q(\partial)F)(0)) of the series \prod_i (Taylor series of U_{y_i}\theta read through \iota_p) substituted at the linear form \sum_x c_{i, x} z_x lies in \mathfrak{o} (the valuation ring of \mathbb{C}_p). Here U_y =CMLattice.twistedTranslate1 y.
The argument in briefLet S be the \mathfrak{o}-algebra generated by the substitutions, into the rescaled linear forms \iota(\overline{\delta})^{-1}\cdot \ell_i, of the series in \mathfrak{o}[[\varphi]], of L' and of \exp(-L) (\theta = \exp(-L)). Every element of S has integral constant term and S is closed under \partial_x; hence jets along integral polynomials of elements of S are integral. Each factor of the product lies in S, because U_y\theta(\overline{\delta}z) = \theta(z)^N\cdot u(z) with u \in \mathfrak{o}[[\varphi]] (\overline{\delta} is an isogeny).
In \mathbb{C}_p: \theta = \exp(-L) with L(0) = L'(0) = 0, L'' = L_2 + \xi (\xi = Taylor series of \wp(z+t) - \wp(t)), |\iota_p(i\sqrt{d})\cdot L_2| \le 1, and the \mathfrak{o}[[\varphi]]-memberships of CMLattice.exists_log_theta.
Let S be the \mathfrak{o}-subalgebra of \mathbb{C}_p[[z]] generated by f(\iota_p(\overline{\delta})^{-1}\ell_i) for all i and all f in \mathfrak{o}[[\varphi]] \cup \{L', \exp(-L)\}.
By the chain rule \partial_x F = f'(\iota_p(\overline{\delta})^{-1}\ell_i)\cdot c_{i, x}/\iota_p(\overline{\delta}) = (d\cdot f')(\iota_p(\overline{\delta})^{-1}\ell_i)\cdot(c_{i, x}/(\iota_p(\overline{\delta})d)), so \partial_x F \in S follows from (d\cdot f')(\iota_p(\overline{\delta})^{-1}\ell_i) \in S; it remains to show that and the integrality of f(0).
If f \in \mathfrak{o}[[\varphi]]: f(0) is integral (norm_coeff_le_one of the series generator) and f' \in \mathfrak{o}[[\varphi]] (deriv_mem_phiSeriesRing), hence d\cdot f' \in \mathfrak{o}[[\varphi]], so (d\cdot f')(\iota_p(\overline{\delta})^{-1}\ell_i) is a generator of S.
The remaining cases: f = \exp(-L) (constant term 1, derivative -L'\cdot \exp(-L) \in S) and the induction steps for constants, sums and products (Leibniz rule).
For every F \in S, the jet of F along \iota_p(Q) is integral: induction on the polynomial Q (constants give the constant term of F; multiplying Q by a variable z_x replaces F by \partial_x F, jet_mul_X), using h.
The product lies in S: \overline{\delta} \in \mathcal{O}_K defines an isogeny of degree N = |\delta |^2, and \delta y_i \in \Lambda, so U_{y_i}\theta(\iota_p(\overline{\delta})z) = \theta(z)^N\cdot u_i(z) with u_i \in \mathfrak{o}[[\varphi]] (rescale_translate_eq_theta_pow_mul); substituting z = \iota_p(\overline{\delta})^{-1}\ell_i, each factor is \exp(-L)^N\circ(\iota_p(\overline{\delta})^{-1}\ell_i) times u_i\circ(\iota_p(\overline{\delta})^{-1}\ell_i), a product of generators.