Fast Reduction of Bivariate Polynomials with Respect to Sufficiently - - PowerPoint PPT Presentation

fast reduction of bivariate polynomials with respect to
SMART_READER_LITE
LIVE PREVIEW

Fast Reduction of Bivariate Polynomials with Respect to Sufficiently - - PowerPoint PPT Presentation

Fast Reduction of Bivariate Polynomials with Respect to Sufficiently Regular Gr obner Bases Joris van der Hoeven, Robin Larrieu Laboratoire dInformatique de lEcole Polytechnique (LIX) ISSAC 18 New York, USA 18 / 07 / 2018 Joris


slide-1
SLIDE 1

Fast Reduction of Bivariate Polynomials with Respect to Sufficiently Regular Gr¨

  • bner Bases

Joris van der Hoeven, Robin Larrieu

Laboratoire d’Informatique de l’Ecole Polytechnique (LIX)

ISSAC ’18 – New York, USA 18 / 07 / 2018

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-2
SLIDE 2

Introduction

Fast Gr¨

  • bner basis algorithms rely on linear algebra (ex: F4,
  • F5. . . )

Can we do it with polynomial arithmetic?

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-3
SLIDE 3

Introduction

Fast Gr¨

  • bner basis algorithms rely on linear algebra (ex: F4,
  • F5. . . ) → Not optimal unless ω = 2.

Can we do it with polynomial arithmetic? → Hope for asymptotically optimal algorithms.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-4
SLIDE 4

Introduction

Fast Gr¨

  • bner basis algorithms rely on linear algebra (ex: F4,
  • F5. . . ) → Not optimal unless ω = 2.

Can we do it with polynomial arithmetic? → Hope for asymptotically optimal algorithms. Easier problem Given a Gr¨

  • bner basis G, can we reduce P modulo G faster?

Main result If G is sufficiently regular, a quasi-optimal algorithm exists modulo precomputation.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-5
SLIDE 5

Polynomial reduction: complexity

Y X I := A, B: O(n2) coefficients. K[X, Y ]/I: dimension O(n2). G: O(n3) coefficients (O(n2) for each Gi). Reduction using G needs at least O(n3) = ⇒ reduction with less information?

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-6
SLIDE 6

Outline

1

Vanilla Gr¨

  • bner bases

Definition Terse representation

2

Polynomial reduction Idea of the algorithm Applications

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-7
SLIDE 7

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Outline

1

Vanilla Gr¨

  • bner bases

Definition Terse representation

2

Polynomial reduction

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-8
SLIDE 8

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Definition

We consider the term orders ≺k (k ∈ N∗) as the weighted-degree lexicographic order with weights (X : 1, Y : k). Vanilla Gr¨

  • bner stairs

The monomials below the stairs are the minimal elements with respect to ≺k Example for k = 4 and an ideal I of degree D = 237

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-9
SLIDE 9

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Definition (2)

Retractive property let I := {0, 1, n} . The retractive property means that for any i n we have a linear combination Gi =

  • j∈I

Ci,j Gj .

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-10
SLIDE 10

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Definition (2)

Retractive property For ℓ ∈ N∗, let Iℓ := {0, 1, n} ∪ ℓN ∩ (0, n). The retractive property means that for any i, ℓ n we have a linear combination Gi =

  • j∈Iℓ

Ci,j,ℓGj with degk Ci,j,ℓ = O(kl).

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-11
SLIDE 11

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Definition (2)

Retractive property For ℓ ∈ N∗, let Iℓ := {0, 1, n} ∪ ℓN ∩ (0, n). The retractive property means that for any i, ℓ n we have a linear combination Gi =

  • j∈Iℓ

Ci,j,ℓGj with degk Ci,j,ℓ = O(kl).

More precisely, degk Ci,j,ℓ < k(2ℓ − 1).

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-12
SLIDE 12

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Definition (2)

Retractive property For ℓ ∈ N∗, let Iℓ := {0, 1, n} ∪ ℓN ∩ (0, n). The retractive property means that for any i, ℓ n we have a linear combination Gi =

  • j∈Iℓ

Ci,j,ℓGj with degk Ci,j,ℓ = O(kl).

More precisely, degk Ci,j,ℓ < k(2ℓ − 1).

A Gr¨

  • bner basis for the k-order is vanilla if it is a vanilla Gr¨
  • bner

stairs and has the retractive property. Conjecture: vanilla Gr¨

  • bner bases are generic

Experimentally, for generators chosen at random, and for various term orders, the Gr¨

  • bner basis is vanilla.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-13
SLIDE 13

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Terse representation

G0, G1, Gn and well-chosen retraction coefficients hold all information (in space ˜ O(n2)) and allow to retrieve G fast. The coefficients of each Gi are needed to compute the reduction, but there are too many.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-14
SLIDE 14

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Terse representation

G0, G1, Gn and well-chosen retraction coefficients hold all information (in space ˜ O(n2)) and allow to retrieve G fast. The coefficients of each Gi are needed to compute the reduction, but there are too many. = ⇒ Keep only enough coefficients to evaluate Qi.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-15
SLIDE 15

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Terse representation

G0, G1, Gn and well-chosen retraction coefficients hold all information (in space ˜ O(n2)) and allow to retrieve G fast. The coefficients of each Gi are needed to compute the reduction, but there are too many. = ⇒ Keep only enough coefficients to evaluate Qi. = ⇒ Control the degree of the quotients. Dichotomic selection strategy n/2 quotients of degree d. n/4 quotients of degree 2d. n/8 quotients of degree 4d. . . .

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-16
SLIDE 16

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Terse representation – Example

G0 G1 G2

+ the linear combination G2 = f2(Gi, i ∈ {0, 1, 4, 8, 11}) (5 polynomials of degree 27)

G3

+ the linear combination G3 = f3(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G4

+ the linear combination G4 = f4(Gi, i ∈ {0, 1, 8, 11}) (4 polynomials of degree 59)

G5

+ the linear combination G5 = f5(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G6

+ the linear combination G6 = f6(Gi, i ∈ {0, 1, 4, 8, 11}) (5 polynomials of degree 27)

G7

+ the linear combination G7 = f7(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G8

+ the linear combination G8 = f8(Gi, i ∈ {0, 1, 11}) (3 polynomials of degree 123)

G9

+ the linear combination G9 = f9(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G10

+ the linear combination G10 = f10(Gi, i ∈ {0, 1, 4, 8, 11}) (5 polynomials of degree 27)

G11

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-17
SLIDE 17

Vanilla Gr¨

  • bner bases

Polynomial reduction Definition Terse representation

Terse representation – Example

G # G #

1

G #

2

+ the linear combination G2 = f2(Gi, i ∈ {0, 1, 4, 8, 11}) (5 polynomials of degree 27)

G #

3

+ the linear combination G3 = f3(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G #

4

+ the linear combination G4 = f4(Gi, i ∈ {0, 1, 8, 11}) (4 polynomials of degree 59)

G #

5

+ the linear combination G5 = f5(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G #

6

+ the linear combination G6 = f6(Gi, i ∈ {0, 1, 4, 8, 11}) (5 polynomials of degree 27)

G #

7

+ the linear combination G7 = f7(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G #

8

+ the linear combination G8 = f8(Gi, i ∈ {0, 1, 11}) (3 polynomials of degree 123)

G #

9

+ the linear combination G9 = f9(Gi, i ∈ {0, 1, 2, 4, 6, 8, 10, 11}) (8 polynomials of degree 11)

G #

10

+ the linear combination G10 = f10(Gi, i ∈ {0, 1, 4, 8, 11}) (5 polynomials of degree 27)

G #

11

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-18
SLIDE 18

Vanilla Gr¨

  • bner bases

Polynomial reduction Idea of the algorithm Applications

Outline

1

Vanilla Gr¨

  • bner bases

2

Polynomial reduction Idea of the algorithm Applications

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-19
SLIDE 19

Vanilla Gr¨

  • bner bases

Polynomial reduction Idea of the algorithm Applications

Idea of the algorithm

Theorem (van der Hoeven – ACA 2015) Using relaxed multiplications, the extended reduction of P modulo G can be computed in quasi-linear time for the size of the equation P =

  • i

QiGi + R. But this equation has size O(n3) and we would like to achieve ˜ O(n2).

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-20
SLIDE 20

Vanilla Gr¨

  • bner bases

Polynomial reduction Idea of the algorithm Applications

Idea of the algorithm

Theorem (van der Hoeven – ACA 2015) Using relaxed multiplications, the extended reduction of P modulo G can be computed in quasi-linear time for the size of the equation P =

  • i

QiGi + R. But this equation has size O(n3) and we would like to achieve ˜ O(n2). Adapt the algorithm to take advantage of the terse representation: Use the truncated elements G #

i

instead ( ˜ O(n2) coefficients). Then, use the retraction coefficients to compute the remainder.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-21
SLIDE 21

Vanilla Gr¨

  • bner bases

Polynomial reduction Idea of the algorithm Applications

Applications – multiplication in the quotient algebra

Given P, Q ∈ A := K[X, Y ]/I, compute PQ ∈ A in normal form. Assume that: The Gr¨

  • bner basis G of I for some term order is vanilla.

Its terse representation has been precomputed. P and Q are given in normal form with respect to G. Theorem Multiplication in A can be computed in time ˜ O(dim A).

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-22
SLIDE 22

Vanilla Gr¨

  • bner bases

Polynomial reduction Idea of the algorithm Applications

Applications – conversion between representation

P ∈ A[4] P ∈ A[42] Perform a Gr¨

  • bner walk

A[4] ← → A[8] ← → A[16] ← → A[32] ← → A[42] (assuming these terse representations have been precomputed). Theorem The change of representation can be done in time ˜ O(dim A).

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-23
SLIDE 23

Conclusion

Main result Under regularity assumptions, the extended reduction of P modulo a Gr¨

  • bner basis G can be computed in quasi-linear time (with

respect to the size of P and the dimension of the quotient algebra). Proof-of-concept implementation (in Sage) at https://www.lix.polytechnique.fr/~larrieu/ Mainly intended as correctness proof. Missing (fast) implementation of some primitives = ⇒ does not achieve quasi-optimal complexity. For the same reason (+ very expensive precomputation), it is not competitive in practice.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-24
SLIDE 24

Future work

Generalization: More general term orders ? Slightly degenerate cases ? More than 2 variables ?

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-25
SLIDE 25

Future work

Generalization: More general term orders ? → start with ≺k, k ∈ Q. Slightly degenerate cases ? → seems feasible. More than 2 variables ? → seems feasible but very technical.

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-26
SLIDE 26

Future work

Generalization: More general term orders ? → start with ≺k, k ∈ Q. Slightly degenerate cases ? → seems feasible. More than 2 variables ? → seems feasible but very technical. Helpful for Gr¨

  • bner basis computation?

In a very specific setting, yes → see my poster. In general, no idea (but maybe you have some).

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials

slide-27
SLIDE 27

Future work

Generalization: More general term orders ? → start with ≺k, k ∈ Q. Slightly degenerate cases ? → seems feasible. More than 2 variables ? → seems feasible but very technical. Helpful for Gr¨

  • bner basis computation?

In a very specific setting, yes → see my poster. In general, no idea (but maybe you have some). Thank you for your attention

Joris van der Hoeven and Robin Larrieu Fast reduction of bivariate polynomials