Structured proof · Unit 138
lemma exists_isLaw
hf); natural numbers r and e with r > 0 (hr); a finite index type I and a natural number k with k \le |I| (hI); a family x : I \to FrobeniusDatum E of Frobenius data x_i = (w_i, A_i, s_i) (w_i a finite place of E of prime norm, A_i a place of \Omega over w_i, s_i \in \operatorname{Gal}(\Omega /E) with s_i^{-1} an arithmetic Frobenius at A_i) such that IsSplitPlace r x_i holds for every i (hx: w_i does not lie above \ell and cycCharMod \Omega (\ell ^r) s_i = 1) and the places primeBelowPlus w_i of E^{+} are pairwise distinct (i); and elements y_0, \ldots , y_{k-1} \in \operatorname{Gal}(\Omega /E) (y): there are a function z : \operatorname{Gal}(\Omega /E) \to \mathbb{Z}/\ell ^r and a finite set T of finite places of E^{+} such that IsLaw r e \{s_i : i \in I\} T z holds (\Phi the set of the Frobenius elements s_i), z(y_j) = 0 for every j < k, and there is g \in \operatorname{Gal}(\Omega /E) with z(g) a unit of \mathbb{Z}/\ell ^r and cycCharMod \Omega (\ell ^r) g = 1.cycChar \Omega \ell \circ p of \operatorname{Gal}(\Omega /E^{+}), trivial on complex conjugations, and M = \mathbb{Z}/\ell ^r with the action \kappa ^{-e} \bmod \ell ^r. The Greenberg–Wiles relations at split primes (exists_split_primes_relations) for M, unramified outside S = (places above \ell) \cup (places below the w_i), with local conditions trivial off \ell and on \ker \kappa above \ell, give split places v_i with tame generators \gamma _i and an equivariant extension of every relation. A count of the \ell-torsion of the Selmer group (the Greenberg–Wiles bound for M[\ell ] with two extra Chebotarev primes, a procyclic generator of \kappa , k \le \#(S off \ell) and 4 \le \#\infty) gives \#Y[\ell ]\cdot \ell ^{k+1} \le \ell ^{|\iota |}, so a primitive relation n with a unit entry and zeros at the y_j exists (exists_primitive_relation). Then z(g) = n_{\pi (\operatorname{res} g^{-1})} is a law: local constancy, the conjugation rule and oddness come from the equivariance of the extended relation; the reciprocity comes from the relation at the new split places applied to the cocycle 2\cdot f\circ c\circ p made from an even class c. Notation of the proof: E^{+} the maximal real subfield, \operatorname{res} : \operatorname{Gal}(\Omega /E) \to \operatorname{Gal}(\Omega /E^{+}) the restriction, c_0 the chosen complex conjugation, p the lift of step 5 (\operatorname{res}(p(\sigma )) = \sigma on the image of \operatorname{res}, \sigma \cdot c_0 off it), \kappa = cycChar \Omega \ell \circ p, \rho = \kappa \bmod \ell ^r, V = \operatorname{res}(\operatorname{Gal}(\Omega /E)) \cap \ker cycCharMod \Omega (\ell ^r), M = \mathbb{Z}/\ell ^r with g acting by \rho (g)^{-e}; in the count B: W = M[\ell ], K_\psi = \ker \psi (O in the source), \gamma _0 a procyclic generator (\gamma in the source).Let E^{+} (K in the source) be the maximal real subfield of E and \operatorname{res} : \operatorname{Gal}(\Omega /E) \to \operatorname{Gal}(\Omega /E^{+}) the restriction of scalars, an injective homomorphism (an automorphism of \Omega over E is one over E^{+}).
Let c_0 \in \operatorname{Gal}(\Omega /E^{+}) be the chosen complex conjugation
cmConjof \Omega, which fixes E^{+} pointwise: an element x of E^{+} has \overline{x} = x, andcmConjacts on E as complex conjugation.Uses
cmConjunit 92,mem_maximalRealSubfield_iff_star_equnit 123,cmConj_algebraMapunit 92\operatorname{res} is a closed embedding (inducing, ce, and injective, ij) whose image \operatorname{res}(\operatorname{Gal}(\Omega /E)) is the subgroup fixing E, of index [E : E^{+}] = 2 in \operatorname{Gal}(\Omega /E^{+}) (ix), E being a quadratic extension of E^{+} (E is CM); c_0 is a complex conjugation (
cs); and the image of \operatorname{res} is open (op), E/E^{+} being finite.Uses
isClosedEmbedding_galois_restrictunit 92,isComplexConj_cmConjunit 92,isOpenEmbedding_galois_restrictunit 92,NumberField.IsCMField. is_quadratic No complex conjugation c of \operatorname{Gal}(\Omega /E^{+}) lies in the image of \operatorname{res} (N): c = \operatorname{res}(s) would make s a complex conjugation in \operatorname{Gal}(\Omega /E), impossible since E is totally complex.
Lean states
c ∉ res.range | ⟨s, e⟩ => (e ▸ h).false_of_isTotallyComplex (c := s)Uses
IsComplexConj.unit 88,false_of_isTotallyComplex IsComplexConjunit 92For every \sigma \in \operatorname{Gal}(\Omega /E^{+}) choose p(\sigma ) \in \operatorname{Gal}(\Omega /E) with \operatorname{res}(p(\sigma )) = \sigma if \sigma lies in the image of \operatorname{res} and \operatorname{res}(p(\sigma )) = \sigma \cdot c_0 otherwise (o).
p is continuous (
cp): \operatorname{res} is inducing, and \operatorname{res}\circ p is \sigma \mapsto \sigma on the image of \operatorname{res} and \sigma \mapsto \sigma c_0 off it, continuous because the image is open and closed (its frontier is empty); the image of \operatorname{res} is a normal subgroup, having index 2; and p(\operatorname{res}(g)) = g for every g \in \operatorname{Gal}(\Omega /E) (p1), \operatorname{res} being injective.Usesstep 3, step 5,
Subgroup.,normal_of_index_eq_two Topology.,IsInducing. continuous_iff Continuous.if For g, h \in \operatorname{Gal}(\Omega /E^{+}): p(gh) = p(g)p(h) or p(gh) = p(g)\cdot p(h)^c (\mu ). Since \operatorname{res} is injective it suffices to compare images under \operatorname{res}, using that \operatorname{res} is a homomorphism and that a product lies in the index-2 subgroup \operatorname{res}(\operatorname{Gal}(\Omega /E)) exactly when both or neither factor does.
Lean states
p (g * h) = p g * p h ∨ p (g * h) = p g * conjGal (p h)In each of the four cases of membership of g and h in the image, \operatorname{res}(p(\cdot )) \in \{\cdot , \cdot c_0\} and c_0^{2} = 1 (c_0 is a complex conjugation) give one of the two alternatives.
Let \mathcal{W} be a set of finite places of E^{+} (W in the source). If g \in \operatorname{Gal}(\Omega /E^{+}) lies in the inertia group of a place A of \Omega over a place in \mathcal{W}, then p(g) lies in the inertia group of A in \operatorname{Gal}(\Omega /E), A lying over a place of E whose place below in E^{+} is in \mathcal{W} (u).
Lean states
g ∈ inertiaAbove W → p g ∈ inertiaAbove (primeBelowPlus ⁻¹' W)A lies over a place w of E with
primeBelowPlusw the given place of E^{+}. If g lies in the image of \operatorname{res}, then \operatorname{res}(p(g)) = g, so p(g) lies in the inertia group of A in \operatorname{Gal}(\Omega /E) and w is as required.The other case cannot occur: if g is not in the image of \operatorname{res} then g acts on E as complex conjugation (\operatorname{res}(p(g)) = g\cdot c_0). As E is stably unramified there is y \in O_E with y - \overline{y} a unit; g lies in the inertia group of A, so g(y) - y = \overline{y} - y lies in the maximal ideal of A, hence in w, contradicting that y - \overline{y} is a unit.
Uses
StablyUnram.unit 123,exists_isUnit_sub_star algebraMap_ringOfIntegers_memunit 92, step 2, step 5
\kappa =
cycChar\Omega \ell \circ p : \operatorname{Gal}(\Omega /E^{+}) \to \mathbb{Z}_\ell ^\times is a homomorphism: by step 7, \kappa (gh) iscycChar\Omega \ell (p g)\cdotcycChar\Omega \ell (p h) orcycChar\Omega \ell (p g)\cdotcycChar\Omega \ell (p(h)^c), andcycChar\Omega \ell (s^c) =cycChar\Omega \ell (s).\kappa (g) = 1 for every g in the inertia above a place of E^{+} not dividing \ell: by step 8, p(g) lies in the inertia above a place of E not dividing \ell, where
cycChar\Omega \ell is trivial.Lean states
κ g = 1Usesstep 8, step 9,
cycChar_eq_one_of_mem_inertiaAboveunit 92V = \operatorname{res}(\operatorname{Gal}(\Omega /E)) \cap \ker(
cycCharMod\Omega (\ell ^r)) is an open normal subgroup of \operatorname{Gal}(\Omega /E^{+}): the image of \operatorname{res} is open (op) and normal, and the kernel ofcycCharMod\Omega (\ell ^r) is open.V \subseteq \ker \rho: for s \in \operatorname{Gal}(\Omega /E) with \operatorname{res}(s) in the kernel of
cycCharMod\Omega (\ell ^r), \rho (\operatorname{res} s) =cycChar\Omega \ell (p(\operatorname{res} s)) \bmod \ell ^r =cycChar\Omega \ell (s) \bmod \ell ^r =cycCharMod\Omega (\ell ^r) s = 1 (p1).Lean states
V ≤ ρ.ker | _, ⟨⟨s, rfl⟩, h⟩ =>Usesstep 6, step 11, step 12,
cycCharMod_prime_pow_equnit 92For every Frobenius datum x' = (w', A', s') of E: \operatorname{res}(s^{\prime -1}) is an arithmetic Frobenius at A' for the place
primeBelowPlusw' of E^{+} (D): the norm of w' is a prime q and equals the norm ofprimeBelowPlusw' raised to the residue degree, so the residue degree is 1 and both residue fields have q elements.Lean states
IsFrob x.valRing (primeBelowPlus x.w).q (res x.frob⁻¹)Uses
FrobeniusDatumunit 3,IsFrobunit 92,primeBelowPlusunit 138,Ideal.,absNorm_pow_inertiaDeg Nat.Prime. pow_eq_iff Let S be the finite set of the finite places of E^{+} that lie above \ell or below one of the w_i (
hSdescribes its members); \ell \mid \ell ^r as r > 0 (hm); 1 \le \ell (l); and \ker \rho is open, as it contains the open subgroup V (named w in the source).Usesstep 12, step 14,
placesDividingunit 92,primeBelowPlusunit 138,Set.,Finite. exists_finset dvd_pow_self,Subgroup.isOpen_mono For every finite place u of E^{+} choose a place P(u) of \Omega over u (
hP) such that, when u \in S does not lie above \ell, there is an index i (\eta ) for which \operatorname{res}(s_i^{-1}) is an arithmetic Frobenius at P(u) for u (\Phi ).Such a place exists: if u =
primeBelowPlusw_i for some i, take A_i, which lies over u, with the Frobenius \operatorname{res}(s_i^{-1}) of step 15; otherwise take any place over u, the condition being empty because a place of S below no w_i lies above \ell.Lean states
∃ A, IsPlaceOver A u ∧ (u ∈ S → u ∉ placesDividing _ ℓ → ∃ i, IsFrob A u.q (res (x i).frob⁻¹))
Let M be the discrete \operatorname{Gal}(\Omega /E^{+})-module \mathbb{Z}/\ell ^r on which g acts by the scalar \rho (g)^{-e} (
charRep(\mathbb{Z}/\ell ^r) (\rho ^e)^{-1}); the action is continuous because \ker \rho is open (step 16).Uses
charRepunit 95,DiscreteModuleunit 95,Continuous.unit 29, step 11, step 16of_isOpen_ker Let B be a discrete module on which every element acting trivially on A acts trivially (r), and u \in S. Every coboundary of B restricted to the decomposition group D_u of P(u) vanishes at every g \in D_u with (u above \ell \Rightarrow \kappa (g) = 1): if u lies above \ell then \kappa (g) = 1, so g acts trivially on A and on B; otherwise u is below some w_i, the inertia group of P(u) lies in \ker \rho (\kappa is trivial on inertia off \ell, step 10) and so does its Frobenius \operatorname{res}(s_i^{-1}) (it lies in V, as
cycCharMod\Omega (\ell ^r) s_i = 1 byhx), hence D_u \subseteq \ker \rho, and D_u acts trivially on A and on B.Lean states
(d0 (B.restrictTo (decompGroup _ (P u))).ρ).range ≤ .pi {g | ↑ℓ ∈ u.1 → κ g = 1} ⊥Uses
d0unit 95,DiscreteModule.unit 95,restrictTo IsPlaceOver.unit 92, step 10, step 13, step 14, step 16, step 17, step 20, step 21decompGroup_le Complex conjugations c \in \operatorname{Gal}(\Omega /E^{+}) act trivially on A: c is not in the image of \operatorname{res} (step 4), so \operatorname{res}(p(c)) = c\cdot c_0 and \kappa (c) =
cycChar\Omega \ell (c\cdot c_0) = (-1)\cdot (-1) = 1.Usesstep 4, step 5, step 21,
IsComplexConj.unit 88cycChar_eq_neg_one Apply the Greenberg–Wiles relations at split primes to A over E^{+}: A is unramified outside S (step 23), P(u) lies over u, the local conditions L_u at u \in S are the cochains on D_u vanishing on {g \in D_u : u above \ell \Rightarrow \kappa (g) = 1}, which contain the coboundaries (step 22), complex conjugations act trivially (step 24), the target group of the relations is A, and the open normal subgroup V fixes A (steps 14, 20), fixes the \ell ^r-th roots of unity and contains no complex conjugation (step 4).
Uses
selmerZ1.unit 94, step 4, step 12, step 14, step 16, step 17, step 20, step 22, step 23, step 24exists_split_primes_relations Choose what step 25 provides: a level q \ge 1 divisible by every u \in S (
hT); a finite index set \iota; split places s = (v_i)_{i\in \iota } for (\ell ^r, q, V) — distinct places not dividing q, with places over them and Frobenii \varphi _i \in V, inertia off q inside V; tame generators \gamma _i; a locally constant (hπ) \pi : \operatorname{Gal}(\Omega /E^{+}) \to \iota; a finite set T \supseteq S of places (hST); a lower bound for the number of relations (not used below); the Frobenii detect roots (d: an element of \Omega ^\times whose \ell ^r-th power is a q-unit fixed by V and which every \varphi _i fixes is fixed by V); and (H) for every family of additive maps n_i : A \to A (i \in \iota ) with \sum _i n_i(x(\gamma _i)) = 0 for all x \in Y(\{v_i\}): n_{\pi (\varphi _i)} = n_i for all i; n_{\pi (a\cdot g b g^{-1})}(m) = n_{\pi (a)}(m) + n_{\pi (b)}(cycCharMod\Omega (\ell ^r) g\cdot g^{-1}\cdot m) for all g \in \operatorname{Gal}(\Omega /E^{+}), a, b \in V, m \in A; and \sum _j n_{\pi (\varphi '_j)}(x(\delta _j)) = 0 for every finite family of distinct places v'_j \notin T with places C_j over them, tame generators \delta _j for \ell ^r at C_j and Frobenii \varphi '_j \in V at C_j, and every x \in Y(\{v'_j\}).Usesstep 25, step 26,
SplitPlacesunit 94,SplitPlaces.unit 94,FrobeniiDetectRoots IsTameGeneratorForunit 94\#Z \cdot \ell ^{k+1} \le \ell ^{|\iota |} (B).
Lean states
.card Z * ℓ ^ (k + 1) ≤ ℓ ^ Fintype.card ιLet W = A[\ell ], the kernel of multiplication by \ell on A, a Galois-stable submodule, as a discrete module.
W is finite with exactly \ell elements: A = M = \mathbb{Z}/\ell ^r is cyclic of order \ell ^r and \ell \mid \ell ^r, so its \ell-torsion has \gcd (\ell , \ell ^r) = \ell elements.
Lean states
Finite W ∧ .card W = ℓUsesstep 16, step 19, step 29.1,
IsAddCyclic.,card_nsmulAddMonoidHom_ker Nat.gcd_eq_right Let \psi : \operatorname{Gal}(\Omega /E^{+}) \to \operatorname{Aut}(W) \times (\mathbb{Z}/\ell )^\times be the action on W together with
cycCharMod\Omega \ell.Uses
cycCharModunit 92,DistribMulAction.,toAddAut MonoidHom.prod V \subseteq \ker \psi: V acts trivially on A (steps 14, 20), hence on W, and fixes the \ell-th roots of unity since \ell \mid \ell ^r.
Lean states
V ≤ ψ.ker | _, h => Prod.ext (by ext; exact congr($(r (t (v h))) _)) (cycCharMod_eq_one_of_dvd hm h.2)Usesstep 14, step 20, step 29.3, step 29.4,
cycCharMod_eq_one_of_dvdunit 92For every closed subgroup D of \operatorname{Gal}(\Omega /E^{+}), \kappa restricted to D has procyclic image: \kappa is continuous (p is continuous, step 6, and so is
cycChar\Omega \ell) and 4 divides \kappa (g) - 1 for every g (\kappa (g) =cycChar\Omega \ell (p g)); so there is \gamma \in D such that every open subgroup of D containing \gamma and the kernel of \kappa on D is all of D.Uses
exists_procyclic_generatorunit 106,continuous_cycCharunit 92,four_dvd_cycChar_sub_oneunit 138, step 6, step 9By Chebotarev, for every g \in K_\psi and every finite place v_0 of E^{+} there is a place v(g, v_0) of E^{+} of prime norm, different from v_0, not dividing q and not one of the v_i, with a place of \Omega over it and an arithmetic Frobenius \varphi (g, v_0) there such that g\cdot \varphi (g, v_0) \in V (the set \{x : g\cdot x \in V\} is open and contains g^{-1}), all Frobenii at that place lying in this set.
Uses
chebotarevunit 3,finite_natCast_memunit 123, step 12, step 27The avoidance conditions read: v(t(b)) differs from the second component of t(b), does not divide q and is not one of the v_i.
s' = the places v_i together with the two new places v(t(true)), v(t(false)), with their Frobenii, is a family of split places for (\ell , q, K_\psi ): K_\psi fixes the \ell-th roots of unity (second component of \psi), \ell \mid \ell ^r \mid q, the places are distinct and prime to q (step 29.11), the old Frobenii lie in V \subseteq K_\psi and the new ones in K_\psi (the first component of t(b) and its product with the Frobenius lie in K_\psi), inertia groups off q lie in V \subseteq K_\psi, and the condition on class groups of fields fixed by K_\psi follows from that for V.
Uses
SplitPlacesunit 94, step 27, step 29.5, step 29.9, step 29.10, step 29.11W is finite, killed by \ell (it has \ell elements), fixed by K_\psi (the first component of \psi), and the action of 1 minus 0, the identity of W, is injective:
W.\ell K_\psi 1 0.FiniteKilledFixedInj Lean states
W.FiniteKilledFixedInj ℓ O 1 0Uses
DiscreteModule.unit 4, step 29.2, step 29.6FiniteKilledFixedInj The Greenberg–Wiles bound for W over E^{+} (
selmerZ1.): W is unramified outside S (steps 23, 29.3), P(u) lies over u, the local conditions L_u (restricted to W) contain the coboundaries (step 22 with B = W), complex conjugations act trivially (step 24), with the split places s':card_mul_pow_le Uses
selmerZ1.unit 94, step 22, step 23, step 24, step 29.3, step 29.12card_mul_pow_le W has few trivialised cocycles — at most \#W^{|\iota |+2+1} (
SplitPlaces., first part) — by step 29.13 and Higman's criterion for K_\psi: \ell is prime to the index of K_\psi = \ker \psi, which divides \#(\operatorname{Aut}(W) \times (\mathbb{Z}/\ell )^\times ) = (\ell - 1)^{2}, W being cyclic of prime order \ell (an automorphism group of order \varphi (\ell ) = \ell - 1); —card_trivialised_of_isHigmanProjective Uses
SplitPlaces.unit 94,card_trivialised_of_isHigmanProjective DiscreteModule.unit 4, step 29.13, step 29.2, step 29.4,FiniteKilledFixedInj. isHigmanProjective_of_coprime Nat.,totient_prime IsCyclic.,card_mulAut isCyclic_of_prime_card,Nat.Coprime. of_dvd_right — given the root condition: every y \in \Omega ^\times (written additively) such that \ell \cdot y is a q-unit fixed by K_\psi and every Frobenius of s' fixes y is itself fixed by K_\psi.
Let F be the stabiliser of y in \operatorname{Gal}(\Omega /E^{+}).
V \subseteq F: \ell ^r\cdot y = \ell ^{r-1}\cdot (\ell \cdot y) is a q-unit fixed by V \subseteq K_\psi, and the old Frobenii \varphi _i fix y, so V fixes y (the Frobenii of s detect roots, d).
Lean states
V ≤ FUsesstep 27, step 29.5, step 29.14.2.1
For b \in {true, false}, the first component of t(b) lies in F: its product with the new Frobenius \varphi (t(b)) lies in V \subseteq F, and \varphi (t(b)) fixes y.
Usesstep 29.14.2.2, step 29.9
F \cap K_\psi = K_\psi by the choice of \gamma _0 (step 29.8): F \cap K_\psi is open (it contains V), contains \gamma _0 (step 29.14.2.3 with b = true), and contains every g \in K_\psi with \kappa (g) = 1 — if g is in the image of \operatorname{res} then g \in V \subseteq F (
cycCharMod\Omega (\ell ^r) is 1 at p(g)); otherwise g\cdot c_0 \in V, so c_0 \in K_\psi is the first component of t(false), lies in F, and g \in F. Hence K_\psi fixes y.Usesstep 29.8, step 29.14.2.2, step 29.14.2.3, step 13, step 5
Hence \#Y_W(places of s') \cdot \#W^{\#S + \#\infty (E^{+})} \le \#W^{|\iota |+3} \cdot \prod _{u\in S} \#(L_u \cap Z^{1}(D_u, W)), every u \in S dividing q (
hT). Moreover \#Z \le \#Y_W(places of s'): an \ell-torsion cocycle with values in A takes values in W and stays a cocycle unramified outside S \cup \{v_i\}, in the local conditions and zero on complex conjugations, and this map is injective. So \#Z \cdot \#W^{\#S + \#\infty (E^{+})} is at most the same right side.Usesstep 27, step 28,
selmerZ1.unit 94,finite_unramified_cocycles Nat.card_le_card_of_injective
Bound the right side: each factor \#(L_u \cap Z^{1}(D_u, W)) is at most 1 if u does not lie above \ell and at most \#W otherwise (steps 29.18, 29.19); \#W = \ell; \#\infty (E^{+}) = \#\infty (E) \ge 4 (
hf); \#S is the number of places of S off \ell plus the number above \ell; and k \le |I| \le \#(places of S off \ell), as i \mapstoprimeBelowPlusw_i is injective (i) into the places of S off \ell (step 29.17).Usesstep 16, step 29.2, step 29.14,
Finset.,prod_le_prod' NumberField.,IsCMField. card_infinitePlace_eq_card_infinitePlace Finset.,card_filter_add_card_filter_not Finset.card_le_card_of_injOn So \#Z \cdot \ell ^{k + 4 + \#(S \text\{ above \} \ell )} \le \ell ^{|\iota | + 3 + \#(S \text\{ above \} \ell )}, i.e. \#Z \cdot \ell ^{k+1} \le \ell ^{|\iota |}.
Usesstep 29.15
For u \in S not above \ell , L_u asks for vanishing on all of D_u, so L_u \cap Z^{1}(D_u, W) = 0 and the factor is 1.
For u \in S above \ell , \#(L_u \cap Z^{1}(D_u, W)) \le \#W: take \gamma _u \in D_u as in step 29.7 for the closed subgroup D_u. The map x \mapsto x(\gamma _u) is injective on L_u \cap Z^{1}: if x(\gamma _u) = 0, the subgroup \{g : x(g) = 0\} of D_u (x is a cocycle), open since x is continuous with discrete values, contains \gamma _u and the kernel of \kappa on D_u (x \in L_u vanishes where \kappa = 1), so it is D_u and x = 0.
Usesstep 29.7,
cocycleKerunit 92
Y(\{v_i\}) is finite (it consists of cocycles of the finite module M unramified outside a finite set) and \#Y(\{v_i\})[\ell ]\cdot \ell ^{k+1} \le \ell ^{|\iota |} (step 29). By
exists_primitive_relation, applied to x \mapsto (x(\gamma _i))_{i\in \iota } : Y(\{v_i\}) \to (\mathbb{Z}/\ell ^r)^\iota and to the k indices \pi (\operatorname{res}(y_j^{-1})), there is n : \iota \to \mathbb{Z}/\ell ^r with \sum _i x(\gamma _i)\cdot n_i = 0 for every x \in Y(\{v_i\}) (a), n_{\pi (\operatorname{res}(y_j^{-1}))} = 0 for every j < k (n2), and n_{j_0} a unit for some j_0 \in \iota (\beta ).Uses
exists_primitive_relationunit 95,selmerZ1.unit 94, step 27, step 29, step 30finite_unramified_cocycles Take z(g) = n_{\pi (\operatorname{res}(g^{-1}))} for g \in \operatorname{Gal}(\Omega /E) and the set T of step 27; it remains to check
IsLawr e \{s_i\} T z, the zeros at the y_j and a unit value:map_conj_mul: for g, a, b \in \operatorname{Gal}(\Omega /E) withcycCharMod\Omega (\ell ^r) a =cycCharMod\Omega (\ell ^r) b = 1, the elements \operatorname{res}(b^{-1}), \operatorname{res}(a^{-1}) lie in V (step 13), and the conjugation rule (ad) at \operatorname{res}(g) and m = 1 gives z(g a g^{-1} b) = n_{\pi (\operatorname{res}(b^{-1})\cdot \operatorname{res}(g)\cdot \operatorname{res}(a^{-1})\cdot \operatorname{res}(g)^{-1})} = z(b) +cycCharMod\Omega (\ell ^r) g\cdot \rho (\operatorname{res} g)^e\cdot z(a) = (cycCharMod\Omega (\ell ^r) g)^{e+1}\cdot z(a) + z(b), because \rho (\operatorname{res} g) =cycChar\Omega \ell (g) \bmod \ell ^r =cycCharMod\Omega (\ell ^r) g (p(\operatorname{res} g) = g).Usesstep 32, step 13, step 6, step 11, step 18,
cycCharMod_prime_pow_equnit 92odd: n_{\pi (1)} = 0 (the conjugation rule at g = a = b = 1); the rule at c_0 with a' = 1 and b' = \operatorname{res}(b^{-1}) \in V gives z(b^c) = n_{\pi (c_0\cdot \operatorname{res}(b^{-1})\cdot c_0^{-1})} = n_{\pi (1)} +
cycCharMod\Omega (\ell ^r) c_0\cdot z(b) = -z(b): two characters enter:cycCharMod\Omega (\ell ^r) c_0 = -1, the cyclotomic character of the complex conjugation c_0 (IsComplexConj.), gives the sign; and c_0 acts trivially on M (step 24), because M is acted on through \kappa =cycCharMod_eq_neg_one cycChar\Omega \ell \circ p and p(c_0) = 1 — c_0 lies outside the index-two subgroup \operatorname{res}(\operatorname{Gal}(\Omega /E)) and c_0^{2} = 1, so \operatorname{res}(p(c_0)) = c_0\cdot c_0 = 1 (step 5) —; so the sign is -1 whatever e is. Moreover c_0^{-1} = c_0 and c_0\cdot \operatorname{res}(b^{-1})\cdot c_0^{-1} = \operatorname{res}((b^c)^{-1}).reciprocity: let J be finite and x' : J \to
FrobeniusDatumE (named w in the source), x'_i = (w'_i, A'_i, s'_i), with the placesprimeBelowPlusw'_i pairwise distinct (named i in the source), each x'_i split for r withprimeBelowPlusw'_i \notin T (h); let j \in J with z(s'_i) = 0 for i \ne j, O a coefficient ring, c \inevenClassesO \{w'_i\} r e vanishing on the Frobenii s_i of the data x (\varphi ), and n_0 \in \mathbb{N} with n_0 = 2\cdot z(s'_j)\cdot y' in \mathbb{Z}/\ell ^r (y', b). Byeq_zero_of_mem_evenClassesit suffices that f(n_0\cdot c(\tau '_j)) = 0 for every additive f : (O/\ell ^r O)^1 \to \mathbb{Z}/\ell ^r such that f\circ c is a continuous cocycle (l) for (cycCharMod\Omega (\ell ^r))^{-e} (fs); \tau '_j is the chosen tame generator at A'_j over w'_j.From c \in
evenClassesO \{w'_i\} r e: c is a cocycle forcycChar\Omega \ell ^{-e} (h1), vanishes on the inertia above the places of E other than those above \ell and the w'_i and their conjugates (h2), c(g^c) = c(g) (h3), and c = 0 onshaLocalSet\ell E 1 (h4); each A'_i lies overprimeBelowPlusw'_i (F).Uses
mem_selmerModule_iffunit 94,IsPlaceOver.unit 92,isPlaceOver_below evenClassesunit 138,shaLocalSetunit 92Choose \delta _i \in \operatorname{Gal}(\Omega /E^{+}), a tame generator for \ell ^r at A'_i over
primeBelowPlusw'_i.X(\sigma ) = f(c(p(\sigma ))) for \sigma \in \operatorname{Gal}(\Omega /E^{+}) is a continuous 1-cocycle with values in M: it is continuous (l, p continuous), and by step 7, fs and h3, X(gh) = X(g) + \rho (g)^{-e}\cdot X(h) whether p(gh) is p(g)p(h) or p(g)\cdot p(h)^c.
(X + X)(g) = 0 for every g in the inertia above a place of E^{+} that neither lies above \ell nor is one of the
primeBelowPlusw'_i: p(g) is then in the inertia above a place of E that lies neither above \ell nor among the w'_i and their conjugates (step 8; a conjugate place lies over the same place of E^{+}), where c vanishes (h2).Lean states
(X + X).1 g = 0Usesstep 8, step 33.4.1, step 33.4.3,
primeBelowPlus_starunit 138,placesDividingunit 92X(\operatorname{res} \tau '_j) = m\cdot X(\delta _j) for some m \in \mathbb{N}: \operatorname{res} \tau '_j lies in the inertia group of A'_j over E^{+}, w'_j does not divide \ell (x'_j is split), X is locally constant and additive on that inertia group (inertia off \ell acts trivially on M, steps 10 and 21), and \delta _j is a tame generator there.
Uses
IsTameGeneratorFor.unit 94, step 33.4.2, step 33.4.3, step 10, step 21exists_apply_eq_nsmul The relation at new split places (law), applied to the places
primeBelowPlusw'_i of E^{+} (distinct, outside T), the places A'_i over them (F), the tame generators \delta _i, the Frobenii \operatorname{res}(s_i^{\prime -1}) (step 15), which lie in V (step 13,cycCharMod\Omega (\ell ^r) s'_i = 1), and the cocycle 2X, which lies in Y({primeBelowPlusw'_i}):Usesstep 32, step 15, step 13, step 33.4.1, step 33.4.2
2X is a continuous cocycle, unramified outside S and the places
primeBelowPlusw'_i (step 33.4.4; a place outside S does not lie above \ell);Usesstep 33.4.3, step 33.4.4, step 16
2X lies in the local condition at every u \in S: (X + X)(g) = 0 for g \in D_u with (u above \ell \Rightarrow \kappa (g) = 1).
u above \ell: \kappa (g) = 1, so g acts trivially on M and (X + X)(g) = X(g^{2}) = f(c(p(g^{2}))); g^{2} lies in the index-2 image of \operatorname{res}, so p(g^{2}) lies in the decomposition group of P(u), a place above \ell, and
cycChar\Omega \ell (p(g^{2})) = \kappa (g)^{2} = 1; thus p(g^{2}) \inshaLocalSet\ell E 1 and c(p(g^{2})) = 0 (h4).Usesstep 21, step 33.4.1, step 3, step 5, step 17,
IsPlaceOver.unit 92,valuation_natCast_lt_one_iff Subgroup.mul_self_mem_of_index_two u not above \ell: u is not among the
primeBelowPlusw'_i (u \in S \subseteq T, those are outside T), so 2X vanishes on the inertia group of P(u) (step 33.4.4); P(u) carries the Frobenius \operatorname{res}(s_i^{-1}) of some datum x_i (step 17), where X vanishes: X(\operatorname{res}(s_i^{-1})) = f(c(s_i^{-1})) and c(s_i^{-1}) = -s_i^{-1}\cdot c(s_i) = 0, c vanishing on the Frobenii s_i (\varphi ); so 2X vanishes on D_u.Uses
DiscreteModule.unit 94,Z1. eq_zero_on_decompGroup cocycle_apply_invunit 95, step 17, step 27, step 33.4.4, step 33.4.1, step 6
2X vanishes on complex conjugations c: c acts trivially on M (step 24) and c^{2} = 1, so 0 = X(1) = X(c\cdot c) = 2X(c).
Usesstep 24, step 33.4.3
The resulting sum \sum _i (X + X)(\delta _i)\cdot n_{\pi (\operatorname{res}(s_i^{\prime -1}))} = 0 reduces to its j-th term, the others vanishing because z(s'_i) = n_{\pi (\operatorname{res}(s_i^{\prime -1}))} = 0 for i \ne j: so (X + X)(\delta _j)\cdot z(s'_j) = 0.
Uses
Fintype.sum_eq_single
Unfolding: X(\operatorname{res} \tau '_j) = f(c(\tau '_j)) (p(\operatorname{res} g) = g), so f(c(\tau '_j)) = m\cdot X(\delta _j); and f(n_0\cdot c(\tau '_j)) = n_0\cdot f(c(\tau '_j)) with n_0 = 2\cdot z(s'_j)\cdot y'.
Usesstep 6, step 33.4.5, step 33.4.6
Hence f(n_0\cdot c(\tau '_j)) = 2\cdot z(s'_j)\cdot y'\cdot m\cdot X(\delta _j) = -m\cdot y'\cdot (-(X + X)(\delta _j)\cdot z(s'_j)) = 0.
Usesstep 33.4.6, step 33.4.7
A unit value: the Frobenius \varphi _{j_0} of s lies in V, so \varphi _{j_0} = \operatorname{res}(g) for some g \in \operatorname{Gal}(\Omega /E) with
cycCharMod\Omega (\ell ^r) g = 1; thencycCharMod\Omega (\ell ^r) g^{-1} = 1 and z(g^{-1}) = n_{\pi (\operatorname{res} g)} = n_{\pi (\varphi _{j_0})} = n_{j_0} (\alpha ), a unit (\beta ).