Numerical cancellation of slope and theta heights
Let the numerical data consist of finite sets $J,\Sigma$, a subset $T\subset\Sigma$, an integer $r\ge0$, real arrays $\nu_{j,\rho,i},A_{j,\rho},w_{j,\rho},e_{j,\rho},\delta_{j,\rho},p_j,a_\rho$, and real parameters $x,\varepsilon,L,b,a,d,\Lambda,B_0,N_c,m,f,k,N,S,t_0,\eta,W,b',\lambda_0,C_0,c_e,C_h,n_V,L',\lambda,\ell$. The indices are $j\in J$, $\rho\in\Sigma$ and $1\le i\le r$. For $y<0$ put $\log y=\log|y|$, and put $\log0=0$; division by zero has value zero. Define $\phi(y)=y\log y-y$. Impose the following conditions: $$1<x,\quad\varepsilon>0,\quad L=x^\varepsilon,\quad b=e^L,\quad a=xb,\quad d\ge1,\quad\log d\le L,\quad\log x\le L,\quad\Lambda=\log(ad),$$ $$B_0=fmbx^\varepsilon,\quad N_c\ge0,\quad|J|=m\ge1,\quad |\Sigma|\le f,\quad f\ge1,\quad k\ge1,\quad k+m\le N,$$ $$S,t_0,\eta,b',\lambda_0,n_V,L'\ge0,\quad n_V\le N,\quad0\le w_{j,\rho}\le2b,\quad|p_j-k|\le m,\quad|\lambda|\le\Lambda,$$ $$m\lambda_0\le b,\quad N^2\le b,\quad m^3N^2L\le b,\quad m\eta NL\le b,\quad kN\le b,$$ $$kS\le W,\quad m(t_0+1)\eta\le W,\quad NW\le b,\quad b'N\le a,\quad mkb'\le a,$$ $$1\le C_0\le c_e,\quad0\le C_h\le C_0,\quad C_hL'\le C_0\Lambda.$$ For every $j,\rho$ require the two weight comparisons $$\sum_i\phi(\nu_{j,\rho,i})-A_{j,\rho}\le\mathbf1_{\rho\in T}\phi(a_\rho)+e_{j,\rho},\qquad\sum_i\nu_{j,\rho,i}=\mathbf1_{\rho\in T}a_\rho+kw_{j,\rho}+\delta_{j,\rho},$$ and the error bounds $$e_{j,\rho}\le C_0\{w_{j,\rho}+S+N^2+m(t_0+1)\eta\}\Lambda,$$ $$|\delta_{j,\rho}|\le C_0\{w_{j,\rho}+k(N+S)+m(t_0+1)\eta+\mathbf1_{\rho\in T}kb'\}.$$ Finally, define the height expressions appearing in the conclusion by $$H_A=-\sum_{t\in T}a_t\ell+C_h\{|T|b'N+f(m\eta+S)N+fN^2\}\Lambda,$$ $$H_{B,j}=\sum_\rho\left[\sum_i\phi(\nu_{j,\rho,i})-\left(\sum_i\nu_{j,\rho,i}\right)\lambda\right]+C_hfN^2(\Lambda+m^3L),$$ $$H_{X,j}=\sum_\rho A_{j,\rho}-C_hfn_V^2L',\qquad H=H_A+\sum_j(H_{B,j}-H_{X,j}).$$
Define the main term $M$ and the upper bound $\mathcal R$ by $$M=\sum_{t\in T}\left[m\{\phi(a_t)-a_t\lambda\}-a_t\ell\right],\qquad \mathcal R=M+(50C_0+10)|T|a\Lambda+60c_emx^\varepsilon(B_0+N_c).$$
Let $z,z_0,F,P,E$ be real numbers such that $$z\le z_0+P,\qquad z_0\le\sum_{j,\rho}p_jw_{j,\rho}\lambda+2F+E,$$ $$P\le1+C_0m\lambda_0,\qquad E\le c_emx^\varepsilon(B_0+N_c).$$ Then $$z+H-2F\le\mathcal R.$$