On QE Algorithms over algebraically closed field . Ryoya Fukasaku, - - PowerPoint PPT Presentation

on qe algorithms over algebraically closed field
SMART_READER_LITE
LIVE PREVIEW

On QE Algorithms over algebraically closed field . Ryoya Fukasaku, - - PowerPoint PPT Presentation

. On QE Algorithms over algebraically closed field . Ryoya Fukasaku, Shutaro Inoue and Yosuke Sato Tokyo University of Science MACIS2013 1 / 61 Contents of my talks . . Background 1 Outline Basic formulas Existing algorithms Merits of


slide-1
SLIDE 1

. .

On QE Algorithms over algebraically closed field

Ryoya Fukasaku, Shutaro Inoue and Yosuke Sato

Tokyo University of Science

MACIS2013

1 / 61

slide-2
SLIDE 2

Contents of my talks

. .

1

Background Outline Basic formulas Existing algorithms Merits of each existing algorithms Demerits of each existing algorithms . .

2

Definitions and Lemma Definitions Lemma . .

3

GCD-QE and CGS-QE GCD-QE algorithm CGS-QE algorithm . .

4

Suzuki-Sato’s CGS original algorithm . .

5

Hybrid-QE Algorithm Example Computation experiment . .

6

Conclusions and Future works

2 / 61

slide-3
SLIDE 3

.

1

Background Outline Basic formulas Existing algorithms Merits of each existing algorithms Demerits of each existing algorithms . .

2

Definitions and Lemma Definitions Lemma . .

3

GCD-QE and CGS-QE GCD-QE algorithm CGS-QE algorithm . .

4

Suzuki-Sato’s CGS original algorithm . .

5

Hybrid-QE Algorithm Example Computation experiment . .

6

Conclusions and Future works

3 / 61

slide-4
SLIDE 4

Outline

What is Quantifier Elimination over algebraically closed field(ACF QE) ? ACF QE is computing the equivalent formula eliminating quantifier from a first-order formula over ACF. .

Example

. . Input ∃x ∈ C(x − a1 = 0 ∧ x − a2 = 0 ∧ x − a1a2 ̸= 0) Output a1 = a2 ∧ −a2 + a2

2 ̸= 0

4 / 61

slide-5
SLIDE 5

Outline

What is Quantifier Elimination over algebraically closed field(ACF QE) ? ACF QE is computing the equivalent formula eliminating quantifier from a first-order formula over ACF. .

Example

. . Input ∃x ∈ C(x − a1 = 0 ∧ x − a2 = 0 ∧ x − a1a2 ̸= 0) Output a1 = a2 ∧ −a2 + a2

2 ̸= 0

5 / 61

slide-6
SLIDE 6

Basic formulas

K : field, K : the algebraic closure of K, A : free variables A1, . . . , An, X : quantified variables X1, . . . , Xm, f1, . . . , fr, g1, . . . , gs ∈ K[A, X] .

Basic formula

. . ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0)

.

Basic formula

. . ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 . . . gs ̸= 0)

The above formulas are equivalent. General ACF QE can return by QE the above basic formulas.

6 / 61

slide-7
SLIDE 7

Basic formulas

K : field, K : the algebraic closure of K, A : free variables A1, . . . , An, X : quantified variables X1, . . . , Xm, f1, . . . , fr, g1, . . . , gs ∈ K[A, X] .

Basic formula

. . ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0)

.

Basic formula

. . ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 . . . gs ̸= 0)

The above formulas are equivalent. General ACF QE can return by QE the above basic formulas.

7 / 61

slide-8
SLIDE 8

Existing algorithms

The existing algorithms of ACF QE : . .

1 Method based on greatest common divisor (GCD-QE)

. .

2 Method based on comprehensive Groebner system (CGS-QE)

. .

3 Method based on characteristic sets and regular chains(CSRC-QE)

The problems of the existing algorithms : Computation speed The computation speed of GCD-QE and CGS-QE is slow. Representation of output result The representation of output result of GCD-QE and CSRC-QE is generally complicated.

8 / 61

slide-9
SLIDE 9

Existing algorithms

The existing algorithms of ACF QE : . .

1 Method based on greatest common divisor (GCD-QE)

. .

2 Method based on comprehensive Groebner system (CGS-QE)

. .

3 Method based on characteristic sets and regular chains(CSRC-QE)

The problems of the existing algorithms : Computation speed The computation speed of GCD-QE and CGS-QE is slow. Representation of output result The representation of output result of GCD-QE and CSRC-QE is generally complicated.

9 / 61

slide-10
SLIDE 10

Merits of each existing algorithms

GCD-QE The computation of ACF QE for one segment is often fast. CGS-QE By recent research we can compute a CGS with almost a minimum number of segments, which give us a very simple QE formula. CSRC-QE The computation of ACF QE is often fast.

10 / 61

slide-11
SLIDE 11

Demerits of each existing algorithms

GCD-QE We generally have a huge number of segments which makes the QE formula complicated, further we also need long computation time. CGS-QE We have to use new variables for inequations, which sometimes makes computation very heavy. CSRC-QE The representation of output result is generally complicated.

11 / 61

slide-12
SLIDE 12

Demerits of each existing algorithms

. .

Example

. . ∃(x, y, z) ∈ C3 axz +xy +yz = 0∧axyz +axy +axz +1 = 0∧axz −az +yz −x−y = 0 Output of GCD-QE : a2 − 3a + 3 = 0 ∨ a ̸= 0 ∨ (16a8 − 144a7 + 504a6 − 864a5 + 729a4 − 135a3 − 324a2 + 405a − 81 = 0 ∧ −a2 + 3a − 3 ̸= 0) Output of CGS-QE : a ̸= 0 Output of CSRC-QE : a(a + 1)(a2 − 3a + 3) ̸= 0 ∨ a2 − 3a + 3 = 0 ∨ a + 1 = 0 The output of CGS-QE is the most simple of 3 outputs.

12 / 61

slide-13
SLIDE 13

Demerits of each existing algorithms

. .

Example

. . ∃(x, y, z) ∈ C3 axz +xy +yz = 0∧axyz +axy +axz +1 = 0∧axz −az +yz −x−y = 0 Output of GCD-QE : a2 − 3a + 3 = 0 ∨ a ̸= 0 ∨ (16a8 − 144a7 + 504a6 − 864a5 + 729a4 − 135a3 − 324a2 + 405a − 81 = 0 ∧ −a2 + 3a − 3 ̸= 0) Output of CGS-QE : a ̸= 0 Output of CSRC-QE : a(a + 1)(a2 − 3a + 3) ̸= 0 ∨ a2 − 3a + 3 = 0 ∨ a + 1 = 0 The output of CGS-QE is the most simple of 3 outputs.

13 / 61

slide-14
SLIDE 14

Today Main Theme

Today we introduce Hybrid-QE for the following point. Return fast. Return simple output.

14 / 61

slide-15
SLIDE 15

.

1

Background Outline Basic formulas Existing algorithms Merits of each existing algorithms Demerits of each existing algorithms . .

2

Definitions and Lemma Definitions Lemma . .

3

GCD-QE and CGS-QE GCD-QE algorithm CGS-QE algorithm . .

4

Suzuki-Sato’s CGS original algorithm . .

5

Hybrid-QE Algorithm Example Computation experiment . .

6

Conclusions and Future works

15 / 61

slide-16
SLIDE 16

Definitions

m ∈ N, S1, . . . , St ⊆ K

m

.

Definition

. . {S1, . . . , St} is a partition of K

m.

:⇔ (∀i, j(i ̸= j ⇒ Si ∩ Sj = ∅)) ∧ (S1 ∪ . . . ∪ St = K

m)

We call each Si segment. Si is represented by a set which subtracts a variety from a variety. We identify Si with its defining formula. F, G1, . . . , Gt : finite subsets of K[A, X], {S1, . . . , St} : a partition of K

m

.

Definition

. . {(S1, G1), . . . , (St, Gt)} is a CGS of ⟨F⟩. :⇔ ∀a ∈ Si Gi(a) is a Groebner basis(GB) of ⟨F(a)⟩ for each i , where F(a) = {f(a, X) : f ∈ F} ⊂ K[X].

16 / 61

slide-17
SLIDE 17

Definitions

m ∈ N, S1, . . . , St ⊆ K

m

.

Definition

. . {S1, . . . , St} is a partition of K

m.

:⇔ (∀i, j(i ̸= j ⇒ Si ∩ Sj = ∅)) ∧ (S1 ∪ . . . ∪ St = K

m)

We call each Si segment. Si is represented by a set which subtracts a variety from a variety. We identify Si with its defining formula. F, G1, . . . , Gt : finite subsets of K[A, X], {S1, . . . , St} : a partition of K

m

.

Definition

. . {(S1, G1), . . . , (St, Gt)} is a CGS of ⟨F⟩. :⇔ ∀a ∈ Si Gi(a) is a Groebner basis(GB) of ⟨F(a)⟩ for each i , where F(a) = {f(a, X) : f ∈ F} ⊂ K[X].

17 / 61

slide-18
SLIDE 18

Definitions

m ∈ N, S1, . . . , St ⊆ K

m

.

Definition

. . {S1, . . . , St} is a partition of K

m.

:⇔ (∀i, j(i ̸= j ⇒ Si ∩ Sj = ∅)) ∧ (S1 ∪ . . . ∪ St = K

m)

We call each Si segment. Si is represented by a set which subtracts a variety from a variety. We identify Si with its defining formula. F, G1, . . . , Gt : finite subsets of K[A, X], {S1, . . . , St} : a partition of K

m

.

Definition

. . {(S1, G1), . . . , (St, Gt)} is a CGS of ⟨F⟩. :⇔ ∀a ∈ Si Gi(a) is a Groebner basis(GB) of ⟨F(a)⟩ for each i , where F(a) = {f(a, X) : f ∈ F} ⊂ K[X].

18 / 61

slide-19
SLIDE 19

Lemma

f1, . . . , fr, g1, . . . , gs ∈ K[A, X] .

Lemma

. . The following formulas is equivalent. ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0)

¬(∀X ∈ K

n(g1 . . . gs ∈

√ ⟨f1, . . . , fr⟩)) ∃(Z, X) ∈ K

s+n(f1 = 0∧. . .∧fr = 0∧1−Z1g1 = 0∧. . .∧1−Zsgs = 0)

19 / 61

slide-20
SLIDE 20

.

1

Background Outline Basic formulas Existing algorithms Merits of each existing algorithms Demerits of each existing algorithms . .

2

Definitions and Lemma Definitions Lemma . .

3

GCD-QE and CGS-QE GCD-QE algorithm CGS-QE algorithm . .

4

Suzuki-Sato’s CGS original algorithm . .

5

Hybrid-QE Algorithm Example Computation experiment . .

6

Conclusions and Future works

20 / 61

slide-21
SLIDE 21

GCD-QE algorithm

X : a quantified variable, f1, . . . , fr, g ∈ K[A, X] .

Basic formula

. . ∃X ∈ K(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g ̸= 0) . .

1

Compute parametric GCD’s s.t. gi(a, X) :=GCD(f1(a, X), . . . , fr(a, X)) for a ∈ Si, where {S1, . . . , St} is a partition of K

m

. .

2

Refine each segment to S′

i s.t. ¬(∀a ∈ Si∀X ∈ K(g ∈

√ ⟨gi(a, X)⟩));

. .

3

Return ∪S′

i;

We can eliminate many quantified variables by recursive application.

21 / 61

slide-22
SLIDE 22

GCD-QE algorithm

X : a quantified variable, f1, . . . , fr, g ∈ K[A, X] .

Basic formula

. . ∃X ∈ K(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g ̸= 0) . .

1

Compute parametric GCD’s s.t. gi(a, X) :=GCD(f1(a, X), . . . , fr(a, X)) for a ∈ Si, where {S1, . . . , St} is a partition of K

m

. .

2

Refine each segment to S′

i s.t. ¬(∀a ∈ Si∀X ∈ K(g ∈

√ ⟨gi(a, X)⟩));

. .

3

Return ∪S′

i;

We can eliminate many quantified variables by recursive application.

22 / 61

slide-23
SLIDE 23

GCD-QE algorithm

X : a quantified variable, f1, . . . , fr, g ∈ K[A, X] .

Basic formula

. . ∃X ∈ K(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g ̸= 0) . .

1

Compute parametric GCD’s s.t. gi(a, X) :=GCD(f1(a, X), . . . , fr(a, X)) for a ∈ Si, where {S1, . . . , St} is a partition of K

m

. .

2

Refine each segment to S′

i s.t. ¬(∀a ∈ Si∀X ∈ K(g ∈

√ ⟨gi(a, X)⟩));

. .

3

Return ∪S′

i;

We can eliminate many quantified variables by recursive application.

23 / 61

slide-24
SLIDE 24

CGS-QE algorithm

X : quantified variables, f1, . . . , fr, g1, . . . , gs ∈ K[A, X] .

Basic formula

. . ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0)

. .

1

Introduce new variables Z1, . . . , Zs;

. .

2

Let I = ⟨f1, . . . , fr, 1 − Z1g1, . . . , 1 − Zsgs⟩, R = ∅;

. .

3

Compute a CGS G of I w.r.t. graded reverse lexicographic order(GRL);

. .

4

For (Si, Gi) ∈ G, if Gi(a) doesn’t contain non-zero constant for a ∈ Si, then R = R ∪ Si;

. .

5

Return R;

24 / 61

slide-25
SLIDE 25

CGS-QE algorithm

X : quantified variables, f1, . . . , fr, g1, . . . , gs ∈ K[A, X] .

Basic formula

. . ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0)

. .

1

Introduce new variables Z1, . . . , Zs;

. .

2

Let I = ⟨f1, . . . , fr, 1 − Z1g1, . . . , 1 − Zsgs⟩, R = ∅;

. .

3

Compute a CGS G of I w.r.t. graded reverse lexicographic order(GRL);

. .

4

For (Si, Gi) ∈ G, if Gi(a) doesn’t contain non-zero constant for a ∈ Si, then R = R ∪ Si;

. .

5

Return R;

25 / 61

slide-26
SLIDE 26

.

1

Background Outline Basic formulas Existing algorithms Merits of each existing algorithms Demerits of each existing algorithms . .

2

Definitions and Lemma Definitions Lemma . .

3

GCD-QE and CGS-QE GCD-QE algorithm CGS-QE algorithm . .

4

Suzuki-Sato’s CGS original algorithm . .

5

Hybrid-QE Algorithm Example Computation experiment . .

6

Conclusions and Future works

26 / 61

slide-27
SLIDE 27

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

Compute G =reduced GB of ⟨F⟩ w.r.t. <A,X in K[A, X].

27 / 61

slide-28
SLIDE 28

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

Compute a reduced GB G of ⟨F⟩ w.r.t. <A,X in K[A, X].

28 / 61

slide-29
SLIDE 29

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

Let {h1, . . . , hs} = {hc(g) ∈ K[A] : g ∈ G \ K[A]}.

29 / 61

slide-30
SLIDE 30

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

Let S = V(G ∩ K[A]) \ V(LCM(h1, . . . , hs)).

30 / 61

slide-31
SLIDE 31

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

G(a) is a GB w.r.t. <X for a ∈ S.

31 / 61

slide-32
SLIDE 32

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

Compute a reduced GB Gi of ⟨F, hi⟩ w.r.t. <A,X in K[A, X] for each i.

32 / 61

slide-33
SLIDE 33

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

The following is computed similarly.

33 / 61

slide-34
SLIDE 34

Suzuki-Sato’s CGS original algorithm

.

input : finite F ⊂ K[A, X], a term order <X on T(X), the term order <A,X on T(A, X) s.t. A ≪ X which extends <X;

  • utput : CGS of ⟨F⟩ w.r.t. <X;

This algorithm is structure like pyramid.

34 / 61

slide-35
SLIDE 35

Suzuki-Sato’s CGS original algorithm

.

When the whole algorithm does not terminate, we sometimes have only a few segments where the computation does not terminate.

The following is an example that we have a segment hi = 0 where the computation does not terminate.

35 / 61

slide-36
SLIDE 36

.

1

Background Outline Basic formulas Existing algorithms Merits of each existing algorithms Demerits of each existing algorithms . .

2

Definitions and Lemma Definitions Lemma . .

3

GCD-QE and CGS-QE GCD-QE algorithm CGS-QE algorithm . .

4

Suzuki-Sato’s CGS original algorithm . .

5

Hybrid-QE Algorithm Example Computation experiment . .

6

Conclusions and Future works

36 / 61

slide-37
SLIDE 37

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Introduce new variables Z1, . . . , Zs.

37 / 61

slide-38
SLIDE 38

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Introduce new variables Z1, . . . , Zs.

38 / 61

slide-39
SLIDE 39

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Let F = {f1, . . . , fr, 1 − Z1g1, . . . , 1 − Zsgs}.

39 / 61

slide-40
SLIDE 40

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Let < be GRL in T(Z, X).

40 / 61

slide-41
SLIDE 41

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Let <′ be an order in T(Z, X, A) satisfying A ≪ {Z, X} and extending <.

41 / 61

slide-42
SLIDE 42

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Apply Suzuki-Sato’s CGS algorithm to F,<,<′.

42 / 61

slide-43
SLIDE 43

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Let S′ be a segment where the computation does not terminate.

43 / 61

slide-44
SLIDE 44

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Let Q = ∃X ∈ K

n(S′ ∧ f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 . . . gs ̸= 0).

44 / 61

slide-45
SLIDE 45

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

Apply GCD-QE to Q.

45 / 61

slide-46
SLIDE 46

Algorithm

. input : ∃X ∈ K

n(f1 = 0 ∧ . . . ∧ fr = 0 ∧ g1 ̸= 0 ∧ . . . ∧ gs ̸= 0);

  • utput : ACF QE formula;

For the other segments, follow CGS-QE.

46 / 61

slide-47
SLIDE 47

Algorithm

Merits : Minimum number of segments We can have the partition which is almost a minimum number of segments by using CGS-QE. Segments where the computation of CGS does not terminate GCD-QE does not introduce new variables. Even when GCD-QE does not terminate on whole space, it often terminates on a segment.

47 / 61

slide-48
SLIDE 48

Example

.

Example

. . f1 := AX + 2, f2 := X + BY − AY + 1, g := AX + 1 ∃(X, Y ) ∈ C2(f1 = 0 ∧ f2 = 0 ∧ g ̸= 0) Of course the computation of applying any existing algorithms to the above example terminates, but we apply Hybrid-QE. We introduce a new variable Z. Let F = {f1, f2, 1 − Zg}. Let <Z,X,Y,A,B be block order which is GRL on T(Z, X, Y ) s.t. Z > X > Y and GRL on T(A, B) s.t. A > B and satisfying {Z, X, Y } ≫ {A, B}.

48 / 61

slide-49
SLIDE 49

Example

.

Example

. . f1 := AX + 2, f2 := X + BY − AY + 1, g := AX + 1 ∃(X, Y ) ∈ C2(f1 = 0 ∧ f2 = 0 ∧ g ̸= 0) Of course the computation of applying any existing algorithms to the above example terminates, but we apply Hybrid-QE. We introduce a new variable Z. Let F = {f1, f2, 1 − Zg}. Let <Z,X,Y,A,B be block order which is GRL on T(Z, X, Y ) s.t. Z > X > Y and GRL on T(A, B) s.t. A > B and satisfying {Z, X, Y } ≫ {A, B}.

49 / 61

slide-50
SLIDE 50

Example

.

Example

. . f1 := AX + 2, f2 := X + BY − AY + 1, g := AX + 1 ∃(X, Y ) ∈ C2(f1 = 0 ∧ f2 = 0 ∧ g ̸= 0) Of course the computation of applying any existing algorithms to the above example terminates, but we apply Hybrid-QE. We introduce a new variable Z. Let F = {f1, f2, 1 − Zg}. Let <Z,X,Y,A,B be block order which is GRL on T(Z, X, Y ) s.t. Z > X > Y and GRL on T(A, B) s.t. A > B and satisfying {Z, X, Y } ≫ {A, B}.

50 / 61

slide-51
SLIDE 51

Example

.

Example

. . f1 := AX + 2, f2 := X + BY − AY + 1, g := AX + 1 ∃(X, Y ) ∈ C2(f1 = 0 ∧ f2 = 0 ∧ g ̸= 0) Of course the computation of applying any existing algorithms to the above example terminates, but we apply Hybrid-QE. We introduce a new variable Z. Let F = {f1, f2, 1 − Zg}. Let <Z,X,Y,A,B be block order which is GRL on T(Z, X, Y ) s.t. Z > X > Y and GRL on T(A, B) s.t. A > B and satisfying {Z, X, Y } ≫ {A, B}.

51 / 61

slide-52
SLIDE 52

Example

Compute a reduce GB G of ⟨F⟩ w.r.t.<Z,X,Y,A,B in Q[Z, X, Y, A, B].

G = {A2Y − BAY − A + 2, X − AY + BY + 1, Z + 1} The set consisting of the head coefficients of G = {A2 − BA, 1, 1} LCM(A2 − BA, 1, 1)= A2 − BA G(a, b) is a GB for (a, b) ∈ C2 \ V(A2 − BA). G(a, b) ∩ (Q \ {0}) = ∅ for (a, b) ∈ C2 \ V(A2 − BA)

If the computation on the segment V(A2 − BA) does not terminate, then we apply the following :

let Q = ∃(X, Y ) ∈ C2(A2 − BA = 0 ∧ f1 = 0 ∧ f2 = 0 ∧ g ̸= 0), apply GCD-QE to Q, where the return is the segment V(−A + 2, B − 2).

Return (C2 \ V(A2 − BA)) ∪ V(−A + 2, B − 2)

52 / 61

slide-53
SLIDE 53

Example

Compute a reduce GB G of ⟨F⟩ w.r.t.<Z,X,Y,A,B in Q[Z, X, Y, A, B].

G = {A2Y − BAY − A + 2, X − AY + BY + 1, Z + 1} The set consisting of the head coefficients of G = {A2 − BA, 1, 1} LCM(A2 − BA, 1, 1)= A2 − BA G(a, b) is a GB for (a, b) ∈ C2 \ V(A2 − BA). G(a, b) ∩ (Q \ {0}) = ∅ for (a, b) ∈ C2 \ V(A2 − BA)

If the computation on the segment V(A2 − BA) does not terminate, then we apply the following :

let Q = ∃(X, Y ) ∈ C2(A2 − BA = 0 ∧ f1 = 0 ∧ f2 = 0 ∧ g ̸= 0), apply GCD-QE to Q, where the return is the segment V(−A + 2, B − 2).

Return (C2 \ V(A2 − BA)) ∪ V(−A + 2, B − 2)

53 / 61

slide-54
SLIDE 54

Example

Compute a reduce GB G of ⟨F⟩ w.r.t.<Z,X,Y,A,B in Q[Z, X, Y, A, B].

G = {A2Y − BAY − A + 2, X − AY + BY + 1, Z + 1} The set consisting of the head coefficients of G = {A2 − BA, 1, 1} LCM(A2 − BA, 1, 1)= A2 − BA G(a, b) is a GB for (a, b) ∈ C2 \ V(A2 − BA). G(a, b) ∩ (Q \ {0}) = ∅ for (a, b) ∈ C2 \ V(A2 − BA)

If the computation on the segment V(A2 − BA) does not terminate, then we apply the following :

let Q = ∃(X, Y ) ∈ C2(A2 − BA = 0 ∧ f1 = 0 ∧ f2 = 0 ∧ g ̸= 0), apply GCD-QE to Q, where the return is the segment V(−A + 2, B − 2).

Return (C2 \ V(A2 − BA)) ∪ V(−A + 2, B − 2)

54 / 61

slide-55
SLIDE 55

Computation experiment

We applied ACF QE to a number of experiments. We checked about 100 examples that CGS-QE does not terminate, but Hybrid-QE terminates, neither of the other algorithms terminates. .

One example

. . f1 := (AX +BY )26 −1, f2 := (AXY +BX +CY )26 −B, g := AX +BY ∃(X, Y ) ∈ C2(f1 = 0 ∧ f2 = 0 ∧ g ̸= 0) system program time Mathematica Reduce > 1 hour Mathematica Resolve > 1 hour Maple Projection > 1 hour risa/asir

  • ur implementation of GCD-QE

> 1 hour risa/asir

  • ur implementation of CGS-QE
  • ut of memory

risa/asir

  • ur implementation of Hybrid-QE

139.7 sec.

55 / 61

slide-56
SLIDE 56

Computation experiment

We applied ACF QE to a number of experiments. We checked about 100 examples that CGS-QE does not terminate, but Hybrid-QE terminates, neither of the other algorithms terminates. .

One example

. . f1 := (AX +BY )26 −1, f2 := (AXY +BX +CY )26 −B, g := AX +BY ∃(X, Y ) ∈ C2(f1 = 0 ∧ f2 = 0 ∧ g ̸= 0) system program time Mathematica Reduce > 1 hour Mathematica Resolve > 1 hour Maple Projection > 1 hour risa/asir

  • ur implementation of GCD-QE

> 1 hour risa/asir

  • ur implementation of CGS-QE
  • ut of memory

risa/asir

  • ur implementation of Hybrid-QE

139.7 sec.

56 / 61

slide-57
SLIDE 57

Computation experiment

.

The following computation terminates by only using CSRC-QE and Hybrid-QE.

.

One example

. . f1 := AXZ + BX − 1, f2 := (BX + CY )14 − 1, g := AX + BZ ∃(X, Y, Z) ∈ C3(f1 = 0 ∧ f2 = 0 ∧ g ̸= 0) Output : CSRC-QE

(ABC ̸= 0) ∨ (C(A2 + B3) ̸= 0)∨ (C = 0 ∧ AB(A12 + 7A4B12 − 14A2B15 + 7B18) ̸= 0)∨ (C = 0 ∧ AB(A12 − 2A10B3 + 4A8B6 − 8A6B9 + 9A4B12 − 4A2B15 + B18) ̸= 0)∨ (C = 0 ∧ AB(A2 + 2B3) ̸= 0)∨ (C = 0 ∧ AB ̸= 0)∨ (A = 0 ∧ C = 0 ∧ B ̸= 0)∨ (A12 − 2A10B3 + 4A8B6 − 8A6B9 + 9A4B12 − 4A2B15 + B18 = 0 ∧ C = 0 ∧ AB(47A10 − 284A8B3 + 568A6B6 − 519A4B9 + 214A2B12 − 47B15)(94A10 + 117A8B3 − 783A6B6 + 1017A4B9 − 468A2B12 + 117B15)(3844755A10 − 9231137A8B3 + 7214722A6B6 − 403976A4B9 − 832313A2B12 + 474788B15) ̸= 0)∨ (A12 + 7A4B12 − 14A2B15 + 7B18 = 0 ∧ C = 0 ∧ AB(42701A10 − 346432A8B3 + 896904A6B6 − 1411539A4B9 + 1193297A2B12 − 396739B15)(69310A10 − 221942A8B3 + 412158A6B6 − 411014A4B9 + 176253A2B12 − 17157B15)(2186507864386A10 − 2706446731217A8B3 − 61230596433A6B6 + 10476412105940A4B9 − 16403396742588A2B12 + 7291066799632B15) ̸= 0)

Hybrid-QE

(C = 0 ∧ AB ̸= 0) ∨ (B = 0 ∧ AC ̸= 0) ∨ (A = 0 ∧ C = 0 ∧ B ̸= 0) ∨ (A = 0 ∧ BC ̸= 0) ∨ (ABC ̸= 0) 57 / 61

slide-58
SLIDE 58

.

1

Background Outline Basic formulas Existing algorithms Merits of each existing algorithms Demerits of each existing algorithms . .

2

Definitions and Lemma Definitions Lemma . .

3

GCD-QE and CGS-QE GCD-QE algorithm CGS-QE algorithm . .

4

Suzuki-Sato’s CGS original algorithm . .

5

Hybrid-QE Algorithm Example Computation experiment . .

6

Conclusions and Future works

58 / 61

slide-59
SLIDE 59

Conclusions

Hybrid-QE We proposed hybrid-QE by using GCD-QE and CGS-QE. Experiments The output of Hybrid-QE issimple. There are many examples which only Hybrid-QE terminates.

59 / 61

slide-60
SLIDE 60

Future works

Parallel computation We have many possibilities of parallel computation. CSRC-QE For Hybrid-QE we may apply CSRC-QE instead of GCD-QE.

60 / 61

slide-61
SLIDE 61

Thank you for your kind attention!

謝謝!

61 / 61