Quartic point group operation

The point group operation over quartic (or hyperelliptic [1]) curves (of degree four) is defined geometrically as follows. Let
be a quartic curve on the x-y plane of real numbers, the polynomial in x on the right having either the coefficient p>0 or at least two real roots counting multiplicity.
Preparing the equations for solution in general form
y = | ax2 | + bx | + c | (resolvent equation) | |||
y2 = | a2x4 | + 2abx3 | + (b2 + 2ac)x2 | + 2bcx | + c2 | (resolvent squared) | |
y2 = | q4x4 | + q3x3 | + q2x2 | + q1x | + q0 | (solvend equation) | |
(a2 — q4)x4 | + (2ab — q3)x3 | + (b2 + 2ac — q3)x2 | + (2bc — q1)x | + c2 — q0 | = 0 | (resultant equation) |
A quartic square dance
Every operation over a quartic curve will be defined geometrically by a “square dance” of the four points of intersection of the quartic curve and a parabola [2] whose axis is parallel to the y-axis, and otherwise to be determined.
Namely if P, Q, R, and S are four points of the quartic curve, through which a parabola with an axis parallel to the y-axis passes, then we will say that
where O is the additional “point at infinity” which serves as the additive group identity.
Fitting the curves

When the resolvent quadratic equation
is squared and diminished by the solvend equation of the quartic curve
- ,
and the leading coefficient of the resultant equation
is set to one, then, after performing a partial fractions decomposition, we can start building a system of equations to determine the coefficients of the resolvent. The leading coefficient a is immediately determined, and at least one point x1 is known in every case, while the resolvent coefficients b and c may be determined possibly with the assistance of a method of least squares.
Equations to be solved simultaneously may include but are not limited to the following system.

Additive inverses
If P is a point on the quartic curve, then its inverse is found by solving for in this “square dance” equation
where the resolvent parabola is required to be tangent [3] to the original curve both at the point P = (x1,y1) and at the unknown point Q = (x,y). The “square dance” equation for the quartic point group additive inverse is solved on a computer algebra system, as pictured here on wxMaxima.
The solution is not as terrible as it appears at first glance. There are no nested radicals, and the one radical that does appear appears identically six times over in the two possible solutions for b, c, and x presented, after solving for a by fixing the leading coefficient of the resultant .
And in fact, upon further consideration, the radicals may be eliminated entirely, which is, after all, the “point” of performing a point group operation that maps rational points to rational points for cryptographic purposes.
And be that as it may, we are still not getting quite the right answer from this modern equation solver, and our other option seems to be a master’s thesis by a Colorado schoolteacher over a century ago on the subject of solving systems of quadratic equations such as we have left here after performing the partial fractions decomposition on the resolvent, and substituting to eliminate any strictly linear dependencies.
File:Denis-DiscussionCasesTwo-1903-9-jam8-join.pdf
However by now we are at the point of dispensing entirely with the computer algebra system and doing our own long division to verify the partial fractions decomposition and derive the symbolic solutions.
Point averaging
The average or “mean” of two points P and Q may be found by solving the square dance equation
Here let the parabola pass through the points P and Q and be tangent to the quartic curve at R. Take the inverse to find the mean: .
Point trebling
To treble a point P, solve the “square dance” equation
and then take the inverse of Q to find . Here the parabola is required to osculate [4] the quartic curve at the point P which appears with a multiplicity of three in the equation, and intersect simply at the point Q.
Point trisection
Trisecting a point is exactly the same as trebling, except that it is at the unknown point Q where the parabola and the quartic curve are required to osculate, and a simple intersection is permitted at the point P.
- .
Now take the inverse of Q to find .
Point doubling
Point doubling is performed by trebling and then averaging
- .
Point bisection
Point bisection or “halving” is performed by doubling a point and averaging with its additive inverse.
Point group addition
The most essential and basic operation of “adding” two points, which should serve as the point group operation for cryptographic purposes, is now derived at the end of a long, roundabout square dance routine by calculating the mean of two points, and then doubling by means of trebling and averaging.
The algebra and calculus equations should be simplified, and made as efficient as possible. The operation has been suitably defined, and nothing has been introduced here that should violate the axioms of an Abelian group.
Next steps
Once you have mastered the quartic point group operation, the proof of Mordell’s theorem by infinite descent, methods of bounding heights of rational numbers, and the theory of numerical and floating point approximations for curve fitting, you may move on to the quintic point group operation.
Appendix: R code for example curve plot
#! /usr/bin/R -f
H <- function(x){
sqrt((5/17)*(11-2*x^2/3)*(x+2/7)^2)
}
xvals <- seq(0,sqrt(16.5),0.0001)
plot(x=c(xvals,rev(xvals),-xvals,-rev(xvals)),
y=c(H(xvals),-H(rev(xvals)),-H(-xvals),H(-rev(xvals))),
type="l", lwd=3, col="brown",
xlab="x", ylab="y", asp="1",
main=expression(17*y^2 == 5*(11-2*x^2/3)*(x+2/7)^2)
)
abline(0,0)
- ↑ https://hyperelliptic.org/
- ↑ Borrowed perhaps from Category:conic section cryptography but that is another matter.
- ↑ Latin for “touching.”
- ↑ Latin for “kiss.” The y-coördinate and the first and second derivatives must be equal for the two curves which are said to osculate at that x-coördinate.