1
Computer algebra algorithms for solving polynomial systems, sofware and applications
Thibaut Verron
Johannes Kepler University, Institute for Algebra, Linz, Austria
Computer algebra algorithms for solving polynomial systems, sofware - - PowerPoint PPT Presentation
Computer algebra algorithms for solving polynomial systems, sofware and applications Thibaut Verron Johannes Kepler University, Institute for Algebra, Linz, Austria 1 Non-linear modelization and computer algebra Applications Robotics
1
Johannes Kepler University, Institute for Algebra, Linz, Austria
2
◮ Numeric ◮ Ex: Newton iteration, homotopy... ◮ Trade precision for speed ◮ Computer Algebra ◮ Ex: Resultants, Gröbner bases... ◮ Exact, exhaustive and certifiable ◮ Hybrid
2
◮ Numeric ◮ Ex: Newton iteration, homotopy... ◮ Trade precision for speed ◮ Computer Algebra ◮ Ex: Resultants, Gröbner bases... ◮ Exact, exhaustive and certifiable ◮ Hybrid
2
◮ Numeric ◮ Ex: Newton iteration, homotopy... ◮ Trade precision for speed ◮ Computer Algebra ◮ Ex: Resultants, Gröbner bases... ◮ Exact, exhaustive and certifiable ◮ Hybrid
3
◮ Replace or supplement numeric calculations with symbolic manipulations ◮ Difficulty: intrinsic complexity of the objects being computed
◮ NP-complete problem over finite fields ◮ Bézout bound: number of solutions exponential (product of the degrees) ◮ Worst case: doubly exponential space complexity [Mayr, Meyer 1984] ◮ For generic system, singly exponential bounds (time and space)
◮ ... not generic ◮ ... not instances of the worst case complexity
4
(With B. Bonnard, J.-C. Faugère, A. Jacquemard and M. Safey El Din) ◮ Context: Magnetic Resonance Imagery ◮ Goal: optimize contrast
◮ Optimal control approach: the Bloch model
i + z2 i ≤ 1
5
◮ Control of a single particle: done ◮ For two particles: more complicated ◮ Classify some algebraic invariants instead ◮ Used for choosing simulations to run
y z
➤
Σ1
➤
Σ2
➤
Σ4 Σ3
➤
bridge: σb
+
➤ ➤ ➤
N
2
+1 σN
+ σ−
σN
+ σh s σ−
σN
+ σh s σ+σ−
σN
+ σh s σb +σv s σ−
σN
+ σh s σ+
σN
+ σh s σ+: ∅ if S1 = S2
◮ Linked to equilibrium points ◮ Equations:
◮ Inequalities: B =
i + z2 i ≤ 1
6
◮ Existing tools can’t solve the problem efficiently ◮ 1000s on the case of water (easier: γ1=Γ1=1), full problem out of reach ◮ Complicated output for further steps
◮ Dedicated algorithm exploiting the structure of the system (determinants of matrices) ◮ Implemented in Maple ◮ Used to give full classification to the application ◮ 10s on the case of water, 4h on the full problem
◮ Real geometry: Whitney stratification, Thom’s isotopy theorem, critical points ◮ Algebra: determinantal ideals, incidence varieties ◮ Computer Algebra: polynomial elimination
7
Cerebrospinal fluid Fat
1 1 1 1 1 2 3
2 4 6 8 10 12 14 16 10 20 30 γ2 Γ2
1 1 1 1 1 1 1 2 2 3 3
1 2 3 4 5 6 1 2 3 4 γ2 Γ2
1 1 1 1 2 2 3 3
0.6 0.8 1 1.2 1.4 1.6 1.8 0.4 0.6 0.8 1 1.2 1.4 1.6 γ2 Γ2
1 1 1 3
0.78 0.79 0.8 0.81 0.82 0.6 0.62 0.64 0.66 0.68 0.7 γ2 Γ2
7
Cerebrospinal fluid Fat
1 1 1 1 1 2 3
2 4 6 8 10 12 14 16 10 20 30 γ2 Γ2
1 1 1 1 1 1 1 2 2 3 3
1 2 3 4 5 6 1 2 3 4 γ2 Γ2
1 1 1 1 2 2 3 3
0.6 0.8 1 1.2 1.4 1.6 1.8 0.4 0.6 0.8 1 1.2 1.4 1.6 γ2 Γ2
1 1 1 3
0.78 0.79 0.8 0.81 0.82 0.6 0.62 0.64 0.66 0.68 0.7 γ2 Γ2
7
Cerebrospinal fluid Fat
1 1 1 1 1 2 3
2 4 6 8 10 12 14 16 10 20 30 γ2 Γ2
1 1 1 1 1 1 1 2 2 3 3
1 2 3 4 5 6 1 2 3 4 γ2 Γ2
1 1 1 1 2 2 3 3
0.6 0.8 1 1.2 1.4 1.6 1.8 0.4 0.6 0.8 1 1.2 1.4 1.6 γ2 Γ2
1 1 1 3
0.78 0.79 0.8 0.81 0.82 0.6 0.62 0.64 0.66 0.68 0.7 γ2 Γ2
7
Cerebrospinal fluid Fat
1 1 1 1 1 2 3
2 4 6 8 10 12 14 16 10 20 30 γ2 Γ2
1 1 1 1 1 1 1 2 2 3 3
1 2 3 4 5 6 1 2 3 4 γ2 Γ2
1 1 1 1 2 2 3 3
0.6 0.8 1 1.2 1.4 1.6 1.8 0.4 0.6 0.8 1 1.2 1.4 1.6 γ2 Γ2
1 1 1 3
0.78 0.79 0.8 0.81 0.82 0.6 0.62 0.64 0.66 0.68 0.7 γ2 Γ2
8
◮ Given an ideal I ⊂ K[X1, . . . , Xn, G1, . . . , Gr] ◮ Compute a basis of IG = I ∩ K[G1, . . . , Gr]
◮ ... compute projections of varieties ◮ ... solve if finitely many solutions (by iterating) ◮ ... compute unions and differences of varieties (by lifing)
2G1 − 3X2 2G2 − 3G2 2
2
2
3 + 3X1G2 2 − 12X2G1G2 2 + 56X2G2 3
2G2 − 16G1G2 2 + 32G2 3 + 3G2 2
2G2 − 28G1G2 2 + 32G2 3 + 3G2 2
8
◮ Given an ideal I ⊂ K[X1, . . . , Xn, G1, . . . , Gr] ◮ Compute a basis of IG = I ∩ K[G1, . . . , Gr]
◮ ... compute projections of varieties ◮ ... solve if finitely many solutions (by iterating) ◮ ... compute unions and differences of varieties (by lifing)
2G1 − 3X2 2G2 − 3G2 2
2
2
3 + 3X1G2 2 − 12X2G1G2 2 + 56X2G2 3
2G2 − 16G1G2 2 + 32G2 3 + 3G2 2
2G2 − 28G1G2 2 + 32G2 3 + 3G2 2
9
9
9
9
9
10
(With J.C. Faugère and M. Safey El Din)
0 = 41518 33900 8840 22855 29081 X16
5
+ 49874 32136 34252 24932 11782 X8
1 +
45709 10698 45336 26076 55993 X7
1 X2 +
46659 59796 38267 39647 27683 X6
1 X2 2 +
32367 23164 64111 63692 29095 X5
1 X3 2 +
37627 25182 59951 60422 11080 X4
1 X4 2 +
27200 38476 28698 5708 47718 X3
1 X5 2 +
64271 43542 57950 52276 9739 X2
1 X6 2 +
49159 11328 33520 65039 27178 X1X7
2 +
59456 49518 46071 49716 33760 X8
2 + 2069 terms
10
(With J.C. Faugère and M. Safey El Din)
0 = 41518 33900 8840 22855 29081 X16
5
+ 49874 32136 34252 24932 11782 X8
1 +
45709 10698 45336 26076 55993 X7
1 X2 +
46659 59796 38267 39647 27683 X6
1 X2 2 +
32367 23164 64111 63692 29095 X5
1 X3 2 +
37627 25182 59951 60422 11080 X4
1 X4 2 +
27200 38476 28698 5708 47718 X3
1 X5 2 +
64271 43542 57950 52276 9739 X2
1 X6 2 +
49159 11328 33520 65039 27178 X1X7
2 +
59456 49518 46071 49716 33760 X8
2 + 2069 terms
◮ Irregular behavior ◮ Long calculation ◮ No complexity estimates
10
(With J.C. Faugère and M. Safey El Din)
0 = 41518 33900 8840 22855 29081 X16
5
+ 49874 32136 34252 24932 11782 X8
1 +
45709 10698 45336 26076 55993 X7
1 X2 +
46659 59796 38267 39647 27683 X6
1 X2 2 +
32367 23164 64111 63692 29095 X5
1 X3 2 +
37627 25182 59951 60422 11080 X4
1 X4 2 +
27200 38476 28698 5708 47718 X3
1 X5 2 +
64271 43542 57950 52276 9739 X2
1 X6 2 +
49159 11328 33520 65039 27178 X1X7
2 +
59456 49518 46071 49716 33760 X8
2 + 2069 terms
◮ Irregular behavior ◮ Long calculation ◮ No complexity estimates
i (i = 1 . . . 4):
◮ Regular behavior ◮ Faster calculation
11
◮ Full algorithmic strategy taking advantage of generic regularity properties ◮ Full understanding of the graduation (syzygy module, Hilbert series) ◮ Characterization of generic properties (regularity, semi-regularity, Noether position) ◮ Complexity bounds divided by ( wi)3 ◮ Can be used by any existing implementation without computational cost
◮ Automatic detection of the best system of weights ◮ More general structures allowing the weights to be 0 (elimination)... ◮ ... or < 0 (variables with local ordering, saturation) ◮ Multi-graduation: weighted homogeneous for several systems of weights (physics)
12
(With M. Francis)
◮ Applications: ◮ Number theory [Lichtblau, 2011] ◮ Latice-based cryptography [Francis, Dukkipati 2016] ◮ Computation in finitely-presented groups [Sims, 1994] ◮ Example: intersection of two ideals in
◮ Algorithms developed in the late 80’s and early 90’s ◮ Impossible to mitigate coefficient growth with modular methods ◮ Many usual criteria when coefficients are in a field become more complicated over rings ◮ Recent surge of interest with focus on Z and Euclidean rings (Lichtblau, Eder, Popescu...)
13
◮ Signatures: technique for recovering and exploiting info. on the module of syzygies
[Faugère, 2002]
◮ Is it possible to compute Gröbner bases with signatures over Z? ◮ State of the art: No, impossible [Eder, Popescu 2017]
◮ New answer: Yes, with another definition! ◮ Proof of concept of two algorithms working over any principal ring ◮ Prototype implementation of the algorithms in Magma
◮ Complete analysis of existing algorithms and criteria to identify what is or not possible ◮ Complexity analyses ◮ Competitive implementation of the algorithms
14
(With X. Caruso and T. Vaccon)
◮ Tate series = convergent series over a complete valued ring (e.g. Zp or Qp)
◮ Introduced by Tate in 1971 for rigid geometry
◮ No existing implementation of arithmetic or ideal operations
∞
∞
15
◮ In the valued case, there is no difference between ring and field ◮ Main difficulty: in Tate series, we need to order terms (with coefficients)... ◮ ... in a mixed ordering: pX < 1 < X
◮ Definitions and algorithms for Gröbner bases over Tate algebras ◮ Implementation of arithmetic and Gröbner basis algorithms in Sage
◮ Signature-based algorithms over Tate algebras
◮ More efficient algorithms for reductions ◮ More optimized implementation
16
16
17
17
17
17
18
18
18
19
20
◮ Robotic arm p. 2: public domain, via Wikimedia Commons ◮ Credit cards p. 2: Lotus Heads via Wikimedia Commons (CC-by SA 3.0) ◮ Hurricane model p. 2: NASA ◮ Mouse head MRI p.4: ◮ Éric Van Reeth et al. (2016). ‘Optimal Control Design of Preparation Pulses for
◮ Optimal trajectories of a single spin p.5: ◮ Bernard Bonnard et al. (2020). ‘Time minimal saturation of a pair of spins and
https://www.archives-ouvertes.fr/hal-01764022