Barrelled space: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Some standardized rigour
 
en>Michael Hardy
Line 1: Line 1:
They are an integral part of the natural recycling that occurs in nature. The discovery of antibiotics was one of the greatest medical advances in history. The organic market, although a minority, is rising in the UK and other countries. If you want to maintain with p - Henomenal because it makes you feel good and you know your healthy, that's fantastic. While there have not been documented hospital outbreaks in which the Therapy dog was the source, the possibility of this occurring has continued to be raised. <br><br>It has been proven that changing your diet has helped a lot of people get rid of their yeast infections. After going to two different hospitals, she was treated at Tampa General Hospital for pneumonia and infection with the super bug, known as MRSA at her wound site. There are a number of ways in which MRSA infection can spread and this include. Failings within those strategies may mean that a compensation claim for medical negligence can be upheld in court. Minerals used for drinking water purification consists of chemical substances that eradicate the MRSA bacteria's capacity to safeguard itself vs the defense mechanisms. <br><br>Does genetics play a critical role in the evolution of infectious diseases. I have lost connection with her so I don't know of the closing results. On the surface, acne sufferers might feel frustrated, believing that their treatment options have narrowed. In order to specify what is actually horse proud flesh, it is viewed as extreme granulation tissue development; it has frequently been described as having its own life. Some people recommend a fascinating program that might be a MRSA treatment. <br><br>In a study carried out by Prabuseenivasan, Jayakumar, and Savarimuthu Ignacimuthu in 2007 to determine how effective 21 essential oils were to six species of bacteria, the following was seen:. In addition to Active Manuka Honey, this product also contains Benzalkonium Chloride which is an FDA approved antiseptic. It is crucial that you can employ your best sound judgment while you investigate prospective MRSA treatments. This accounts for about 70 percent of ALL antibiotic use. Finally, the minerals that are generally found in clay have a negative surface charge that allows for the free exchange of compounds from the environment. <br><br>Most common to arise from cuts, wounds, lesions, scrapes and rashes. Brown I recently got a positive lab test for MRSA which I've had for almost 20 years, my question is that I have an alkaline water machine, can I mix the p - Henomenal water with it or is the alkaline water machine good enough on its own. The group was founded by Mrs Pooja Ohm ten years back and steadily diversified and flourished into to multiple business ho. Importation is required to obtain this treatment for MRSA. (12) Always check for public announcements in order to learn if there is any 'Boil Water Advisory'.<br><br>If you cherished this short article and you would like to receive far more data with regards to how to treat mrsa ([http://www.midlanddistrictrailroadclub.info/ www.midlanddistrictrailroadclub.info]) kindly stop by the page.
The '''Lenstra–Lenstra–Lovász''' (LLL) '''lattice basis reduction algorithm''' is a [[polynomial time]] [[lattice reduction]] [[algorithm]] invented by [[Arjen Lenstra]], [[Hendrik Lenstra]] and [[László Lovász]] in 1982.<ref>{{Cite journal|last1=Lenstra|first1=A. K.|author1-link=A. K. Lenstra|last2=Lenstra|first2=H. W., Jr.|author2-link=H. W. Lenstra, Jr.|last3=Lovász|first3=L.|author3-link=László Lovász|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> Given a [[basis (linear algebra)|basis]] <math>\mathbf{B}=\{ \mathbf{b}_1,\mathbf{b}_2, \dots, \mathbf{b}_d \}</math> with ''n''-dimensional integer coordinates, for a [[lattice (group)|lattice]] L in '''R'''<sup>''n''</sup> with <math> \ d \leq n </math>, the LLL algorithm outputs an ''LLL-reduced'' (short, nearly [[orthogonal]]) lattice basis in time
 
:<math>O(d^5n\log^3 B)\,</math>
 
where B is the largest length of <math>b_i</math> under the Euclidean norm.
 
The original applications were to give polynomial time algorithms for factorizing polynomials with rational coefficients into irreducible polynomials, for finding simultaneous rational approximations to real numbers, and for solving the [[linear programming|integer linear programming problem]] in fixed dimensions.
 
==LLL reduction==
The precise definition of LLL-reduced is as follows: Given a [[Basis (linear algebra)|basis]]
 
:<math>\mathbf{B}=\{ \mathbf{b}_1,\mathbf{b}_2, \dots, \mathbf{b}_n \},</math>
 
define its [[Gram–Schmidt process]] orthogonal basis
 
:<math>\mathbf{B}^*=\{ \mathbf{b}^*_1, \mathbf{b}^*_2, \dots, \mathbf{b}^*_n \},</math>
 
and the Gram-Schmidt coefficients
:<math>\mu_{i,j}=\frac{\langle\mathbf{b}_i,\mathbf{b}^*_j\rangle}{\langle\mathbf{b}^*_j,\mathbf{b}^*_j\rangle}</math>, for any <math>1 \le j < i \le n</math>.
 
Then the basis <math>B</math> is LLL-reduced if there exists a parameter <math>\delta</math> in (0.25,1] such that the following holds:
 
# (size-reduced) For <math>1 \leq j < i \leq n\colon \left|\mu_{i,j}\right|\leq 0.5</math>. By definition, this property guarantees the length reduction of the ordered basis.
#  (Lovász condition) For k = 2,3,..,n <math>  \colon \delta \Vert \mathbf{b}^*_{k-1}\Vert^2  \leq \Vert \mathbf{b}^*_k\Vert^2+ \mu_{k,k-1}^2\Vert
\mathbf{b}^*_{k-1}\Vert^2</math>.
 
Here, estimating the value of the <math>\delta</math> parameter, we can conclude how well the basis is reduced. Greater values of <math>\delta</math> lead to stronger reductions of the basis.
Initially, A. Lenstra, H. Lenstra and L. Lovász demonstrated the LLL-reduction algorithm for <math>\delta = \frac{3}{4}</math>.
Note that although LLL-reduction is well-defined for <math>\delta = 1</math>, the polynomial-time complexity is guaranteed only
for <math>\delta</math> in (0.25,1).
 
The LLL algorithm computes LLL-reduced bases. There is no known efficient algorithm to compute a basis in which the basis vectors are as short as possible for lattices of dimensions greater than 4. However, an LLL-reduced basis is nearly as short as possible, in the sense that there are absolute bounds <math>c_i > 1</math> such that the first basis vector is no more than <math>c_1</math> times as long as a shortest vector in the lattice,
the second basis vector is likewise within <math>c_2</math> of the second successive minimum, and so on.
 
==LLL Algorithm==
The following description is based on {{harv|Cohen|2000|loc=Algorithm 2.6.3}}.
 
INPUT:
:<math>\triangleright </math> a lattice basis <math> \mathbf{b}_1,\mathbf{b}_2, \dots, \mathbf{b}_n  \in Z^{m}</math>,
:<math>\triangleright </math> parameter <math>\delta </math> with <math>\frac{1}{4} < \delta <1 </math>
 
PROCEDURE:
 
''Perform Gram-Schmidt:''
* <math>b_{1}^{*}:= b_{1},B_{1}:= \langle b_{1}^{*}, b_{1}^{*} \rangle </math>
* '''for''' <math>i</math> '''from''' <math>2</math> '''to''' <math>n</math> '''do'''
** <math>b_{i}^{*}:= b_{i}</math>
** '''for''' <math>j</math> '''from''' <math>1</math> '''to''' <math>i-1</math> '''do'''
*** <math>\mu_{i,j}:= \frac{\langle b_{i}, b_{j}^{*} \rangle}{B_{j}}</math>
*** <math>b_{i}^{*}:= b_{i}^{*} - \mu_{i,j}b_{j}^{*}</math>
** '''end for'''
** <math>B_{i}:= \langle b_{i}^{*}, b_{i}^{*} \rangle </math>
* '''end for'''
* <math>k:=2</math>    ''(k is the stage at which the vectors <math> \mathbf{b}_1,\mathbf{b}_2, \dots, \mathbf{b}_{k-1}</math> are reduced according to size-reduced property 1.)''
* '''if''' <math>|\mu_{i,j}| >\frac{1}{2}</math> '''then''' execute reduction subroutine RED(k,k-1):
** '''for''' <math>l</math> '''from''' <math>k-1</math> '''to''' <math>1</math> '''do'''
*** <math>r:= \lfloor 0.5 + \mu_{k,l} \rfloor</math>
*** <math>b_{k}:= b_{k}- rb_{l} </math>
*** '''for''' <math>j</math> '''from''' <math>1</math> '''to''' <math>l-1</math> '''do'''
**** <math> \mu_{k,j}:= \mu_{k,j} - r \mu_{l,j} </math>
*** '''end for'''
*** <math> \mu_{k,l}:= \mu_{k,l} - r </math>
** '''end for'''
* '''end if'''
* Calculate <math> \mu_{i,j}</math> for 1 <math>\leq j <i \leq n</math> and  <math>B_{i}</math> for <math>i</math> from 1 to <math>n</math>
 
* '''while''' <math>k \leq n</math> '''do'''
** Length reduce <math>b_{k} </math> and correct <math>\mu_{k,j}</math> according to reduction subroutine in step 4, for <math>j</math> from 1 till <math>k-1</math>
** '''if''' <math> B_{k} < (\frac{3}{4}- \mu_{k,k-1}^2)B_{k-1} </math> '''then'''
*** Exchange <math>b_{k}</math> and <math>b_{k-1}</math>
*** <math>k</math>:= max <math>(2,k-1)</math>
** '''else'''
*** <math>k:= k+1</math>
** '''end if'''
* '''end while'''
 
OUTPUT: LLL reduced basis <math> \mathbf{b}_1,\mathbf{b}_2, \dots, \mathbf{b}_n </math>
 
==Example==
The following presents an example due to W. Bosma.<ref>{{Cite web|url=http://www.math.ru.nl/~bosma/onderwijs/voorjaar07/compalg7.pdf|title=4. LLL |last=Bosma|first=Wieb|work=Lecture notes|accessdate=28 February 2010}}</ref>
 
INPUT:
 
Let a lattice basis <math> \mathbf{b}_1,\mathbf{b}_2, \mathbf{b}_3 \in Z^{3}</math>, be given by the columns of
:<math>
\begin{bmatrix}
    1 & -1& 3\\
    1 & 0 & 5\\
    1 & 2 & 6
\end{bmatrix}
</math>
 
Then according to the LLL algorithm we obtain the following:
 
1.<math>b_{1}^{*}= b_{1}=
\begin{bmatrix}1\\1\\1\end{bmatrix},B_{1}= \langle b_{1}^{*}, b_{1}^{*} \rangle =
\begin{bmatrix}1\\1\\1\end{bmatrix} \begin{bmatrix}1\\1\\1\end{bmatrix}= 3</math>
 
2.For <math>i=2</math> DO:
 
2.1.For <math>j=1</math>  set <math>\mu_{2,1}= \frac{\langle b_{2}, b_{1}^{*} \rangle}{B_{1}}=
\frac{\begin{bmatrix}-1\\0\\2\end{bmatrix} \begin{bmatrix}1\\1\\1\end{bmatrix}}{3}=\frac{1}{3}(< \frac{1}{2})</math>
 
and  <math>b_{2}^{*}= b_{2}- \mu_{2,1}b_{1}^{*}= \begin{bmatrix}-1\\0\\2\end{bmatrix}- \frac{1}{3}\begin{bmatrix}1\\1\\1\end{bmatrix}=\begin{bmatrix}\frac{-4}{3}\\\frac{-1}{3}\\\frac{5}{3}\end{bmatrix}.</math>
 
2.2<math>B_{2}= \langle b_{2}^{*}, b_{2}^{*} \rangle =
\begin{bmatrix}\frac{-4}{3}\\\frac{-1}{3}\\\frac{5}{3}\end{bmatrix} \begin{bmatrix}\frac{-4}{3}\\\frac{-1}{3}\\\frac{5}{3}\end{bmatrix}= \frac{14}{3}.</math>
 
3. <math>\mathbf{k}:=2</math>
 
4.Here the step 4 of the LLL algorithm is skipped as size-reduced property holds for <math>\mu_{2,1}</math>
 
5.For <math>i=3</math> and for <math>j=1,2</math> calculate <math> \mu_{i,j}</math> and <math>B_{i}</math>:
<math>\mu_{3,1}= \frac{\langle b_{3}, b_{1}^{*} \rangle}{B_{1}}=
\frac{\begin{bmatrix}3\\5\\6\end{bmatrix} \begin{bmatrix}1\\1\\1\end{bmatrix}}{3}=\frac{14}{3}(> \frac{1}{2})</math>
 
hence <math>b_{3}^{*}= b_{3}- \mu_{3,1}b_{1}^{*}= \begin{bmatrix}3\\5\\6\end{bmatrix}- \frac{14}{3}\begin{bmatrix}1\\1\\1\end{bmatrix}=\begin{bmatrix}\frac{-5}{3}\\\frac{1}{3}\\\frac{4}{3}\end{bmatrix}</math>
 
and <math>\mu_{3,2}= \frac{\langle b_{3}, b_{2}^{*} \rangle}{B_{2}}=
\frac{\begin{bmatrix}3\\5\\6\end{bmatrix} \begin{bmatrix}\frac{-4}{3}\\\frac{-1}{3}\\\frac{5}{3}\end{bmatrix}}{\frac{14}{3}}=\frac{13}{14}(> \frac{1}{2})</math>
 
hence <math>b_{3}^{*}= b_{3}^{*}- \mu_{3,2}b_{2}^{*}= \begin{bmatrix}\frac{-5}{3}\\\frac{1}{3}\\\frac{4}{3}\end{bmatrix}- \frac{13}{14}\begin{bmatrix}\frac{-4}{3}\\\frac{-1}{3}\\\frac{5}{3}\end{bmatrix}=\begin{bmatrix}\frac{-18}{42}\\\frac{27}{42}\\\frac{-9}{42}\end{bmatrix}= \begin{bmatrix}\frac{-6}{14}\\\frac{9}{14}\\\frac{-3}{14}\end{bmatrix}</math> and
 
<math>B_{3}= \langle b_{3}^{*}, b_{3}^{*} \rangle =
\begin{bmatrix}\frac{-6}{14}\\\frac{9}{14}\\\frac{-3}{14}\end{bmatrix} \begin{bmatrix}\frac{-6}{14}\\\frac{9}{14}\\\frac{-3}{14}\end{bmatrix}= \frac{126}{196}= \frac{9}{14}</math>
 
6.While <math>k \leq 3</math> DO
 
6.1 Length reduce <math>b_{3} </math> and correct <math>\mu_{3,1}</math> and <math>\mu_{3,2}</math> according to reduction subroutine in step 4:
 
For <math>\mid \mu_{3,1}\mid >\frac{1}{2}</math> EXECUTE reduction subroutine RED(3,1):
 
i.<math>r = \lfloor 0.5 + \mu_{3,l} \rfloor =5</math> and  <math>b_{3} = b_{3}- 5b_{1}= \begin{bmatrix}3\\5\\6\end{bmatrix}- \begin{bmatrix}5\\5\\5\end{bmatrix}=\begin{bmatrix}-2\\0\\1\end{bmatrix} </math>
 
ii.<math> \mu_{3,1}= \mu_{3,l} - r\mu_{1,1} = \frac{-1}{3}(< \frac{1}{2}) </math>
 
iii.Set <math>\mu_{3,1}= \mu_{3,1} - r= \frac{14}{3}-5= \frac{-1}{3}</math>
 
For <math>\mid \mu_{3,2}\mid >\frac{1}{2}</math> EXECUTE reduction subroutine RED(3,2):
 
i.<math>r = \lfloor 0.5 + \mu_{3,2} \rfloor =1</math> and <math>b_{3} = b_{3}- b_{2}= \begin{bmatrix}3\\5\\6\end{bmatrix}- \begin{bmatrix}-1\\0\\2\end{bmatrix}=\begin{bmatrix}4\\5\\4\end{bmatrix} </math>
 
ii.Set <math>\mu_{3,2}= \mu_{3,2} - r\mu_{2,2}= \frac{13}{14}-1= \frac{-1}{14}</math>
 
iii.<math> \mu_{3,2}= \mu_{3,2} - 1 = \frac{-1}{14}(< \frac{1}{2}) </math>
 
6.2 As <math> B_{3} < (\frac{3}{4}- \mu_{3,2}^2)B_{2} </math> takes place, then
 
6.2.1 Exchange <math>b_{3}</math> and <math>b_{2}</math>
 
6.2.2 <math>k</math>:= 2
 
Apply a SWAP, continue  algorithm with the lattice basis, which is given by columns
 
:<math>
\begin{bmatrix}
    1 & 4& -1\\
    1 & 5 & 0\\
    1 & 4 & 2
\end{bmatrix}
</math>
Implement the algorithm steps again.
1.<math>b_{1}^{*}= b_{1}=
\begin{bmatrix}1\\1\\1\end{bmatrix},B_{1}= 3</math>
 
2. <math>\mu_{2,1}= \frac{\langle b_{2}, b_{1}^{*} \rangle}{B_{1}}=
\frac{\begin{bmatrix}4\\5\\4\end{bmatrix} \begin{bmatrix}1\\1\\1\end{bmatrix}}{3}=\frac{13}{3}(>\frac{1}{2})</math>
 
3.<math>b_{2}^{*}= b_{2}- \mu_{2,1}b_{1}^{*}= \begin{bmatrix}4\\5\\4\end{bmatrix}- \frac{13}{3}\begin{bmatrix}1\\1\\1\end{bmatrix}=\begin{bmatrix}\frac{-1}{3}\\\frac{2}{3}\\\frac{-1}{3}\end{bmatrix}</math>.
 
4.<math>B_{2}= \langle b_{2}^{*}, b_{2}^{*} \rangle = \frac{2}{3}</math>.
 
5.For <math>\mid \mu_{2,1}\mid >\frac{1}{2}</math> EXECUTE reduction subroutine RED(2,1):
 
i.<math>r = \lfloor 0.5 + \mu_{2,l} \rfloor =4</math> and  <math>b_{2} = b_{2}- 4b_{1}= \begin{bmatrix}4\\5\\4\end{bmatrix}- \begin{bmatrix}4\\4\\4\end{bmatrix}=\begin{bmatrix}0\\1\\0\end{bmatrix} </math>
 
ii.Set <math>\mu_{2,1}= \mu_{2,1} - 4\mu_{1,1}= \frac{13}{3}- 4= \frac{1}{3}(< \frac{1}{2})</math>
 
6. As <math> B_{2} < (\frac{3}{4}- \mu_{2,1}^2)B_{1} </math> takes place, then
 
7. Exchange <math>b_{2}</math> and <math>b_{1}</math>
 
OUTPUT: LLL reduced basis
:<math>
\begin{bmatrix}
    0 & 1& -1\\
    1 & 0 & 0\\
    0 & 1 & 2
\end{bmatrix}
</math>
 
==Applications==
The LLL algorithm has found numerous other applications in [[MIMO]] detection algorithms and cryptanalysis of [[public-key encryption]] schemes: [[Naccache-Stern knapsack cryptosystem|knapsack cryptosystems]], [[RSA (algorithm)|RSA]] with particular settings, [[NTRUEncrypt]], and so forth. The algorithm can be used to find integer solutions to many problems.<ref>{{Cite journal|author=D. Simon |title=Selected applications of LLL in number theory |journal=LLL+25 Conference |year=2007 |place=Caen, France |url=http://www.math.unicaen.fr/~simon/maths/lll25_Simon.pdf}}</ref>
 
In particular, the LLL algorithm forms a core of one of the [[integer relation algorithm]]s. For example, if it is believed that ''r''=1.618034 is a (slightly rounded) [[Root of a function|root]] to a [[quadratic equation]] with integer coefficients, one may apply the LLL reduction to the lattice in <math>R^4</math> spanned by <math>[1,0,0,10000r^2], [0,1,0,10000r],</math> and <math>[0,0,1,10000]</math>. The first vector in the reduced basis will be an integer [[linear combination]] of these three, thus necessarily of the form <math>[a,b,c,10000(ar^2+br+c)]</math>; but such a vector is "short" only if ''a'', ''b'', ''c'' are small and <math>ar^2+br+c</math> is even smaller. Thus the first three entries of this short vector are likely to be the coefficients of the integral quadratic [[polynomial]] which has ''r'' as a root. In this example the LLL algorithm finds the shortest vector to be [1, -1, -1, 0.00025] and indeed <math>x^2-x-1</math> has a root equal to 1.6180339887…[[Golden ratio|(The Golden Ratio)]]
 
==Implementations==
LLL is implemented in
*[http://www.arageli.org/ Arageli] as the function ''lll_reduction_int''
*[http://perso.ens-lyon.fr/damien.stehle fpLLL] as a stand-alone implementation
*[[GAP computer algebra system|GAP]] as the function ''LLLReducedBasis''
*[http://www.informatik.tu-darmstadt.de/TI/LiDIA/ LiDIA] as the function/method ''lll'' in the ''LT'' package
*[[Macaulay2]] as the function ''LLL'' in the package ''LLLBases''
*[[Magma computer algebra system|Magma]] as the functions ''LLL'' and ''LLLGram'' (taking a gram matrix)
*[[Maple computer algebra system|Maple]] as the function ''IntegerRelations[LLL]''
*[[Mathematica]] as the function ''LatticeReduce''
*[http://shoup.net/ntl Number Theory Library (NTL)] as the function ''LLL''
*[[PARI/GP]] as the function ''qflll''
*[[Software for Algebra and Geometry Experimentation|Sage]] as the method ''LLL'' driven by fpLLL and NTL
 
==See also==
*[[Coppersmith method]]
 
==Notes==
{{Reflist}}
 
==References==
* {{cite journal|first1=Huguette |last1=Napias
|title=A generalizaion of the LLL algorithm over euclidean rings or orders
|journal=J. The. Nombr. Bordeaux
|volume=8
|number=2
|year=1996
|pages=387–396
|url=http://www.numdam.org/item?id=JTNB_1996__8_2_387_0
}}
* {{Cite book|last=Cohen|first=Henri|title=A course in computational algebraic number theory|publisher=Springer|year=2000|series=GTM|volume=138|ref=harv|isbn=3-540-55640-0}}
* {{Cite book| last=Borwein | first=Peter | author-link=Peter Borwein | title=Computational Excursions in Analysis and Number Theory | isbn=0-387-95444-9 | year=2002}}
* {{cite journal|first1=Franklin T. |last1=Luk| first2=Sanzheng |last2=Qiao|title=A pivoted LLL algorithm|journal=Lin. Alg. Appl. |year=2011
|volume=434
|doi=10.1016/j.laa.2010.04.003
|pages=2296–2307
}}
 
{{Use dmy dates|date=September 2010}}
 
{{DEFAULTSORT:Lenstra-Lenstra-Lovasz Lattice Basis Reduction Algorithm}}
[[Category:Theory of cryptography]]
[[Category:Computational number theory]]
[[Category:Lattice points]]

Revision as of 05:46, 27 January 2014

The Lenstra–Lenstra–Lovász (LLL) lattice basis reduction algorithm is a polynomial time lattice reduction algorithm invented by Arjen Lenstra, Hendrik Lenstra and László Lovász in 1982.[1] Given a basis B={b1,b2,,bd} with n-dimensional integer coordinates, for a lattice L in Rn with dn, the LLL algorithm outputs an LLL-reduced (short, nearly orthogonal) lattice basis in time

O(d5nlog3B)

where B is the largest length of bi under the Euclidean norm.

The original applications were to give polynomial time algorithms for factorizing polynomials with rational coefficients into irreducible polynomials, for finding simultaneous rational approximations to real numbers, and for solving the integer linear programming problem in fixed dimensions.

LLL reduction

The precise definition of LLL-reduced is as follows: Given a basis

B={b1,b2,,bn},

define its Gram–Schmidt process orthogonal basis

B*={b1*,b2*,,bn*},

and the Gram-Schmidt coefficients

μi,j=bi,bj*bj*,bj*, for any 1j<in.

Then the basis B is LLL-reduced if there exists a parameter δ in (0.25,1] such that the following holds:

  1. (size-reduced) For 1j<in:|μi,j|0.5. By definition, this property guarantees the length reduction of the ordered basis.
  2. (Lovász condition) For k = 2,3,..,n :δbk1*2bk*2+μk,k12bk1*2.

Here, estimating the value of the δ parameter, we can conclude how well the basis is reduced. Greater values of δ lead to stronger reductions of the basis. Initially, A. Lenstra, H. Lenstra and L. Lovász demonstrated the LLL-reduction algorithm for δ=34. Note that although LLL-reduction is well-defined for δ=1, the polynomial-time complexity is guaranteed only for δ in (0.25,1).

The LLL algorithm computes LLL-reduced bases. There is no known efficient algorithm to compute a basis in which the basis vectors are as short as possible for lattices of dimensions greater than 4. However, an LLL-reduced basis is nearly as short as possible, in the sense that there are absolute bounds ci>1 such that the first basis vector is no more than c1 times as long as a shortest vector in the lattice, the second basis vector is likewise within c2 of the second successive minimum, and so on.

LLL Algorithm

The following description is based on Template:Harv.

INPUT:

a lattice basis b1,b2,,bnZm,
parameter δ with 14<δ<1

PROCEDURE:

Perform Gram-Schmidt:

OUTPUT: LLL reduced basis b1,b2,,bn

Example

The following presents an example due to W. Bosma.[2]

INPUT:

Let a lattice basis b1,b2,b3Z3, be given by the columns of

[113105126]

Then according to the LLL algorithm we obtain the following:

1.b1*=b1=[111],B1=b1*,b1*=[111][111]=3

2.For i=2 DO:

2.1.For j=1 set μ2,1=b2,b1*B1=[102][111]3=13(<12)

and b2*=b2μ2,1b1*=[102]13[111]=[431353].

2.2B2=b2*,b2*=[431353][431353]=143.

3. k:=2

4.Here the step 4 of the LLL algorithm is skipped as size-reduced property holds for μ2,1

5.For i=3 and for j=1,2 calculate μi,j and Bi: μ3,1=b3,b1*B1=[356][111]3=143(>12)

hence b3*=b3μ3,1b1*=[356]143[111]=[531343]

and μ3,2=b3,b2*B2=[356][431353]143=1314(>12)

hence b3*=b3*μ3,2b2*=[531343]1314[431353]=[18422742942]=[614914314] and

B3=b3*,b3*=[614914314][614914314]=126196=914

6.While k3 DO

6.1 Length reduce b3 and correct μ3,1 and μ3,2 according to reduction subroutine in step 4:

For μ3,1>12 EXECUTE reduction subroutine RED(3,1):

i.r=0.5+μ3,l=5 and b3=b35b1=[356][555]=[201]

ii.μ3,1=μ3,lrμ1,1=13(<12)

iii.Set μ3,1=μ3,1r=1435=13

For μ3,2>12 EXECUTE reduction subroutine RED(3,2):

i.r=0.5+μ3,2=1 and b3=b3b2=[356][102]=[454]

ii.Set μ3,2=μ3,2rμ2,2=13141=114

iii.μ3,2=μ3,21=114(<12)

6.2 As B3<(34μ3,22)B2 takes place, then

6.2.1 Exchange b3 and b2

6.2.2 k:= 2

Apply a SWAP, continue algorithm with the lattice basis, which is given by columns

[141150142]

Implement the algorithm steps again. 1.b1*=b1=[111],B1=3

2. μ2,1=b2,b1*B1=[454][111]3=133(>12)

3.b2*=b2μ2,1b1*=[454]133[111]=[132313].

4.B2=b2*,b2*=23.

5.For μ2,1>12 EXECUTE reduction subroutine RED(2,1):

i.r=0.5+μ2,l=4 and b2=b24b1=[454][444]=[010]

ii.Set μ2,1=μ2,14μ1,1=1334=13(<12)

6. As B2<(34μ2,12)B1 takes place, then

7. Exchange b2 and b1

OUTPUT: LLL reduced basis

[011100012]

Applications

The LLL algorithm has found numerous other applications in MIMO detection algorithms and cryptanalysis of public-key encryption schemes: knapsack cryptosystems, RSA with particular settings, NTRUEncrypt, and so forth. The algorithm can be used to find integer solutions to many problems.[3]

In particular, the LLL algorithm forms a core of one of the integer relation algorithms. For example, if it is believed that r=1.618034 is a (slightly rounded) root to a quadratic equation with integer coefficients, one may apply the LLL reduction to the lattice in R4 spanned by [1,0,0,10000r2],[0,1,0,10000r], and [0,0,1,10000]. The first vector in the reduced basis will be an integer linear combination of these three, thus necessarily of the form [a,b,c,10000(ar2+br+c)]; but such a vector is "short" only if a, b, c are small and ar2+br+c is even smaller. Thus the first three entries of this short vector are likely to be the coefficients of the integral quadratic polynomial which has r as a root. In this example the LLL algorithm finds the shortest vector to be [1, -1, -1, 0.00025] and indeed x2x1 has a root equal to 1.6180339887…(The Golden Ratio)

Implementations

LLL is implemented in

  • Arageli as the function lll_reduction_int
  • fpLLL as a stand-alone implementation
  • GAP as the function LLLReducedBasis
  • LiDIA as the function/method lll in the LT package
  • Macaulay2 as the function LLL in the package LLLBases
  • Magma as the functions LLL and LLLGram (taking a gram matrix)
  • Maple as the function IntegerRelations[LLL]
  • Mathematica as the function LatticeReduce
  • Number Theory Library (NTL) as the function LLL
  • PARI/GP as the function qflll
  • Sage as the method LLL driven by fpLLL and NTL

See also

Notes

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

References

  • One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534
  • One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang

30 year-old Entertainer or Range Artist Wesley from Drumheller, really loves vehicle, property developers properties for sale in singapore singapore and horse racing. Finds inspiration by traveling to Works of Antoni Gaudí.

  1. One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang
  2. Template:Cite web
  3. One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang