Total differential addition respects projective representatives
ProvedKeystoneLadder.XOnly.diffAddOrInfVec_congrmazur-n25
Let be a field and let be a Weierstrass curve over . For vectors , let denote the total homogeneous differential-addition operation, including its point-at-infinity branch. If , , and , then
Thus differential addition descends from raw vector representatives to projective x-coordinates. Formalization note: decidable equality on is needed to execute the degenerate branch.
Preamble
import Mathlib
import Definitions.Def_KeystoneLadder
set_option linter.unusedSectionVars false
set_option linter.unusedSimpArgs false
set_option linter.unusedTactic false
set_option linter.overlappingInstances false
open Polynomial
open WeierstrassCurve
open WeierstrassCurve.Affine
open KeystoneLadder
universe u
variable {k : Type u} [Field k] [DecidableEq k]
variable (E : WeierstrassCurve k)
open KeystoneLadder.XOnlyFormal statement
theorem KeystoneLadder.XOnly.diffAddOrInfVec_congr
{A A' B B' D D' : Fin 2 → k}
(hA : SameP1Vec A A') (hB : SameP1Vec B B') (hD : SameP1Vec D D') :
SameP1Vec (diffAddOrInfVec E A B D) (diffAddOrInfVec E A' B' D') := by sorrySource
B. Mazur, Modular curves and the Eisenstein ideal, Publ. IHES 47 (1977); Lean formalization of the order-25 case for this mission. Modules in the MazurProof/Keystone/Tate families are adapted from anthropics/fermats-last-theorem (Apache-2.0) via the xiangyazi24/FLT fork.