=== PDF PAGE 25 ===
                 A QUADRATICALLY ENRICHED CORRESPONDENCE THEOREM                               25


each TorK ′ (σ) and TorK ′ (σ ′ ) in one point, with multiplicities |σ| and |σ ′ |, respectively.
                                     ′
Hence, the trunctions f ′σ and f ′σ of the defining polynomial f ′ to σ and σ ′ equal
                                                         ′            m         p
                     f ′σ = xp (ax + ϵ1 )q−p and f ′σ = (by dp + ϵ2 x dp )dp ,
                                                                      d
respectively, for some a, b, ϵ1 , ϵ2 ∈ K ′× satisfying ϵ1q−p = ϵ2p = 1. In the given parametriza-
tion, the curve C ′ meets TorK ′ (σ) at t = 1. Hence,
                               f ′σ (x(1), y(1)) = αp (aα + ϵ1 )q−p
has to vanish with order q − p = |σ|. This only happens if aα + ϵ1 = 0, which gives the
first equation in (14). Observe that
                                                     (q−p)m         p
                                                                       dp
                                             m
                     ′σ ′             mp
                   f (x(t), y(t)) = t      bβ (t − 1)
                                             dp         dp
                                                             + ϵ2 α dp
                                                                           .

The curve C ′ meets the toric divisor TorK ′ (σ ′ ) at t = 0 with vanishing order dp = |σ ′ |
                                p        (q−p)m              p
and therefore we get that bβ dp (−1)       dp
                                                  + ϵ2 α dp = 0, which is the second equation in
(14).                                                                                         □
                                                             1
  Next we compute the quadratic weight WelA         ′                ′
                                              F ′ (C ) of the curve C defined by the
parametrization (13), with α and β as in Lemma 5.5 in GW(F ).′


Lemma 5.6. All curves parametrized by (13) with α and β satisfying (14) are nodal and
meet the toric boundary TorK ′ (∂∆′ ) where it is unibranch and smooth. Furthermore,
                           D                                               E
                1    ′           Int(∆′ ) dq +dp +q−p         dp +dq dp dq
           WelAF′ (C   ) =   (−1)        m            (q − p)       d  d
                                                                     p q     ∈ GW(F ′ ),

where Int(∆′ ) is the number of interior points in ∆′ .
Proof. In order to compute the quadratic weight of the parameterized rational curve C ′ ,
we compute the product over all nodes of the curve of the negative determinant of the
Hessian of a defining polynomial at every nodal point, up to squares. In order to compute
the local contribution at every nodal point, we use the fact that this determinant can be
computed up to squares directly from the parametrization.
   Namely, let us assume that there are parameters t and s defining a non-degenerate dou-
ble nodal point p. The linear change of variable given by the tangent vectors (x′ (t), y ′ (t))
and (x′ (s), y ′ (s)) of the parametrization at p, allows us to have an explicit local equation
of the form γuv + h.o.t., where γ ∈ k and u, v are local coordinates. Therefore, minus the
determinant of the Hessian of a defining equation at the node p equals
                                                                  2
                                     x′ (t)y ′ (s) − x′ (s)y ′ (t) ,
up to squares in k. Hence, using the parametrization in (13), we have that the local
contribution at a node (x(t), y(t)) = (x(s), y(s)) equals
(16)
   mx(t) y(s)(qs − p) mx(s) y(t)(qt − p) 2
                                                                                      2
                                                                    2         t−s
                     −                          = (m(q − p)x(t)y(t))                        .
     t     s(s − 1)        s      t(t − 1)                              t(t − 1)s(s − 1)
Now, let us compute the coordinates of the nodes of C ′ . The parameters s and t must
satisfy the equations (x(t), y(t)) = (x(s), y(s)) with t ̸= s. Hence, we have that s = tµ,
where µ is a non-trivial m-th root of unity, and
                                          1−t        p
                                                = µ q−p ν,
                                         1 − µt
                                                             p
where ν is a (q − p)-th root of unity. Put ζ = µ q−p ν. Then, the parameters where there
is a node are the solutions to the equations
                                     1−ζ                                  p
(17)                         t=            ,   s = tµ,           ζ = µ q−p ν,
                                    1 − ζµ

=== PDF PAGE 26 ===
26                       JARAMILLO PUENTES, ANDRÉS AND PAULI, SABRINA


where µm = ν q−p = 1 and µ ̸= 1, ζ ̸= 1, ζµ ̸= 1. Hence, the solutions are given by
                        i
(18)               µ = ζm                                     i = 1, 2, . . . , m − 1,
                        ip+jm
(19)               ζ = ζm(q−p)                   ip + jm ̸≡ 0       mod m(q − p),
                       iq+jm
(20)             ζµ = ζm(q−p)                    iq + jm ̸≡ 0       mod m(q − p),

where j = 1, 2, . . . , q − p, and ζm and ζm(q−p) are primitive m-th and m(q − p)-th roots of
unity, respectively. However, this counts twice the number of nodes since the branches of
a node are unordered.
    Set mp = dmp and mq = dmq . Let us remark that ip + jm ≡ 0 mod m(q − p) if and only
if i dpp + jmp ≡ 0 mod mp (q − p) and that if i dpp + jmp ≡ 0 mod mp (q − p), then i dpp ≡ 0
mod mp . Since gcd( dpp , mp ) = 1, we have that i ≡ 0 mod mp . So there are exactly dp − 1
solutions to ip + jm ≡ 0 mod m(q − p). Namely when i = mp i′ , where i′ = 1, 2, . . . , dp − 1
and j is the only solution to j ≡ −i′ dpp in range. Analogously, there are dq − 1 solutions
to iq + jm ≡ 0 mod m(q − p), given by i = mq i′ , where i′ = 1, 2, . . . , dq − 1 and j is the
                                                            (m−1)(q−p)−(dp +dq −2)
only solution to j ≡ −i′ dqq in range. Thus, there are                2            distinct nodes.
                                                  ′
By Pick’s theorem, this corresponds to Int(∆ ) the number of interior lattice points in the
triangle ∆′ .
    Finally, we can compute the quadratic weight of the curve C ′ by multiplying over the
nodes of C ′ the expression in (16), or equivalently, by multiplying the square root of this
expression over all solutions of (17), multiplying it by −1 for each node due to the fact
that we interchange the roles of s and t in one of the instances of (17) that describe the
same node. Thus, the quadratic weight is the class of the quadratic form given by
                Y                         2
                                t−s                      ′
                                                              Y           t−s
(21)                                          = (−1)Int(∆ )                           ,
                          t(t − 1)s(s − 1)                          t(t − 1)s(s − 1)
            nodes of C                                       sols.to(17)

since the product over the nodes of C ′ of the factor (x(t)y(t))2 is a square in k. For a
particular solution of (17), the contribution from (16) equals
                                    t−s             (1 − ζµ)3
(22)                                           =                  .
                              t(t − 1)s(s − 1)   ζµ(1 − ζ)(1 − µ)
Let us compute the product over all solutions of (17) of each factor in the right-hand side
of (22). To do that, we will multiply over all instances of the range i = 1, 2, . . . , m − 1,
j = 1, 2, . . . , q − p and we will divide the exceeding terms that do not contribute according
to the consideration given by each case.
   For the factor 1 − ζµ in the numerator, let us observe that only multiples of dq can be
obtained as integer combinations iq + jm, and each multiple ldq can be obtained dq times
if ldq ̸≡ 0 mod m and can be obtained dq − 1 times if ldq ≡ 0 mod m. After dividing
by dq , the product runs for l = 1, 2, . . . , mq (q − p) − 1 and we get that
                                                                    dq
                                          mq (q−p)−1
                                              Y
                                                          l
                                                   (1 − ζm q (q−p)
                                                                    )
             Y                                l=1                                   [mq (q − p)]dq
(23)                 (1 − ζµ) = d −1                                              =                ,
                                 p                    q−p−1                      dp · (q − p)
         sols.to(17)             Y          imp (q−p)
                                                         Y             jmq
                                       1 − ζm(q−p)     ·          1 − ζmq (q−p)
                               i=1                     j=1

where ζmq (q−p) is a primitive mq (q − p)-th root of unity. The numerator has an excess of
terms corrected by the second factor of the denominator corresponding to the multiples
that appear only dp − 1 instead of dp , and the first factor of the denominator corresponds
to elements i, j such that ζ = 1 which do not contribute to our product. One can check
that there are dq (mq (q − p) − 1) factors in the numerator and [(q − p) − 1 + dp − 1] factors in
the denominator, which account for twice the number of nodes of C ′ . A direct application
of Lemma 2.10 yields the second equality in (23).

=== PDF PAGE 27 ===
                    A QUADRATICALLY ENRICHED CORRESPONDENCE THEOREM                                           27


   For the factor ζµ in the denominator we can use the same set of indices for the products
in the equation. We get that
(24)
                                                    dq
                            mq (q−p)−1
                                Y
                                          l
                                      (ζm  q (q−p)
                                                    )                    h
                                                                            m(q−p)−dp −dq −(q−p)+2
                                                                                                   i
      Y                         l=1                                m(q−p)             2
             (ζµ) = d −1                                        = ζm(q−p)                            = 1,
                     p                q−p−1                
  sols.to(17)        Y      imp (q−p)
                                            Y        jmq
                           ζm(q−p)      ·           ζmq (q−p)
                      i=1                    j=1

since m(q − p) − dp − dq − (q − p) + 2 ≡ 0 mod 2 for all parities of m, p and q.
   For the factor 1−ζ in the denominator the computation is analogous to the one of 1−ζµ
by switching the roles of p and q due to the nature of the description in (19) and (20).
Thus, we get that
                                                                    dp
                                      mp (q−p)−1                  
                                          Y
                                                         l
                                                   1 − ζm p (q−p)
                                                                     
            Y                             l=1                                     [mp (q − p)]dp
(25)               (1 − ζ) = d −1                                               =                .
                              q                     q−p−1
                                                        Y                        dq · (q − p)
        sols.to(17)           Y           imq (q−p)                    jmp
                                    1 − ζm(q−p)       ·         1 − ζmp (q−p)
                                 i=1                         j=1

Lastly, for the factor 1−µ, for every instance of i = 1, 2, . . . , m−1, there are q −p solutions
for j, and we just need to correct for the solutions to ζ = 1 and ζµ = 1. Namely,
                                           "m−1              #q−p
                                             Y
                                                         i
                                                           
                                                  1 − ζm
                                                                          mq−p
                             (1 − µ) = d −1 i=1
                      Y
(26)                                                                    =       ,
                                        p              dq −1              dp dq
                  sols.to(17)           Y
                                                 i
                                                       Y
                                                                    i
                                                                      
                                            1 − ζm   ·        1 − ζm
                                             i=1               i=1

by applying Lemma 2.10. The theorem follows from equations (21) to (26) by considering
terms up to squares in k.                                                           □
   Let us summarize and reformulate what we did in this subsection: Let ∆′ be a lattice
triangle with edges σ, σ ′ and σ ′′ .
    (1) We have found all the (finitely many) possibilities for the rational curve C ′ in
        TorK ′ (∆′ ) with prescribed coefficients in aij ∈ K ′ for all (i, j) ∈ (σ ∪ σ ′ ) ∩ Z2 such
        that C ′ meets each boundary divisor of TorK ′ (∂∆′ ) in precisely one K ′ -point with
        the correct multiplicity. All these curves have only nodes as singularities and meet
        the toric boundary at non-singular, unibranch points.
    (2) The K ′ -algebra defined by the different choices of C ′ is F ′ defined in Lemma 5.5.
    (3) It follows from Lemma 5.6 and Remark 5.4 that the quadratic weight of such a
        curve C ′ equals
                              *                                     ′
                                                                                    +
                     A1  ′            Int(∆′ )           |∆′ ||∆ |
(27)            WelF ′ (C ) = (−1)                                                    ∈ GW(F ′ ).
                                               |σ||σ| · |σ ′ ||σ′ | · |σ ′′ ||σ′′ |
  A part of the proof of our main theorem, the correspondence theorem, will be to compute
                                1
the trace form TrF ′ /K ′ (WelA       ′           ′                                                     ′
                               F ′ (C )) ∈ GW(K ) in the case that all the edges of ∆ are odd.
Pick’s theorem 2.9 implies that if all three edges of a lattice triangle are odd, then the
                                                                                       |∆′ |
double area of the triangle is also odd. It follows that dimK ′ F ′ = |σ||σ                 ′ | is odd. Hence, by

Proposition 2.8 we have that
                                                                           |∆′ |
                                                                                   
                            A1     ′                         Int(∆′ )
            TrF ′ /K ′ WelF ′ (C ) = TrF ′ /K ′       (−1)
                                                                      |σ||σ ′ ||σ ′′ |
(28)                                                                |∆′ |
                                                                         ′| − 1
                                         D                   E
                                                    ′             |σ||σ
                                        = (−1)Int(∆ ) |σ ′′ | +                  h ∈ GW(K ′ ).
                                                                         2

=== PDF PAGE 28 ===
28                       JARAMILLO PUENTES, ANDRÉS AND PAULI, SABRINA

          1
5.2. WelAκ(Cl ) (Cl ) when ∆l is a parallelogram. In this subsection we compute the qua-
dratic weights of the rational curve C ′ := Cl , where ∆′ := ∆l is a parallelogram in S. We
assume we know the coefficients of the defining polynomial f ′ on two adjacent edges and
assume that these coefficients are defined over some finite field extension K ′ of k. Recall
from Proposition 3.16 that the f ′ is of the form xs y r (αxa + βy b )p (γxc + δy d )q . Shustin
shows that the choice of α, β, γ, δ is uniquely determined by the known coefficients and
that α, β, γ, δ ∈ K ′× [Shu06, Step 2 in §3.7]. Next, we compute the quadratic weight of
this unique curve, that is we provide is a quadratic enrichment of [Shu06, Lemma 3.6] for
the primitive case.
Proposition 5.7. Given integers a, b, c, d such that gcd(a, b) = gcd(c, d) = 1 and ad ̸= bc,
and given non-zero coefficients α, β, γ, δ ∈ K ′× , the curve defined by
                                    (αxa + βy b )(γxc + δy d ) = 0
has |ad − bc| nodes. None of the nodes lies on the toric boundary, and the quadratic weight
of the curve equals ⟨1⟩ ∈ GW(K ′ ).

Proof. Let G1 := αxa + βy b and G2 := γxc + δy d and G := G1 · G2 . Then
                                      ∂G
                              Gx :=      = αaxa−1 · G2 + γcxc−1 · G1
                                      ∂x
and
                                      ∂G
                              Gy :=      = βby b−1 · G2 + δdy d−1 · G1 .
                                      ∂y
For G, Gx and Gy to vanish simultaneously, we need G1 and G2 to vanish, or equivalently

(29)                               αxa = −βy b and γxc = −δy d .
These equations have |ad − bc| zeros assuming x ̸= 0 and y ̸= 0 (see for example [Stu98]
or [JPP22]). In order to compute − det Hessian(G) at a node z, put A := αaxa−1 δdy d−1
and put B := βby b−1 γcxc−1 . Then,
                      ∂Gx
           Gxx =          = αa(a − 1)xa−2 G2 + 2αaxa−1 γcxc−1 + γc(c − 1)xc−2 G1 ,
                       ∂x
                      ∂Gy
              Gyy =       = βb(b − 1)y b−2 G2 + 2βby b−1 δdy d−1 + δd(d − 1)y d−2 G1 ,
                       ∂y
                                        Gxy = Gyx = A + B.
By (29), we have that at the nodes, these functions evaluate to

                      Gxx (z) = 2αaxa−1 cγxc−1 and Gyy (z) = 2βby b−1 dδy d−1 .
Note that Gxx · Gyy (z) = 4AB. Hence, we get that

                − det Hessian(z) = −(4AB − (A2 + 2AB + B 2 )) = (A − B)2 ,

which is a square. Let E be the K ′ -algebra defined by the nodes. Then
         WelK ′ (C ′ ) = NE/K ′ ((A − B)2 ) = (NE/K ′ (A − B))2 = ⟨1⟩ ∈ GW(K ′ )

where C ′ is the curve defined by G.                                                              □

   If the curve Cl is defined by (αxa + βy b )p (γxc + δy d )q , with pq > 1, then its singularities
are not nodal. However, its components are branches that can be deformed independently,
creating a grid consisting of pq components intersecting as in the primitive case. Hence,
the contribution to the quadratic weight is the product of the contribution of each two
connected components intersecting. Since the quadratic weight for the primitive case
is ⟨1⟩, the quadratic weight for the general case is a power of ⟨1⟩ which equals ⟨1⟩.
