Skip to content

Dedicated proven doubling for the fast projective ladder #14

Description

@daira

#13 uses the complete padd for the doubling steps of pnsmulFast (binNsmul padd pid), which is correct by completeness. The RCB paper's dedicated a = 0 doubling (Algorithm 9) uses roughly half the multiplications, and the binary ladder is ~255 doublings against ~128 additions, so a proven pdbl — with its own toAffine spec, and the ladder proven equal to the current one — would roughly halve smulFast. Low priority for the MSM-dominated workloads that motivated #13: in Pippenger, doublings appear only in the Horner fold between windows.

🤖 Claude Fable 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions