Skip to content

Implement finding square roots in FiniteFields category #39688

@vincentmacri

Description

@vincentmacri

Problem Description

Algorithms exist to compute square roots in arbitrary finite fields. For instance, see chapter 7 of volume 1 of Algorithmic Number Theory by Erich Bach and Jeffrey Shallit. It would be useful if Sage implemented some of these, as well as algorithms for related computations (nth roots, checking if an element is a square, etc.).

Proposed Solution

These algorithms should be implemented in the FiniteField category.

Alternatives Considered

Only implement square roots and related functions for more specific types of finite fields (for example, quotient ring by an irreducible polynomial). I think doing that would be good to especially if it's more efficient than the general algorithm. But it would still be good to generically be able to take square roots in any finite field.

Additional Information

No response

Is there an existing issue for this?

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions