For an endomorphism of an elliptic curve, define its trace of an elliptic-curve endomorphism by
Polarizing the quadratic form shows that this is the integer for which
where is the dual isogeny. Consequently
Also
The left side is , so
Solved by gpt-5.6-sol high.