Quartic point group operation: Difference between revisions
→Preparing the equations for solution in general form: 2nd long division |
division |
||
Line 48: | Line 48: | ||
&&&&{2bc-q_1+b^2x_1+2acx_1-q_2x_1\choose+ 2abx_1^2-q_3x_1^2+a^2x_1^3-q_4x_1^3}x&{}-{2bcx_1-q_1x_1+b^2x_1^2+2acx_1^2-q_2x_1^2\choose+ 2abx_1^3-q_3x_1^3+a^2x_1^4-q_4x_1^4}\\\hline | &&&&{2bc-q_1+b^2x_1+2acx_1-q_2x_1\choose+ 2abx_1^2-q_3x_1^2+a^2x_1^3-q_4x_1^3}x&{}-{2bcx_1-q_1x_1+b^2x_1^2+2acx_1^2-q_2x_1^2\choose+ 2abx_1^3-q_3x_1^3+a^2x_1^4-q_4x_1^4}\\\hline | ||
R=&&&&&{c^2-q_0+2bcx_1-q_1x_1+b^2x_1^2+2acx_1^2\choose-q_2x_1^2+ 2abx_1^3-q_3x_1^3+a^2x_1^4-q_4x_1^4} | R=&&&&&{c^2-q_0+2bcx_1-q_1x_1+b^2x_1^2+2acx_1^2\choose-q_2x_1^2+ 2abx_1^3-q_3x_1^3+a^2x_1^4-q_4x_1^4} | ||
\end{array}</math> | \end{array}</math> | ||
Line 123: | Line 109: | ||
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. | 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. | ||
To be verified very thoroughly: | |||
<math>\begin{array}{r|rrrr} | |||
&&(a^2-q_4)x^2&{}+{2ab-q_3+a^2x_1\choose-q_4x_1+a^2x_1-q_4x_1}x&{}+{b^2+2ac-q_2+4abx_1\choose-2q_3x_1+2a^2x_1^2-2q_4x_1^2}\\\hline | |||
x-x_1&(a^2-q_4)x^3&{}+{2ab-q_3+\choose a^2x_1-q_4x_1}x^2&{}+{b^2+2ac-q_2+2abx_1\choose{}-q_3x_1+a^2x_1^2-q_4x_1^2}x&{}+{2bc-q_1+b^2x_1+2acx_1-q_2x_1\choose+ 2abx_1^2-q_3x_1^2+a^2x_1^3-q_4x_1^3}\\ | |||
&(a^2-q_4)x^3&{}-(a^2x_1-q_4x_1)x^2\\\hline | |||
&&{2ab-q_3+a^2x_1\choose-q_4x_1+a^2x_1-q_4x_1}x^2 | |||
&{}+{b^2+2ac-q_2+2abx_1\choose{}-q_3x_1+a^2x_1^2-q_4x_1^2}x\\ | |||
&&{2ab-q_3+a^2x_1\choose-q_4x_1+a^2x_1-q_4x_1}x^2 | |||
&{}-{2abx_1-q_3x_1+a^2x_1^2\choose-q_4x_1^2+a^2x_1^2-q_4x_1^2}x\\\hline | |||
&&&{b^2+2ac-q_2+4abx_1\choose-2q_3x_1+2a^2x_1^2-2q_4x_1^2}x&{}+{2bc-q_1+b^2x_1+2acx_1-q_2x_1\choose+ 2abx_1^2-q_3x_1^2+a^2x_1^3-q_4x_1^3}\\ | |||
&&&{b^2+2ac-q_2+4abx_1\choose-2q_3x_1+2a^2x_1^2-2q_4x_1^2}x&{}-{b^2x_1+2acx_1-q_2x_1+4abx_1^2\choose-2q_3x_1^2+2a^2x_1^3-2q_4x_1^3}\\\hline | |||
R=&&&&{2bc-q_1+2b^2x_1+4acx_1-2q_2x_1\choose +6abx_1^2-3q_3x_1^2+3a^2x_1^2-3q_4x_1^3} | |||
\end{array}</math> | |||
<math>(x-x_2)^2=x^2+\left(\frac{2ab-q_3}{a^2-q_4}+2x_1\right)x+\frac{b^2+2ac-q_2+4abx_1-2q_3x_1}{a^2-q_4}+3x_1^2</math> | |||
<math>\begin{array}{rcl} | |||
-2x_2&=&\dfrac{2ab-q_3}{a^2-q_4}+2x_1\\ | |||
x_2^2&=&\dfrac{b^2+2ac-q_2+4abx_1-2q_3x_1}{a^2-q_4}+3x_1^2 | |||
\end{array}</math> | |||
== Point averaging == | == Point averaging == |
Revision as of 04:56, 27 January 2025

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 q4>0 or at least two real roots counting multiplicity.
Preparing the equations for solution in general form
When the degree of a solvend equation is even and at least four, its resolvent is a generic polynomial exactly half of it in degree, and the resolvent is squared so that it “rises to meet” the solvend. The resultant is the difference, when the solvend is subtracted from the squared resolvent equation.
y = | ax2 | + bx | + c | (resolvent equation) | |||
y2 = | a2x4 | + 2abx3 | + (b2 + 2ac)x2 | + 2bcx | + c2 | (squared resolvent) | |
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) |
The general objective is to find rational points (x,y) on the curve which satisfy the solvend equation. Any four points on the curve, counting multiplicity, which simultaneously satify the same resolvent equation, are considered to “sum” to an additional point at infinity O, which serves as the identity for a certain abstract Abelian group operation which we denote by the symbol ⨁.
In any case we would start from at least one known point (x1,y1), and as a first step reduce the resultant equation to a cubic by factoring out x – x1, in order to eventually solve for the unknown coefficients of the resolvent equation and the coördinates of the unknown point in terms of known points.
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.
To be verified very thoroughly:
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.