\section{Cup products of crystalline classes}\label{sec:crystalline} The local loss of \cref{sec:local-loss} rests on explicit powers of $p$ that make the cup products of crystalline cocycles of a lattice with those of congruent dual lattices vanish (\cref{thm:cup-exponents}). Here $p$ is the residue characteristic (the prime $\ell$ of the previous sections). The lattices have Hodge--Tate jumps in two windows: a low window near $0$ and far windows near $\pm b$, small against $p$ or controlled by the valuations of the integers near $b$. The proofs work with Kisin modules on \emph{Kummer charts} and move pairs of points of extensions along Frobenius orbits by \emph{safe moves}. \subsection{Kummer charts, sides and safe moves}\label{ss:kummer-charts} Let $\Gamma$ be a group over $G_p$ with open image. A \emph{Kummer chart} $k$ consists of a ring $\Lambda[\![z]\!]\subseteq A_{\inf}$, $\Lambda=W(\F_{p^f})$, a distinguished element $E$ (with $E=z+p$ if the chart is \emph{unramified}, of ramification index $e=1$), and a subgroup $\Gamma'$ of index prime to $p$ fixing $\Lambda$; its \emph{letters} are the units of $\F_{p^f}$, permuted by $i\mapsto i^p$, and $i.\mathrm{back}(a)$ is the letter $a$ Frobenius steps before $i$. The coefficients $O$ carry $\zeta$ with $\zeta^{p^f-1}=1$, which assigns the embeddings of $O$ to the letters. A \emph{side} $S$ consists of lattices $Y$ and $C$, an $O$-linear map from $C$ to the crystalline cocycles $Z_f(Y)$ (hence an extension $\tilde Y$ of the trivial lattice $C$ by $Y$), and at each letter a finite set of integers containing $0$, the jumps. A point of the extension has \emph{orders} $o(l,u)$ if its value at $\varphi^l(E)$ on the forms of jump $u$ is divisible by $t^{o(l,u)}$ in $B_{\rm dR}^+$, and \emph{depth} $o$ if its differences with its translates by $\Gamma'$ have orders $o$. A \emph{pairing} of two sides modulo $p^m$ is an $O$-linear map $\psi\colon Y\otimes L\to O(1)$ with $g\psi-\psi=p^m\cdot$(a crystalline cocycle); a move of one point, with the other at rest, is \emph{safe} for $\kappa$ if $p^\kappa$ times the pairing of the move with the change of the point at rest under each $g\in\Gamma'$ lies in the image of $W(\mathfrak m^\flat)$. The jumps \emph{fit windows} $(\eta,\varepsilon,b,W)$ if they lie in $[-\eta,\eta]\cup\varepsilon[b,b+W]$. \lean{New.Lift.KummerChart.PairingSide, New.Lift.KummerChart.PairingSide.extensionLattice, New.Lift.KummerChart.PairingSide.trivialLattice, New.Lift.KummerChart.PairingSide.projTrivial, New.Lift.KummerChart.PairingSide.wittFst, New.Lift.KummerChart.PairingSide.tensorLattice, New.Lift.Pairing.tateDualSide, New.Lift.Pairing.wittPairing, New.Lift.Pairing.IsSafe, New.Lift.Pairing.IsSafeMoveFst, New.Lift.Pairing.IsSafeMoveSnd, New.Lift.Pairing.IsSafePath, New.Lift.Pairing.IsScaledCupCoboundary, New.Lift.wittFst_smul, New.Lift.Pairing.smul_wittPairing, New.Lift.Pairing.isCupCoboundary_of_eq_coboundary, New.Lift.smul_smul_frobGroup_comm, New.Lift.eventually_smul_sub_mem_smallPart, New.Lift.Pairing.phi_smul_sub_mem_smallPart, New.Lift.Pairing.nsmul_modPairing_eq_coboundary, New.Lift.Pairing.IsScaledCupCoboundary.of_isSafePath, New.Lift.KummerChart.PairingSide.add_add_padicValNat_factorial_le, New.Lift.KummerChart.JumpLattice.tau_pow_smul_mem_ainfLattice_of_eq_chi_pow_smul, New.Lift.KummerChart.JumpLattice.kisinModule_eq_span_of_trivial, New.Lift.KummerChart.mul_add_pow_mem_of_mul_pow_mem, New.Lift.KummerChart.PairingSide.constantAt, New.Lift.KummerChart.PairingSide.liftIdeal, New.Lift.KummerChart.PairingSide.KillsCokernel, New.Lift.KummerChart.PairingSide.mem_liftIdeal_iff, New.Lift.KummerChart.PairingSide.p_pow_mem_liftIdeal_self, New.Lift.KummerChart.PairingSide.phi_pow_smul_constantAt, New.Lift.KummerChart.PairingSide.mul_E_pow_mem_liftIdeal_one, New.Lift.KummerChart.PairingSide.liftIdeal_le_of_p_pow_mem, New.Lift.KummerChart.PairingSide.killsCokernel_of_p_pow_mem_liftIdeal, New.Lift.KummerChart.PairingSide.constantAt_mem_stdOrdersPart, New.Lift.KummerChart.PairingSide.phi_pow_smul_mem_liftIdeal_iff, New.Lift.KummerChart.PairingSide.p_pow_mul_z_pow_mem_liftIdeal_iff, New.Lift.KummerChart.PairingSide.exists_lift_of_mem_liftIdeal, New.Lift.KummerChart.PairingSide.smul_sub_mem_withOrders_of_stdOrders_one, New.Lift.KummerChart.PairingSide.stdOrders_one_le_add, New.Lift.KummerChart.PairingSide.mem_liftIdeal_of_mul_eq_mul_smul_sub, New.Lift.KummerChart.PairingSide.mem_liftIdeal_of_eq_zTau_mul_smul_sub, New.Lift.KummerChart.PairingSide.mem_liftIdeal_of_eq_mul_smul_sub, New.Lift.KummerChart.PairingSide.mem_liftIdeal_zero_of_mem_liftIdeal_one_letterFrob, New.Lift.KummerChart.PairingSide.mem_liftIdeal_of_mul_E_pow, New.Lift.KummerChart.PairingSide.p_pow_mul_z_pow_pred_mem_liftIdeal, New.Lift.KummerChart.PairingSide.p_pow_mul_z_pow_mem_liftIdeal_of_le, New.Lift.KummerChart.PairingSide.p_pow_mul_z_pow_div_mem_liftIdeal, New.Lift.KummerChart.PairingSide.exists_forall_z_pow_mem_liftIdeal, New.Lift.KummerChart.PairingSide.exists_z_pow_mem_liftIdeal, New.Lift.KummerChart.PairingSide.killsCokernel_zero_zero_of_small_jumps, New.Lift.KummerChart.PairingSide.killsCokernel_of_isUnramified, New.Lift.KummerChart.PairingSide.exists_p_pow_mul_z_pow_mem_liftIdeal_and_le, New.Lift.KummerChart.PairingSide.killsCokernel_zero_of_jumps_le} \lean{New.Lift.KummerChart.cost, New.Lift.KummerChart.associated_pow_natAbs_sub_one, New.Lift.KummerChart.zTau_dvd_sub_one_of_mul_eq_smul_E, New.Lift.KummerChart.theta_sub_one_dvd_pow_mul_theta_zTau, New.Lift.KummerChart.p_mul_theta_mul_theta_z_dvd_pow, New.Lift.KummerChart.theta_zTau_dvd_pow_mul_thetaPhiInv, New.Lift.KummerChart.IsDepthStep, New.Lift.KummerChart.exists_isDepthStep, New.Lift.KummerChart.exists_smul_frobE_eq_mul_and_zTau_mul_eq, New.Lift.KummerChart.isPrimitiveRoot_thetaPhiInv_teichmuller_epsTilt, New.Lift.KummerChart.sum_pow_eq_zero_of_isPrimitiveRoot, New.Lift.KummerChart.exists_frobE_dvd_smul_sum_sub_sum, New.Lift.KummerChart.JumpLattice.withOrders, New.Lift.KummerChart.JumpLattice.stdOrdersPart, New.Lift.KummerChart.JumpLattice.valueAt_def, New.Lift.KummerChart.JumpLattice.valueAt_zero, New.Lift.KummerChart.JumpLattice.mem_kisinLocAinf_of_smul_of_dvd_frobE, New.Lift.KummerChart.JumpLattice.frobE_smul_mem_kisinLocAinf_iff, New.Lift.KummerChart.JumpLattice.mem_kisinLocAinf_of_mem_kisinLoc, New.Lift.KummerChart.JumpLattice.kisinModule_le_kisinLoc, New.Lift.KummerChart.JumpLattice.kisinLoc_induction, New.Lift.KummerChart.JumpLattice.frobEUnit_zpow_smul_mem_kisinLoc_iff, New.Lift.KummerChart.JumpLattice.Hom.wittMap_mem_kisinLocAinf, New.Lift.KummerChart.JumpLattice.Hom.wittMap_mem_kisinLoc, New.Lift.KummerChart.JumpLattice.galMonoid_smul_mem_kisinAinf, New.Lift.KummerChart.JumpLattice.galMonoid_smul_frobE_dvd_frobE, New.Lift.KummerChart.JumpLattice.galMonoid_smul_mem_kisinLocAinf, New.Lift.KummerChart.JumpLattice.mem_withOrders_iff, New.Lift.KummerChart.JumpLattice.withOrders_le_kisinLocAinf, New.Lift.KummerChart.JumpLattice.withOrders_le_letterPart, New.Lift.KummerChart.JumpLattice.valueAt_mem_hodgeFil_of_mem_withOrders, New.Lift.KummerChart.JumpLattice.mem_withOrders_of_mem_hodgeFil, New.Lift.KummerChart.JumpLattice.mem_withOrders_of_le, New.Lift.KummerChart.JumpLattice.valueAt_mem_hodgeFil_of_mem_ainfLattice, New.Lift.KummerChart.JumpLattice.Hom.wittMap_mem_withOrders, New.Lift.KummerChart.JumpLattice.mem_withOrders_of_smul, New.Lift.KummerChart.JumpLattice.frobEUnit_zpow_smul_mem_withOrders_add, New.Lift.KummerChart.JumpLattice.frobEUnit_zpow_smul_mem_withOrders, New.Lift.KummerChart.JumpLattice.frobEUnit_zpow_smul_mem_withOrders_add_iff, New.Lift.KummerChart.JumpLattice.prod_frobEUnit_zpow_smul_mem_withOrders_add_iff, New.Lift.KummerChart.JumpLattice.prod_frobEUnit_zpow_smul_mem_kisinLoc_iff, New.Lift.KummerChart.JumpLattice.kisinLocAinf_le_fracSpan, New.Lift.KummerChart.JumpLattice.valueAt_smul_sub, New.Lift.KummerChart.JumpLattice.smul_sub_mem_withOrders, New.Lift.KummerChart.JumpLattice.galMonoid_smul_eq_toGp_smul, New.Lift.KummerChart.JumpLattice.exists_zTau_smul_eq_smul_sub, New.Lift.KummerChart.JumpLattice.zTauUnit_inv_smul_sub_mem_kisinLocAinf, New.Lift.KummerChart.JumpLattice.frobEUnit_pow_smul_phi_smul_mem_kisinModule, New.Lift.KummerChart.JumpLattice.phi_smul_mem_kisinLoc, New.Lift.KummerChart.JumpLattice.phi_pow_smul_mem_kisinLoc, New.Lift.KummerChart.JumpLattice.span_kisinModule, New.Lift.KummerChart.JumpLattice.span_kisinLoc, New.Lift.KummerChart.JumpLattice.sum_map_smul_eq_zero_of_mem_valueFieldPoints, New.Lift.KummerChart.JumpLattice.sum_map_smul_eq_zero_of_mem_kisinLoc, New.Lift.KummerChart.JumpLattice.tau_pow_smul_mem_kisinAinf, New.Lift.KummerChart.JumpLattice.valueAt_mem_valueField, New.Lift.KummerChart.JumpLattice.exists_coordRetract, New.Lift.KummerChart.JumpLattice.coordRetract, New.Lift.KummerChart.JumpLattice.coordRetract_smul, New.Lift.KummerChart.JumpLattice.coordRetract_sum, New.Lift.KummerChart.JumpLattice.coordRetract_of_mem_kisinLoc, New.Lift.KummerChart.JumpLattice.Hom.wittMap_coordRetract, New.Lift.KummerChart.JumpLattice.valueAt_mem_of_hodgeFil_le, New.Lift.KummerChart.JumpLattice.zTauUnit_inv_smul_sub_mem_withOrders, New.Lift.KummerChart.JumpLattice.locKisinPart, New.Lift.KummerChart.JumpLattice.invariantsMod, New.Lift.KummerChart.JumpLattice.cost_le_of_isUnramified, New.Lift.KummerChart.JumpLattice.improvedOrders, New.Lift.KummerChart.JumpLattice.improvedOrders_le, New.Lift.KummerChart.JumpLattice.min_pos_of_improvedOrders_pos, New.Lift.KummerChart.JumpLattice.exists_const_sub_mem_hodgeFil_of_smul_sub_mem, New.Lift.KummerChart.JumpLattice.exists_valueAt_sub_mem_hodgeFil, New.Lift.KummerChart.JumpLattice.galMonoid_smul_localFieldOf, New.Lift.KummerChart.JumpLattice.valueAt_smul_sub_mem_hodgeFil_of_sub_const_mem, New.Lift.KummerChart.JumpLattice.mem_invariantsMod_withOrders_iff, New.Lift.KummerChart.JumpLattice.mem_withOrders_improvedOrders, New.Lift.KummerChart.JumpLattice.smul_sub_mem_hodgeFil_one_of_mem_valueField, New.Lift.KummerChart.JumpLattice.smul_sub_phiInvToBdR_mul_mem_hodgeFil_succ, New.Lift.KummerChart.JumpLattice.depthStepOperator, New.Lift.KummerChart.JumpLattice.depthStepOperator_apply, New.Lift.KummerChart.JumpLattice.depthStepOperator_singleton, New.Lift.KummerChart.JumpLattice.exists_valueAt_depthStepOperator_sub_smul_mem, New.Lift.KummerChart.JumpLattice.exists_valueAt_sub_mem_hodgeFil_succ} \lean{New.Lift.KummerChart.JumpLattice.wittPairing, New.Lift.KummerChart.JumpLattice.IsEquivariantPairing, New.Lift.KummerChart.JumpLattice.wittPairing_letterProj_left, New.Lift.KummerChart.JumpLattice.wittPairing_mem_saturateBy, New.Lift.KummerChart.JumpLattice.shiftedOrders, New.Lift.KummerChart.JumpLattice.ShiftsHodgeFil, New.Lift.KummerChart.JumpLattice.RespectsGaloisAction, New.Lift.KummerChart.JumpLattice.apply_mem_hodgeFil_of_forall_formsOfType, New.Lift.KummerChart.JumpLattice.valueAt_coordRetract_sub_mem_hodgeFil, New.Lift.KummerChart.JumpLattice.valueAt_coordRetract_mem_hodgeFil, New.Lift.KummerChart.JumpLattice.coordRetract_mem_withOrders, New.Lift.KummerChart.JumpLattice.apply_phi_pow_succ_smul_mem_hodgeFil_zero, New.Lift.KummerChart.JumpLattice.phi_pow_smul_mem_withOrders, New.Lift.KummerChart.JumpLattice.smul_mem_ainfLattice_of_frobE_smul_mem, New.Lift.KummerChart.JumpLattice.mem_saturateBy_powers_of_mem_withOrders, New.Lift.KummerChart.JumpLattice.mem_withOrders_stdOrders_iff, New.Lift.KummerChart.JumpLattice.mem_stdOrdersPart_iff, New.Lift.KummerChart.JumpLattice.prod_frobEUnit_zpow_smul_mem_withOrders_stdOrders_add_iff, New.Lift.KummerChart.JumpLattice.prod_frobEUnit_zpow_smul_mem_kisinLoc_and_withOrders_iff, New.Lift.KummerChart.JumpLattice.letterProj_mem_withOrders, New.Lift.KummerChart.JumpLattice.letterProj_mem_stdOrdersPart, New.Lift.KummerChart.JumpLattice.frobEUnit_pow_smul_mem_frobKisinAinf_one, New.Lift.KummerChart.JumpLattice.apply_smul_wittPairing_mem_hodgeFil, New.Lift.KummerChart.JumpLattice.wittPairing_mem_ainfLattice, New.Lift.KummerChart.JumpLattice.wittPairing_mem_kisinAinf, New.Lift.KummerChart.JumpLattice.wittPairing_mem_withOrders, New.Lift.KummerChart.JumpLattice.raiseOrder, New.Lift.KummerChart.JumpLattice.raiseOrdersAt, New.Lift.KummerChart.JumpLattice.exists_thetaBdR_sub_sum_smul_eq_zero, New.Lift.KummerChart.JumpLattice.exists_sub_sum_smul_mem_withOrders_raiseOrder, New.Lift.KummerChart.JumpLattice.exists_eq_one_and_sum_smul_eq_zero, New.Lift.KummerChart.JumpLattice.exists_sub_smul_one_eq_E_mul, New.Lift.KummerChart.JumpLattice.exists_sum_smul_mem_locKisinPart_sup} \lean{New.Lift.FitsWindows, New.Lift.twoWindows, New.Lift.mem_twoWindows, New.Lift.NoMultipleNear, New.Lift.NoMultipleNear.eq_zero_of_dvd, New.Lift.card_filter_dvd_Icc_le, New.Lift.sum_padicValInt_Icc_le, New.Lift.sum_twoWindows_le, New.Lift.KummerChart.tateLattice, New.Lift.KummerChart.JumpLattice.mem_withOrders_raisedOrdersAtZero_of_gap, New.Lift.KummerChart.PairingSide.stepBack_zero, New.Lift.KummerChart.PairingSide.inclKer, New.Lift.KummerChart.PairingSide.localizedProjTrivial, New.Lift.KummerChart.PairingSide.deepElements, New.Lift.KummerChart.PairingSide.kerWithOrders, New.Lift.KummerChart.PairingSide.IsOperatorOfCost, New.Lift.KummerChart.PairingSide.SidePairing, New.Lift.KummerChart.PairingSide.pointsOver, New.Lift.KummerChart.PairingSide.standardDepth, New.Lift.KummerChart.PairingSide.plainDepth, New.Lift.KummerChart.PairingSide.stopOrders, New.Lift.KummerChart.PairingSide.ruleBound, New.Lift.KummerChart.PairingSide.standardPoints, New.Lift.KummerChart.PairingSide.stopPoints, New.Lift.KummerChart.PairingSide.LiesOver, New.Lift.KummerChart.PairingSide.wittFst_inclKer, New.Lift.KummerChart.PairingSide.wittPairing_wittFst_mulZeta, New.Lift.KummerChart.PairingSide.isUnit_letterTeich_sub, New.Lift.KummerChart.PairingSide.wittPairing_wittFst_eq_zero_of_ne, New.Lift.KummerChart.PairingSide.isSafe_sum, New.Lift.KummerChart.PairingSide.exists_mem_form_cocycle_eq_coboundary, New.Lift.KummerChart.PairingSide.exists_linearMap_form_cocycle_eq_coboundary, New.Lift.KummerChart.PairingSide.exists_extend_form, New.Lift.KummerChart.PairingSide.IsOperatorOfCost.apply_mem_of_kerWithOrders_le, New.Lift.KummerChart.PairingSide.locKisinPart_kerWithOrders_le_deepElements, New.Lift.KummerChart.PairingSide.IsOperatorOfCost.mem_deepElements, New.Lift.KummerChart.PairingSide.IsOperatorOfCost.comp, New.Lift.KummerChart.PairingSide.mem_kisinLocAinf_of_inclKer, New.Lift.KummerChart.PairingSide.mem_letterPart_of_inclKer, New.Lift.KummerChart.PairingSide.mem_withOrders_of_inclKer, New.Lift.KummerChart.PairingSide.mem_kisinLoc_of_inclKer, New.Lift.KummerChart.PairingSide.exists_inclKer_eq_of_kerWithOrders, New.Lift.KummerChart.PairingSide.pointsOver_nonempty_of_killsCokernel, New.Lift.KummerChart.PairingSide.depthOperator, New.Lift.KummerChart.PairingSide.depthOperator_apply, New.Lift.KummerChart.PairingSide.depthOperator_mem_withOrders, New.Lift.KummerChart.PairingSide.projTrivial_depthOperator_eq_zero, New.Lift.KummerChart.PairingSide.depthOperator_mem_kerWithOrders, New.Lift.KummerChart.PairingSide.exists_isOperatorOfCost_mem_hodgeFil_succ, New.Lift.KummerChart.PairingSide.exists_isOperatorOfCost_and_mem_deepElements, New.Lift.KummerChart.PairingSide.pointsOver_nonempty_of_costs, New.Lift.KummerChart.PairingSide.zTauUnit_inv_smul_sub_mem_kerWithOrders, New.Lift.KummerChart.PairingSide.sub_mem_kerWithOrders_of_pointsOver, New.Lift.KummerChart.PairingSide.phi_pow_smul_mem_pointsOver, New.Lift.KummerChart.PairingSide.wittPairing_constantAt_one, New.Lift.KummerChart.PairingSide.map_wittPairing_extensionForm} The proofs of this section are long chains of explicit inequalities between systems of orders, and the bookkeeping is fixed once and for all in the following definition. Throughout, $k$ is a Kummer chart with coordinate $z=[\varpi^\flat]$ (a Teichm\"uller lift that is not a unit), $\tau=[\varepsilon^{1/p}]-1$, $\mu=[\varepsilon]-1$, $p_a=\varphi^a(E)$ for $a\ge0$, and $\theta_a=\theta\circ\varphi^{-a}\colon A_{\inf}\to O_{\C_p}$, whose kernel is generated by $p_a$. The element $z\tau$ is written $\delta$; no $p_a$ divides it, since $\theta_a(z)\ne0$ and $\theta_a(\tau)=\zeta_{p^{a+1}}-1\ne0$. The \emph{different bound} of $k$ is $d=0$ if $e=1$ and $d=v_p(e)+1$ otherwise; on an unramified chart $d=0$. Every lattice $L$ carries a finite set of jumps at each letter, containing its Hodge--Tate jumps above the letter; $L_{\rm amb}=W(C^\flat)\otimes L$, the letter projectors $e_i$ split $L_{\rm amb}$, and a \emph{form} is an $A_{\inf}$-linear map $L_{\rm amb}\to B_{\rm dR}$ that is $\Gamma'$-equivariant on $1\otimes L$; it has \emph{type} $u$ at $i$ if it maps $e_i(1\otimes L)$ into $t^{-u}B_{\rm dR}^+$. The Kisin module $\mathcal N$ of $L$ is the $\mathfrak S$-module of the $x\in A_{\inf}[1/\tau]\otimes L$ with $\mu(\varphi^nx)\in B_{\rm dR}^+$ for all forms and all $n\ge1$ on which all forms take values in the field $\mathcal K_0$ that the chart generates over the fixed field of $\Gamma'$; $\mathcal N_{\rm loc}$ is $\mathcal N$ with all $p_a$ inverted, and $\mathcal N^{A}_{\rm loc}$ its $A_{\inf}$-span. The basic properties of these modules (the frame theorem) are \cref{thm:B-kisin}. \begin{definition}[Orders, points and moves]\label{def:chart-orders} A \emph{system of orders} is a function $o(a,u)$ of a level $a\ge0$ and an integer $u$; $o\le o'$ means $o(a,u)\le o'(a,u)$ at the jumps $u$ at $i.\mathrm{back}(a)$. \begin{enumerate}[label=\textup{(O\arabic*)}] \item An element $x\in\mathcal N^A_{\rm loc}$ at the letter $i$ has \emph{orders} $o$ if $\mu(\varphi^{-a}x)\in t^{o(a,u)}B_{\rm dR}^+$ for every $a$, every jump $u$ at $i.\mathrm{back}(a)$ and every form $\mu$ of type $u$ at $i.\mathrm{back}(a)$; it is \emph{invariant modulo} the orders $o'$ if every $gx-x$, $g\in\Gamma'$, has orders $o'$. \item The \emph{standard} orders of level $l$ are $\mathrm{std}_l(a,u)=0$ for $a0$ and $\min(o_2(a,u),0)$ otherwise. \item The \emph{cost} of the step $n\in\Z$ at the level $a$ is $c_a(n)=v_p(n)+d+3a$, with $v_p(0)=0$. \item For a side $S$ and $c\in C$, $\mathcal P_i(c,e;o,o')$ is the set of the $x\in\mathcal N_{\rm loc}$ of the extension at $i$ that lie \emph{over} $p^ec$ (their image in the trivial lattice is $p^e$ times the constant $e_i(1\otimes c)$), have orders $o$ and are invariant modulo $o'$, the \emph{depth}. $\mathcal K_i(o)$ is the set of the vectors over $0$ with orders $o$, and $\mathcal D_i(o)$ the set of the elements over some constant with depth $o$. \item The \emph{standard depth} is $\mathrm{sd}_{t,\eta,l}(a,u)=-u+t[a=0]+\eta[al$. The standard points are $\mathcal P^{\rm st}_i(c,e;t,\eta,l)=\mathcal P_i(c,e;\varrho_{-\eta},\mathrm{sd}_{t,\eta,l})$ and the stops $\mathcal P^{\rm stop}_i(c,e;\eta,l)=\mathcal P_i(c,e;\mathrm{so}_{\eta,l},\mathrm{so}_{\eta,l})$. \item An additive map $A$ on $\mathcal N_{\rm loc}$ of the extension is an \emph{operator of cost $e$} if, for every letter, all orders $o$ and every $x\in\mathcal D_i(o)$, $Ax-p^ex\in\mathcal K_i(o)$. \item A pair $(w,y)$ of vectors of the two extensions is \emph{safe} for $\kappa$ if $p^\kappa$ times the pairing of their components in $Y$, $Y'$ lies in the image of $W(\mathfrak m^\flat)$. The move of the first side by $y$ with $x'$ at rest is safe if all $(y,gx'-x')$, $g\in\Gamma'$, are safe; the move of the second side by $y'$ with $x$ at rest is safe if all $(gx-x,gy')$ are. A \emph{safe path} from $(y,y')$ to $(x,x')$ through $w,w'$ consists of the four safe moves $(y-w;y')$, $(w;y'-w')$, $(w-x;w')$, $(x;w'-x')$. \item The ideal $J^r_l(i)$ of $A_{\inf}$ is generated by $r$ and by the $s$ such that $s\,e_i(1\otimes c)$ lifts, for every $c\in C$, to an element of the extension with the standard orders of level $l$ at $i$; $p^\kappa E^s$ \emph{kills the cokernel at $i$} if $p^\kappa E^s\in J^0_0(i)$. \end{enumerate} \end{definition} \begin{lemma}[Orders]\label{lem:orders} Let $L$ be a lattice over the chart, $i$ a letter and $x\in\mathcal N^A_{\rm loc}$ at $i$. \begin{enumerate}[label=\textup{(\alph*)}] \item (Gap rule.) If $x$ has orders $c$ and $W\subseteq B_{\rm dR}$ is a $B_{\rm dR}^+$-module containing $t^{c(a,v)}B_{\rm dR}^+$ for every jump $v\le u$ at $j=i.\mathrm{back}(a)$, then $\mu(\varphi^{-a}x)\in W$ for every form $\mu$ of type $u$ at $j$, whether or not $u$ is a jump. \item (Frobenius.) If $x$ has orders $c$ at $i.\mathrm{back}(l)$, then $\varphi^lx$ has orders $\mathrm{sh}^0_l(c)$ at $i$; and $\varphi^l$ maps $\mathcal P_{i.\mathrm{back}(l)}(c,e;o,o')$ into $\mathcal P_i(c,e;\mathrm{sh}^0_l(o),\mathrm{sh}^1_l(o'))$. \item (Exponents add.) Let $b\colon A\times L\to C$ be an equivariant bilinear map of lattices. If $y$, $x$ have orders $c'$, $c$ at $i$, then $b(y,x)$ has orders $c''$ whenever $c''(a,v)\le c(a,u')+c'(a,u)$ for all jumps $u$ of $A$, $u'$ of $L$ and $v$ of $C$ at $i.\mathrm{back}(a)$ with $u+u'\le v$. \item (Improvement.) If $x$ has orders $o_1$ and is invariant modulo $o_2$, it has orders $\mathrm{imp}(o_1,o_2)$. \item (Galois action.) For $g\in\Gamma'$ and $x\in\mathcal N_{\rm loc}$, $\delta^{-1}(gx-x)\in\mathcal N^A_{\rm loc}$, and if $gx-x$ has orders $c$, so does $\delta^{-1}(gx-x)$. Elements of $\Gamma'$ preserve $\mathcal N^A_{\rm loc}$ and orders. \item (Strictness.) A vector of the extension of a side over $0$ with orders $o$ is the image of a vector of $Y$ with orders $o$, in $\mathcal N_{\rm loc}(Y)$ if it lies in $\mathcal N_{\rm loc}$ of the extension; two points over the same constant with orders $o_1$, $o_2$ differ by an element of $\mathcal K_i(\min(o_1,o_2))$. \end{enumerate} \end{lemma} \begin{proof} (a) If $v$ is not a jump at $j$, a form of type $v$ is of type $v-1$, as the Hodge--Tate decomposition of $e_j(1\otimes L)$ has no part of weight $v$ (\cref{thm:B-kisin}(c)). Let $v$ be the largest jump at $j$ with $v\le u$. If it exists, $\mu$ is of type $v$, so $\mu(\varphi^{-a}x)\in t^{c(a,v)}B_{\rm dR}^+\subseteq W$. If it does not, $\mu$ is of every type $n\le u$; take $r\ne0$ in $A_{\inf}$ with $rx\in A_{\inf}\otimes L$ (\cref{thm:B-kisin}(a)). Then $\mu(\varphi^{-a}(rx))$ lies in $t^nB_{\rm dR}^+$ for all $n$, hence vanishes; it is $\varphi^{-a}(r)\mu(\varphi^{-a}x)$, and $\varphi^{-a}(r)\ne0$ in the field $B_{\rm dR}$, so $\mu(\varphi^{-a}x)=0\in W$. (b) The value of $\varphi^lx$ at the level $a$ is $\mu(\varphi^{l-a}x)$. For $a\ge l$ this is the value of $x$ at the level $a-l$ at the letter $i.\mathrm{back}(l).\mathrm{back}(a-l)=i.\mathrm{back}(a)$, which has order $c(a-l,u)$. For $a0$ and $o_2(a,u)>0$, then $y=v-(v-y)$ lies in $tB_{\rm dR}^+\cap K'=0$, so $v\in t^{o_2(a,u)}B_{\rm dR}^+$; if $o_2(a,u)\le0$, then $\min(o_2,0)=o_2$. (e) Divisibility by $\delta$ is tested with crystalline forms: the values of such a form on $x\in\mathcal N$ lie in the ring $S_B$ of the chart up to a power $E^n$ (\cref{thm:B-kisin}(b)), and $g\in\Gamma'$ moves elements of $S_B$, times $E^{2n}$, by multiples of $\delta$, since $g$ fixes $\Lambda$ and multiplies $z$ by $[\varepsilon]^m$; this gives $gx-x=\delta y$ with $y$ in the $A_{\inf}$-span of $\mathcal N$, and on $\mathcal N_{\rm loc}$ one clears the inverted $p_a$, which $g$ multiplies by units. As $\theta_a(\delta)\neq0$, $\delta$ is a unit of $B_{\rm dR}^+$ at every level, so the orders do not change. Equivariance of the forms gives $\mu(\varphi^{-a}gx)=g\,\mu(\varphi^{-a}x)$, and $g$ preserves each $t^nB_{\rm dR}^+$. (f) An invariant form $\mu$ on $Y$ with values in a $B_{\rm dR}^+$-module $W$ on $1\otimes Y$ extends to the extension: restricted to $\Gamma'$, $\mu$ sends the cocycle of $c$ to the coboundary of an element of $W$, since the cocycle is the coboundary of a period $v$ over $B_{\max}$ and the extension $\Lambda$ of $\mu$ to $B_{\max}$ gives $\Lambda(v)$ congruent modulo $W$ to a constant; choosing these elements linearly in a basis of $C$ gives a linear $f\colon C\to W$, and $(y,c)\mapsto\mu(y)-f(c)$ is an invariant form on the extension with values in $W$ that restricts to $\mu$. Applied to the letter part of a form of type $u$ (with $W=t^{-u}B_{\rm dR}^+$), this shows that the orders of a vector of $Y$ equal those of its image; membership in $\mathcal N^A_{\rm loc}$ and in $\mathcal N_{\rm loc}$ pass to $Y$ by projecting to the first factor and by the coordinate retraction (\cref{thm:B-kisin}(d)), which commutes with the inclusion. The last claim follows, as the difference lies over $0$ and the orders of a difference are the minimum. \end{proof} \begin{lemma}[The depth step]\label{lem:depth-step} Let $a\ge0$. \begin{enumerate}[label=\textup{(\alph*)}] \item For $n\ne0$ there are $g\in\Gamma'$, a unit $\omega$ of $A_{\inf}$ and $\upsilon,X\in A_{\inf}$ with $gp_a=\omega p_a$, $g\equiv1$ on $\mathfrak S$ modulo $p_a$, $\delta X=\omega^n-1$ and $\upsilon X\equiv p^{c_a(n)}$ modulo $p_a$. \item There are $p^{c_a(0)}$ elements $t_l\in\Gamma'$ such that $g\sum_lt_ls\equiv\sum_lt_ls$ modulo $p_a$ for every $s\in\mathfrak S$ and $g\in\Gamma'$. \item Let $x\in\mathcal N_{\rm loc}$ and let $\mu$ be a form with $\mu(\varphi^{-a}x)$ congruent modulo $t^nB_{\rm dR}^+$ to a constant $\gamma\in K'$. With the data of (a) for $n\ne0$, the value of $D_nx=p^{c_a(n)}x-\upsilon\delta^{-1}(gx-x)$ is congruent to $p^{c_a(n)}\gamma$ modulo $t^{n+1}B_{\rm dR}^+$; with the data of (b) for $n=0$, the value of $D_0x=\sum_lt_lx$ is a constant modulo $tB_{\rm dR}^+$. \item For a side $S$ and a step $(a,n)$ there is an operator $B$ of cost $c_a(n)$ such that, for every invariant form $\mu$ on the extension, if the values $\mu(\varphi^{-a}(gx-x))$ lie in $t^nB_{\rm dR}^+$ for all $g\in\Gamma'$, then those of $Bx$ lie in $t^{n+1}B_{\rm dR}^+$. Operators of costs $e$, $e'$ compose to an operator of cost $e+e'$, and an operator of cost $e$ maps $\mathcal D_i(o)$ into itself. \item For a finite set $I$ of steps there is an operator of cost $\sum_{(a,n)\in I}c_a(n)$ that maps $\mathcal D_i(o)$ into $\mathcal D_i(o')$ whenever $I$ contains every step $(a,n)$ with $o(a,u)\le n0$ for all levels $a$ and jumps $u$ of $S$, $u'$ of $S'$ at $i.\mathrm{back}(a)$, then $(\delta w,y)$ and $(w,\delta y)$ are safe for $\kappa$. \item With $\nu$ as in (a), let $w\in\mathcal K_i(o_w)$ and $x'$ a point of $S'$ at $i$ of depth $d'$. If $\mathrm{sh}^0_l(o_\nu)(a,-u-u'-1)+o_w(a,u)+d'(a,u')>0$ at all jumps, the move by $w$ with $x'$ at rest is safe; symmetrically for the second side. \item (The rule.) If $p^\kappa E^t$ kills the cokernel of $\hat S$ at $i.\mathrm{back}(l)$, $y\in\mathcal K_i(o)$ and $x'$ has depth $d'$ at $i$, and $\mathrm{rb}_{l,t}(a,u+u')\le o(a,u)+d'(a,u')$ at all jumps, then the move by $y$ with $x'$ at rest is safe for $\kappa$; symmetrically. \item (Letters.) Vectors of the two extensions at distinct letters are orthogonal under $P$. Hence pairs, moves and paths that are safe letter by letter are safe for the sums over the letters. \end{enumerate} \end{lemma} \begin{proof} (a) By \cref{lem:orders}(f), $w$ and $y$ are images of vectors of $Y$ and $Y'$ with the same orders, and $\varphi^l\nu$ lies over $p^\kappa$ at $i$ with orders $\mathrm{sh}^0_l(o_\nu)$ (\cref{lem:orders}(b)). By \cref{lem:orders}(c) applied to $Y\times Y'\to Y\otimes Y'$, $w\otimes y$ has orders $o_w(a,u)+o_y(a,u')$ on the jump $v$ for $u+u'\le v$; pairing it with $\varphi^l\nu$ by the extension form $(\lambda,o)\mapsto p^m\lambda+o\psi$, which is equivariant, gives an element $\xi$ of $O(1)_{\rm amb}$, whose only jump is $-1$. Again by \cref{lem:orders}(c), with the jump $v$ of $\hat S$ satisfying $-v-1\le-u-u'-1$ and the antitonicity of $o_\nu$, $\xi$ has order at least $1=\mathrm{std}_0(a,-1)$ at every level: $\xi$ has the standard orders of level $0$. As $\Gamma$ acts on $O(1)$ through the cyclotomic character, whose only jump is $-1$, the frame theorem gives $\tau\xi\in A_{\inf}\otimes O(1)$ (\cref{thm:B-kisin}(a)). Reduced modulo $p^m$ through the linear map $O\to\Z_p$ of $P$, the term $p^m\lambda$ disappears, and $\xi$ becomes the pairing of $w$ with $y$ multiplied by the projection of $\varphi^l\nu$ to $W(C^\flat)\otimes O$, which is $p^\kappa e_i$; as $w$ lies at $i$, this is $p^\kappa\psi(w,y)$. Finally $z$ lies in $W(\mathfrak m^\flat)$, so $z\tau$ times the $A_{\inf}$-span of $O(1)$ reduces into the image of $W(\mathfrak m^\flat)$: $\delta p^\kappa\psi(w,y)$ is small, which is both claims. (b) For $g\in\Gamma'$, $\delta^{-1}(gx'-x')\in\mathcal K_i(d')$ (\cref{lem:orders}(e)), and $gx'-x'=\delta\cdot\delta^{-1}(gx'-x')$; apply the second claim of (a). For the second side the pairs are $(gx-x,gy')=(\delta\cdot\delta^{-1}(gx-x),gy')$, and $gy'$ has the orders of $y'$; apply the first claim. (c) Lift $p^\kappa E^t$ times the constant $1$ of $\hat S$ at $i.\mathrm{back}(l)$ to the extension and divide by $E^t$: this is a point $\nu$ over $p^\kappa$ with orders and depth $\varrho_{-t}$, which are antitone in the jump. For all $l,t,a,u,u'$ one has the identity $\mathrm{sh}^0_l(\varrho_{-t})(a,-u-u'-1)+\mathrm{rb}_{l,t}(a,u+u')=1$: at the levels below, at and above $l$ the first term is $0$, $t+u+u'+1$, $u+u'+1$ and the second $1$, $t-u-u'$, $-u-u'$. Hence the hypothesis gives the positivity of (b). (d) The root of unity $\zeta$ of $O$ acts at a letter by its Teichm\"uller lift, and the pairing is balanced for multiplication by $\zeta$; for $w$ at $j$ and $y$ at $i\ne j$ this gives $([j]-[i])\psi(w,y)=0$, and $[j]-[i]$ is a unit of $\mathfrak S$, as the letters are distinct in $\F_{p^f}$. Hence the pairing of the sums is the sum of the pairings at each letter, and the image of $W(\mathfrak m^\flat)$ is a group. For moves one also uses that $g\in\Gamma'$ preserves letters. \end{proof} \begin{lemma}[The walk]\label{lem:walk} Let $P$ pair $S$ and $S'$, let some letters be \emph{cuts}, and let the last cut before each letter $i$ lie $l(i)\ge1$ steps back. At each cut $i$ let $p^\kappa E^{t(i)}$ kill the cokernel of $\hat S$, let $x(i)$, $x'(i)$ be standard points $\mathcal P^{\rm st}_i(c,e;t(i),\eta,l(i))$, $\mathcal P^{\rm st}_i(c',e';t(i),\eta,l(i))$, and let one side have a stop at $i$: a point $q\in\mathcal P^{\rm stop}_i(c,e;\eta,l(i))$ at which the move of the second side by $\varphi^{l(i)}x'(i.\mathrm{back}(l(i)))-x'(i)$ is safe, or symmetrically. \begin{enumerate}[label=\textup{(\alph*)}] \item At a cut $i$ with predecessor $l$ steps back and the cut before that $l_0$ steps further back, four safe moves lead from $(\varphi^lx_0,\varphi^lx'_0)$ to $(x,x')$, with $x_0,x'_0$ the standard points at $i.\mathrm{back}(l)$. \item For standard points $x$, $x'$ at the letter $d$ steps before $i$ and $g\in\Gamma'$, the move of the second side by $g\varphi^dx'-\varphi^dx'$ is safe with $\varphi^dx$ at rest. \item For $N\ge e+e'+\kappa$ the cup product of the cocycles of $c$ and $p^Nc'$ is a continuous coboundary. \item In particular, if every letter is a cut and $t(i)=t$, $l(i)=1$, (c) holds as soon as each letter has a stop. \end{enumerate} \end{lemma} \begin{proof} (a) By \cref{lem:orders}(b) $\varphi^lx_0$ has orders $\mathrm{sh}^0_l(\varrho_{-\eta})$ and depth $\mathrm{sh}^1_l(\mathrm{sd}_{t_0,\eta,l_0})$, and likewise $\varphi^lx'_0$. Suppose the first side has the stop $q$. The path is $(\varphi^lx_0,\varphi^lx'_0)\to(q,\varphi^lx'_0)\to(q,x')\to(x,x')$, the last move being zero. \emph{First move}: $\varphi^lx_0-q$ lies over $0$ with orders $\min(\mathrm{sh}^0_l(\varrho_{-\eta}),\mathrm{so}_{\eta,l})$, and $\varphi^lx'_0$ rests with depth $\mathrm{sh}^1_l(\mathrm{sd}_{t_0,\eta,l_0})$; the rule for $l$ and $t_0$ holds (\cref{lem:rule}(c)), as $p^\kappa E^{t_0}$ kills the cokernel at $i.\mathrm{back}(l)$: below $l$ the orders are $\min(0,\max(0,-u-\eta))=0$ and the depth $1$, which add up to $1$; at the level $l$ the orders are $\min(-\eta-u,-u)=-\eta-u$ and the depth $-v+t_0+\eta$ (as $l_0>0$), which add up to $t_0-u-v$; above, $-u$ and at least $-v$. \emph{Second move}: the hypothesis. \emph{Third move}: $q-x$ has orders $\min(\mathrm{so}_{\eta,l},\varrho_{-\eta})$ and $x'$ rests with depth $\mathrm{sd}_{t,\eta,l}$; the rule for $0$ and $t$ holds, as $p^\kappa E^t$ kills the cokernel at $i$: at the level $0$ the orders are $\min(\max(0,-u-\eta),-u-\eta)=-u-\eta$ and the depth $-v+t+\eta$; at the levels $00]\ge t-u-u'$, and above it is at least $-u-u'$. (c) For a letter $i$ let $d(i)=0$ if $i$ is a cut and $d(i)=l(i)$ otherwise, so that $i.\mathrm{back}(d(i))$ is always a cut, and put $\tilde x(i)=\varphi^{d(i)}x(i.\mathrm{back}(d(i)))$, $\tilde x'(i)$ likewise. These lie over $p^ec$, $p^{e'}c'$ at $i$ (\cref{lem:orders}(b)). The minimality of $l$ gives $l(i)=d(i.\mathrm{back}(1))+1$, and as $\varphi$ sends the letter $i.\mathrm{back}(1)$ to $i$, \[\varphi\sum_i\tilde x(i)=\sum_i\varphi^{l(i)}x(i.\mathrm{back}(l(i))),\] the sum of the Frobenius images with the last cut \emph{strictly} before each letter. At a letter that is not a cut both terms are $\tilde x(i)$, and the path that stays there is safe, its moves being zero; at a cut, (a) gives a safe path from $\varphi^{l(i)}x(i.\mathrm{back}(l(i)))$ to $x(i)$. By (b) the cocycle moves are safe. Summing over the letters (\cref{lem:rule}(d)) gives the hypotheses of \cref{prop:pairing-lemma}(a) for $\sum_i\tilde x(i)$, $\sum_i\tilde x'(i)$, which lie over $p^ec$ and $p^{e'}c'$ because the letter parts of the constants add up to the constants. (d) is (c) with $d\equiv0$. \end{proof} \begin{lemma}[Plain cuts]\label{lem:plain-cuts} Let $00$ the improved order is this depth, which is at least $\max(0,-u-\eta)$, and otherwise it is $0$ and $-u-\eta\le\varrho_{-\eta}(a,u)\le0$. From $l$ on the improved order is $-u$. Hence the orders are at least $\mathrm{so}_{\eta,l}$, and a point with orders $\mathrm{so}_{\eta,l}$ is also of depth $\mathrm{so}_{\eta,l}$, since $g$ preserves orders. (b) The move lies over $0$ (\cref{lem:orders}(f)) with orders $\min(\mathrm{sh}^0_l(\varrho_{-\eta_0}),\varrho_{-\eta})$; apply the rule for $0$ and $t$ (\cref{lem:rule}(c)). At the level $0$ the orders are $\min(0,-\eta-u)=-\eta-u$, as $u\ge-\eta$, and the depth is $-v+t+\eta$; at $00$, it is a cut, and no letter strictly between is one. It has \emph{sign $\rho$ before $i$} if each of the $l$ letters $i.\mathrm{back}(a)$, $a0$, $u\le\eta$ at $t\ne a12((J+1)X+\delta)$. (b) All jumps are at most $\beta+W\le2b$, and those at the $J$ letters after $i$ at most $G$. By \cref{lem:z-powers}(g) with $\omega=2b$ and $\omega'=G$ it suffices that $\kappa\ge2JdG+(2J+4)G/(p-1)+8e\cdot2b/p^{J+1}$; the size conditions give $dG\le X$, $G/(p-1)\le n\le X$ and $e\cdot2b/p^{J+1}\le\delta$, so the right side is at most $(4J+4)X+8\delta<\kappa$. At a killing cut of the first kind this applies with $s(i)=0$. At one of the second kind the chart is unramified, $p\ge5$ and all jumps are at most $\beta+W\le(p-3)s_0\le(p-3)(\kappa+s(i))$, and \cref{lem:z-powers}(f) gives $p^\kappa E^{s(i)}$. (c) By (b) and the lift-and-divide argument of \cref{lem:rule}(c) there is a point over $p^\kappa c$ with orders and depth $\varrho_{-s(i)}$. The steps from this depth to $\mathrm{sd}_{s(i),\eta,l+1}$ are, on the line $u$, the $m$ with $-s(i)-u\le m<-u+s(i)+\eta$ at the level $0$ and $-u\le m<-u+\eta$ at the levels $1\le a\le l$; as $u$ is within $\eta$ of $0$ or within $V$ of $\pm\beta$, they are within $s(i)[a=0]+\eta+\max(\eta,V)\le s(i)[a=0]+W$ of $0$ or of $\mp\beta$, and $l\le2J+1$: they are window steps. At a killing cut, $s(i)=0$ or $d=0$ (in the second kind the chart is unramified). By \cref{lem:depth-step}(f) and (a) there is the point with orders $\mathrm{co}$ and depth $\mathrm{sd}$ over $p^{25\kappa}c$. Its pole has order at most $\eta$: no jump at $i$ lies in $[-s(i),-\eta)$, since a jump below $-\eta$ lies in $-[\beta,\beta+V]$ and $s(i)<\beta(i)$ or $s(i)=0$; so a line $u<-s(i)$ has the positive order $-s(i)-u$, which improves to the depth $-u+s(i)+\eta\ge-u$, and a line $u\ge-\eta$ has order at least $\min(\mathrm{sd},0)\ge-\eta-u$. Finally $\mathrm{sd}_{s,\eta,l+1}=\mathrm{pd}_{s,\eta,l,\eta}$, and (c) of \cref{lem:plain-cuts} applies. (d) Write $l=t+J+1$. By (b), $p^\kappa$ kills the cokernel at the cut $i.\mathrm{back}(l)$, which lies $J+1$ steps before the pivot and has shift $0$; and $E^{s_0}$ kills it at the pivot, by \cref{lem:z-powers}(f), as all jumps are at most $(p-3)s_0$. The jumps at the $J+1$ letters up to the pivot are at most $\omega$: at the pivot $\sigma=-1$ makes them at most $\eta\le\omega$, and at the others the far windows end at or below $\omega$. Put $N=s_0+\omega\sum_{a\le J}p^a<\beta(i.\mathrm{back}(t))$ and $A=2b$, so $A\le p^{J+1}\delta$ ($e=1$) and $3\le p^{J+1}$. \Cref{lem:long-gap}(e) gives a point $x$ at the pivot over $p^{\kappa+4\delta}c$ with the standard orders of level $J+1$, raised by $2b$ at $E$ on the lines $u<-N$, and of depth the standard orders raised by $2b$ at $E$ everywhere. Carry it to $i$ by $\varphi^t$ (\cref{lem:orders}(b)): its orders become $0$ below $t$, at $t$ the value $2b$ on the lines $u<-N$ and $0$ on the others, $0$ for $t-r$, so with the depth $r$ the sum is at least $1$. At $a=l$ the shifted cut orders are those of $\mathrm{co}_{0,\eta,l_0}$ at the level $0$, at least $-u$, and $\mathrm{co}_{s,\eta,l}(l,u)\ge-u$; with the depth $-v$ the sum is at least $-(u+v)$; above $l$ likewise. (f) A jump of a side is at most $\eta$ or $\beta+V$. The jumps of $\hat S$ are $0$ and $-(u+u')-1$; as the far windows have opposite signs, $u$ and $u'$ are not both below $-\eta$, and neither is below $-(\beta+V)$; so $-(u+u')-1\le\beta+V+\eta\le\beta+W$. \end{proof} \begin{lemma}[Stops at cuts]\label{lem:stops} Let $P$ pair sides whose jumps lie in $[-\eta,\eta]$ and in opposite far windows $\mp\varepsilon(j)[\beta(j),\beta(j)+V]$, and let $i.\mathrm{back}(l)$ be the nearest cut before $i$. \begin{enumerate}[label=\textup{(\alph*)}] \item If $i.\mathrm{back}(l)$ has sign $\rho$ before $i$, the points have poles of order at most $\eta$, and $x$, $x'$ at $i$ have depth $\mathrm{pd}_{s,\eta,l,\eta}$, and $p^\kappa E^s$ kills the cokernel of $\hat S$ at $i$, then one side has a stop at which the other moves safely from $\varphi^l$ of its point at the cut to its point at $i$. \item If the cut has shift $0$, is followed by a long gap, and $p^\kappa$ kills the cokernel of $\hat S$ there, and the size conditions hold with $l\le2J+1$, then the same conclusion holds for points with the cut orders at these cuts and any depths. \end{enumerate} \end{lemma} \begin{proof} (a) The side whose far window has sign $-\rho$, together with the small windows, has its jumps at most $\eta$ at the $l$ letters (\cref{lem:plain-cuts}(e)): it is down, and the other is up. \Cref{lem:plain-cuts}(d) gives the stop and the safe move. (b) The side $R$ whose far window at the pivot is negative leads. At the letters $a\ne t$ below $l$ the far windows of $R$ are small or of the sign opposite to that at the pivot, so $R$ is up there, and \cref{lem:cut-points}(d) gives a stop $q$ of $R$ with depth $\mathrm{lg}_{l,t,2b}$. The other side $R'$ has, at the pivot, its jumps in $[-\eta,\eta]\cup[\beta,\beta+V]$, so $u\le\beta+V<\eta+2b$, and at the other letters below $l$ it is down. Its move from $\varphi^l$ of its point at the cut to its point at $i$ has orders $\min(\mathrm{co}_{s,\eta,l},\mathrm{sh}^0_l(\mathrm{co}_{0,\eta,l_0}))$, by \cref{lem:orders}(b) and (f); \cref{lem:cut-points}(e) with $r=2b$ gives the rule for $l$ and $0$, which applies because $p^\kappa=p^\kappa E^0$ kills the cokernel of $\hat S$ at the cut (\cref{lem:rule}(c)). One lemma serves both sides by symmetry. \end{proof} \begin{lemma}[Patterns of cuts]\label{lem:cut-patterns} Let $T$ be a property of letters (the \emph{thick} letters), and suppose that no three letters with $T$ follow one another along Frobenius with both gaps between $1$ and $J$. \begin{enumerate}[label=\textup{(\alph*)}] \item If $i.\mathrm{back}(r)$ has $T$ but not thin successors, then $i.\mathrm{back}(r+J+1)$ has thin successors. One of the $2J+1$ letters before $i$ has thin successors. \item If $i.\mathrm{back}(l)$ is the nearest letter before $i$ with thin successors, a thick letter $i.\mathrm{back}(r)$ with $r12((J+1)X+\delta)$. In the second, $d=0$, $K+\lfloor\log_p2(b+W)\rfloor+2W\le X$, $2(b+W)\le4Kp^2$ as $b0$), $\xi$ has $\mathrm{std}_l+\min(1,o)[a=0]$, and being invariant modulo $\mathrm{std}_l+A[a=0]$ its positive exponents at $E$ improve to $A$ (\cref{lem:orders}(d)). In general peel off $\xi_0$, which by this case has the exponent $A\ge o$ wherever $o>0$, and divide by $E$, a unit away from the level $0$; this lowers $N$ and $o$ by one, and induction concludes. (e) First a Taylor coefficient. From $E^s$ killing the cokernel at $i$ there is a point $y$ over $c$ with orders $\varrho_{-s}$ (\cref{lem:rule}(c)). Put $f(E)=E^s\prod_{a0$. Here $e_a(w)+w$ equals $a$ for $\abs w>a$ and $w$ for $\abs w\le a$, $m(u)+u$ equals $u$ for $u\in[-a,0)$ and $0$ otherwise, and $\mathrm{nw}(1,v)=W+2+w+u+2a[\abs v\le\eta]$; so $\Sigma=(e_a(w)+w)+(m(u)+u)+W+2+2a[\abs v\le\eta]$. If $v$ is low, $\Sigma\ge-a-a+W+2+2a>0$. If $v\le-b_i$ and $u$ is low, $w\ge b_i-\eta-1>a$, so $e_a(w)+w=a$ and $\Sigma\ge W+2$; if $v\le-b_i$ and $u\ge b_i$, then $w\ge-W-1$, $m(u)+u=0$ and $\Sigma\ge\min(w,a)+W+2>0$. At the level $0$ the depth $b_i+W+a+\eta$ exceeds the pole, and above the orders are standard, with sum $1$. All points lie over the constants themselves, so the exponent is $0$. \end{proof} \begin{lemma}[Tame charts]\label{lem:tame-charts} A \emph{tame chart} is a Kummer chart with $\Gamma'$ normal, $p\nmid e$, a root $\varpi^e=p$ fixed by $\Gamma'$, and an inertia element $s$ whose powers fix $\Lambda$ and with $s^kz=\xi^kz$, where $\xi\in\Lambda$ is a primitive $e$th root of unity modulo $p$. \begin{enumerate}[label=\textup{(\alph*)}] \item Conjugates $x\mapsto g^{-1}\mu(gx)$ of crystalline forms are crystalline. If $q=\sum q_kX^k$ kills the operator $\beta$ induced by $s$ on $B_{\max}\otimes L$, then $\sum_kq_k\mu_k(x)=0$ for $x$ in the $A_{\inf}$-span of $\mathcal N$, $\mu_k$ the conjugate of $\mu$ by $s^k$; and $\sum_kq_ks^kx\in z\,\mathcal N^A$ for $x\in\mathcal N$. \item If $q$ kills $\beta$ on $Y$, then $q(X-1)$ kills it on the extension $\tilde Y$. \item For a monic $Q$ over $\Z_p$ and $\nu\le e$, at most $\deg Q$ of the $k<\nu$ make $Q(\xi^k)$ a non-unit. \item If $Q(1)=0$, $Q$ kills $s$ on $B_{\max}\otimes\tilde Y$ and $p^tz^{k+1}\in J^r_0(i)$, then $Q(\xi^{k+1})p^tz^k\in J^r_0(i)$. \item If all jumps of $S$ are at most $n$, $Y$ is potentially crystalline and a monic $q$ kills $s$ on $B_{\max}\otimes Y$, $e\le p^m$, $m(\deg q+1)\le\kappa$ and $n+\kappa+2b+6(W+\eta)+r^2(N+1)^2+2$, then $p^{3r^2(N+1)^2+150(\eta+W+1)}$ times any crystalline cocycle of $L$ cups to a coboundary with every crystalline cocycle of a lattice in the class. \end{enumerate} \end{theorem} \begin{proof} (a) Let $S$ be the universal side of $L$ (\cref{lem:universal-side}(a)). \emph{Vanishing.} All jumps of $S$, of the universal side of a lattice $Y$ with jumps in $U$, and of the Tate dual side are at most $b_i+W+\eta\le(p-3)a$ (\cref{lem:universal-side}(c)), so $E^a$ kills the three cokernels (\cref{lem:z-powers}(f)); as the chart is unramified, $d=0$, and \cref{lem:deep-points}(f) gives the exponent $H=0$: every crystalline cocycle of $L$ is orthogonal, so the defect vanishes. The two cases pass from the embeddings to the letters by (c) of \cref{lem:universal-side}. \emph{Few low jumps.} \Cref{lem:few-low-jumps}(f), (g) give a $\Z_p$-submodule $V$ of $Z_f(L)$ that satisfies the cup condition with exponent $0$, so lies in the orthogonal, of colength at most $11\sum_i(n_i(a+1)+r_i(W+1))$. By \cref{lem:universal-side}(b), $n_i\le f\,m\,d_i$ and $r_i\le f\rank_OL\,d_i$ with $d_i$ the number of embeddings over $i$, and $\sum_id_i\le\rank_{\Z_p}O$; passing from lengths over $\Z_p$ to lengths over $O$ divides by the residue degree of $O$, which gives $11f(m(a+1)+\rank_OL\,(W+1))$ times the length of $O/p$. (b), (c) Apply \cref{lem:cut-scheme}(c), with $M$ for $W$, and \cref{lem:cut-scheme}(b) to the universal sides of $L$ and of the lattices with jumps in $U$; \cref{lem:universal-side}(a) turns the scaled cup coboundaries into orthogonality. (d) By \cref{lem:tame-charts}(f) there is a tame chart $d$ with $e=\operatorname{lcm}(p^i-1)_{i\le r}\le p^{r^2}$, as $r\le r^2(N+1)^2