|
|
Line 1: |
Line 1: |
| [[Image:Lattice-reduction.svg|thumb|right|300px|Lattice reduction in two dimensions: the black vectors are the given basis for the lattice (represented by blue dots), the red vectors are the reduced basis]]
| | 50 yr old Print Journalist Brice Kneip from Canada, has many hobbies including football, ganhando dinheiro na internet and digital photography. Has in recent years finished a travel to Western Australia.<br><br>my website :: [http://comoganhardinheiro.comoganhardinheiro101.com ganhe dinheiro] |
| In mathematics, the goal of '''lattice basis reduction''' is given an integer [[lattice (group)|lattice]] basis as input, to find a [[basis (linear algebra)|basis]] with short, nearly [[orthogonal]] vectors. This is realized using different algorithms, whose running time is usually at least exponential in the dimension of the lattice.
| |
| | |
| ==Nearly Orthogonal==
| |
| One measure of ''nearly orthogonal'' is the '''orthogonality defect'''. This compares the product of the lengths of the basis vectors with the volume of the [[parallelepiped]] they define. For perfectly orthogonal basis vectors, these quantities would be the same.
| |
| | |
| Any particular basis of <math>n</math> vectors may be represented by a [[Matrix (mathematics)|matrix]] <math>B</math>, whose columns are the basis vectors <math>b_i, i = 1, \ldots, n</math>. In the '''fully dimensional''' case where the number of basis vectors is equal to the dimension of the space they occupy, this matrix is square, and the volume of the fundamental parallelepiped is simply the absolute value of the [[determinant]] of this matrix <math>\det(B)</math>. If the number of vectors is less than the dimension of the underlying space, then volume is <math>\sqrt{\det(B^T B)}</math>. For a given lattice <math>\Lambda</math>, this volume is the same (up to sign) for any basis, and hence is referred to as the determinant of the lattice <math>\det(\Lambda)</math> or '''lattice constant''' <math>d(\Lambda)</math>.
| |
| | |
| The orthogonality defect is the product of the basis vector lengths divided by the parallelepiped volume;
| |
| | |
| :<math>\delta(B) = \frac{\Pi_{i=1}^n ||b_i||}{\sqrt{\det(B^T B)}} = \frac{\Pi_{i=1}^n ||b_i||}{d(\Lambda)}</math>
| |
| | |
| From the geometric definition it may be appreciated that <math>\delta(B) \ge 1</math> with equality if and only if the basis is orthogonal.
| |
| | |
| If the lattice reduction problem is defined as finding the basis with the smallest possible defect, then the problem is [[NP complete]]. However, there exist [[polynomial time]] algorithms to find a basis with defect <math>\delta(B) \le c</math>
| |
| where ''c'' is some constant depending only on the number of basis vectors and the dimension of the underlying space (if different). This is a good enough solution in many practical applications.
| |
| | |
| ==In two dimensions==
| |
| For a basis consisting of just two vectors, there is a simple and efficient method of reduction{{Specify|date=September 2011}} closely analogous to the [[Euclidean algorithm]] for the [[greatest common divisor]] of two integers. As with the Euclidean algorithm, the method is iterative; at each step the larger of the two vectors is reduced by adding or subtracting an integer multiple of the smaller vector.
| |
| | |
| ==Applications==
| |
| Lattice reduction algorithms are used in a number of modern number theoretical applications, including in the discovery of a [[spigot algorithm]] for pi. Although determining the shortest basis is possibly an NP-complete problem, algorithms such as the [[Lenstra–Lenstra–Lovász lattice basis reduction algorithm|LLL algorithm]] <ref>{{cite journal | author = [[A. K. Lenstra|Lenstra, A. K.]]; [[H. W. Lenstra, Jr.|Lenstra, H. W., Jr.]]; [[Lovász|Lovász, L.]] | title = Factoring polynomials with rational coefficients | journal = [[Mathematische Annalen]] | volume = 261 | year = 1982 | issue = 4 | pages = 515–534 | id = {{hdl|1887/3810}} | doi = 10.1007/BF01457454 | mr = 0682664 }}</ref> can find a short (not necessarily shortest) basis in polynomial time with guaranteed worst-case performance. [[Lenstra–Lenstra–Lovász lattice basis reduction algorithm|LLL]] is widely used in the [[cryptanalysis]] of [[Public-key cryptography|public key]] cryptosystems.
| |
| | |
| When used to find integer relations, a typical input to the algorithm consists of an augmented nxn identity matrix with the entries in the last column consisting of the n elements (multiplied by a large positive constant w to penalize vectors that do not sum to zero) between which the relation is sought.
| |
| | |
| The [[LLL algorithm]] for computing a nearly-orthogonal basis was used to show that [[integer programming]] in any fixed dimension can be done in [[P (complexity)|polynomial time]].<ref>{{cite journal|
| |
| doi = 10.1287/moor.8.4.538|
| |
| author = Lenstra, H.W.|
| |
| title = Integer programming with a fixed number of variables|
| |
| journal = Math. Oper. Res.|
| |
| year = 1983|
| |
| volume = 8|
| |
| pages = 538–548
| |
| }}
| |
| </ref>
| |
| | |
| ==Algorithms==
| |
| The following algorithms reduce lattice bases. They can be compared in terms of runtime and approximation to an optimal solution, always relative to the dimension of the given lattice. If there are public implementations of these algorithms this should also be noted here.
| |
| | |
| {|
| |
| |-
| |
| ! Year
| |
| ! Algorithm
| |
| ! Name
| |
| ! Implementation
| |
| |-
| |
| | 1982
| |
| | [[Lenstra–Lenstra–Lovász lattice basis reduction algorithm|LLL]]
| |
| | Lenstra Lenstra Lovász
| |
| | [[Number Theory Library|NTL]]
| |
| |-
| |
| | 1987
| |
| | BKZ
| |
| | Block Korkine Zolotarev
| |
| | [[Number Theory Library|NTL]]
| |
| |-
| |
| | 2002
| |
| | RSR
| |
| | Random Sampling Reduction
| |
| |
| |
| |-
| |
| | 2002
| |
| | PDR
| |
| | Primal Dual Reduction
| |
| |
| |
| |}
| |
| | |
| ==References==
| |
| <references/>
| |
| | |
| [[Category:Theory of cryptography]]
| |
| [[Category:Computational number theory]]
| |
| [[Category:Lattice points]]
| |
| [[Category:Linear algebra]]
| |
50 yr old Print Journalist Brice Kneip from Canada, has many hobbies including football, ganhando dinheiro na internet and digital photography. Has in recent years finished a travel to Western Australia.
my website :: ganhe dinheiro