Lattice sieving

Lattice sieving

Lattice sieving is a technique for finding smooth values of a bivariate polynomial f(a,b) over a large region. It is almost exclusively used in connection with the number field sieve.

The algorithm implicitly involves the ideal structure of the number field of the polynomial; it takes advantage of the theorem that any prime ideal above some rational prime "p" can be written as p mathbb Z [alpha] + (u + v alpha) mathbb Z [alpha] . One then picks many prime numbers "q" of an appropriate size, usually just above the factor base limit, and proceeds by

* For each "q", list the prime ideals above "q" by factorising the polynomial f(a,b) over GF(q)
** For each of these prime ideals, which are called 'special mathfrak q's, construct a reduced basis mathbf x, mathbf y for the lattice L generated by mathfrak {q}; set a two-dimensional array called the sieve region to zero.
*** For each prime ideal mathfrak p in the factor base, construct a reduced basis mathbf x_mathfrak p, mathbf y_mathfrak p for the sublattice of L generated bymathfrak {pq}
**** For each element of that sublattice lying within a sufficiently large sieve region, add log |mathfrak p| to that entry.
** Read out all the entries in the sieve region with a large enough value

For the number field sieve application, it is necessary for two polynomials both to have smooth values; this is handled by running the inner loop over both polynomials, whilst the special-q can be taken from either side.

Treatments of the inmost loop

There are a number of clever approaches to implementing the inmost loop, since listing the elements of a lattice within a rectangular region efficiently is itself a non-trivial problem, and efficiently batching together updates to a sieve region in order to take advantage of cache structures is another non-trivial problem. The normal solution to the first is to have an ordering of the lattice points defined by couple of generators picked so that the decision rule which takes you from one lattice point to the next is straightforward; the normal solution to the second is to collect a series of lists of updates to sub-regions of the array smaller than the size of the level-2 cache, with the number of lists being roughly the number of lines in the L1 cache so that adding an entry to a list is generally a cache hit, and then applying the lists of updates one at a time, where each application will be a level-2 cache hit. For this to be efficient you need to be able to store a number of updates at least comparable to the size of the sieve array, so this can be quite profligate in memory usage.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • General number field sieve — In number theory, the general number field sieve (GNFS) is the most efficient classical algorithm known for factoring integers larger than 100 digits. Heuristically, its complexity for factoring an integer n (consisting of log2 n bits) is of …   Wikipedia

  • List of mathematics articles (L) — NOTOC L L (complexity) L BFGS L² cohomology L function L game L notation L system L theory L Analyse des Infiniment Petits pour l Intelligence des Lignes Courbes L Hôpital s rule L(R) La Géométrie Labeled graph Labelled enumeration theorem Lack… …   Wikipedia

  • Ленстра, Арьен — Арьен Ленстра (нидерл. Arjen Klaas Lenstra) (род. 1956, Гронинген)  голландский математик, криптоаналитик. Арьен Ленстра занимается разработкой эффективных криптографических алгоритмов (XTR, VSH), разработкой и реализацией… …   Википедия

  • PrimeGrid — Bereich: Primzahltests Ziel: Verschiedene Primzahltests Land: Litauen Plattform: BOINC Website: http://www.primegrid.com/ Projektstatus …   Deutsch Wikipedia

  • Filtration — This article is about operation of solid fluid separation. For the mathematical concept, see filtration (mathematics). For the equipment used, see Filter (disambiguation). For filtration used in winemaking, see Filtration (wine). Diagram of… …   Wikipedia

  • Multiplication algorithm — A multiplication algorithm is an algorithm (or method) to multiply two numbers. Depending on the size of the numbers, different algorithms are in use. Efficient multiplication algorithms have existed since the advent of the decimal system.… …   Wikipedia

  • Cytosol — The cytosol is a crowded solution of many different types of molecules that fills much of the volume of cells.[1] The cytosol or intracellular fluid (or cytoplasmic matrix) is the liquid found inside cells, that is separated into compartments by… …   Wikipedia

  • ABC@home — Тип Распределённые вычисления ОС Кроссплатформенное ПО …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”