applications of the package crack to simplify large systems · applications of the package crack to...

110
Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University St.Catharines, Ontario, Canada June 25, 2009

Upload: others

Post on 31-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Applications of the package CRACK tosimplify large systems

Thomas Wolf

Department of Mathematics,Brock University

St.Catharines, Ontario, Canada

June 25, 2009

Page 2: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Outline

Poisson Structures

Supersymmetric PDEs

The Computer Algebra Package CRACK

Page 3: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson Structures (with A. Odesskii)

To define a Poisson structure one needs to specify:

I a set of variables, say,x1, ..., xn

I so-called Poisson brackets for each pair of variables:

{xi , xj} = ωij(x1, ..., xn).

Here ωij are functions in x1, ..., xn.

Example:Let the set of variables be p, q and Poisson brackets be

{p, p} = {q, q} = 0, {p, q} = 1, {q, p} = −1.

Page 4: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson Structures (with A. Odesskii)

To define a Poisson structure one needs to specify:I a set of variables, say,

x1, ..., xn

I so-called Poisson brackets for each pair of variables:

{xi , xj} = ωij(x1, ..., xn).

Here ωij are functions in x1, ..., xn.

Example:Let the set of variables be p, q and Poisson brackets be

{p, p} = {q, q} = 0, {p, q} = 1, {q, p} = −1.

Page 5: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson Structures (with A. Odesskii)

To define a Poisson structure one needs to specify:I a set of variables, say,

x1, ..., xn

I so-called Poisson brackets for each pair of variables:

{xi , xj} = ωij(x1, ..., xn).

Here ωij are functions in x1, ..., xn.

Example:Let the set of variables be p, q and Poisson brackets be

{p, p} = {q, q} = 0, {p, q} = 1, {q, p} = −1.

Page 6: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson Structures (with A. Odesskii)

To define a Poisson structure one needs to specify:I a set of variables, say,

x1, ..., xn

I so-called Poisson brackets for each pair of variables:

{xi , xj} = ωij(x1, ..., xn).

Here ωij are functions in x1, ..., xn.

Example:Let the set of variables be p, q and Poisson brackets be

{p, p} = {q, q} = 0, {p, q} = 1, {q, p} = −1.

Page 7: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson structuresGiven a Poisson structure we define Poisson brackets for anyfunctions f , g in x1, ..., xn by

{f , g} =n∑

i,j=1

∂f∂xi

∂g∂xj

{xi , xj}

=n∑

i,j=1

∂f∂xi

∂g∂xj

ωij

Functions ωij should satisfy the following constrains:I Anti-symmetry: {f , g} = −{g, f} for all f , g. This means

that ωji = −ωij .I Jacobi identity: {f , {g, h}}+ {g, {h, f}}+ {h, {f , g}} = 0 for

all f , g, h.

Formulating these conditions for f , g, h = x1, .., xn gives acomplete set of conditions for the ωij : an overdeterminednon-linear system of PDEs.

Page 8: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson structuresGiven a Poisson structure we define Poisson brackets for anyfunctions f , g in x1, ..., xn by

{f , g} =n∑

i,j=1

∂f∂xi

∂g∂xj

{xi , xj}

=n∑

i,j=1

∂f∂xi

∂g∂xj

ωij

Functions ωij should satisfy the following constrains:I Anti-symmetry: {f , g} = −{g, f} for all f , g. This means

that ωji = −ωij .I Jacobi identity: {f , {g, h}}+ {g, {h, f}}+ {h, {f , g}} = 0 for

all f , g, h.

Formulating these conditions for f , g, h = x1, .., xn gives acomplete set of conditions for the ωij : an overdeterminednon-linear system of PDEs.

Page 9: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson structuresGiven a Poisson structure we define Poisson brackets for anyfunctions f , g in x1, ..., xn by

{f , g} =n∑

i,j=1

∂f∂xi

∂g∂xj

{xi , xj}

=n∑

i,j=1

∂f∂xi

∂g∂xj

ωij

Functions ωij should satisfy the following constrains:I Anti-symmetry: {f , g} = −{g, f} for all f , g. This means

that ωji = −ωij .

I Jacobi identity: {f , {g, h}}+ {g, {h, f}}+ {h, {f , g}} = 0 forall f , g, h.

Formulating these conditions for f , g, h = x1, .., xn gives acomplete set of conditions for the ωij : an overdeterminednon-linear system of PDEs.

Page 10: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson structuresGiven a Poisson structure we define Poisson brackets for anyfunctions f , g in x1, ..., xn by

{f , g} =n∑

i,j=1

∂f∂xi

∂g∂xj

{xi , xj}

=n∑

i,j=1

∂f∂xi

∂g∂xj

ωij

Functions ωij should satisfy the following constrains:I Anti-symmetry: {f , g} = −{g, f} for all f , g. This means

that ωji = −ωij .I Jacobi identity: {f , {g, h}}+ {g, {h, f}}+ {h, {f , g}} = 0 for

all f , g, h.

Formulating these conditions for f , g, h = x1, .., xn gives acomplete set of conditions for the ωij : an overdeterminednon-linear system of PDEs.

Page 11: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Poisson structuresGiven a Poisson structure we define Poisson brackets for anyfunctions f , g in x1, ..., xn by

{f , g} =n∑

i,j=1

∂f∂xi

∂g∂xj

{xi , xj}

=n∑

i,j=1

∂f∂xi

∂g∂xj

ωij

Functions ωij should satisfy the following constrains:I Anti-symmetry: {f , g} = −{g, f} for all f , g. This means

that ωji = −ωij .I Jacobi identity: {f , {g, h}}+ {g, {h, f}}+ {h, {f , g}} = 0 for

all f , g, h.

Formulating these conditions for f , g, h = x1, .., xn gives acomplete set of conditions for the ωij : an overdeterminednon-linear system of PDEs.

Page 12: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Applications of Poisson structures IHamiltonian systems: To define a Hamiltonian system oneneeds to specify a Poisson structure and an additional functionH(x1, ..., xn) called Hamiltonian.

The dynamics is given by:

dxi

dt= {H, xi}

In this case for any function f (x1, ..., xn) we also have

dfdt

= {H, f}.

A system is called integrable if there exist sufficiently manyfunctions H0(= H), H1, ... such that {Hi , Hj} = 0. In particularwe have

dHi

dt= {H, Hi} = 0

so Hi = const .

Page 13: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Applications of Poisson structures IHamiltonian systems: To define a Hamiltonian system oneneeds to specify a Poisson structure and an additional functionH(x1, ..., xn) called Hamiltonian.The dynamics is given by:

dxi

dt= {H, xi}

In this case for any function f (x1, ..., xn) we also have

dfdt

= {H, f}.

A system is called integrable if there exist sufficiently manyfunctions H0(= H), H1, ... such that {Hi , Hj} = 0. In particularwe have

dHi

dt= {H, Hi} = 0

so Hi = const .

Page 14: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Applications of Poisson structures IHamiltonian systems: To define a Hamiltonian system oneneeds to specify a Poisson structure and an additional functionH(x1, ..., xn) called Hamiltonian.The dynamics is given by:

dxi

dt= {H, xi}

In this case for any function f (x1, ..., xn) we also have

dfdt

= {H, f}.

A system is called integrable if there exist sufficiently manyfunctions H0(= H), H1, ... such that {Hi , Hj} = 0. In particularwe have

dHi

dt= {H, Hi} = 0

so Hi = const .

Page 15: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Applications of Poisson structures II

In pure mathematics many important objects carry a naturalPoisson structure. It is also interesting to study the geometry ofso-called symplectic leaves connected with each Poissonstructure.

Page 16: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Examples of Poisson structuresI Let {xi , xj} = cij . This is a Poisson structure if cji = −cij .

The so-called canonical Poisson structure with variablesp1, ..., pn, q1, ..., qn and brackets

{pi , pj} = {qi , qj} = 0, {pi , qj} = δij

belongs to this type.

I Linear Poisson brackets:

{xi , xj} =n∑

k=1

ckij xk .

The Jacobi identity gives an overdetermined system ofquadratic algebraic equations for ck

ij . These equations

mean that ckij are structure constants of a Lie algebra.

I Quadratic Poisson brackets:

{xi , xj} =n∑

k ,l=1

cklij xkxl .

There are two type of such structures: rational and elliptic.

Page 17: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Examples of Poisson structuresI Let {xi , xj} = cij . This is a Poisson structure if cji = −cij .

The so-called canonical Poisson structure with variablesp1, ..., pn, q1, ..., qn and brackets

{pi , pj} = {qi , qj} = 0, {pi , qj} = δij

belongs to this type.I Linear Poisson brackets:

{xi , xj} =n∑

k=1

ckij xk .

The Jacobi identity gives an overdetermined system ofquadratic algebraic equations for ck

ij . These equations

mean that ckij are structure constants of a Lie algebra.

I Quadratic Poisson brackets:

{xi , xj} =n∑

k ,l=1

cklij xkxl .

There are two type of such structures: rational and elliptic.

Page 18: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Examples of Poisson structuresI Let {xi , xj} = cij . This is a Poisson structure if cji = −cij .

The so-called canonical Poisson structure with variablesp1, ..., pn, q1, ..., qn and brackets

{pi , pj} = {qi , qj} = 0, {pi , qj} = δij

belongs to this type.I Linear Poisson brackets:

{xi , xj} =n∑

k=1

ckij xk .

The Jacobi identity gives an overdetermined system ofquadratic algebraic equations for ck

ij . These equations

mean that ckij are structure constants of a Lie algebra.

I Quadratic Poisson brackets:

{xi , xj} =n∑

k ,l=1

cklij xkxl .

There are two type of such structures: rational and elliptic.

Page 19: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Elliptic Poisson structuresElliptic Poisson structures have the following applications:

I The theory of quantum groups.

I Non-commutative geometry. Elliptic algebras and theirquotients are examples of non-commutative algebraicmanifolds.

I Cohomologies of associative algebras. Elliptic algebrasare examples of Kozul algebras.

I Integrable systems. Elliptic algebras are a good tool instudying integrable systems connected to solutions of theYang-Baxter equation.

The most interesting known examples of these structuressatisfy the following property: there exists a group ofautomorphysms of the form:

xi → εixi , xi → xi+1

where ε is an nth root of unity and indices are given modulo n.

Page 20: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Elliptic Poisson structuresElliptic Poisson structures have the following applications:

I The theory of quantum groups.I Non-commutative geometry. Elliptic algebras and their

quotients are examples of non-commutative algebraicmanifolds.

I Cohomologies of associative algebras. Elliptic algebrasare examples of Kozul algebras.

I Integrable systems. Elliptic algebras are a good tool instudying integrable systems connected to solutions of theYang-Baxter equation.

The most interesting known examples of these structuressatisfy the following property: there exists a group ofautomorphysms of the form:

xi → εixi , xi → xi+1

where ε is an nth root of unity and indices are given modulo n.

Page 21: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Elliptic Poisson structuresElliptic Poisson structures have the following applications:

I The theory of quantum groups.I Non-commutative geometry. Elliptic algebras and their

quotients are examples of non-commutative algebraicmanifolds.

I Cohomologies of associative algebras. Elliptic algebrasare examples of Kozul algebras.

I Integrable systems. Elliptic algebras are a good tool instudying integrable systems connected to solutions of theYang-Baxter equation.

The most interesting known examples of these structuressatisfy the following property: there exists a group ofautomorphysms of the form:

xi → εixi , xi → xi+1

where ε is an nth root of unity and indices are given modulo n.

Page 22: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Elliptic Poisson structuresElliptic Poisson structures have the following applications:

I The theory of quantum groups.I Non-commutative geometry. Elliptic algebras and their

quotients are examples of non-commutative algebraicmanifolds.

I Cohomologies of associative algebras. Elliptic algebrasare examples of Kozul algebras.

I Integrable systems. Elliptic algebras are a good tool instudying integrable systems connected to solutions of theYang-Baxter equation.

The most interesting known examples of these structuressatisfy the following property: there exists a group ofautomorphysms of the form:

xi → εixi , xi → xi+1

where ε is an nth root of unity and indices are given modulo n.

Page 23: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Elliptic Poisson structuresElliptic Poisson structures have the following applications:

I The theory of quantum groups.I Non-commutative geometry. Elliptic algebras and their

quotients are examples of non-commutative algebraicmanifolds.

I Cohomologies of associative algebras. Elliptic algebrasare examples of Kozul algebras.

I Integrable systems. Elliptic algebras are a good tool instudying integrable systems connected to solutions of theYang-Baxter equation.

The most interesting known examples of these structuressatisfy the following property: there exists a group ofautomorphysms of the form:

xi → εixi , xi → xi+1

where ε is an nth root of unity and indices are given modulo n.

Page 24: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Quadratic (Z/3Z)2 invariant Poisson structures

The Poisson structures to be investigated have 9 dynamicvariables xij , i , j = 0, 1, 2 and Poisson brackets

{xij , xkl} =∑

p,q,r ,s

aijklpqrsxpqxrs. (1)

We assume the following symmetries:

xij → x(i+1)j , xij → xi(j+1), xij → εixij , xij → εjxij

This means that apart from the usual symmetries

aijklpqrs = aijklrspq = −aklijpqrs

the coefficients aijklpqrs also obey the restriction that aijklpqrs = 0if i + k 6= p + r mod 3 or j + l 6= q + s mod 3.

Page 25: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Quadratic (Z/3Z)2 invariant Poisson structures

The Poisson structures to be investigated have 9 dynamicvariables xij , i , j = 0, 1, 2 and Poisson brackets

{xij , xkl} =∑

p,q,r ,s

aijklpqrsxpqxrs. (1)

We assume the following symmetries:

xij → x(i+1)j , xij → xi(j+1), xij → εixij , xij → εjxij

This means that apart from the usual symmetries

aijklpqrs = aijklrspq = −aklijpqrs

the coefficients aijklpqrs also obey the restriction that aijklpqrs = 0if i + k 6= p + r mod 3 or j + l 6= q + s mod 3.

Page 26: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Computational ProblemThe Jacobi identities

{xij , {xkl , xmn}}+ {xkl , {xmn, xij}}+ {xmn, {xij , xkl}} = 0

are formulated using the Poisson structures

{xij , xkl} =∑

p,q,r ,s

aijklpqrsxpqxrs.

These identities have to be satisfied identically in the dynamicalvariables xij . Therefore all coefficients of different powers ofdifferent xij are set to zero resulting in 2754 quadratic equationsmost of which are redundant leaving 62 equations with 354terms for 20 unknowns aijklpqrs.

We demonstrate the subcase that two of the a’s are zero:

a00100112 = a00011021 = 0

which is the simplest of 5 sub-cases that have to be considered.

Page 27: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Computational ProblemThe Jacobi identities

{xij , {xkl , xmn}}+ {xkl , {xmn, xij}}+ {xmn, {xij , xkl}} = 0

are formulated using the Poisson structures

{xij , xkl} =∑

p,q,r ,s

aijklpqrsxpqxrs.

These identities have to be satisfied identically in the dynamicalvariables xij . Therefore all coefficients of different powers ofdifferent xij are set to zero resulting in 2754 quadratic equationsmost of which are redundant leaving 62 equations with 354terms for 20 unknowns aijklpqrs.

We demonstrate the subcase that two of the a’s are zero:

a00100112 = a00011021 = 0

which is the simplest of 5 sub-cases that have to be considered.

Page 28: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Computational ProblemThe Jacobi identities

{xij , {xkl , xmn}}+ {xkl , {xmn, xij}}+ {xmn, {xij , xkl}} = 0

are formulated using the Poisson structures

{xij , xkl} =∑

p,q,r ,s

aijklpqrsxpqxrs.

These identities have to be satisfied identically in the dynamicalvariables xij . Therefore all coefficients of different powers ofdifferent xij are set to zero resulting in 2754 quadratic equationsmost of which are redundant leaving 62 equations with 354terms for 20 unknowns aijklpqrs.

We demonstrate the subcase that two of the a’s are zero:

a00100112 = a00011021 = 0

which is the simplest of 5 sub-cases that have to be considered.

Page 29: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Outline

Poisson Structures

Supersymmetric PDEs

The Computer Algebra Package CRACK

Page 30: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Problem I (work done with A. Kiselev)

Starting with a program SSTOOLS for doing supersymmetricalgebra and calculus an online database of supersymmetricevolutionary PDE of higher order symmetries was created.When analysing some classes of the 10,000 web pagedatabase Kiselev and TW found a N=2 supersymmetricgeneralization of the Burger’s equation.

The computation to be discussed deals with the geometricproblem of constructing Gardner’s deformation for the BosonicLimit of this equation. Invented in late 60’s, Gardner’s integrabledeformations of PDE consist of parametric extensions, subjectto further restrictions, for the equations under study, combinedwith differential substitutions back to the original system.

Page 31: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Problem I (work done with A. Kiselev)

Starting with a program SSTOOLS for doing supersymmetricalgebra and calculus an online database of supersymmetricevolutionary PDE of higher order symmetries was created.When analysing some classes of the 10,000 web pagedatabase Kiselev and TW found a N=2 supersymmetricgeneralization of the Burger’s equation.

The computation to be discussed deals with the geometricproblem of constructing Gardner’s deformation for the BosonicLimit of this equation. Invented in late 60’s, Gardner’s integrabledeformations of PDE consist of parametric extensions, subjectto further restrictions, for the equations under study, combinedwith differential substitutions back to the original system.

Page 32: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Problem II

For the Bosonic Limit at hand, we impose the assumption thatboth the extension and the substitution be polynomial andweight-homogeneous. This yields the algebraic system that islinear in the undetermined coefficients responsible for theextension and that is quadratic in the constants contained in thebackward substitution.

Six solutions, grouped in two classes, are obtained. Thecorresponding Gardner deformations are geometricallynontrivial. However, Kiselev proved that none of the sixsolutions can be lifted from the Bosonic Limit to the full N=2supersymmetric system.

Page 33: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Problem II

For the Bosonic Limit at hand, we impose the assumption thatboth the extension and the substitution be polynomial andweight-homogeneous. This yields the algebraic system that islinear in the undetermined coefficients responsible for theextension and that is quadratic in the constants contained in thebackward substitution.

Six solutions, grouped in two classes, are obtained. Thecorresponding Gardner deformations are geometricallynontrivial. However, Kiselev proved that none of the sixsolutions can be lifted from the Bosonic Limit to the full N=2supersymmetric system.

Page 34: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation I

I A Groebner basis computation is too large.

I Substitutions? Yes as problem is linear in some variables.I But substitution lead to blow-up of the system in size and

thus in time too.I A slower growth but still blow-up happens if

case-generating substitutions are allowed (each casedistinction may double the computation time of theremaining computatin of that case)

I Shortenings are essential as they provide short equationsin which fewer substitutions are done and whichsubsequently grow slower, but more importantly shorteningproduces shorter substitution equations

Page 35: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation I

I A Groebner basis computation is too large.I Substitutions? Yes as problem is linear in some variables.

I But substitution lead to blow-up of the system in size andthus in time too.

I A slower growth but still blow-up happens ifcase-generating substitutions are allowed (each casedistinction may double the computation time of theremaining computatin of that case)

I Shortenings are essential as they provide short equationsin which fewer substitutions are done and whichsubsequently grow slower, but more importantly shorteningproduces shorter substitution equations

Page 36: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation I

I A Groebner basis computation is too large.I Substitutions? Yes as problem is linear in some variables.I But substitution lead to blow-up of the system in size and

thus in time too.

I A slower growth but still blow-up happens ifcase-generating substitutions are allowed (each casedistinction may double the computation time of theremaining computatin of that case)

I Shortenings are essential as they provide short equationsin which fewer substitutions are done and whichsubsequently grow slower, but more importantly shorteningproduces shorter substitution equations

Page 37: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation I

I A Groebner basis computation is too large.I Substitutions? Yes as problem is linear in some variables.I But substitution lead to blow-up of the system in size and

thus in time too.I A slower growth but still blow-up happens if

case-generating substitutions are allowed (each casedistinction may double the computation time of theremaining computatin of that case)

I Shortenings are essential as they provide short equationsin which fewer substitutions are done and whichsubsequently grow slower, but more importantly shorteningproduces shorter substitution equations

Page 38: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation I

I A Groebner basis computation is too large.I Substitutions? Yes as problem is linear in some variables.I But substitution lead to blow-up of the system in size and

thus in time too.I A slower growth but still blow-up happens if

case-generating substitutions are allowed (each casedistinction may double the computation time of theremaining computatin of that case)

I Shortenings are essential as they provide short equationsin which fewer substitutions are done and whichsubsequently grow slower, but more importantly shorteningproduces shorter substitution equations

Page 39: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation II

I Experience: After each substitution many shorteningsbecome possible.

I Giving shortenings a strictly higher priority than longsubstitutions is a very safe but very slow solving strategy.

I Controlled speedup: Partially interactively do a fewsubstitutions at the time and then longer periods ofshortenings.

I How can such an interactive computation be remembered?→ by a backup of all interactive commands doneautomatically.

I In this comutation soon many equations factorize and onlycase-generating substitutions become possible.

Page 40: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation II

I Experience: After each substitution many shorteningsbecome possible.

I Giving shortenings a strictly higher priority than longsubstitutions is a very safe but very slow solving strategy.

I Controlled speedup: Partially interactively do a fewsubstitutions at the time and then longer periods ofshortenings.

I How can such an interactive computation be remembered?→ by a backup of all interactive commands doneautomatically.

I In this comutation soon many equations factorize and onlycase-generating substitutions become possible.

Page 41: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation II

I Experience: After each substitution many shorteningsbecome possible.

I Giving shortenings a strictly higher priority than longsubstitutions is a very safe but very slow solving strategy.

I Controlled speedup: Partially interactively do a fewsubstitutions at the time and then longer periods ofshortenings.

I How can such an interactive computation be remembered?→ by a backup of all interactive commands doneautomatically.

I In this comutation soon many equations factorize and onlycase-generating substitutions become possible.

Page 42: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation II

I Experience: After each substitution many shorteningsbecome possible.

I Giving shortenings a strictly higher priority than longsubstitutions is a very safe but very slow solving strategy.

I Controlled speedup: Partially interactively do a fewsubstitutions at the time and then longer periods ofshortenings.

I How can such an interactive computation be remembered?→ by a backup of all interactive commands doneautomatically.

I In this comutation soon many equations factorize and onlycase-generating substitutions become possible.

Page 43: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation II

I Experience: After each substitution many shorteningsbecome possible.

I Giving shortenings a strictly higher priority than longsubstitutions is a very safe but very slow solving strategy.

I Controlled speedup: Partially interactively do a fewsubstitutions at the time and then longer periods ofshortenings.

I How can such an interactive computation be remembered?→ by a backup of all interactive commands doneautomatically.

I In this comutation soon many equations factorize and onlycase-generating substitutions become possible.

Page 44: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation III

I Although CRACK has elaborate heuristics about whichcase distinctions to do first, CRACK does of course notknow about the intrinsic (geometric) relevance of allpossible different case distinctions one could try.

I How to find out which cases are cricial and which not?I By running a computation where case distinctions have a

high priority, and by inspecting case distinctions where atleast one case was solved quickly.

I Both cases .. = 0 and .. 6= 0 are both very useful (if the lhsis simple and occurs frequently as factor or as coefficient).Thus, if one of both cases is a strong restriction whichleads to contradictions that no solution exists in that case(typically performed quickly) then one got a goodsimplification of the other (general) case for a relativelysmall price.

Page 45: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation III

I Although CRACK has elaborate heuristics about whichcase distinctions to do first, CRACK does of course notknow about the intrinsic (geometric) relevance of allpossible different case distinctions one could try.

I How to find out which cases are cricial and which not?

I By running a computation where case distinctions have ahigh priority, and by inspecting case distinctions where atleast one case was solved quickly.

I Both cases .. = 0 and .. 6= 0 are both very useful (if the lhsis simple and occurs frequently as factor or as coefficient).Thus, if one of both cases is a strong restriction whichleads to contradictions that no solution exists in that case(typically performed quickly) then one got a goodsimplification of the other (general) case for a relativelysmall price.

Page 46: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation III

I Although CRACK has elaborate heuristics about whichcase distinctions to do first, CRACK does of course notknow about the intrinsic (geometric) relevance of allpossible different case distinctions one could try.

I How to find out which cases are cricial and which not?I By running a computation where case distinctions have a

high priority, and by inspecting case distinctions where atleast one case was solved quickly.

I Both cases .. = 0 and .. 6= 0 are both very useful (if the lhsis simple and occurs frequently as factor or as coefficient).Thus, if one of both cases is a strong restriction whichleads to contradictions that no solution exists in that case(typically performed quickly) then one got a goodsimplification of the other (general) case for a relativelysmall price.

Page 47: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation III

I Although CRACK has elaborate heuristics about whichcase distinctions to do first, CRACK does of course notknow about the intrinsic (geometric) relevance of allpossible different case distinctions one could try.

I How to find out which cases are cricial and which not?I By running a computation where case distinctions have a

high priority, and by inspecting case distinctions where atleast one case was solved quickly.

I Both cases .. = 0 and .. 6= 0 are both very useful (if the lhsis simple and occurs frequently as factor or as coefficient).Thus, if one of both cases is a strong restriction whichleads to contradictions that no solution exists in that case(typically performed quickly) then one got a goodsimplification of the other (general) case for a relativelysmall price.

Page 48: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation IVI Example: This is a list of case distinctions produced after a

CRACK run but one can print a list of cases also during aCRACK run: (see emacs file).

I In this (labour intensive) way the following (probablyoptimal) sequence of case distinctions lead to the fullsolution:

case extra assumption # of solutions1. p1 3 = 0 02. p1 3 6= 32.1. p1 8 = 02.1.1. p2 302 − 1 = 0 02.1.2. p2 302 − 1 6= 02.1.2.1. p1 6 = 0 42.1.2.2. p1 6 6= 02.1.2.2.1. p1 6 + 4 = 0 02.1.2.2.2. p1 6 + 4 6= 0 02.2. p1 8 6= 0 2

Page 49: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation IVI Example: This is a list of case distinctions produced after a

CRACK run but one can print a list of cases also during aCRACK run: (see emacs file).

I In this (labour intensive) way the following (probablyoptimal) sequence of case distinctions lead to the fullsolution:

case extra assumption # of solutions1. p1 3 = 0 02. p1 3 6= 32.1. p1 8 = 02.1.1. p2 302 − 1 = 0 02.1.2. p2 302 − 1 6= 02.1.2.1. p1 6 = 0 42.1.2.2. p1 6 6= 02.1.2.2.1. p1 6 + 4 = 0 02.1.2.2.2. p1 6 + 4 6= 0 02.2. p1 8 6= 0 2

Page 50: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

About the Computation IVI Example: This is a list of case distinctions produced after a

CRACK run but one can print a list of cases also during aCRACK run: (see emacs file).

I In this (labour intensive) way the following (probablyoptimal) sequence of case distinctions lead to the fullsolution:

case extra assumption # of solutions1. p1 3 = 0 02. p1 3 6= 32.1. p1 8 = 02.1.1. p2 302 − 1 = 0 02.1.2. p2 302 − 1 6= 02.1.2.1. p1 6 = 0 42.1.2.2. p1 6 6= 02.1.2.2.1. p1 6 + 4 = 0 02.1.2.2.2. p1 6 + 4 6= 0 02.2. p1 8 6= 0 2

Page 51: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Outline

Poisson Structures

Supersymmetric PDEs

The Computer Algebra Package CRACK

Page 52: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Purpose of CRACK

I a computer algebra package written in REDUCE for thesolution of large over-determined systems of algebraic,ordinary or partial differential equations

I especially suited for large over-determined systems withpolynomial non-linearity

Page 53: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Purpose of CRACK

I a computer algebra package written in REDUCE for thesolution of large over-determined systems of algebraic,ordinary or partial differential equations

I especially suited for large over-determined systems withpolynomial non-linearity

Page 54: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

History

I initially designed for the automatic integration ofover-determined linear PDE systems (resulting inLie-symmetry and conservation law computations ofdifferential equations)

I later emphasis on interactive access for solving PDEs(resulting in same type of investigations but higher orderPDEs)

I which together with a better handling of non-linearityenabled to treat large algebraic systems (resulting in theclassification of integrable Hamiltonians),

I various extensions in last years.

Page 55: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

History

I initially designed for the automatic integration ofover-determined linear PDE systems (resulting inLie-symmetry and conservation law computations ofdifferential equations)

I later emphasis on interactive access for solving PDEs(resulting in same type of investigations but higher orderPDEs)

I which together with a better handling of non-linearityenabled to treat large algebraic systems (resulting in theclassification of integrable Hamiltonians),

I various extensions in last years.

Page 56: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

History

I initially designed for the automatic integration ofover-determined linear PDE systems (resulting inLie-symmetry and conservation law computations ofdifferential equations)

I later emphasis on interactive access for solving PDEs(resulting in same type of investigations but higher orderPDEs)

I which together with a better handling of non-linearityenabled to treat large algebraic systems (resulting in theclassification of integrable Hamiltonians),

I various extensions in last years.

Page 57: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

History

I initially designed for the automatic integration ofover-determined linear PDE systems (resulting inLie-symmetry and conservation law computations ofdifferential equations)

I later emphasis on interactive access for solving PDEs(resulting in same type of investigations but higher orderPDEs)

I which together with a better handling of non-linearityenabled to treat large algebraic systems (resulting in theclassification of integrable Hamiltonians),

I various extensions in last years.

Page 58: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Handling large Systems

I a module to reduce the length of equations and by thatmake the system more sparse,

I the ability to compute a bound on the size of the systemafter doing a specific substitution without doing thesubstitution,

I the option to do substitutions “bottom up”, i.e. only onesubstitution in the shortest possible equation using only ashorter equation,

I the possibility to tackle systems that are too large even tobe formulated, by having a buffer of equations which isdynamically emptied (equations are read from it into thecomputation) and filled (new equations are generated assolution progresses).

Page 59: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Handling large Systems

I a module to reduce the length of equations and by thatmake the system more sparse,

I the ability to compute a bound on the size of the systemafter doing a specific substitution without doing thesubstitution,

I the option to do substitutions “bottom up”, i.e. only onesubstitution in the shortest possible equation using only ashorter equation,

I the possibility to tackle systems that are too large even tobe formulated, by having a buffer of equations which isdynamically emptied (equations are read from it into thecomputation) and filled (new equations are generated assolution progresses).

Page 60: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Handling large Systems

I a module to reduce the length of equations and by thatmake the system more sparse,

I the ability to compute a bound on the size of the systemafter doing a specific substitution without doing thesubstitution,

I the option to do substitutions “bottom up”, i.e. only onesubstitution in the shortest possible equation using only ashorter equation,

I the possibility to tackle systems that are too large even tobe formulated, by having a buffer of equations which isdynamically emptied (equations are read from it into thecomputation) and filled (new equations are generated assolution progresses).

Page 61: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Handling large Systems

I a module to reduce the length of equations and by thatmake the system more sparse,

I the ability to compute a bound on the size of the systemafter doing a specific substitution without doing thesubstitution,

I the option to do substitutions “bottom up”, i.e. only onesubstitution in the shortest possible equation using only ashorter equation,

I the possibility to tackle systems that are too large even tobe formulated, by having a buffer of equations which isdynamically emptied (equations are read from it into thecomputation) and filled (new equations are generated assolution progresses).

Page 62: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

0 = x + +A(z, ..) (2)

0 = y + A(z, ..) (3)

total ordering: x > y > z > ..A is a large expression.GB: -

Shortening:

0 = x − y (4)

0 = y + A (5)

Obvious benefit:I In further steps growth comes only from one A in (5) and

not from two A in (2) and (3).

Page 63: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

0 = x + +A(z, ..) (2)

0 = y + A(z, ..) (3)

total ordering: x > y > z > ..A is a large expression.GB: -Shortening:

0 = x − y (4)

0 = y + A (5)

Obvious benefit:I In further steps growth comes only from one A in (5) and

not from two A in (2) and (3).

Page 64: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

0 = x + +A(z, ..) (2)

0 = y + A(z, ..) (3)

total ordering: x > y > z > ..A is a large expression.GB: -Shortening:

0 = x − y (4)

0 = y + A (5)

Obvious benefit:I In further steps growth comes only from one A in (5) and

not from two A in (2) and (3).

Page 65: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

Non-obvious benefit:I reinforcing: a shorter equation is more likely to be useful to

shorten others,

I large systems: # pairings of n equations grows as O(n2)

I sparse systems will reveal a better elimination strategy,I PDEs more likely to become total derivatives or ODEs,I random polynomials with fewer terms factorize much more

likely than large polynomials.

An algorithm and implementation are described in J. Symb.Comp. 33, no 3 (2002).

Page 66: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

Non-obvious benefit:I reinforcing: a shorter equation is more likely to be useful to

shorten others,I large systems: # pairings of n equations grows as O(n2)

I sparse systems will reveal a better elimination strategy,I PDEs more likely to become total derivatives or ODEs,I random polynomials with fewer terms factorize much more

likely than large polynomials.

An algorithm and implementation are described in J. Symb.Comp. 33, no 3 (2002).

Page 67: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

Non-obvious benefit:I reinforcing: a shorter equation is more likely to be useful to

shorten others,I large systems: # pairings of n equations grows as O(n2)

I sparse systems will reveal a better elimination strategy,

I PDEs more likely to become total derivatives or ODEs,I random polynomials with fewer terms factorize much more

likely than large polynomials.

An algorithm and implementation are described in J. Symb.Comp. 33, no 3 (2002).

Page 68: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

Non-obvious benefit:I reinforcing: a shorter equation is more likely to be useful to

shorten others,I large systems: # pairings of n equations grows as O(n2)

I sparse systems will reveal a better elimination strategy,I PDEs more likely to become total derivatives or ODEs,

I random polynomials with fewer terms factorize much morelikely than large polynomials.

An algorithm and implementation are described in J. Symb.Comp. 33, no 3 (2002).

Page 69: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

Non-obvious benefit:I reinforcing: a shorter equation is more likely to be useful to

shorten others,I large systems: # pairings of n equations grows as O(n2)

I sparse systems will reveal a better elimination strategy,I PDEs more likely to become total derivatives or ODEs,I random polynomials with fewer terms factorize much more

likely than large polynomials.

An algorithm and implementation are described in J. Symb.Comp. 33, no 3 (2002).

Page 70: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Example for Shortening

Non-obvious benefit:I reinforcing: a shorter equation is more likely to be useful to

shorten others,I large systems: # pairings of n equations grows as O(n2)

I sparse systems will reveal a better elimination strategy,I PDEs more likely to become total derivatives or ODEs,I random polynomials with fewer terms factorize much more

likely than large polynomials.

An algorithm and implementation are described in J. Symb.Comp. 33, no 3 (2002).

Page 71: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Handling Nonlinearity

I different heuristics for splitting a computation intosub-cases by:

I taking the most frequent factor to be = 0 or 6= 0,I taking the most frequent unknown to be = 0 or 6= 0,I taking expressions to be = 0 or 6= 0 which are either

specified interactively, or given in a specific order at thestart of the computation,

I a heuristic that picks one of the factorizable equations andan order of their factors to be set to zero,

I initiating case splittings when the system becomes criticallylarge

Page 72: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Inequations

I the treatment of inequations: their usage, active collectionand derivation, and their constant update in an ongoingreduction process based on newly derived equations

For example:

ab + cd = 0, a 6= 0, b 6= 0 → c 6= 0, d 6= 0

x2y + xy2 + x + 3 = 0 → x 6= 0

AB = 0 → 1) A = 0 or 2) B = 0, A 6= 0

I or-inequations: maintenance and automatic reduction oflists of expressions of which at least one expression isrequired not to vanish

Page 73: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Inequations

I the treatment of inequations: their usage, active collectionand derivation, and their constant update in an ongoingreduction process based on newly derived equations

For example:

ab + cd = 0, a 6= 0, b 6= 0 → c 6= 0, d 6= 0

x2y + xy2 + x + 3 = 0 → x 6= 0

AB = 0 → 1) A = 0 or 2) B = 0, A 6= 0

I or-inequations: maintenance and automatic reduction oflists of expressions of which at least one expression isrequired not to vanish

Page 74: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Inequations

I the treatment of inequations: their usage, active collectionand derivation, and their constant update in an ongoingreduction process based on newly derived equations

For example:

ab + cd = 0, a 6= 0, b 6= 0 → c 6= 0, d 6= 0

x2y + xy2 + x + 3 = 0 → x 6= 0

AB = 0 → 1) A = 0 or 2) B = 0, A 6= 0

I or-inequations: maintenance and automatic reduction oflists of expressions of which at least one expression isrequired not to vanish

Page 75: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Inequations

I the treatment of inequations: their usage, active collectionand derivation, and their constant update in an ongoingreduction process based on newly derived equations

For example:

ab + cd = 0, a 6= 0, b 6= 0 → c 6= 0, d 6= 0

x2y + xy2 + x + 3 = 0 → x 6= 0

AB = 0 → 1) A = 0 or 2) B = 0, A 6= 0

I or-inequations: maintenance and automatic reduction oflists of expressions of which at least one expression isrequired not to vanish

Page 76: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Inequations

I the treatment of inequations: their usage, active collectionand derivation, and their constant update in an ongoingreduction process based on newly derived equations

For example:

ab + cd = 0, a 6= 0, b 6= 0 → c 6= 0, d 6= 0

x2y + xy2 + x + 3 = 0 → x 6= 0

AB = 0 → 1) A = 0 or 2) B = 0, A 6= 0

I or-inequations: maintenance and automatic reduction oflists of expressions of which at least one expression isrequired not to vanish

Page 77: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Flexibility

I the availability of a variety of schemes to vary the solutionstrategy depending on the situation, i.e. to balanceshortenings, decouplings, substitutions, splitting intosub-cases,...

I the possibility to trade interactively or automatically thespeed of the solution process versus avoidance ofexpression swell,

I the ability to call the packages GB (J.C. Faugere) andSingular (H. Schonemann et.al.) as subroutines,

I the possibility to perform single Grobner steps through thesystem FORM.

Page 78: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Flexibility

I the availability of a variety of schemes to vary the solutionstrategy depending on the situation, i.e. to balanceshortenings, decouplings, substitutions, splitting intosub-cases,...

I the possibility to trade interactively or automatically thespeed of the solution process versus avoidance ofexpression swell,

I the ability to call the packages GB (J.C. Faugere) andSingular (H. Schonemann et.al.) as subroutines,

I the possibility to perform single Grobner steps through thesystem FORM.

Page 79: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Flexibility

I the availability of a variety of schemes to vary the solutionstrategy depending on the situation, i.e. to balanceshortenings, decouplings, substitutions, splitting intosub-cases,...

I the possibility to trade interactively or automatically thespeed of the solution process versus avoidance ofexpression swell,

I the ability to call the packages GB (J.C. Faugere) andSingular (H. Schonemann et.al.) as subroutines,

I the possibility to perform single Grobner steps through thesystem FORM.

Page 80: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Flexibility

I the availability of a variety of schemes to vary the solutionstrategy depending on the situation, i.e. to balanceshortenings, decouplings, substitutions, splitting intosub-cases,...

I the possibility to trade interactively or automatically thespeed of the solution process versus avoidance ofexpression swell,

I the ability to call the packages GB (J.C. Faugere) andSingular (H. Schonemann et.al.) as subroutines,

I the possibility to perform single Grobner steps through thesystem FORM.

Page 81: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Interactivity, Safety

I different levels of interactivity from fully automatic to halfinteractive to very low level interactive access, changeableduring the computation, e.g. to change total ordering inGrobner basis computation,

I various visualization aids for inspecting large systems orsingle equations,

I ability to automatically stop sub-steps that take too long,like factorizations, Grobner steps, substitutions,..

I possibility to backup and re-load the current state of asession,

I possibility for a soft interrupt for an ongoing computation,I automatic backup of interactive input to have the possibility

to re-produce an interactive computation,I possibility to specify later interactive input at the command

line as a parameter list.

Page 82: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Interactivity, Safety

I different levels of interactivity from fully automatic to halfinteractive to very low level interactive access, changeableduring the computation, e.g. to change total ordering inGrobner basis computation,

I various visualization aids for inspecting large systems orsingle equations,

I ability to automatically stop sub-steps that take too long,like factorizations, Grobner steps, substitutions,..

I possibility to backup and re-load the current state of asession,

I possibility for a soft interrupt for an ongoing computation,I automatic backup of interactive input to have the possibility

to re-produce an interactive computation,I possibility to specify later interactive input at the command

line as a parameter list.

Page 83: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Interactivity, Safety

I different levels of interactivity from fully automatic to halfinteractive to very low level interactive access, changeableduring the computation, e.g. to change total ordering inGrobner basis computation,

I various visualization aids for inspecting large systems orsingle equations,

I ability to automatically stop sub-steps that take too long,like factorizations, Grobner steps, substitutions,..

I possibility to backup and re-load the current state of asession,

I possibility for a soft interrupt for an ongoing computation,I automatic backup of interactive input to have the possibility

to re-produce an interactive computation,I possibility to specify later interactive input at the command

line as a parameter list.

Page 84: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Interactivity, Safety

I different levels of interactivity from fully automatic to halfinteractive to very low level interactive access, changeableduring the computation, e.g. to change total ordering inGrobner basis computation,

I various visualization aids for inspecting large systems orsingle equations,

I ability to automatically stop sub-steps that take too long,like factorizations, Grobner steps, substitutions,..

I possibility to backup and re-load the current state of asession,

I possibility for a soft interrupt for an ongoing computation,I automatic backup of interactive input to have the possibility

to re-produce an interactive computation,I possibility to specify later interactive input at the command

line as a parameter list.

Page 85: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Interactivity, Safety

I different levels of interactivity from fully automatic to halfinteractive to very low level interactive access, changeableduring the computation, e.g. to change total ordering inGrobner basis computation,

I various visualization aids for inspecting large systems orsingle equations,

I ability to automatically stop sub-steps that take too long,like factorizations, Grobner steps, substitutions,..

I possibility to backup and re-load the current state of asession,

I possibility for a soft interrupt for an ongoing computation,

I automatic backup of interactive input to have the possibilityto re-produce an interactive computation,

I possibility to specify later interactive input at the commandline as a parameter list.

Page 86: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Interactivity, Safety

I different levels of interactivity from fully automatic to halfinteractive to very low level interactive access, changeableduring the computation, e.g. to change total ordering inGrobner basis computation,

I various visualization aids for inspecting large systems orsingle equations,

I ability to automatically stop sub-steps that take too long,like factorizations, Grobner steps, substitutions,..

I possibility to backup and re-load the current state of asession,

I possibility for a soft interrupt for an ongoing computation,I automatic backup of interactive input to have the possibility

to re-produce an interactive computation,

I possibility to specify later interactive input at the commandline as a parameter list.

Page 87: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Interactivity, Safety

I different levels of interactivity from fully automatic to halfinteractive to very low level interactive access, changeableduring the computation, e.g. to change total ordering inGrobner basis computation,

I various visualization aids for inspecting large systems orsingle equations,

I ability to automatically stop sub-steps that take too long,like factorizations, Grobner steps, substitutions,..

I possibility to backup and re-load the current state of asession,

I possibility for a soft interrupt for an ongoing computation,I automatic backup of interactive input to have the possibility

to re-produce an interactive computation,I possibility to specify later interactive input at the command

line as a parameter list.

Page 88: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Parallelism

I CRACK can take advantage of parallel hardware bycomputing in parallel the different cases resulting innon-linear problems.

I Another use is to duplicate interactive sessions to othernodes to experiment with different methods in order to finda way to make progress in a difficult computation.

Page 89: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Parallelism

I CRACK can take advantage of parallel hardware bycomputing in parallel the different cases resulting innon-linear problems.

I Another use is to duplicate interactive sessions to othernodes to experiment with different methods in order to finda way to make progress in a difficult computation.

Page 90: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Extra Functionality for ODEs/PDEs

I exploitation of integrability conditions

I integration of different classes of PDEs (total derivatives(TD), TD + inhomogeneity, sum of 2 TDs),

I the ability to integrate linear PDEs using syzygies whichresult as a by-product in the process of computing adifferential Grobner basis,

I a module to compute parametric solutions of linearunder-determined ODE systems with non-constantcoefficients,

I the ability to separate (i.e. split) expressions wrt.independent variables occurring with variable exponents,

Page 91: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Extra Functionality for ODEs/PDEs

I exploitation of integrability conditionsI integration of different classes of PDEs (total derivatives

(TD), TD + inhomogeneity, sum of 2 TDs),

I the ability to integrate linear PDEs using syzygies whichresult as a by-product in the process of computing adifferential Grobner basis,

I a module to compute parametric solutions of linearunder-determined ODE systems with non-constantcoefficients,

I the ability to separate (i.e. split) expressions wrt.independent variables occurring with variable exponents,

Page 92: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Extra Functionality for ODEs/PDEs

I exploitation of integrability conditionsI integration of different classes of PDEs (total derivatives

(TD), TD + inhomogeneity, sum of 2 TDs),I the ability to integrate linear PDEs using syzygies which

result as a by-product in the process of computing adifferential Grobner basis,

I a module to compute parametric solutions of linearunder-determined ODE systems with non-constantcoefficients,

I the ability to separate (i.e. split) expressions wrt.independent variables occurring with variable exponents,

Page 93: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Extra Functionality for ODEs/PDEs

I exploitation of integrability conditionsI integration of different classes of PDEs (total derivatives

(TD), TD + inhomogeneity, sum of 2 TDs),I the ability to integrate linear PDEs using syzygies which

result as a by-product in the process of computing adifferential Grobner basis,

I a module to compute parametric solutions of linearunder-determined ODE systems with non-constantcoefficients,

I the ability to separate (i.e. split) expressions wrt.independent variables occurring with variable exponents,

Page 94: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Extra Functionality for ODEs/PDEs

I exploitation of integrability conditionsI integration of different classes of PDEs (total derivatives

(TD), TD + inhomogeneity, sum of 2 TDs),I the ability to integrate linear PDEs using syzygies which

result as a by-product in the process of computing adifferential Grobner basis,

I a module to compute parametric solutions of linearunder-determined ODE systems with non-constantcoefficients,

I the ability to separate (i.e. split) expressions wrt.independent variables occurring with variable exponents,

Page 95: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Extra Functionality for ODEs/PDEs

I the solution of quasilinear first order PDEs byI formulating and solving characteristic ODE systems,I solving them andI performing point transformations not only of the PDE but

the whole system of equations.

This ability is essential for handling systems of equationsthat have solutions involving not only constants but freefunctions, for example when computing conservation lawsor infinitesimal symmetries of linearizable or linearPDEs/ODEs.

Page 96: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Extra Functionality for ODEs/PDEs

I the solution of quasilinear first order PDEs byI formulating and solving characteristic ODE systems,I solving them andI performing point transformations not only of the PDE but

the whole system of equations.

This ability is essential for handling systems of equationsthat have solutions involving not only constants but freefunctions, for example when computing conservation lawsor infinitesimal symmetries of linearizable or linearPDEs/ODEs.

Page 97: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Simple Example of non-polynomial Equations

independent variables: x , yunknowns: f (x), nequation: 0 = ynfx + yf 2

result are 2 cases: n = 1 : 0 = fx + f 2

n 6= 1 : 0 = fx , 0 = f 2

More generally:- exponents can be any polynomial algebraic or

differential expressions,- arbitrary number of terms and different exponents.

Condition:- basis must be an independent variable

Alternative:- replace yn by new function h(y) and add condition0 = hy − nh.- disadvantage: less obvious how to split 0 = hfx + yf 2

Page 98: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Simple Example of non-polynomial Equations

independent variables: x , yunknowns: f (x), nequation: 0 = ynfx + yf 2

result are 2 cases: n = 1 : 0 = fx + f 2

n 6= 1 : 0 = fx , 0 = f 2

More generally:- exponents can be any polynomial algebraic or

differential expressions,- arbitrary number of terms and different exponents.

Condition:- basis must be an independent variable

Alternative:- replace yn by new function h(y) and add condition0 = hy − nh.- disadvantage: less obvious how to split 0 = hfx + yf 2

Page 99: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Simple Example of non-polynomial Equations

independent variables: x , yunknowns: f (x), nequation: 0 = ynfx + yf 2

result are 2 cases: n = 1 : 0 = fx + f 2

n 6= 1 : 0 = fx , 0 = f 2

More generally:- exponents can be any polynomial algebraic or

differential expressions,- arbitrary number of terms and different exponents.

Condition:- basis must be an independent variable

Alternative:- replace yn by new function h(y) and add condition0 = hy − nh.- disadvantage: less obvious how to split 0 = hfx + yf 2

Page 100: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Simple Example of non-polynomial Equations

independent variables: x , yunknowns: f (x), nequation: 0 = ynfx + yf 2

result are 2 cases: n = 1 : 0 = fx + f 2

n 6= 1 : 0 = fx , 0 = f 2

More generally:- exponents can be any polynomial algebraic or

differential expressions,- arbitrary number of terms and different exponents.

Condition:- basis must be an independent variable

Alternative:- replace yn by new function h(y) and add condition0 = hy − nh.- disadvantage: less obvious how to split 0 = hfx + yf 2

Page 101: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Post Processing

I the possibility to merge solutions of parametric linearalgebraic systems,

I the automatic generation of web-pages for larger sets ofsolutions,

I the determination and dropping of redundancy inparametric constants and functions in solutions

Page 102: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Post Processing

I the possibility to merge solutions of parametric linearalgebraic systems,

I the automatic generation of web-pages for larger sets ofsolutions,

I the determination and dropping of redundancy inparametric constants and functions in solutions

Page 103: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Post Processing

I the possibility to merge solutions of parametric linearalgebraic systems,

I the automatic generation of web-pages for larger sets ofsolutions,

I the determination and dropping of redundancy inparametric constants and functions in solutions

Page 104: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Applications

I requiring the solution of large bi-linear algebraic systemsand an automatic merging of obtained solutions:

I WT, Efimovskaya, O. V.: Classification of integrablequadratic Hamiltonians on e(3), Regular and ChaoticDynamics, vol 8, no 2 (2003), p 155-162.

I Tsuchida, T. and WT: Classification of polynomial integrablesystems of mixed scalar and vector evolution equations. I,J. Phys. A: Math. Gen. 38 (2005) 7691-7733 (and on arxivas nlin.SI/0412003).

I Sokolov, V.V. and WT: Integrable quadratic Hamiltonians onso(4) and so(3, 1), J Phys A: Math Gen 39 (2006)1915-1926 and arXiv nlin.SI/0405066.

I Kiselev, A. and WT: Supersymmetric Representations andIntegrable Super-Extensions of the Burgers and BussinesqEquations, SIGMA, vol 2 (2006), paper 030 and arXivmath-ph/0511071.

Page 105: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Applications

I needing the solution of an extremely large algebraicsystem of billions of equations with on average millions ofterms, far too large even to be formulated upfront:

I Tsarev, S.P. and WT.: Classification of 3-dimensionalintegrable scalar discrete equations, arXiv:0706.2464, Lett.in Math. Phys. (available at www.springerlink.com asDOI:10.1007/s11005-008-0230-2).

I WT.: On Solving Large Systems of Polynomial EquationsAppearing in Discrete Differential Geometry, Programmingand Computer Software, 34 (2008), no 2, p. 75-83.

I requiring the solution of extensive over-determinedODE/PDE-systems:

I Anco, S. and WT: Some symmetry classifications ofhyperbolic vector evolution equations,JNMP, Volume 12, Supplement 1 (2005), p 13-31 (and onarxiv as nlin.SI/0412015).

Page 106: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Systems, Hardware

I REDUCE runs on a wide range of systems and hardware.CSL REDUCE runs on all machines that have C.PSL REDUCE has been ported to 64bit AMD processorsand recently also to OS X on Intel Mac.

I PARALLEL REDUCE runs in a truly parallel mode on beowulfclusters, all porting done by Winfried Neun, ZIB, Berlin.

Page 107: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Systems, Hardware

I REDUCE runs on a wide range of systems and hardware.CSL REDUCE runs on all machines that have C.PSL REDUCE has been ported to 64bit AMD processorsand recently also to OS X on Intel Mac.

I PARALLEL REDUCE runs in a truly parallel mode on beowulfclusters, all porting done by Winfried Neun, ZIB, Berlin.

Page 108: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Availability

I The computer algebra system REDUCE is Open Sourceand freely available since end of 2008:http://reduce-algebra.sourceforge.net/

I CRACK comes with REDUCE but a newer version can bedownloaded fromhttp://lie.math.brocku.ca/crack/src

I online interactive access and tutorial for CRACK:http://lie.math.brocku.ca/crack/demo

Page 109: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Availability

I The computer algebra system REDUCE is Open Sourceand freely available since end of 2008:http://reduce-algebra.sourceforge.net/

I CRACK comes with REDUCE but a newer version can bedownloaded fromhttp://lie.math.brocku.ca/crack/src

I online interactive access and tutorial for CRACK:http://lie.math.brocku.ca/crack/demo

Page 110: Applications of the package CRACK to simplify large systems · Applications of the package CRACK to simplify large systems Thomas Wolf Department of Mathematics, Brock University

Availability

I The computer algebra system REDUCE is Open Sourceand freely available since end of 2008:http://reduce-algebra.sourceforge.net/

I CRACK comes with REDUCE but a newer version can bedownloaded fromhttp://lie.math.brocku.ca/crack/src

I online interactive access and tutorial for CRACK:http://lie.math.brocku.ca/crack/demo