Skip to content

Moving/cleaning enumeration functions for points on schemes #9055

@sagetrac-cturner

Description

@sagetrac-cturner

I think it would be sensible to move the functions

enum_projective_rational_field

enum_projective_finite_field

enum_affine_rational_field

enum_affine_finite field

from their current position at the top of sage.schemes.generic.homset, and to clean up their code to make it easier to read whilst (I believe) keeping the timing about the same.

I have started work on a patch that does this, putting them into a new file sage.schemes.generic.rational_point and using the cartesian_product_iterator function to make the code much more readable.

This is a preamble to putting other (more efficient) functions that find rational points in specific cases into the same file - I am currently working on this, and will make a separate ticket for it.

CC: @JohnCremona @wdjoyner

Component: algebraic geometry

Keywords: rational points enumeration

Author: Charlie Turner, David Joyner, Robert Miller, Andrey Novoseltsev

Reviewer: Robert Miller, Andrey Novoseltsev

Merged: sage-4.6.2.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/9055

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions