Structured proof · Unit 150
lemma Data.exists_isFrobPacking
Data.nominalWeight ), there are i, y : places \to \mathbb{N} with \operatorname{IsFrobPacking}(p, n, i, y) such that, with L = \operatorname{forcedPart}(D, p) + \sum_s v_p(\operatorname{depthLossInt}(D, n_s)), either (\chi_K(p) = -1, i \equiv 1 \text{ and } \sum_s (v_p(n_s!) - y_s) \le L) or \sum_s ((1/(p-1) - \rho_p)\cdot n_s + 4\cdot b_2 - y_s) \le L (sums over all infinite places s, real numbers; \rho_p = \operatorname{nonsplitWeight}(P.d, p), b_2 = D.b₂ ). The disjunction is the body of the let L := … of the statement, which goes on to line 38 (the census cut it at line 36).depthLossInt give the first alternative. If p \le k: for a place s such that some odd e < s (the exponent of the data) with p \ne d has s and (-p)^e\cdot s thick, that e is unique (the three-term condition of the data); take i_s = e and y_s = \lfloor n_s/p^e\rfloor; for every other place, thick places without such a partner included, y_s = 0. Comparing termwise the series of hasSum_live_inv_pow with the local ask, the chosen term and a geometric series gives the second alternative.(Lines 36–38 end the statement: the line census takes the
:=oflet L :=for the start of the value, so the rest of the statement is owned here.)p \ge 13 (\chi_K(p) \ne 1), p is prime (as an instance), and x^{42} + 1 \le a/x_1 (size bounds of the data).
hl: p = d (\chi_K(p) = 0) or \chi_K(p) = -1; v: a \mid b \Longrightarrow v_p(a) \le v_p(b); k > 0.Uses
chiK_casesunit 106Unfold
IsFrobPacking,forcedPart,localAskanddepthLossInt; sums of sums are merged.c := \lceil 60b/k\rceil.
Legendre recursion: v_p(m!) = \lfloor m/p\rfloor + v_p(\lfloor m/p\rfloor !).
Case split: k < p, or p \le k.
Case k < p.
For every s: \lfloor(n_s - c)/p\rfloor \le c, from n_s \le w(s) + x^{42} and p > k.
Lean states
(n s - c) / p ≤ cTake i \equiv 1 and y_s = \min(n_{(-p)\cdot s}, \lfloor(n_s \mathbin{\dot-} c)/p\rfloor) (\mathbin{\dot-} truncated subtraction); the first alternative is claimed: \chi_K(p) = -1, i \equiv 1 and the termwise bound; the packing remains.
Packing: (1) i_s = 1 is odd and \chi_K(p) = -1; (2) is vacuous (j < 1 is even); (3) the outgoing count satisfies p\cdot y_t \le p\cdot \lfloor(n_t \mathbin{\dot-} c)/p\rfloor \le n_t \mathbin{\dot-} c, and the unique \sigma with (-p)\cdot \sigma = t has incoming count y_\sigma = \min(n_t, \lfloor(n_\sigma \mathbin{\dot-} c)/p\rfloor) \le \min(n_t, c) (its defining minimum and step 8.2). If n_t \ge c the sum is \le(n_t - c) + c = n_t; if n_t < c the outgoing count vanishes (n_t \mathbin{\dot-} c = 0) and the sum is y_\sigma \le n_t.
Usesstep 8.2
Termwise bound, with l = n_s \mathbin{\dot-} c: n_s! divides (l + c)! (n_s \le l + c) and (l + c)! = l!\cdot(l + 1)\cdots(l + c) (
factorial_mul_ascFactorial), so v_p(n_s!) \le v_p(l!) + v_p((l + 1)\cdots(l + c)) (equality holds when n_s \ge c, where l + c = n_s; it can also hold when n_s < c, and only the inequality is used); the second is \le v_p(\operatorname{depthLossInt}(n_s)); and v_p(l!) = \lfloor l/p\rfloor + v_p(\lfloor l/p\rfloor !), whose factorial divides the ascending factorial (\lfloor l/p\rfloor \le c); the remaining \lfloor l/p\rfloor - y_s is bounded by the e = 1 term of the local ask at w(s).Non-negativity side conditions.
The e = 1 term: \lfloor(n_s - c)/p\rfloor - n_{(-p)s} \le((n_s - c)/p - w((-p)s))^+, using the next fact.
n_s - c \le w(s) (real numbers), from n_s \le w(s) + x^{42} and x^{42} \le c.
Lean states
↑(n s - c) ≤ D.nominalWeight s
Case p \le k.
hu: for odd e, the place named by -p^e is the e-th power of the place named by -p.N(s): for 0 < i < j with j bounded as required by the three-term condition of the data (j \le 324\cdot s, \text{ from } p \le k and the size bounds), the places s, (-p)^i\cdot s, (-p)^j\cdot s are not all thick:
Data.would give (-p)^i \equiv 1 in the 2-part of (\mathbb{Z}/N_1)^\times, whichthree_term two_pow_le_of_pow_eq_oneexcludes for such i.Q(s, e): e < s (the exponent of the data), e odd, p \ne d, s thick and (-p)^e\cdot s thick.
For each s choose i_s, y_s: if some e has Q(s, e), it is unique (by N(s)); take i_s = e and y_s = \lfloor n_s/p^e\rfloor; otherwise y_s = 0 (also at a thick place s that has no such partner). So a positive y_s is used only when an admissible exponent exists: p^{i_s}y_s \le n_s, y_s \ne 0 \Longrightarrow Q(s, i_s), and Q(s, e) \Longrightarrow e = i_s \wedge y_s = \lfloor n_s/p^e\rfloor.
Usesstep 9.2
Claim i, y with the second alternative. Packing (1) follows from Q (odd, p \ne d so \chi_K(p) = -1); (2) is shown next; (3): if no \sigma with y_\sigma \ne 0 has partner t the sum vanishes and p^{i_t}y_t \le n_t; otherwise see below; and the termwise bound of the second alternative remains.
(3) when some s with y_s \ne 0 has partner t: the sum \sum_{\sigma \colon pr \sigma = t} y_\sigma has the single term y_s, and p^{i_t}\cdot y_t + y_s \le n_t follows with the next fact (y_t = 0).
y_t = 0 (t = (-p)^{i_s}\cdot s cannot itself start a pair: N(s) with exponents i_s and i_t + i_s).
Lean states
y t = 0Usesstep 9.2
Then y_s \le n_s/p^{i_s} \le (weights) \le n_t, comparing the nominal weights of s and t (both thick or not).
hθ: for e \le s (the exponent): (b_2 + a/x_1)\cdot 2 \le c/p/2/2^e (size bounds, p \le k).Lean states
(D.b₂ + D.a / D.x₁) * 2 ≤ c / p / 2 / 2 ^ eCompare, term by term in e, the series \sum_e [e \ge 1, e odd or p = d]\cdot n_s/p^e (sum (2/(1-\chi))\cdot n_s\cdot(1/(p-1) - \rho_p),
hasSum_live_inv_pow) with the sum of the local-ask series at w(s), the single term y_s at e = i_s, and the geometric series \sum_e (c/p)\cdot 2^{-e}.Uses
hasSum_live_inv_powunit 150,Data.unit 150summable_localAsk The termwise comparison at a given e: trivial when the indicator is 0.
x/p^e \le x for x \ge 0.
Case split: e \ge s (the exponent of the data) or e < s.
If e \ge s: n_s/p^e \le(w(s) + x^{42})/p^e is bounded by the geometric term (p \ge 4, size bounds).
If e < s: the term is at most the local-ask term at w(s), plus y_s when e = i_s, plus the geometric term: by the choice of i, y (Q, H), the class of thick places (
placeClass_of_thick) andne_d_of_placeClass_eq.