Local conventions: the formal group and the truncated logarithm
The multiplication certificate reads arithmetic information off points of \(2E(K_0)\) at finite places. This section fixes the local conventions of the manuscript and proves the local facts that both directions of the multiplication statement use. Throughout, \(E:y^2=x^3-d^2x\) with \(d=75-53s\), a point of \(E(K_0)\) is regarded as a point over every completion \(K_{\mathfrak p}\) of \(K_0\), \(z=-x/y\) and \(w=1/x\) with \(z(O)=w(O)=0\), and \(E_1(K_{\mathfrak p})\) is the set of points with \(v_{\mathfrak p}(x)<0\) together with \(O\). For a point \(P\) of \(E(K_0)\) with \(x(P)\ne0\), \(P\in E_1(K_{\mathfrak p})\) exactly when \(v_{\mathfrak p}(1/x(P))\ge1\); this is how the inverse-abscissa tests detect the formal group.
Primes of \(K_0\)
An odd prime \(p\) is unramified in \(K_0\); it splits into two conjugate primes when \(2\) is a square modulo \(p\) and is inert otherwise. Conjugation exchanges the valuations at conjugate primes, which is how the conjugated tests of a test group refer to the other place above \(p\).
LemmaThe primes of \(\mathbb Z[\sqrt2]\) above an odd prime#✓
Let \(p\) be an odd prime and \(\sigma\) the conjugation \(s\mapsto-s\) of \(K_0\).
- If \(2\) is a square modulo \(p\), choose \(r\in\mathbb Z\) with \(r^2\equiv2\pmod p\). Then \(\mathfrak p_r=(p,s-r)\) and \(\mathfrak p_{-r}=(p,s+r)\) are distinct prime ideals of \(\mathbb Z[s]\), \(a+bs\mapsto(a+br)\bmod p\) induces \(\mathbb Z[s]/\mathfrak p_r\cong\mathbb F_p\), \(p\mathbb Z[s]=\mathfrak p_r\mathfrak p_{-r}\) and \(\sigma(\mathfrak p_r)=\mathfrak p_{-r}\). Otherwise \(p\mathbb Z[s]\) is prime, with residue field of \(p^2\) elements, and \(\sigma(p\mathbb Z[s])=p\mathbb Z[s]\). In both cases these are all the prime ideals of \(\mathbb Z[s]\) containing \(p\).
- For a prime \(\mathfrak p\ni p\) let \(v_{\mathfrak p}\) be the normalized valuation of \(K_0\) (\(v_{\mathfrak p}(K_0^\times)=\mathbb Z\), \(v_{\mathfrak p}(0)=+\infty\)). Then \(p\) is unramified: \(v_{\mathfrak p}(q)=v_p(q)\) for every \(q\in\mathbb Q\).
- \(v_{\sigma\mathfrak p}(y)=v_{\mathfrak p}(\sigma y)\) for every \(y\in K_0\).
- For \(y\in K_0\) and \(m\in\mathbb Z\), if \(v_{\mathfrak p}(y)\ge m\) and \(v_{\sigma\mathfrak p}(y)\ge m\), then \(v_p(\operatorname{Tr}y)\ge m\), where \(\operatorname{Tr}y=y+\sigma y\in\mathbb Q\).
At the prime \(2\) the corresponding facts are those of the prime \((s)\).
Proof sketch. (1) is Dedekind-Kummer for \(\mathbb Z[s]=\mathbb Z[X]/(X^2-2)\), whose discriminant \(8\) is prime to \(p\): \(X^2-2\) is separable modulo \(p\) and factors as \((X-r)(X+r)\) or is irreducible. (2) \(p\mathbb Z[s]\) is a product of distinct primes, so \(v_{\mathfrak p}(p)=1\). (3) \(\sigma\) is a ring automorphism of \(\mathbb Z[s]\) mapping \(\mathfrak p\) to \(\sigma\mathfrak p\). (4) \(\operatorname{Tr}y=y+\sigma y\) and \(v_{\mathfrak p}(\sigma y)=v_{\sigma\mathfrak p}(y)\ge m\); the ultrametric inequality gives \(v_{\mathfrak p}(\operatorname{Tr}y)\ge m\), and \(v_{\mathfrak p}=v_p\) on \(\mathbb Q\).
theorem primeR_split (hp2 : p ≠ 2) {r : ℤ} (hr : (r : ZMod p) ^ 2 = 2) :
(primeR p r).IsPrime ∧ (primeR p (-r)).IsPrime ∧ primeR p r ≠ primeR p (-r) ∧
Ideal.span {(p : Zs)} = primeR p r * primeR p (-r) ∧
(primeR p r).map (starRingEnd Zs) = primeR p (-r) ∧
∀ P : Ideal Zs, P.IsPrime → (p : Zs) ∈ P → P = primeR p r ∨ P = primeR p (-r)
theorem primeP_inert (hsq : ¬ IsSquare (2 : ZMod p)) :
(Ideal.span {(p : Zs)}).IsPrime ∧ Nat.card (Zs ⧸ Ideal.span {(p : Zs)}) = p ^ 2 ∧
(Ideal.span {(p : Zs)}).map (starRingEnd Zs) = Ideal.span {(p : Zs)} ∧
∀ P : Ideal Zs, P.IsPrime → (p : Zs) ∈ P → P = Ideal.span {(p : Zs)}
theorem vp_ratCast (hp2 : p ≠ 2) {π : Zs} (hπ : Prime π) (hπp : π ∣ (p : Zs)) (q : ℚ) :
vp π (q : K0) = padicValRat p q
def primeR (p : ℕ) (r : ℤ) : Ideal Zs := Ideal.span {(p : Zs), sqrt2Z - (r : Zs)}
ZInQKernel/Multiplication/Local/PrimesAbove.lean:56
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
noncomputable def vp (π : Zs) (z : K0) : ℤ :=
if hπ : Prime π then -log ((primeSpec π hπ).valuation K0 z) else 0
ZInQKernel/Model/Field/Valuation.lean:28
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
Uses 2 · Used by 16
The formal group and its logarithm
For the integral equation \(y^2=x^3+Ax\) over a discretely valued field, the points with \(v(x)<0\) form a subgroup on which \(z\) is injective, with \(v(w)=2v(z)\), filtered by the subgroups \(v(z)\ge k\), so multiplication by an integer never lowers \(v(z)\); this part has an elementary chord-and-tangent proof. Over a complete field, \(z\) turns the group law into a formal group law, whose formal logarithm converges on \(v(z)>0\), is a homomorphism, and is an isometry where \(v(z)>e/(p-1)\); at an odd unramified prime this is the whole formal group. These are classical (Silverman IV and VII.2); here they are background statements, the formal group law and the logarithm being the deepest inputs of the chapter. The manuscript's remark that identifying the formal neighbourhood with the reduction kernel of a minimal model needs Silverman VII.2.1-2.2 is not used: every argument below works with the integral equation of \(E\) itself.
TheoremThe formal neighbourhood of \(y^2=x^3+Ax\) and its filtration#✓
Let \(K\) be a field of characteristic \(0\) with a discrete valuation \(v\) normalized by \(v(K^\times)=\mathbb Z\) (for instance \(K_0\) with \(v_{\mathfrak p}\), or a completion of \(K_0\)). Let \(A\in K^\times\) with \(v(A)\ge0\), and \(W:y^2=x^3+Ax\) over \(K\). Put $\(W_1(K)=\{O\}\cup\{(x,y)\in W(K):v(x)<0\},\)$ and for \(P=(x,y)\in W_1(K)\) put \(z(P)=-x/y\), \(w(P)=1/x\) and \(\omega(P)=-1/y\), with \(z(O)=w(O)=\omega(O)=0\). Then:
- for every affine \(P=(x,y)\in W_1(K)\) there is an integer \(N\ge1\) with \(v(x)=-2N\) and \(v(y)=-3N\); hence \(y\ne0\), \(v(z(P))=N\), \(v(w(P))=2N=2v(z(P))\) and \(v(\omega(P))=3N\);
- for every integer \(k\ge1\) the set \(W_k(K)=\{P\in W_1(K):v(z(P))\ge k\}\) (containing \(O\)) is a subgroup of \(W(K)\); in particular \(W_1(K)\) is a subgroup;
- \(z\) is injective on \(W_1(K)\);
- for every \(P\in W_1(K)\) and \(n\in\mathbb Z\), \([n]P\in W_1(K)\) and \(v(z([n]P))\ge v(z(P))\).
In part 1, \(w=1/x\) is the manuscript's parameter; it differs from the auxiliary variable \(\omega=-1/y\) of Silverman, which is used only inside the proof. This is the elementary part of Silverman VII.2.2 (there stated for a minimal equation over a complete field; only the integrality of \(A\) is used). The formal group law itself is a separate statement.
Proof sketch. (1) If \(v(x)<0\) then \(v(Ax)\ge v(x)>3v(x)\), so \(2v(y)=v(x^3+Ax)=3v(x)\); thus \(v(x)\) is even, \(v(x)=-2N\) with \(N\ge1\), and \(v(y)=-3N\).
Coordinates. For affine \(P\in W_1(K)\), \(x=z/\omega\) and \(y=-1/\omega\), and dividing the equation by \(-y^3\) gives $\(\omega=z^3+Az\omega^2 .\tag{\)*\(}\)$ Conversely a pair \((z,\omega)\) with \(\omega\ne0\) satisfying \((*)\) is the image of the affine point \((z/\omega,-1/\omega)\). If \(v(z)\ge1\), \(v(\omega)\ge1\) and \((z,\omega)\) satisfies \((*)\), then \(v(Az\omega^2)>v(\omega)\), so \(v(\omega)=3v(z)\); in particular \(\omega=0\) iff \(z=0\). The map \((x,y)\mapsto(z,\omega)\) is the projective change of coordinates \([X:Y:Z]\mapsto[-X:-Z:Y]\), which sends \(O=[0:1:0]\) to \((0,0)\) and lines to lines.
(2)-(3) Negation is \((x,y)\mapsto(x,-y)\), i.e. \((z,\omega)\mapsto(-z,-\omega)\), which preserves \(v(z)\). Let \(P_1,P_2\in W_k(K)\) be affine with coordinates \((z_i,\omega_i)\), so \(v(z_i)\ge k\) and \(v(\omega_i)=3v(z_i)\ge3k\). Subtracting the two instances of \((*)\) gives the identity $\((\omega_2-\omega_1)\bigl(1-Az_1(\omega_1+\omega_2)\bigr)=(z_2-z_1)\bigl(z_1^2+z_1z_2+z_2^2+A\omega_2^2\bigr),\)$ whose left factor \(u=1-Az_1(\omega_1+\omega_2)\) is a unit. Hence \(z_1=z_2\) forces \(\omega_1=\omega_2\), i.e. \(P_1=P_2\); this is (3). Put $\(\lambda=\frac{z_1^2+z_1z_2+z_2^2+A\omega_2^2}{1-Az_1(\omega_1+\omega_2)},\qquad \nu=\omega_1-\lambda z_1 .\)$ If \(P_1\ne P_2\), \(\omega=\lambda z+\nu\) is the line through them; if \(P_1=P_2\) the same formula gives the tangent, by implicit differentiation of \((*)\): \(\omega'(1-2Az\omega)=3z^2+A\omega^2\). In both cases \(v(\lambda)\ge2k\) and \(v(\nu)\ge3k\). Substituting \(\omega=\lambda z+\nu\) in \((*)\) gives the cubic $\((1+A\lambda^2)z^3+2A\lambda\nu z^2+(A\nu^2-\lambda)z-\nu=0,\)$ whose leading coefficient is a unit and whose roots, with multiplicity, are \(z_1\), \(z_2\) and the \(z\)-coordinate \(z_3\) of the third intersection point \(Q\) of the line with \(W\); by the chord construction of the group law, \(P_1+P_2=-Q\). By Vieta, $\(z_3=-z_1-z_2-\frac{2A\lambda\nu}{1+A\lambda^2},\qquad v(z_3)\ge k .\)$ If \(z_3=0\) then \(\omega_3=\nu\) and \((*)\) gives \(\nu=0\), so \(Q=O\) and \(P_1+P_2=O\in W_k(K)\). Otherwise \(\omega_3=\lambda z_3+\nu\) satisfies \(v(\omega_3)\ge3k\ge1\), hence \(v(\omega_3)=3v(z_3)\) and \(\omega_3\ne0\), so \(Q=(z_3/\omega_3,-1/\omega_3)\) is affine with \(v(x(Q))=-2v(z_3)\le-2k\), and \(P_1+P_2=-Q\in W_k(K)\) with \(z(P_1+P_2)=-z_3\). Sums involving \(O\) are trivial. (Alternatively, \(z(P_1+P_2)=-z_3\) can be verified directly from the Weierstrass addition formulas: the \((x,y)\)-line \(y=\ell x+m\) is \(\omega=\lambda z+\nu\) with \(\lambda=-\ell/m\), \(\nu=-1/m\) when \(m\ne0\), and the case \(m=0\) is the line through \(O\).)
(4) By (2) with \(k=v(z(P))\) (or \(P=O\)), \(W_k(K)\) is a subgroup containing \(P\), hence \([n]P\).
theorem formal_val_x_y (hA : 0 ≤ v A) {x y : K} (h : (shortCurve A).toAffine.Nonsingular x y)
(hx : v x < 0) :
∃ N : ℤ, 1 ≤ N ∧ v x = (-2 * N : ℤ) ∧ v y = (-3 * N : ℤ) ∧ y ≠ 0 ∧
v (zCoord (.some x y h)) = N ∧ v (wCoord (.some x y h)) = (2 * N : ℤ) ∧
v (omegaCoord (.some x y h)) = (3 * N : ℤ)
def formalFilt (A : K) (hA : 0 ≤ v A) (k : ℤ) : AddSubgroup (shortCurve A).toAffine.Point where
carrier := {P | InW1 v P ∧ (k : WithTop ℤ) ≤ v (zCoord P)}
zero_mem' := ⟨trivial, by simp [v.map_zero]⟩
add_mem' hP hQ := add_mem_filt hA k hP hQ
neg_mem' hP := neg_mem_filt k hP
theorem mem_formalNbhd_iff (hA : 0 ≤ v A) (P : (shortCurve A).toAffine.Point) :
P ∈ formalNbhd A hA ↔ P ∈ W1 v A
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
ZInQKernel/Model/Field/ShortWeierstrass.lean:22
def zCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x y _ => -x / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:30
def wCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x _ _ => 1 / x
ZInQKernel/Multiplication/Local/FormalGroup.lean:35
def omegaCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some _ y _ => -1 / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:40
def InW1 {A : K} : (shortCurve A).toAffine.Point → Prop
| 0 => True
| .some x _ _ => v x < 0
ZInQKernel/Multiplication/Local/FormalGroup.lean:62
abbrev formalNbhd (A : K) (hA : 0 ≤ v A) : AddSubgroup (shortCurve A).toAffine.Point :=
formalFilt A hA 1
ZInQKernel/Multiplication/Local/FormalGroup.lean:195
def W1 (A : K) : Set (shortCurve A).toAffine.Point := {P | InW1 v P}
ZInQKernel/Multiplication/Local/FormalGroup.lean:67
Used by 14
LemmaThe chord estimate in a formal neighbourhood#✓
Let \(K\) be a field with a discrete valuation \(v\), let \(A\in K\) with \(v(A)\ge0\), and let \(k\ge1\). For affine points \(P_1,P_2\in W_k(K)\) of \(y^2=x^3+Ax\) with \(P_1+P_2\) affine, write \(z=-x/y\) and \(\omega=-1/y\). Then \(P_1+P_2\) has \(v(z(P_1+P_2))\ge k\) and \(v(\omega(P_1+P_2))\ge3k\), and there is a line \(\omega=\lambda z+\nu\) in the \((z,\omega)\)-plane passing through \(P_1\) and \(P_2\) with \(v(\lambda)\ge2k\), \(v(\nu)\ge3k\) and $\(z(P_1+P_2)=z(P_1)+z(P_2)+\frac{2A\lambda\nu}{1+A\lambda^2},\qquad v\bigl(z(P_1+P_2)-z(P_1)-z(P_2)\bigr)\ge5k .\)$ If \(P_1\ne P_2\) then \(z(P_1)\ne z(P_2)\), since \(z\) is injective on \(W_1(K)\), so this line is the line through the two points. In particular \(W_k(K)\) is closed under addition and \(z\) is additive modulo valuation \(5k\).
Proof sketch. This is the chord computation behind the canonical article on formal neighbourhoods. In the coordinates \((z,\omega)\) the curve is \(\omega=z^3+Az\omega^2\). The slope of the chord satisfies \(\lambda(z_2-z_1)=\omega_2-\omega_1\); expanding with the curve equation and \(v(z_i)\ge k\), \(v(\omega_i)\ge3k\) gives \(v(\lambda)\ge2k\), and then \(\nu=\omega_1-\lambda z_1\) has \(v(\nu)\ge3k\). Substituting the line into the curve equation gives a cubic in \(z\) whose three roots are \(z_1,z_2\) and \(z_3\); by Vieta \(z_1+z_2+z_3=-2A\lambda\nu/(1+A\lambda^2)\), and \(z(P_1+P_2)=-z_3\) because negation changes the sign of \(z\). The valuation bound follows from \(v(1+A\lambda^2)=0\). For \(P_1=P_2\) the same computation applies to the tangent line, whose slope \(\lambda\) is obtained by differentiating the curve equation; the bounds on \(\lambda\) and \(\nu\) are proved in the same way.
theorem chord_add_five {m : ℤ} (hm : 1 ≤ m) {x₁ y₁ x₂ y₂ : K}
(h₁ : (shortCurve A).toAffine.Nonsingular x₁ y₁)
(h₂ : (shortCurve A).toAffine.Nonsingular x₂ y₂) (hy₁ : y₁ ≠ 0) (hy₂ : y₂ ≠ 0)
(ht₁ : Vge v m (x₁ / y₁)) (ht₂ : Vge v m (x₂ / y₂))
(hw₁ : Vge v (3 * m) (1 / y₁)) (hw₂ : Vge v (3 * m) (1 / y₂))
(hne : Point.some x₁ y₁ h₁ + Point.some x₂ y₂ h₂ ≠ 0) :
∃ x₃ y₃ h₃, Point.some x₁ y₁ h₁ + Point.some x₂ y₂ h₂ = Point.some x₃ y₃ h₃ ∧ y₃ ≠ 0 ∧
Vge v m (x₃ / y₃) ∧ Vge v (3 * m) (1 / y₃) ∧
∃ lam ν : K, Vge v (2 * m) lam ∧ Vge v (3 * m) ν ∧
-1 / y₁ = lam * (-x₁ / y₁) + ν ∧ -1 / y₂ = lam * (-x₂ / y₂) + ν ∧
-x₃ / y₃ = -x₁ / y₁ + -x₂ / y₂ + 2 * A * lam * ν / (1 + A * lam ^ 2) ∧
Vge v (5 * m) (x₃ / y₃ - x₁ / y₁ - x₂ / y₂)
ZInQ.Mult.formal_third_point_five · 15 lines
theorem formal_third_point_five {m : ℤ} (hm : 1 ≤ m) {x₁ y₁ x₂ y₂ ℓ lam ν : K}
(h₁ : (shortCurve A).toAffine.Equation x₁ y₁) (h₂ : (shortCurve A).toAffine.Equation x₂ y₂)
(hxy : ¬(x₁ = x₂ ∧ y₁ = (shortCurve A).toAffine.negY x₂ y₂))
(hℓ : (shortCurve A).toAffine.slope x₁ x₂ y₁ y₂ = ℓ) (hy₁ : y₁ ≠ 0) (hy₂ : y₂ ≠ 0)
(ht₁ : Vge v m (x₁ / y₁)) (ht₂ : Vge v m (x₂ / y₂))
(hlam : Vge v (2 * m) lam) (hν : Vge v (3 * m) ν) (hν0 : ν ≠ 0) (hℓν : ℓ = -lam / ν)
(hc₁ : y₁ = ℓ * x₁ + 1 / ν) (hc₂ : y₂ = ℓ * x₂ + 1 / ν)
(e₃ : (-(ℓ * (ℓ ^ 2 - x₁ - x₂) + 1 / ν)) ^ 2 =
(ℓ ^ 2 - x₁ - x₂) ^ 3 + A * (ℓ ^ 2 - x₁ - x₂)) :
-(ℓ * (ℓ ^ 2 - x₁ - x₂) + 1 / ν) ≠ 0 ∧
Vge v m ((ℓ ^ 2 - x₁ - x₂) / -(ℓ * (ℓ ^ 2 - x₁ - x₂) + 1 / ν)) ∧
Vge v (3 * m) (1 / -(ℓ * (ℓ ^ 2 - x₁ - x₂) + 1 / ν)) ∧
(ℓ ^ 2 - x₁ - x₂) / -(ℓ * (ℓ ^ 2 - x₁ - x₂) + 1 / ν) - x₁ / y₁ - x₂ / y₂ =
2 * A * lam * ν / (1 + A * lam ^ 2) ∧
Vge v (5 * m) ((ℓ ^ 2 - x₁ - x₂) / -(ℓ * (ℓ ^ 2 - x₁ - x₂) + 1 / ν) - x₁ / y₁ - x₂ / y₂)
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
ZInQKernel/Model/Field/ShortWeierstrass.lean:22
def Vge (m : ℤ) (x : K) : Prop := ((m : ℤ) : WithTop ℤ) ≤ v x
ZInQKernel/Multiplication/Local/ValHelpers.lean:17
Uses 1 · Used by 1
LemmaMultiplication in a formal neighbourhood#✓
Let \(K\) be a field of characteristic \(0\) with a discrete valuation \(v\), \(v(K^\times)=\mathbb Z\), whose residue field has characteristic \(p>0\). Let \(A\in K^\times\) with \(v(A)\ge0\), \(W:y^2=x^3+Ax\), and let \(W_k(K)\) and \(z\) be as in the formal neighbourhood statement: \(W_k(K)\) is the subgroup of the points with \(v(z)\ge k\), that is \(v(x)\le-2k\), together with \(O\). Then:
- for \(k\ge1\) and \(P,Q\in W_k(K)\), $\(v\bigl(z(P+Q)-z(P)-z(Q)\bigr)\ge5k ;\)$
- for every affine \(Q\in W_1(K)\), with \(k=v(z(Q))\), and every \(n\in\mathbb Z\), \(v\bigl(z([n]Q)-n\,z(Q)\bigr)\ge5k\), hence \(v\bigl(z([n]Q)/z(Q)-n\bigr)\ge4k\);
- \([p]W_k(K)\subseteq W_{k+1}(K)\) for every \(k\ge1\); and if \(v(p)\le4\), then \([n]W_k(K)\subseteq W_{k+v(n)}(K)\) for every nonzero \(n\in\mathbb Z\) and every \(k\ge1\);
- if \(p\) is odd and \(v(p)=1\), then for every affine \(Q\in W_1(K)\), with \(k=v(z(Q))\), and every nonzero \(m\in\mathbb Z\), the point \([m]Q\) is affine, \(v(z([m]Q))=k+v_p(m)\), and $\(z([m]Q)=m\,z(Q)\,u_m\qquad\text{with }v(u_m-1)\ge1 .\)$
On \(K_0\), for a prime element \(\pi\) of \(\mathbb Z[s]\), write \(E_k(\pi)\) for the subgroup \(W_k(K_0)\) of \(E\) at \(v=v_\pi\), and \(\nu_\pi(P)=v_\pi(z(P))\) for affine \(P\in E_1(\pi)\). The hypotheses hold at every \(\pi\), including \(s\) and \(d\), because \(A=-d^2\) is integral everywhere; \(v_\pi(p)=1\) at a prime above an odd prime \(p\), and \(v_s(2)=2\).
Item 4 is the content of "\(\log([m]Q)=m\log(Q)\) and \(\log\) is an isometry with \(\log(Q)=z(Q)(1+e_Q)\), \(v(e_Q)\ge1\)" used in the manuscript, in the form actually needed. Item 3 is the elementary form of the logarithm isometry: the manuscript argues at \((s)\) with \(v_s(z([2]Q))=v_s(z(Q))+2\) for \(v_s(z(Q))\ge3\), and the inequality \(\ge\) given by item 3 is all that is used.
Proof sketch. (1) Use the coordinates \(z\) and \(\omega=-1/y\) of the formal neighbourhood statement. For affine \(P_1,P_2\in W_k(K)\) with \(P_2\ne-P_1\), its chord construction gives the line \(\omega=\lambda z+\nu\) through them (the tangent if \(P_1=P_2\)), with \(v(\lambda)\ge2k\) and \(v(\nu)\ge3k\), and by Vieta on the cubic \((1+A\lambda^2)z^3+2A\lambda\nu z^2+(A\nu^2-\lambda)z-\nu=0\), $\(z(P_1+P_2)=z(P_1)+z(P_2)+\frac{2A\lambda\nu}{1+A\lambda^2},\)$ where the last term has valuation at least \(5k\) because \(1+A\lambda^2\) is a unit. Sums involving \(O\), and \(P_2=-P_1\), are immediate since \(z(-P)=-z(P)\).
(2) The multiples \([j]Q\) lie in the subgroup \(W_k(K)\). By (1), \(z([j+1]Q)=z([j]Q)+z(Q)+e_j\) with \(v(e_j)\ge5k\); summing gives the claim for \(n\ge0\), and \(z(-P)=-z(P)\) gives \(n<0\). Divide by \(z(Q)\), which has valuation \(k\).
(3) Let \(Q\in W_k(K)\) be affine with \(v(z(Q))=k'\ge k\). By (2), \(v(z([p]Q))\ge\min(5k',k'+v(p))\), which is at least \(k'+1\), and equals \(k'+v(p)\) when \(v(p)\le4\); so \([p]Q\in W_{k+1}(K)\), and \([p]Q\in W_{k+v(p)}(K)\) when \(v(p)\le4\). Iterate for powers of \(p\), and note that \([n']W_k(K)\subseteq W_k(K)\) for \(n'\) prime to \(p\).
(4) Now \(v(p)=1\). For \(p\nmid m'\): by (2), \(z([m']Q)=m'z(Q)(1+\epsilon)\) with \(v(\epsilon)\ge4k\ge1\), so \(v(z([m']Q))=k\). For \(p\): \(z([p]Q)=p\,z(Q)(1+\epsilon)\) with \(v(\epsilon)\ge5k-(k+1)\ge3\), so \(v(z([p]Q))=k+1\). Write \(m=p^em'\) and compose, applying these to \([p^i]Q\) (of valuation \(k+i\)) and then to \([p^e]Q\); the units multiply and stay \(\equiv1\). In particular \(z([m]Q)\ne0\), so \([m]Q\ne O\).
theorem val_zCoord_add_sub {k : ℤ} (hk : 1 ≤ k) {P Q : (shortCurve A).toAffine.Point}
(hP : P ∈ formalFilt A hA k) (hQ : Q ∈ formalFilt A hA k) :
Vge v (5 * k) (Mult.zCoord (P + Q) - Mult.zCoord P - Mult.zCoord Q)
theorem val_zCoord_zsmul_sub {Q : (shortCurve A).toAffine.Point} (hQ : Q ∈ W1 v A) {k : ℤ}
(hk : v (Mult.zCoord Q) = k) (n : ℤ) :
Vge v (5 * k) (Mult.zCoord (n • Q) - n * Mult.zCoord Q) ∧
Vge v (4 * k) (Mult.zCoord (n • Q) / Mult.zCoord Q - n)
theorem zsmul_mem_formalFilt_succ {p : ℤ} (hp : Vge v 1 (p : K)) {k : ℤ} (hk : 1 ≤ k)
{Q : (shortCurve A).toAffine.Point} (hQ : Q ∈ formalFilt A hA k) :
p • Q ∈ formalFilt A hA (k + 1)
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
ZInQKernel/Model/Field/ShortWeierstrass.lean:22
def formalFilt (A : K) (hA : 0 ≤ v A) (k : ℤ) : AddSubgroup (shortCurve A).toAffine.Point where
carrier := {P | InW1 v P ∧ (k : WithTop ℤ) ≤ v (zCoord P)}
zero_mem' := ⟨trivial, by simp [v.map_zero]⟩
add_mem' hP hQ := add_mem_filt hA k hP hQ
neg_mem' hP := neg_mem_filt k hP
ZInQKernel/Multiplication/Local/FormalGroup.lean:176
def Vge (m : ℤ) (x : K) : Prop := ((m : ℤ) : WithTop ℤ) ≤ v x
ZInQKernel/Multiplication/Local/ValHelpers.lean:17
def zCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x y _ => -x / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:30
def W1 (A : K) : Set (shortCurve A).toAffine.Point := {P | InW1 v P}
ZInQKernel/Multiplication/Local/FormalGroup.lean:67
Sources
TheoremThe formal group law of \(y^2=x^3+Ax\)#✓
Let \(K\) be a field of characteristic \(0\), complete with respect to a discrete valuation \(v\) normalized by \(v(K^\times)=\mathbb Z\), with valuation ring \(\mathcal O\) and maximal ideal \(\mathfrak m\). Let \(A\in\mathcal O\setminus\{0\}\), \(W:y^2=x^3+Ax\), and let \(W_1(K)\) and \(z\) be as in the formal neighbourhood statement. Then:
- there is a unique power series \(\omega(T)\in\mathcal O[[T]]\) with \(\omega(T)=T^3+AT\,\omega(T)^2\); it has the form \(T^3(1+\cdots)\), and \(\omega(P)=\omega(z(P))\) (that is, \(-1/y=\omega(-x/y)\)) for every affine \(P=(x,y)\in W_1(K)\);
- there is a commutative formal group law \(F(T_1,T_2)=T_1+T_2+(\text{terms of degree}\ge2)\) in \(\mathcal O[[T_1,T_2]]\), with formal inverse \(i(T)=-T\), such that $\(z(P+Q)=F\bigl(z(P),z(Q)\bigr)\qquad(P,Q\in W_1(K)),\)$ the series converging because \(z(P),z(Q)\in\mathfrak m\).
This is Silverman IV.1.1-IV.1.2 and VII.2.2; the manuscript uses it through the formal logarithm.
Proof sketch. (1) The coefficients of \(\omega\) are determined recursively by \((*)\) \(\omega=T^3+AT\omega^2\), since the coefficient of \(T^n\) on the right involves only lower coefficients of \(\omega\); they lie in \(\mathbb Z[A]\subset\mathcal O\) (Silverman IV.1.1). For an affine \(P\in W_1(K)\), both \(\omega(P)\) and \(\omega(z(P))\) are solutions \(\omega_0\) of \(\omega_0=z^3+Az\omega_0^2\) with \(v(\omega_0)\ge1\), where \(z=z(P)\); the map \(\omega_0\mapsto z^3+Az\omega_0^2\) is a contraction of \(\mathfrak m\) (its difference quotient \(Az(\omega_0+\omega_0')\) has positive valuation), so the solution is unique. (2) Replace the elements \(z_i,\omega_i\) in the chord construction of the formal neighbourhood statement by the power series \(T_i,\omega(T_i)\): the slope \(\lambda(T_1,T_2)\), the intercept \(\nu=\omega(T_1)-\lambda T_1\) and $\(F(T_1,T_2)=T_1+T_2+\frac{2A\lambda\nu}{1+A\lambda^2}\)$ are power series in \(\mathcal O[[T_1,T_2]]\) (Silverman IV.1.2; the difference quotient defining \(\lambda\) is a polynomial expression in \(T_1,T_2\) and the coefficients of \(\omega\), and \(1+A\lambda^2\) is invertible). Evaluating at \((z(P),z(Q))\) and using (1) recovers \(-z_3=z(P+Q)\). The formal group law axioms for \(F\) (associativity and commutativity as identities of power series) are Silverman IV.1.2, deduced there from the group law of \(W\); \(i(T)=-T\) because negation is \(z\mapsto-z\).
theorem omegaSeries_hasSum [CompleteSpace K] [DecidableEq K] {A : K} (hA : 0 ≤ vK K A) {x y : K}
(h : (shortCurve A).toAffine.Nonsingular x y) (hx : vK K x < 0) :
HasSum (fun n => coeff n (omegaSeries A) * (-x / y) ^ n) (-1 / y)
noncomputable def formalAdd (A : R) : MvPowerSeries (Fin 2) R :=
MvPowerSeries.X 0 + MvPowerSeries.X 1 +
MvPowerSeries.C (2 * A) * chordSlope A * (omegaFst A - chordSlope A * MvPowerSeries.X 0) *
MvPowerSeries.invOfUnit (1 + MvPowerSeries.C A * chordSlope A ^ 2) 1
theorem formalGroupLaw_exists [CompleteSpace K] [CharZero K] (A : Valued.integer K) :
∃ F : FormalGroup (Valued.integer K), F.toPowerSeries = formalAdd A ∧ F.IsComm ∧
MvPowerSeries.subst ![(PowerSeries.X : PowerSeries (Valued.integer K)), -PowerSeries.X]
F.toPowerSeries = 0 ∧
∀ P ∈ W1 (vK K) (A : K), ∀ Q ∈ W1 (vK K) (A : K),
HasSum (fun n : Fin 2 →₀ ℕ =>
((MvPowerSeries.coeff n F.toPowerSeries : Valued.integer K) : K) *
zCoord P ^ n 0 * zCoord Q ^ n 1) (zCoord (P + Q))
noncomputable abbrev vK : AddValuation K (WithTop ℤ) := ordOf Valued.v
ZInQKernel/Multiplication/Local/Analytic.lean:23
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
ZInQKernel/Model/Field/ShortWeierstrass.lean:22
def omegaSeries (A : R) : PowerSeries R := PowerSeries.mk (omegaCoeff A)
ZInQKernel/Multiplication/Local/FormalGroupLaw.lean:66
def chordSlope (A : R) : MvPowerSeries (Fin 2) R := fun n => omegaCoeff A (n 0 + n 1 + 1)
ZInQKernel/Multiplication/Local/FormalGroupLaw.lean:126
def omegaFst (A : R) : MvPowerSeries (Fin 2) R := fun n => if n 1 = 0 then omegaCoeff A (n 0) else 0
ZInQKernel/Multiplication/Local/FormalGroupLaw.lean:129
noncomputable def formalAdd (A : R) : MvPowerSeries (Fin 2) R :=
MvPowerSeries.X 0 + MvPowerSeries.X 1 +
MvPowerSeries.C (2 * A) * chordSlope A * (omegaFst A - chordSlope A * MvPowerSeries.X 0) *
MvPowerSeries.invOfUnit (1 + MvPowerSeries.C A * chordSlope A ^ 2) 1
ZInQKernel/Multiplication/Local/FormalGroupLaw.lean:132
def W1 (A : K) : Set (shortCurve A).toAffine.Point := {P | InW1 v P}
ZInQKernel/Multiplication/Local/FormalGroup.lean:67
def zCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x y _ => -x / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:30
Uses 1 · Used by 1
TheoremThe formal logarithm#✓
In the setting of the formal group law \(F\) of \(W:y^2=x^3+Ax\) over the complete field \(K\), let \(p>0\) be the residue characteristic and \(e=v(p)\ge1\). There is a power series $\(\log(T)=\sum_{r\ge1}\frac{b_{r-1}}{r}\,T^r\in K[[T]],\qquad b_i\in\mathcal O,\ b_0=1,\)$ such that:
- \(\log(F(T_1,T_2))=\log(T_1)+\log(T_2)\) in \(K[[T_1,T_2]]\), and \(\frac{d}{dT}\log(T)\,dT\) is the expansion in \(z\) of the invariant differential \(dx/(2y)\);
- for \(t\in K\) with \(v(t)>0\) the series \(\log(t)\) converges, and \(\lambda(P)=\log(z(P))\) defines a group homomorphism \(\lambda:W_1(K)\to(K,+)\); in particular \(\lambda([n]P)=n\lambda(P)\) for \(P\in W_1(K)\) and \(n\in\mathbb Z\).
This is the formal logarithm of Silverman IV.5; the manuscript states that it converges on \(v(z)>0\). Its isometry range is a separate statement.
Proof sketch. (1) is Silverman IV.4.2, IV.5.2 and IV.5.5: the normalized invariant differential of \(F\) is \(\omega_F(T)\,dT\) with \(\omega_F\in\mathcal O[[T]]\), \(\omega_F(0)=1\); its formal integral is \(\log\), whose degree-\(r\) coefficient is \(b_{r-1}/r\); invariance of \(\omega_F\) under translation gives \(\log\circ F=\log+\log\). The invariant differential of \(W\) is \(dx/(2y)\), and its expansion in \(z\) is the invariant differential of \(F\) (Silverman IV.1, IV.5.1). (2) Convergence: \(v(b_{r-1}t^r/r)\ge rv(t)-e\log_pr\to\infty\) (Silverman IV.6.3), and in a complete nonarchimedean field a series whose terms tend to \(0\) converges. Evaluating the identity of (1) at \((z(P),z(Q))\) and using \(z(P+Q)=F(z(P),z(Q))\) gives \(\lambda(P+Q)=\lambda(P)+\lambda(Q)\); evaluation of convergent power series in two variables at elements of \(\mathfrak m\) is a ring homomorphism.
def formalLog {F : Type*} [Field F] (A : F) : PowerSeries F := PowerSeries.mk (logCoeffA A)
noncomputable def ellLog {K : Type*} [Field K] [Valued K ℤᵐ⁰] {A : K}
(P : (shortCurve A).toAffine.Point) : K :=
evalLog A (zCoord P)
theorem formalLog_formalAdd {F : Type*} [Field F] [CharZero F] (A : F) :
PowerSeries.subst (formalAdd A) (formalLog A) =
PowerSeries.subst (MvPowerSeries.X (0 : Fin 2)) (formalLog A) +
PowerSeries.subst (MvPowerSeries.X (1 : Fin 2)) (formalLog A)
def logCoeffA {F : Type*} [Field F] (A : F) (r : ℕ) : F :=
if r = 0 then 0 else invDiffCoeff A (r - 1) / r
ZInQKernel/Multiplication/Local/FormalLog.lean:37
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
ZInQKernel/Model/Field/ShortWeierstrass.lean:22
noncomputable def evalLog (A t : K) : K := ∑' r, logCoeffA A r * t ^ r
ZInQKernel/Multiplication/Local/FormalLog.lean:157
def zCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x y _ => -x / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:30
noncomputable def formalAdd (A : R) : MvPowerSeries (Fin 2) R :=
MvPowerSeries.X 0 + MvPowerSeries.X 1 +
MvPowerSeries.C (2 * A) * chordSlope A * (omegaFst A - chordSlope A * MvPowerSeries.X 0) *
MvPowerSeries.invOfUnit (1 + MvPowerSeries.C A * chordSlope A ^ 2) 1
ZInQKernel/Multiplication/Local/FormalGroupLaw.lean:132
def formalLog {F : Type*} [Field F] (A : F) : PowerSeries F := PowerSeries.mk (logCoeffA A)
ZInQKernel/Multiplication/Local/FormalLog.lean:41
Uses 1 · Used by 5
LemmaThe isometry range of the formal logarithm#✓
In the setting of the formal logarithm of \(W:y^2=x^3+Ax\) over \(K\), with residue characteristic \(p\) and \(e=v(p)\):
- if \(t\in K\) and \(v(t)>e/(p-1)\), then \(v(\log(t)-t)>v(t)\), so \(v(\log(t))=v(t)\);
- consequently, on the subgroup of \(P\in W_1(K)\) with \(v(z(P))>e/(p-1)\) (together with \(O\)), \(\lambda\) is injective, \(v(\lambda(P))=v(z(P))\), and for \(n\in\mathbb Z\setminus\{0\}\), $\(v\bigl(z([n]P)\bigr)=v\bigl(z(P)\bigr)+v(n).\)$
In particular, if \(p\) is odd and \(e=1\), then \(e/(p-1)<1\), so (2) holds on all of \(W_1(K)\): \(W_1(K)\) is torsion-free and \(\lambda\) is injective on it.
This is the manuscript's statement that the logarithm "is an isometry with inverse exponential on \(v(z)>e/(p-1)\)" (Silverman IV.6.3-IV.6.4), with its reason: the degree-\(r\) coefficient has denominator dividing \(r\), so each relative error has valuation at least \((r-1)v(z)-e\,v_p(r)>0\).
Proof sketch. (1) For \(r\ge2\) the term \(b_{r-1}t^r/r\) has valuation relative to \(t\) at least \((r-1)v(t)-e\,v_p(r)\). Since \(p^{v_p(r)}\le r\) and \(p^m\ge1+m(p-1)\), one has \(v_p(r)\le(r-1)/(p-1)\), so this is at least \((r-1)\bigl(v(t)-e/(p-1)\bigr)>0\); the relative errors also tend to infinity with \(r\), so the tail \(\log(t)-t\) has valuation \(>v(t)\). (2) Let \(k\) be the least integer \(>e/(p-1)\); by the filtration, \(W_k(K)\) is a subgroup and the set in question. For \(P\in W_k(K)\setminus\{O\}\), (1) gives \(v(\lambda(P))=v(z(P))<\infty\), so \(\lambda(P)\ne0\); as \(\lambda\) is a homomorphism, it is injective on \(W_k(K)\). For \(n\ne0\), \([n]P\in W_k(K)\), \([n]P\ne O\) by injectivity (\(\lambda([n]P)=n\lambda(P)\ne0\)), and \(v(z([n]P))=v(\lambda([n]P))=v(n\lambda(P))=v(n)+v(z(P))\).
theorem evalLog_isometry [CompleteSpace K] (h : ResidueChar K p e) {A t : K} (hA : 0 ≤ vK K A)
{m : ℤ} (ht : vK K t = m) (hm : (e : ℤ) < ((p : ℤ) - 1) * m) :
vK K t < vK K (evalLog A t - t) ∧ vK K (evalLog A t) = vK K t
theorem ellLog_injOn (h : ResidueChar K p e) {A : K} (hA : 0 ≤ vK K A) {k : ℤ}
(hk : (e : ℤ) < ((p : ℤ) - 1) * k) :
Set.InjOn ellLog (formalFilt A hA k : Set (shortCurve A).toAffine.Point)
theorem val_z_zsmul_eq (h : ResidueChar K p e) [CharZero K] {A : K} (hA : 0 ≤ vK K A) {k : ℤ}
(hk : (e : ℤ) < ((p : ℤ) - 1) * k) {P : (shortCurve A).toAffine.Point}
(hP : P ∈ formalFilt A hA k) {n : ℤ} :
vK K (zCoord (n • P)) = vK K (zCoord P) + vK K (n : K)
structure ResidueChar (K : Type*) [Field K] [Valued K ℤᵐ⁰] (p e : ℕ) : Prop where
val_p : vK K (p : K) = (e : ℤ)
val_coprime : ∀ n : ℕ, ¬ p ∣ n → vK K (n : K) = 0
ZInQKernel/Multiplication/Local/FormalLog.lean:63
noncomputable abbrev vK : AddValuation K (WithTop ℤ) := ordOf Valued.v
ZInQKernel/Multiplication/Local/Analytic.lean:23
noncomputable def evalLog (A t : K) : K := ∑' r, logCoeffA A r * t ^ r
ZInQKernel/Multiplication/Local/FormalLog.lean:157
noncomputable def ellLog {K : Type*} [Field K] [Valued K ℤᵐ⁰] {A : K}
(P : (shortCurve A).toAffine.Point) : K :=
evalLog A (zCoord P)
ZInQKernel/Multiplication/Local/TruncationError.lean:123
def formalFilt (A : K) (hA : 0 ≤ v A) (k : ℤ) : AddSubgroup (shortCurve A).toAffine.Point where
carrier := {P | InW1 v P ∧ (k : WithTop ℤ) ≤ v (zCoord P)}
zero_mem' := ⟨trivial, by simp [v.map_zero]⟩
add_mem' hP hQ := add_mem_filt hA k hP hQ
neg_mem' hP := neg_mem_filt k hP
ZInQKernel/Multiplication/Local/FormalGroup.lean:176
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
ZInQKernel/Model/Field/ShortWeierstrass.lean:22
def zCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x y _ => -x / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:30
Uses 2 · Used by 1
For \(E\) the invariant differential is \(dz/\sqrt{1+4d^2z^4}\), so the logarithm is an explicit binomial series, and the polynomial \(L\) of the truncated logarithm template is \(16575\) times its truncation in degree \(25\).
TheoremThe formal logarithm of \(E\) is a binomial series#✓
For the generator curve \(E:y^2=x^3-d^2x\) (\(A=-d^2\), \(d=75-53s\)), with \(z=-x/y\):
- the abscissa reciprocal \(u=1/x\) is the unique power series \(u(z)=z^2+O(z^3)\) with \(z^2(1-d^2u^2)=u\), and \(1+2d^2z^2u(z)=\sqrt{1+4d^2z^4}\) (the square root with constant term \(1\)); in particular \(u(z)=z^2\) times a unit of \(\mathbb Z[s][[z]]\);
- the invariant differential is $\(\frac{dx}{2y}=\frac{dz}{\sqrt{1+4d^2z^4}},\qquad (1+4d^2z^4)^{-1/2}=\sum_{j\ge0}(-1)^j\binom{2j}{j}d^{2j}z^{4j};\)$
- hence the formal logarithm of \(E\) is $\(\log(T)=\sum_{j\ge0}\frac{(-1)^j\binom{2j}{j}\,d^{2j}}{4j+1}\,T^{4j+1}.\)$
These are identities of formal power series with coefficients in \(K_0\); they hold over every completion of \(K_0\).
Proof sketch. From \(y^2=x^3+Ax\), \(z^2=x^2/y^2=x/(x^2+A)=u/(1+Au^2)\), so \(Az^2u^2-u+z^2=0\), whose power-series root with \(u(0)=0\) satisfies \(1-2Az^2u=\sqrt{1-4Az^4}\) and \(u=z^2(1+Az^4+\cdots)\). Since \(x=1/u\) and \(y=-x/z\), \(dx/(2y)=z\,du/(2u)\). Differentiating the quadratic gives \(du\,(1-2Az^2u)=2z(1+Au^2)\,dz\), and with \(z^2(1+Au^2)=u\) this yields \(dx/(2y)=dz/\sqrt{1-4Az^4}\). With \(A=-d^2\) and \(\binom{-1/2}{j}4^j=(-1)^j\binom{2j}{j}\) the binomial series gives (2), and termwise integration with constant term \(0\) gives (3), the formal logarithm being the formal integral of the invariant differential normalized by \(\log(T)=T+\cdots\).
theorem uSeries_eq (A : F) : uSeries A = X ^ 2 * (1 + C A * uSeries A ^ 2)
theorem invDiffSeries_ode (A : F) :
derivative (R := F) (invDiffSeries A) =
C (4 * A) * X ^ 4 * derivative (R := F) (invDiffSeries A) + C (8 * A) * X ^ 3 * invDiffSeries A
theorem coeff_formalLog_genE (n : ℕ) :
coeff n (formalLog (-genD ^ 2 : K0)) =
if n % 4 = 1 then (logCoeff (n / 4) : K0) * genD ^ (2 * (n / 4)) else 0
def uSeries {R : Type*} [CommRing R] (A : R) : PowerSeries R := mk fun n => omegaCoeff A (n + 1)
ZInQKernel/Multiplication/Local/LogSeries.lean:34
def invDiffSeries {R : Type*} [CommRing R] (A : R) : PowerSeries R := PowerSeries.mk (invDiffCoeff A)
ZInQKernel/Multiplication/Local/FormalLog.lean:34
def formalLog {F : Type*} [Field F] (A : F) : PowerSeries F := PowerSeries.mk (logCoeffA A)
ZInQKernel/Multiplication/Local/FormalLog.lean:41
def genD : K0 := ⟨75, -53⟩
ZInQKernel/Hypotheses/MordellWeil.lean:31
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
def logCoeff (j : ℕ) : ℚ := (-1) ^ j * (Nat.centralBinom j : ℚ) / (4 * j + 1)
ZInQKernel/Multiplication/Local/LogCoefficients.lean:24
Uses 2 · Used by 2
LemmaThe coefficients of the truncated logarithm#✓
For \(j=0,1,\dots,6\), $\(16575\cdot\frac{(-1)^j\binom{2j}{j}}{4j+1}=c_j,\qquad (c_0,\dots,c_6)=(16575,\,-6630,\,11050,\,-25500,\,68250,\,-198900,\,612612),\)$ as an identity of rational numbers; moreover \(16575=3\cdot5^2\cdot13\cdot17\) and \(d^2=11243-7950s\). Consequently the polynomial $\(L(z)=16575z-6630d^2z^5+11050d^4z^9-25500d^6z^{13}+68250d^8z^{17}-198900d^{10}z^{21}+612612d^{12}z^{25}\)$ of the truncated logarithm template is \(16575\) times the degree-\(25\) truncation \(\sum_{j=0}^{6}(-1)^j\binom{2j}{j}d^{2j}z^{4j+1}/(4j+1)\) of the formal logarithm of \(E\).
This is a finite computation: seven rational identities with numbers below \(10^6\), and one factorization.
Proof sketch. Evaluate: \(\binom{2j}{j}=1,2,6,20,70,252,924\) and \(4j+1=1,5,9,13,17,21,25\); for instance \(16575\cdot924/25=663\cdot924=612612\). The truncation statement follows by comparing coefficients, the template writing \(d^{2j}\) as \(\delta^j\) with \(\delta=d^2\).
theorem log25_coefficients : ∀ j < 7, (16575 : ℚ) * logCoeff j = log25Coeff j
theorem truncLog_eq {R : Type*} [CommRing R] (δ z : R) :
truncLog δ z = 16575 * z - 6630 * δ * z ^ 5 + 11050 * δ ^ 2 * z ^ 9 - 25500 * δ ^ 3 * z ^ 13 +
68250 * δ ^ 4 * z ^ 17 - 198900 * δ ^ 5 * z ^ 21 + 612612 * δ ^ 6 * z ^ 25
def logCoeff (j : ℕ) : ℚ := (-1) ^ j * (Nat.centralBinom j : ℚ) / (4 * j + 1)
ZInQKernel/Multiplication/Local/LogCoefficients.lean:24
def log25Coeff : ℕ → ℤ
| 0 => 16575
| 1 => -6630
| 2 => 11050
| 3 => -25500
| 4 => 68250
| 5 => -198900
| 6 => 612612
| _ => 0
ZInQKernel/Multiplication/Local/LogCoefficients.lean:27
def truncLog {R : Type*} [CommRing R] (δ z : R) : R :=
∑ j ∈ range 7, (log25Coeff j : R) * δ ^ j * z ^ (4 * j + 1)
ZInQKernel/Multiplication/Local/LogCoefficients.lean:59
Uses 3 · Used by 2
The truncated logarithm
At every finite place, \(L(z)\) is \(16575z\) times a unit as soon as \(v(z)\ge1\). At a prime \(p>324\) the truncation is much finer: \(L(z)/16575=\log(z)(1+\epsilon_z)\) with \(v(\epsilon_z)\ge28\), because every omitted term has relative valuation at least \(r-1-v_p(r)\ge28\).
LemmaThe truncated logarithm is \(16575z\) times a unit#✓
Let \(\mathfrak p\) be any nonzero prime of \(\mathbb Z[s]\) (including \((s)\)), with normalized valuation \(v_{\mathfrak p}\) on \(K_0\). For every \(z\in K_0\) with \(v_{\mathfrak p}(z)\ge1\), $\(L(z)=16575\,z\,(1+\eta),\qquad v_{\mathfrak p}(\eta)\ge2 .\)$ In particular \(L(z)\ne0\) whenever \(z\ne0\) and \(v_{\mathfrak p}(z)\ge1\) for some \(\mathfrak p\). The same holds, with the same proof, for \(z\) in the completion of \(K_0\) at \(\mathfrak p\).
Proof sketch. \(\eta=\sum_{j=1}^{6}(c_j/16575)\,d^{2j}z^{4j}\) with the integer coefficients \(c_j\) of \(L\). Here \(v_{\mathfrak p}(c_j)\ge0\), \(v_{\mathfrak p}(d)\ge0\) since \(d\in\mathbb Z[s]\), and \(v_{\mathfrak p}(16575)\le2\): it is \(0\) at \((s)\) and at every prime above a rational prime not dividing \(16575=3\cdot5^2\cdot13\cdot17\), and \(v_p(16575)\le2\) at the primes above \(p\in\{3,5,13,17\}\), which are unramified. Hence each term has valuation at least \(4j-2\ge2\).
theorem truncLog_eq_mul_unit {δ : F} (hδ : 0 ≤ v δ) (hc : v (16575 : F) ≤ 2) {z : F}
(hz : 1 ≤ v z) : ∃ η : F, 2 ≤ v η ∧ truncLog δ z = 16575 * z * (1 + η)
theorem log25_eq_mul_unit {π : Zs} (hπ : Prime π) {z : K0} (hz : 1 ≤ vP π hπ z) :
∃ η : K0, 2 ≤ vP π hπ η ∧ truncLog (genD ^ 2) z = 16575 * z * (1 + η)
theorem log25_ne_zero {π : Zs} (hπ : Prime π) {z : K0} (hz0 : z ≠ 0) (hz : 1 ≤ vP π hπ z) :
truncLog (genD ^ 2) z ≠ 0
def truncLog {R : Type*} [CommRing R] (δ z : R) : R :=
∑ j ∈ range 7, (log25Coeff j : R) * δ ^ j * z ^ (4 * j + 1)
ZInQKernel/Multiplication/Local/LogCoefficients.lean:59
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
abbrev K0 : Type := QuadraticAlgebra ℚ 2 0
ZInQKernel/Hypotheses/MordellWeil.lean:25
noncomputable def vP (π : Zs) (hπ : Prime π) : AddValuation K0 (WithTop ℤ) :=
ordOf ((primeSpec π hπ).valuation K0)
ZInQKernel/Multiplication/Local/Valuations.lean:72
def genD : K0 := ⟨75, -53⟩
ZInQKernel/Hypotheses/MordellWeil.lean:31
Uses 4 · Used by 2
LemmaThe truncation error at a large prime#✓
Let \(p>324\) be a prime, \(\mathfrak p\) a prime of \(\mathbb Z[s]\) above \(p\), \(K_{\mathfrak p}\) the completion of \(K_0\) at \(\mathfrak p\) with valuation \(v\) (\(v(p)=1\)), and \(\lambda\) the formal logarithm of \(E\) over \(K_{\mathfrak p}\). For every \(P\in E_1(K_{\mathfrak p})\) with \(P\ne O\):
- \(v(\lambda(P))=v(z(P))\ge1\);
- \(L(z(P))=16575\,\lambda(P)\,(1+\epsilon)\) with \(\epsilon\in K_{\mathfrak p}\) and \(v(\epsilon)\ge28\).
For \(P=O\) both sides of (2) vanish.
Proof sketch. Put \(t=z(P)\), so \(v(t)\ge1\), and \(\lambda(P)=\log(t)\) is the binomial series. By the coefficient identity, \(\log(t)-L(t)/16575=\sum_{j\ge7}(-1)^j\binom{2j}{j}d^{2j}t^{4j+1}/(4j+1)\). With \(r=4j+1\ge29\), each term relative to \(t\) has valuation at least \((r-1)v(t)-v_p(r)\ge r-1-v_p(r)\ge28\): if \(p\nmid r\) this is \(r-1\ge28\), and if \(p\mid r\) then \(r\ge p\ge331\) and \(v_p(r)\le\log_{331}r<r-29\). So \(\log(t)-L(t)/16575=t\delta\) with \(v(\delta)\ge28\). The terms \(1\le j\le6\) of \(\log(t)/t-1\) have valuation at least \(4j\ge4\) because \(4j+1\le25<p\), and the tail has valuation at least \(28\); hence \(\log(t)=t\cdot(\text{unit})\), which is (1). Then \(L(t)/16575=\log(t)(1+\epsilon)\) with \(\epsilon=-t\delta/\log(t)\) and \(v(\epsilon)=v(\delta)\ge28\).
theorem log25_truncation_error {p : ℕ} [Fact p.Prime] (hp324 : 324 < p) {π : Zs} (hπ : Prime π)
(hπp : π ∣ (p : Zs)) (P : (shortCurve (-genDAt π hπ ^ 2)).toAffine.Point)
(hP : P ∈ W1 (vComp π hπ) (-genDAt π hπ ^ 2)) (hP0 : P ≠ 0) :
vComp π hπ (ellLog P) = vComp π hπ (zCoord P) ∧ 1 ≤ vComp π hπ (zCoord P) ∧
∃ ε, 28 ≤ vComp π hπ ε ∧
truncLog (genDAt π hπ ^ 2) (zCoord P) = 16575 * ellLog P * (1 + ε)
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
def shortCurve (A : F) : WeierstrassCurve F where
a₁ := 0
a₂ := 0
a₃ := 0
a₄ := A
a₆ := 0
ZInQKernel/Model/Field/ShortWeierstrass.lean:22
noncomputable abbrev genDAt (π : Zs) (hπ : Prime π) : (primeSpec π hπ).adicCompletion K0 :=
algebraMap K0 _ genD
ZInQKernel/Multiplication/Local/TruncationError.lean:113
def W1 (A : K) : Set (shortCurve A).toAffine.Point := {P | InW1 v P}
ZInQKernel/Multiplication/Local/FormalGroup.lean:67
noncomputable abbrev vComp (π : Zs) (hπ : Prime π) :
AddValuation ((primeSpec π hπ).adicCompletion K0) (WithTop ℤ) :=
ordOf Valued.v
ZInQKernel/Multiplication/Local/TruncationUnit.lean:161
noncomputable def ellLog {K : Type*} [Field K] [Valued K ℤᵐ⁰] {A : K}
(P : (shortCurve A).toAffine.Point) : K :=
evalLog A (zCoord P)
ZInQKernel/Multiplication/Local/TruncationError.lean:123
def zCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x y _ => -x / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:30
def truncLog {R : Type*} [CommRing R] (δ z : R) : R :=
∑ j ∈ range 7, (log25Coeff j : R) * δ ^ j * z ^ (4 * j + 1)
ZInQKernel/Multiplication/Local/LogCoefficients.lean:59
Uses 6 · Used by 2
Consequences for multiples of the generator
\(P_0\) lies deep in the formal group at the dyadic prime \((s)\), so \(L(z(Q))\ne0\) for every nonzero multiple \(Q\) of \(P_0\): the two inverse guards of a test group never fail for a nonidentity base point. At an odd prime, the full logarithms of two multiples of \(P_0\) in the formal group have the rational ratio of their indices.
LemmaThe \(2\)-adic valuations of the coordinates of \(P_0\)#✓
$\(v_2(1641)=0,\qquad v_2(1160)=3,\qquad v_2(123720)=3,\qquad v_2(87483)=0,\qquad v_2(8)=3,\qquad v_2(32)=5 .\)$ Equivalently: \(1641\), \(87483\), \(145\) and \(15465\) are odd, \(1160=2^3\cdot145\) and \(123720=2^3\cdot15465\).
This is a finite computation with numbers below \(2\cdot10^5\). It is the numerical input of the statement that \(P_0=\bigl((1641-1160s)/8,\,(-123720+87483s)/32\bigr)\) lies in the formal group at the prime \((s)\).
Proof sketch. Evaluate.
theorem genP0_dyadic_numerals :
padicValNat 2 1641 = 0 ∧ padicValNat 2 1160 = 3 ∧ padicValNat 2 123720 = 3 ∧
padicValNat 2 87483 = 0 ∧ padicValNat 2 8 = 3 ∧ padicValNat 2 32 = 5
Used by 1
LemmaThe generator lies in the dyadic formal group#✓
Let \(v_s\) be the valuation of \(K_0\) at the prime \((s)\), normalized by \(v_s(s)=1\) (so \(v_s(2)=2\)). Then $\(v_s\bigl(x(P_0)\bigr)=-6,\qquad v_s\bigl(y(P_0)\bigr)=-9,\qquad v_s\bigl(z(P_0)\bigr)=3 .\)$ Hence, for the formal neighbourhood of \(E\) over \(K_0\) at the valuation \(v_s\), \(P_0\in E_3\subset E_1\), and every multiple \([n]P_0\) (\(n\in\mathbb Z\)) lies in \(E_1\) with \(v_s(z([n]P_0))\ge3\). The filtration depends only on the valuations of the coordinates, so the same holds in the completion \(K_{(s)}\).
The numerical input is the separate finite check of the \(2\)-adic valuations of the coordinate numerators.
Proof sketch. \(x(P_0)=(1641-1160s)/8\). By the valuation formula at \((s)\), \(v_s(1641-1160s)=\min(2v_2(1641),2v_2(1160)+1)=\min(0,7)=0\) (using \(v_2(1641)=0\), \(v_2(1160)=3\)) and \(v_s(8)=6\). Similarly \(y(P_0)=(-123720+87483s)/32\) with \(v_s(-123720+87483s)=\min(2v_2(123720),2v_2(87483)+1)=\min(2\cdot3,0+1)=1\) and \(v_s(32)=10\), so \(v_s(y)=-9\). Then \(v_s(z)=v_s(x)-v_s(y)=3\). The statements about multiples follow from the subgroup property of \(E_3\) and from \(v_s(z([n]P))\ge v_s(z(P))\) in the formal group.
theorem genP0_val_s :
vS genX0 = (-6 : ℤ) ∧ vS genY0 = (-9 : ℤ) ∧
vS (zCoord (A := -genD ^ 2) genP0) = (3 : ℤ)
theorem genP0_mem_formalFilt_three : genP0 ∈ formalFilt (-genD ^ 2) vS_genA_nonneg 3
noncomputable abbrev vS : AddValuation K0 (WithTop ℤ) := vP sqrt2Z prime_sqrt2Z
ZInQKernel/Multiplication/Local/Dyadic.lean:83
def genX0 : K0 := ⟨1641 / 8, -145⟩
ZInQKernel/Model/Field/Curve.lean:95
def genY0 : K0 := ⟨-15465 / 4, 87483 / 32⟩
ZInQKernel/Model/Field/Curve.lean:98
def zCoord {A : K} : (shortCurve A).toAffine.Point → K
| 0 => 0
| .some x y _ => -x / y
ZInQKernel/Multiplication/Local/FormalGroup.lean:30
def genD : K0 := ⟨75, -53⟩
ZInQKernel/Hypotheses/MordellWeil.lean:31
def genP0 : genCurve.toAffine.Point := Point.mk genP0_equation
ZInQKernel/Model/Field/Curve.lean:118
def formalFilt (A : K) (hA : 0 ≤ v A) (k : ℤ) : AddSubgroup (shortCurve A).toAffine.Point where
carrier := {P | InW1 v P ∧ (k : WithTop ℤ) ≤ v (zCoord P)}
zero_mem' := ⟨trivial, by simp [v.map_zero]⟩
add_mem' hP hQ := add_mem_filt hA k hP hQ
neg_mem' hP := neg_mem_filt k hP
ZInQKernel/Multiplication/Local/FormalGroup.lean:176
theorem vS_genA_nonneg : 0 ≤ vS (-genD ^ 2)
ZInQKernel/Multiplication/Local/Dyadic.lean:86
Uses 4 · Used by 3
LemmaThe truncated logarithm does not vanish on nonzero multiples of \(P_0\)#✓
For every integer \(n\ne0\), the point \(Q=[n]P_0\) is affine with \(x(Q)\ne0\) and \(y(Q)\ne0\), so \(z(Q)=-x(Q)/y(Q)\) and \(1/x(Q)\) are defined and nonzero, and $\(L\bigl(z(Q)\bigr)\ne0 .\)$
The manuscript states that all denominators in the tests are guarded; this lemma shows that the two guards \(L(z(H))\ne0\) and \(L(z(V_0))\ne0\) of a test group hold automatically once \(H\ne O\) and \(V_0\ne O\).
Proof sketch. By the torsion theorem \(P_0\) has infinite order, so \(Q\ne O\) and \(Q\) is not of order two; hence \(y(Q)\ne0\), and \(x(Q)\ne0\) because \(x=0\) forces \(y=0\). Thus \(z(Q)\ne0\). By the dyadic position of \(P_0\), \(Q\in E_1(K_{(s)})\) with \(v_s(z(Q))\ge3\ge1\), and the unit form of the truncated logarithm at \((s)\) gives \(L(z(Q))=16575\,z(Q)(1+\eta)\) with \(v_s(\eta)\ge2\), which is nonzero.
theorem log25_z_ne_zero {n : ℤ} (hn : n ≠ 0) :
∃ x y h, n • genP0 = Point.some x y h ∧ x ≠ 0 ∧ y ≠ 0 ∧
truncLog (genD ^ 2) (-x / y) ≠ 0
def genP0 : genCurve.toAffine.Point := Point.mk genP0_equation
ZInQKernel/Model/Field/Curve.lean:118
def truncLog {R : Type*} [CommRing R] (δ z : R) : R :=
∑ j ∈ range 7, (log25Coeff j : R) * δ ^ j * z ^ (4 * j + 1)
ZInQKernel/Multiplication/Local/LogCoefficients.lean:59
def genD : K0 := ⟨75, -53⟩
ZInQKernel/Hypotheses/MordellWeil.lean:31
Uses 5 · Used by 1
LemmaFull-logarithm ratios of multiples of \(P_0\)#✓
Assume the Mordell-Weil hypothesis for \(E/K_0\). Let \(p\) be an odd prime, \(\mathfrak p\) a prime of \(\mathbb Z[s]\) above \(p\), and \(\lambda\) the formal logarithm of \(E\) over the completion \(K_{\mathfrak p}\). Let \(h,u\in\mathbb Z\) with \(h\ne0\) such that \([h]P_0\) and \([u]P_0\) lie in \(E_1(K_{\mathfrak p})\). Then $\(\lambda([h]P_0)\ne0\qquad\text{and}\qquad\lambda([u]P_0)=\frac uh\,\lambda([h]P_0).\)$
These are the manuscript's full-log ratios: the ratio of two full logarithms of multiples of \(P_0\) in the formal group is a rational number, the ratio of the indices.
Proof sketch. Put \(H=[h]P_0\) and \(U=[u]P_0\). Since \(P_0\) has infinite order, \(H\ne O\). As \(p\) is odd and unramified, the isometry range of the logarithm is all of \(E_1(K_{\mathfrak p})\), so \(\lambda\) is injective on it and \(\lambda(H)\ne0\). Both \([u]H\) and \([h]U\) equal \([uh]P_0\) and lie in the subgroup \(E_1(K_{\mathfrak p})\), and \(\lambda\) is a homomorphism, so \(u\lambda(H)=\lambda([u]H)=\lambda([h]U)=h\lambda(U)\).
theorem ellLog_ratio {p : ℕ} [Fact p.Prime] (hp2 : p ≠ 2) {π : Zs} (hπ : Prime π)
(hπp : π ∣ (p : Zs)) {h u : ℤ} (hh : h ≠ 0)
(hH : mapE π hπ (h • genP0) ∈ W1 (vComp π hπ) (-genDAt π hπ ^ 2))
(hU : mapE π hπ (u • genP0) ∈ W1 (vComp π hπ) (-genDAt π hπ ^ 2)) :
ellLog (mapE π hπ (h • genP0)) ≠ 0 ∧
ellLog (mapE π hπ (u • genP0)) = (u / h) * ellLog (mapE π hπ (h • genP0))
abbrev Zs : Type := QuadraticAlgebra ℤ 2 0
ZInQKernel/Model/Field/Basic.lean:148
noncomputable def mapE (π : Zs) (hπ : Prime π) :
genCurve.toAffine.Point → (shortCurve (-genDAt π hπ ^ 2)).toAffine.Point :=
mapPt (A := -genD ^ 2) (algebraMap K0 _) (algebraMap_neg_genD_sq π hπ)
ZInQKernel/Multiplication/Local/Ratio.lean:27
def genP0 : genCurve.toAffine.Point := Point.mk genP0_equation
ZInQKernel/Model/Field/Curve.lean:118
def W1 (A : K) : Set (shortCurve A).toAffine.Point := {P | InW1 v P}
ZInQKernel/Multiplication/Local/FormalGroup.lean:67
noncomputable abbrev vComp (π : Zs) (hπ : Prime π) :
AddValuation ((primeSpec π hπ).adicCompletion K0) (WithTop ℤ) :=
ordOf Valued.v
ZInQKernel/Multiplication/Local/TruncationUnit.lean:161
noncomputable abbrev genDAt (π : Zs) (hπ : Prime π) : (primeSpec π hπ).adicCompletion K0 :=
algebraMap K0 _ genD
ZInQKernel/Multiplication/Local/TruncationError.lean:113
noncomputable def ellLog {K : Type*} [Field K] [Valued K ℤᵐ⁰] {A : K}
(P : (shortCurve A).toAffine.Point) : K :=
evalLog A (zCoord P)
ZInQKernel/Multiplication/Local/TruncationError.lean:123
Uses 7 · Used by 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.