Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases...

47
Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère 1 Mohab Safey El Din 12 Thibaut Verron 13 1 Université Pierre et Marie Curie, Paris 6, France INRIA Paris-Rocquencourt, Équipe POLSYS Laboratoire d’Informatique de Paris 6, UMR CNRS 7606 2 Institut Universitaire de France 3 École Normale Supérieure March 22, 2013 Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 1

Transcript of Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases...

Page 1: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Computing Gröbner basesfor quasi-homogeneous systems

Jean-Charles Faugère1 Mohab Safey El Din12

Thibaut Verron13

1Université Pierre et Marie Curie, Paris 6, FranceINRIA Paris-Rocquencourt, Équipe POLSYS

Laboratoire d’Informatique de Paris 6, UMR CNRS 7606

2Institut Universitaire de France

3École Normale Supérieure

March 22, 2013

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 1

Page 2: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Motivations

Polynomial systemf1(X) = · · · = fm(X) = 0

Parametrization of the solutionsq(T) = 0X = p(T)

Applications:I CryptographyI Physics, industry...I Theory (algo.

geometry)

Gröbnerbasis

Row-echelon form ofthe Macaulay matrix

...miFj

...

Difficult problemI NP-hard in finite fieldI Exponential number of

solutions

Problem:Exploit the structures of thesystem

Examples of successfully studied structures:I HomogeneousI Bihomogeneous:

[FSS10b ]I Group symmetries:

e.g [FS12 ]I Quasi-homogeneous

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 2

Page 3: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Motivations

Polynomial systemf1(X) = · · · = fm(X) = 0

Parametrization of the solutionsq(T) = 0X = p(T)

Applications:I CryptographyI Physics, industry...I Theory (algo.

geometry)

Gröbnerbasis

Row-echelon form ofthe Macaulay matrix

...miFj

...

Difficult problem

I NP-hard in finite fieldI Exponential number of

solutions

Problem:Exploit the structures of thesystem

Examples of successfully studied structures:I HomogeneousI Bihomogeneous:

[FSS10b ]I Group symmetries:

e.g [FS12 ]I Quasi-homogeneous

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 2

Page 4: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Motivations

Polynomial systemf1(X) = · · · = fm(X) = 0

Parametrization of the solutionsq(T) = 0X = p(T)

Applications:I CryptographyI Physics, industry...I Theory (algo.

geometry)

Gröbnerbasis

Row-echelon form ofthe Macaulay matrix

...miFj

...

Difficult problem

I NP-hard in finite fieldI Exponential number of

solutions

Problem:Exploit the structures of thesystem

Examples of successfully studied structures:I HomogeneousI Bihomogeneous:

[FSS10b ]I Group symmetries:

e.g [FS12 ]I Quasi-homogeneous

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 2

Page 5: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Motivations

Polynomial systemf1(X) = · · · = fm(X) = 0

Parametrization of the solutionsq(T) = 0X = p(T)

Applications:I CryptographyI Physics, industry...I Theory (algo.

geometry)

Gröbnerbasis

Row-echelon form ofthe Macaulay matrix

...miFj

...

Difficult problem

I NP-hard in finite fieldI Exponential number of

solutions

Problem:Exploit the structures of thesystem

Examples of successfully studied structures:I HomogeneousI Bihomogeneous:

[FSS10b ]I Group symmetries:

e.g [FS12 ]I Quasi-homogeneous

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 2

Page 6: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Motivations

Polynomial systemf1(X) = · · · = fm(X) = 0

Parametrization of the solutionsq(T) = 0X = p(T)

Applications:I CryptographyI Physics, industry...I Theory (algo.

geometry)

Gröbnerbasis

Row-echelon form ofthe Macaulay matrix

...miFj

...

Difficult problem

I NP-hard in finite fieldI Exponential number of

solutions

Problem:Exploit the structures of thesystem

Examples of successfully studied structures:I HomogeneousI Bihomogeneous:

[FSS10b ]I Group symmetries:

e.g [FS12 ]I Quasi-homogeneous

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 2

Page 7: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Definitions of quasi-homogeneous systems

Definition

System of weights: W = (w1, . . . ,wn) ∈ Nn

Weighted degree: degW (Xα11 . . .Xαn

n ) =∑n

i=1 wiαi

Quasi-homogeneous polynomial: poly. containing only monomials of same W -degree

e.g. X 2 + XY 2 + Y 4 for W = (2, 1)

I Homogeneous systems are W -homogeneous with weights (1, . . . , 1).

Applications

Physical system

Volume= Area×Height

Weight 3 Weight 2 Weight 1

Polynomial inversion

X = T 2+ U2

Y = T 3−TU2

Z = T + 2U

P(X ,Y ,Z ) = 0

Weight 2

Weight 3Weight 1

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 3

Page 8: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Definitions of quasi-homogeneous systems

Definition

System of weights: W = (w1, . . . ,wn) ∈ Nn

Weighted degree: degW (Xα11 . . .Xαn

n ) =∑n

i=1 wiαi

Quasi-homogeneous polynomial: poly. containing only monomials of same W -degree

e.g. X 2 + XY 2 + Y 4 for W = (2, 1)

I Homogeneous systems are W -homogeneous with weights (1, . . . , 1).

Applications

Physical system

Volume= Area×Height

Weight 3 Weight 2 Weight 1

Polynomial inversion

X = T 2+ U2

Y = T 3−TU2

Z = T + 2U

P(X ,Y ,Z ) = 0

Weight 2

Weight 3Weight 1

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 3

Page 9: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Usual two-steps strategy in the zero-dimensional case

Initial system GREVLEXbasis

LEX basis

F5

BuchbergerF4

F5 FGLM

Change of ordering

Parametrization

dmaxNωdmax nDω

Relevant complexity parameters

I dmax = highest degree reached by F5

Less than the degree of regularity dreg.

For generic homo. systems:

dreg =n∑

i=1

(di − 1) + 1 [Lazard83 ]

I D = degree of the ideal= number of solutions in dim. 0

=n∏

i=1

di (homo. generic case)

I Nd Macaulay matrix

at degree d

Nd

For an homogeneous system:

Nd =

(n + d − 1

d

)

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 4

Page 10: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Usual two-steps strategy in the zero-dimensional case

Initial system GREVLEXbasis

LEX basisF5

BuchbergerF4

F5

FGLM

Change of ordering

Parametrization

dmaxNωdmax nDω

Relevant complexity parameters

I dmax = highest degree reached by F5

Less than the degree of regularity dreg.

For generic homo. systems:

dreg =n∑

i=1

(di − 1) + 1 [Lazard83 ]

I D = degree of the ideal= number of solutions in dim. 0

=n∏

i=1

di (homo. generic case)

I Nd Macaulay matrix

at degree d

Nd

For an homogeneous system:

Nd =

(n + d − 1

d

)

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 4

Page 11: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Main results

Adaptation of the usual strategy, so that we still have the complexity:I CF5 = O

(dregNω

dreg

)I CFGLM = O (nDω)

with estimations of the parameters for generic quasi-homogeneous systems:

I D =

∏ni=1 di∏ni=1 wi

I dreg =n∑

i=1

(di − wi) + max{wj}

I Nd '1∏n

i=1 wi

(n + d − 1

d

)

RemarkIf we set the weights to (1, . . . , 1),we recover the usual values for homogeneous systems.

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 5

Page 12: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Main results

Adaptation of the usual strategy, so that we still have the complexity:I CF5 = O

(dregNω

dreg

)I CFGLM = O (nDω)

with estimations of the parameters for generic quasi-homogeneous systems:

I D =n∏

i=1

di

I dreg =n∑

i=1

(di − 1) + 1

I Nd =

(n + d − 1

d

)

RemarkIf we set the weights to (1, . . . , 1),we recover the usual values for homogeneous systems.

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 5

Page 13: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Setting a road-map

Input

I W = (w1, . . . ,wn) system of weights.I F = (f1, . . . , fn) generic sequence of W -homogeneous polynomials

with W -degree (d1, . . . , dn).

General road-map:

1. Find a generic property which rules out all reductions to zero

I Does the F5-criterion still work for quasi-homo. regular sequences?I Are quasi-homo. regular sequences still generic?

2. Design new algorithms to take advantage of this structure

I Adapt the matrix-F5 algorithm to reduce the size of the computed matrices

3. Obtain complexity results

I What is the overall complexity?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 6

Page 14: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Setting a road-map

Input

I W = (w1, . . . ,wn) system of weights.I F = (f1, . . . , fn) generic sequence of W -homogeneous polynomials

with W -degree (d1, . . . , dn).

General road-map:

1. Find a generic property which rules out all reductions to zeroI Does the F5-criterion still work for quasi-homo. regular sequences?I Are quasi-homo. regular sequences still generic?

2. Design new algorithms to take advantage of this structure

I Adapt the matrix-F5 algorithm to reduce the size of the computed matrices

3. Obtain complexity results

I What is the overall complexity?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 6

Page 15: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Setting a road-map

Input

I W = (w1, . . . ,wn) system of weights.I F = (f1, . . . , fn) generic sequence of W -homogeneous polynomials

with W -degree (d1, . . . , dn).

General road-map:

1. Find a generic property which rules out all reductions to zeroI Does the F5-criterion still work for quasi-homo. regular sequences?I Are quasi-homo. regular sequences still generic?

2. Design new algorithms to take advantage of this structureI Adapt the matrix-F5 algorithm to reduce the size of the computed matrices

3. Obtain complexity results

I What is the overall complexity?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 6

Page 16: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Setting a road-map

Input

I W = (w1, . . . ,wn) system of weights.I F = (f1, . . . , fn) generic sequence of W -homogeneous polynomials

with W -degree (d1, . . . , dn).

General road-map:

1. Find a generic property which rules out all reductions to zeroI Does the F5-criterion still work for quasi-homo. regular sequences?I Are quasi-homo. regular sequences still generic?

2. Design new algorithms to take advantage of this structureI Adapt the matrix-F5 algorithm to reduce the size of the computed matrices

3. Obtain complexity resultsI What is the overall complexity?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 6

Page 17: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Setting a road-map

Input

I W = (w1, . . . ,wn) system of weights.I F = (f1, . . . , fn) generic sequence of W -homogeneous polynomials

with W -degree (d1, . . . , dn).

General road-map:

1. Find a generic property which rules out all reductions to zeroI Does the F5-criterion still work for quasi-homo. regular sequences?I Are quasi-homo. regular sequences still generic?

2. Design new algorithms to take advantage of this structure

I Adapt the matrix-F5 algorithm to reduce the size of the computed matrices

3. Obtain complexity results

I What is the overall complexity?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 7

Page 18: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Regular sequences

DefinitionF = (f1, . . . , fm) quasi-homo. ∈ K[X] is regular iff〈F 〉 ( K[X]

∀i , fi is no zero-divisor in K[X]/〈f1, . . . , fi−1〉

For affine systems: defined w.r.t the highestweighted-degree components.

X

Y

X 2 + Y 2 − 1X 3 − Y

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 8

Page 19: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Regular sequences

DefinitionF = (f1, . . . , fm) quasi-homo. ∈ K[X] is regular iff〈F 〉 ( K[X]

∀i , fi is no zero-divisor in K[X]/〈f1, . . . , fi−1〉

For affine systems: defined w.r.t the highestweighted-degree components.

X

Y

X 2 + Y 2 − 1X 3 − Y

Generic sequencesof homo. polynomials

Generic

Good properties F5-criterionComplexity results

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 8

Page 20: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Regular sequences

DefinitionF = (f1, . . . , fm) quasi-homo. ∈ K[X] is regular iff〈F 〉 ( K[X]

∀i , fi is no zero-divisor in K[X]/〈f1, . . . , fi−1〉

For affine systems: defined w.r.t the highestweighted-degree components.

X

Y

X 2 + Y 2 − 1X 3 − Y

Result (Faugère, Safey, V.)

Regular seq. are generic amongst systems of quasi-homo. poly. of given W -degree,assuming there exists at least one regular sequence for that W -degree.

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 8

Page 21: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Regular sequences

DefinitionF = (f1, . . . , fm) quasi-homo. ∈ K[X] is regular iff〈F 〉 ( K[X]

∀i , fi is no zero-divisor in K[X]/〈f1, . . . , fi−1〉

For affine systems: defined w.r.t the highestweighted-degree components.

X

Y

X 2 + Y 2 − 1X 3 − Y

Result (Faugère, Safey, V.)

Regular seq. are generic amongst systems of quasi-homo. poly. of given W -degree,assuming there exists at least one regular sequence for that W -degree.

Why this condition?

I W = (2, 3), d1 = 4, d2 = 4 : no regular sequenceI W = (2, 3), d1 = 6, d2 = 6 : (X 3

1 ,X22 ) is regular, regular sequences are generic

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 8

Page 22: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Hilbert series, degree and degree of regularity

Hilbert series of an idealThe Hilbert series of a (quasi-)homogeneous ideal is defined as the generating seriesof the rank defects in the Macaulay matrices of successive degrees.

HSI(t) =∞∑

d=0

dimK−ev (K [X]/I)d td

Expression for a zero-dimensional regular sequence:

HSI(t) =(1− td1) · · · (1− tdn )

(1− t) · · · (1− t)= (1 + · · ·+ td1−1) · · · (1 + · · ·+ tdn−1)

Bézout and Macaulay bounds

I Bézout bound: D = HSI(t := 1) =∏n

i=1 di

I Macaulay bound: dreg = deg(HSI) + 1 =n∑

i=1

(di − 1) + 1

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 9

Page 23: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Hilbert series, degree and degree of regularity

Hilbert series of an idealThe Hilbert series of a (quasi-)homogeneous ideal is defined as the generating seriesof the rank defects in the Macaulay matrices of successive degrees.

HSI(t) =∞∑

d=0

dimK−ev (K [X]/I)d td

Expression for a zero-dimensional regular sequence:

HSI(t) =(1− td1) · · · (1− tdn )

(1− t) · · · (1− t)= (1 + · · ·+ td1−1) · · · (1 + · · ·+ tdn−1)

Bézout and Macaulay bounds

I Bézout bound: D = HSI(t := 1) =∏n

i=1 di

I Macaulay bound: dreg = deg(HSI) + 1 =n∑

i=1

(di − 1) + 1

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 9

Page 24: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Hilbert series, degree and degree of regularity

Hilbert series of an idealThe Hilbert series of a (quasi-)homogeneous ideal is defined as the generating seriesof the rank defects in the Macaulay matrices of successive degrees.

HSI(t) =∞∑

d=0

dimK−ev (K [X]/I)d td

Expression for a zero-dimensional regular sequence:

HSI(t) =(1− td1) · · · (1− tdn )

(1− tw1) · · · (1− twn )=

(1 + · · ·+ td1−1) · · · (1 + · · ·+ tdn−1)

(1 + · · ·+ tw1−1) · · · (1 + · · ·+ twn−1)

Bézout and Macaulay bounds

I Bézout bound: D = HSI(t := 1) =∏n

i=1 di∏ni=1 wi

I Macaulay bound: dreg = deg(HSI) + max{wj} =n∑

i=1

(di − wi) + max{wj}

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 9

Page 25: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Size of the Macaulay matrices

I Need to count the monomials with a given W -degreeI Combinatorial object named Sylvester denumerants

I Result1: asymptotically Nd ∼#Monomials of total degree d∏n

i=1 wi

degX

degY

1 monomialout of 6

Monomials ofK[X ,Y ]

“Weighted”monomials

W = (2, 3)

1Geir02.Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 10

Page 26: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Setting a road-map

Input

I W = (w1, . . . ,wn) system of weights.I F = (f1, . . . , fn) generic sequence of W -homogeneous polynomials

with W -degree (d1, . . . , dn).

General road-map:

1. Find a generic property which rules out all reductions to zero

I Does the F5-criterion still work for quasi-homo. regular sequences?I Are quasi-homo. regular sequences still generic?

2. Design new algorithms to take advantage of this structureI Adapt the matrix-F5 algorithm to reduce the size of the computed matrices

3. Obtain complexity results

I What is the overall complexity?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 11

Page 27: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

From homogeneous to quasi-homogeneous

Homogenization morphism

homW : (K[X],W -deg) → (K[X], deg)f 7→ f (X w1

1 , . . . ,X wnn )

I Graded injective morphism.I Sends regular sequences onto regular sequencesI Good behavior w.r.t Gröbner bases

FBasis of F

w.r.t hom−1W (≺)

homW (F ) Basis of homW (F )w.r.t ≺

homW hom−1W

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 12

Page 28: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Adapting the algorithms

The W -GREVLEX ordering

Analogous to the GREVLEX ordering, except monomials are selected according to theirW -degree instead of total degree.

Detailed strategy

F W -GREVLEXbasis of F

homW (F )

GREVLEXbasis of

homW (F )

W -F5

F5

dregNωdreg

homWhom−1

W

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 13

Page 29: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Adapting the algorithms

The W -GREVLEX ordering

Analogous to the GREVLEX ordering, except monomials are selected according to theirW -degree instead of total degree.

Detailed strategy

F W -GREVLEXbasis of F

homW (F )

GREVLEXbasis of

homW (F )

W -F5

F5

dregNωdreg

homWhom−1

W

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 13

Page 30: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Adapting the algorithms

The W -GREVLEX ordering

Analogous to the GREVLEX ordering, except monomials are selected according to theirW -degree instead of total degree.

Detailed strategy

F W -GREVLEXbasis of F

D =

∏ni=1 di∏ni=1 wi

homW (F )

GREVLEXbasis of

homW (F )D =

∏ni=1 di

W -F5

F5

dregNωdreg

homWhom−1

W

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 13

Page 31: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Adapting the algorithms

The W -GREVLEX ordering

Analogous to the GREVLEX ordering, except monomials are selected according to theirW -degree instead of total degree.

Detailed strategy

F W -GREVLEXbasis of F

LEX basisof F

homW (F )

GREVLEXbasis of

homW (F )

W -F5

F5

dregNωdreg

FGLM

nDω

homWhom−1

W

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 13

Page 32: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Adapting the algorithms

The W -GREVLEX ordering

Analogous to the GREVLEX ordering, except monomials are selected according to theirW -degree instead of total degree.

Detailed strategy

F W -GREVLEXbasis of F

LEX basisof F

homW (F )

GREVLEXbasis of

homW (F )

W -F5

F5

dregNωdreg

FGLM

nDω

homWhom−1

W

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 13

Page 33: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

How to adapt the matrix-F5 algorithm?

Reduced Macaulay matrixat degree d − 1

Macaulay matrix

at degree d

At degree d

Line f

Label m

{Monomials

with degree d − di

}m′ = m · Xk

New line Xk · f

F5-criterion?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 14

Page 34: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

How to adapt the matrix-F5 algorithm?

Reduced Macaulay matrixat degree d − 1

This 1 should be replaced

by the weight of Xk !!!

Macaulay matrixat degree d

At degree d

Line f

Label m

{Monomials

with degree d − di

}m′ = m · Xk

New line Xk · f

F5-criterion?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 14

Page 35: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

How to adapt the matrix-F5 algorithm?

Reduced Macaulay matricesat W -degrees d−w1, . . . , d−wn

Macaulay matrix

at degree d

At W -degree d

Line f

Label m

{Monomials

with W -degree d − di

}m′ = m · Xk

New line Xk · f

F5-criterion?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 14

Page 36: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Setting a road-map

Input

I W = (w1, . . . ,wn) system of weights.I F = (f1, . . . , fn) generic sequence of W -homogeneous polynomials

with W -degree (d1, . . . , dn).

General road-map:

1. Find a generic property which rules out all reductions to zero

I Does the F5-criterion still work for quasi-homo. regular sequences?I Are quasi-homo. regular sequences still generic?

2. Design new algorithms to take advantage of this structure

I Adapt the matrix-F5 algorithm to reduce the size of the computed matrices

3. Obtain complexity resultsI What is the overall complexity?

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 15

Page 37: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Main results

Adaptation of the usual strategy, so that we still have the complexity:I CF5 = O

(dregNω

dreg

)I CFGLM = O (nDω)

with estimations of the parameters for generic quasi-homogeneous systems:

I D =

∏ni=1 di∏ni=1 wi

I dreg =n∑

i=1

(di − wi) + max{wj}

I Nd '1∏n

i=1 wi

(n + d − 1

d

)

Overall, the complexity is divided by (∏

wi)ω

when compared to a homogeneous system of the same degree.

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 16

Page 38: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

And what about higher dimension?

For homogeneous systems in positive dimension (m ≤ n):

I Bézout bound: D =∏m

i=1 di

I Macaulay bound: dreg ≤m∑

i=1

(di − 1) + 1

Which of the weights to use in the formulas?

DefinitionThe sequence f1, . . . , fm is in Noether positioniff the sequence f1, . . . , fm,Xm+1, . . . ,Xn is regular.

Properties

I Information about which variables really matter to the system.I Not necessary for homogeneous systems in “big enough” fields, because that

property is always satisfied up to a linear change of variables.

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 17

Page 39: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

And what about higher dimension?

For W-homogeneous systems in positive dimension (m ≤ n):

I Bézout bound: D =

∏ni=1 di

???

I Macaulay bound: dreg ≤m∑

i=1

(di − ???) + ???

Which of the weights to use in the formulas?

DefinitionThe sequence f1, . . . , fm is in Noether positioniff the sequence f1, . . . , fm,Xm+1, . . . ,Xn is regular.

Properties

I Information about which variables really matter to the system.I Not necessary for homogeneous systems in “big enough” fields, because that

property is always satisfied up to a linear change of variables.

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 17

Page 40: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

And what about higher dimension?

For W-homogeneous systems in positive dimension (m ≤ n):

I Bézout bound: D =

∏ni=1 di

???

I Macaulay bound: dreg ≤m∑

i=1

(di − ???) + ???

Which of the weights to use in the formulas?

DefinitionThe sequence f1, . . . , fm is in Noether positioniff the sequence f1, . . . , fm,Xm+1, . . . ,Xn is regular.

Properties

I Information about which variables really matter to the system.I Not necessary for homogeneous systems in “big enough” fields, because that

property is always satisfied up to a linear change of variables.

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 17

Page 41: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Results for a positive-dimensional ideal in Noether position

Result (Faugère, Safey, V.)

Sequences in Noether pos. are generic amongst W -homo. seq. of given W -degree,assuming there exists some sequence in Noether position with that W -degree.

I Bézout bound:

D =

∏mi=1 di∏mi=1 wi

I Macaulay bound:

dreg =m∑

i=1

(di − wi) + max{wj : j ≤ m}

I Algorithm matrix-F5 still runs in complexity polynomial in the Bézout bound.I Algorithm FGLM only works for zero-dimensional systems.I These results are nonetheless helpful when we study affine systems (through

homogenization).

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 18

Page 42: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Results for a positive-dimensional ideal in Noether position

Result (Faugère, Safey, V.)

Sequences in Noether pos. are generic amongst W -homo. seq. of given W -degree,assuming there exists some sequence in Noether position with that W -degree.

I Bézout bound:

D =

∏mi=1 di∏mi=1 wi

I Macaulay bound:

dreg =m∑

i=1

(di − wi) + max{wj : j ≤ m}

I Algorithm matrix-F5 still runs in complexity polynomial in the Bézout bound.I Algorithm FGLM only works for zero-dimensional systems.I These results are nonetheless helpful when we study affine systems (through

homogenization).

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 18

Page 43: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Benchmarks with generic systems

n deg(I) tF5 (qh) Ratio for F5 tFGLM(qh) Ratio for FGLM7 512 0.09s 3.2 0.06s 1.78 1024 0.39s 4.2 0.17s 1.99 2048 1.63s 4.9 0.59s 2.010 4096 7.54s 5.4 2.36s 2.611 8192 33.3s 6.4 17.5s 2.412 16384 167.9s 6.8 115.8s13 32768 796.7s 8.4 782.74s14 65536 5040.1s ∞ 5602.27s

Benchmarks obtained with FGb on generic affine systemswith W -degree (4, . . . , 4) for W = (2, . . . , 2, 1, 1)

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 19

Page 44: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Real-world benchmarks

n deg(I) tF5 (qh) Ratio for F5 tFGLM(qh) Ratio for FGLM3 16 0.00s 0.00s4 512 0.03s 3.7 0.07s5 65536 935.39s 6.9 2164.38s 3.2

Benchmarks obtained with systems arising in the DLP on Edwards curves,with W -degree (4) for W = (2, . . . , 2, 1)(Faugère, Gaudry, Huot, Renault 2013)

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 20

Page 45: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Conclusion

What we have done

I Theoretical results for quasi-homogeneous systems under generic hypothesesI Variant of the usual strategy for these systems (variant of F5 + weighted order)I Complexity results for F5 and FGLM for this strategy

I Complexity overall divided by (∏

wi )ω

I Polynomial in the number of solutions

Perspectives

I Overdetermined systems: adapt the definitions and the resultsI Affine systems: find the most appropriate system of weights

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 21

Page 46: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

Conclusion

What we have done

I Theoretical results for quasi-homogeneous systems under generic hypothesesI Variant of the usual strategy for these systems (variant of F5 + weighted order)I Complexity results for F5 and FGLM for this strategy

I Complexity overall divided by (∏

wi )ω

I Polynomial in the number of solutions

Perspectives

I Overdetermined systems: adapt the definitions and the resultsI Affine systems: find the most appropriate system of weights

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 21

Page 47: Computing Gröbner bases for quasi-homogeneous systems · 3/22/2013  · Computing Gröbner bases for quasi-homogeneous systems Jean-Charles Faugère1 Mohab Safey El Din12 Thibaut

One last word

Thanks for listening!

Computing Gröbner bases for quasi-homogeneous systems 2013-03-22 22