XIDEAL.TEX 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. \documentstyle[11pt,reduce]{article}
  2. \title{\bf XIDEAL\\
  3. Gr\"obner Bases for Exterior Algebra}
  4. \author{
  5. David Hartley\thanks{email: David.Hartley@gmd.de} \\
  6. GMD, Institute I1 \\
  7. Schloss Birlinghoven \\
  8. D--53757 St. Augustin \\
  9. Germany \\
  10. \and
  11. Philip A.~Tuckey\thanks{email: pht@iws170.mppmu.mpg.de} \\
  12. Max Planck Institute for Physics \\
  13. Foehringer Ring 6 \\
  14. D--80805 Munich \\
  15. Germany \\
  16. }
  17. \date{14th March 1994}
  18. \begin{document}
  19. \maketitle
  20. \section{Description}
  21. The method of Gr\"obner bases in commutative polynomial rings introduced by
  22. Buchberger (e.g.~\cite{Buchberger}) is a well-known and very important tool
  23. in polynomial ideal theory, for example in solving the ideal membership
  24. problem. XIDEAL extends the method to exterior algebras using
  25. algorithms from \cite{HT}.
  26. There are two main departures from the commutative polynomial case. First,
  27. owing to the non-commutative product in exterior algebras, ideals are no
  28. longer automatically two-sided, and it is necessary to distinguish between
  29. left and right ideals. Secondly, because there are zero divisors, confluent
  30. reduction relations are no longer sufficient to solve the ideal membership
  31. problem: a unique normal form for every polynomial does not guarantee that
  32. all elements in the ideal reduce to zero. This leads to two possible
  33. definitions of Gr\"obner bases as pointed out by Stokes \cite{Stokes}.
  34. XIDEAL constructs Gr\"obner bases for solving the left ideal membership
  35. problem: Gr\"obner left ideal bases or GLIBs. For graded ideals, where each
  36. form is homogeneous in degree, the distinction between left and right
  37. ideals vanishes. Furthermore, if the generating forms are all homogeneous,
  38. then the Gr\"obner bases for the non-graded and graded ideals are
  39. identical. In this case, XIDEAL is able to save time by truncating the
  40. Gr\"obner basis at some maximum degree if desired.
  41. XIDEAL uses the exterior calculus package EXCALC of E.~Schr\"ufer
  42. \cite{EXCALC} to provide the exterior algebra definitions. EXCALC must be
  43. loaded before XIDEAL will work. The basis 1-forms for the exterior algebra
  44. are automatically extracted from the input. Consequently, each expression
  45. must be written in terms of these 1-forms -- $p$-form kernels with $p>1$
  46. are not allowed. Similarly all distinct 1-forms in the input are assumed to
  47. be linearly independent -- if a dimension has been fixed (using the EXCALC
  48. \f{SPACEDIM} or \f{COFRAME} statements), then input containing more than this
  49. number of distinct 1-forms will generate an error. The exterior algebra can
  50. be based on either an abstract vector space or the cotangent space at some
  51. fixed point on a manifold. Any functions or 0-forms are treated as constant
  52. non-vanishing coefficients.
  53. The term ordering used is the graded lexicographical ordering based on the
  54. prevailing EXCALC kernel ordering for the basis 1-forms. This puts
  55. highest degree first and then sorts terms of the same degree
  56. lexicographically. The EXCALC kernel ordering can be changed with the
  57. \REDUCE{} \f{KORDER} or EXCALC \f{FORDER} statements.
  58. \section{Operators}
  59. \subsubsection*{XIDEAL}
  60. \f{XIDEAL} calculates a Gr\"obner left ideal basis in
  61. an exterior algebra. The syntax is
  62. \begin{verbatim}
  63. XIDEAL(S:list of forms[,R:integer]):list of forms.
  64. \end{verbatim}
  65. \f{XIDEAL} calculates the Gr\"obner left ideal basis for the left ideal
  66. generated by \f{S} using graded lexicographical ordering based on the
  67. current kernel ordering. The resulting list can be used for subsequent
  68. reductions with \f{XMODULOP} as long as the kernel ordering is not
  69. changed. If the set of generators \f{S} is graded, an optional parameter
  70. \f{R} can be given, and \f{XIDEAL} produces a truncated basis suitable for
  71. reducing exterior forms of degree less than or equal to \f{R} in the left
  72. ideal. This can save time and space with large expressions, but the result
  73. cannot be used for exterior forms of degree greater than \f{R}. See also
  74. the switches \f{XSTATS} and \f{XFULLREDUCTION}.
  75. \subsubsection*{XMODULO}
  76. \f{XMODULO} reduces exterior forms to their (unique) normal forms modulo a
  77. left ideal. The syntax is
  78. \begin{verbatim}
  79. XMODULO(F:form, S:list of forms):form
  80. \end{verbatim}
  81. or
  82. \begin{verbatim}
  83. XMODULO(F:list of forms, S:list of forms):list of forms.
  84. \end{verbatim}
  85. An alternative infix syntax is also available:
  86. \begin{verbatim}
  87. F XMODULO S.
  88. \end{verbatim}
  89. \f{XMODULO(F,S)} first calculates a Gr\"obner basis for the left ideal
  90. generated by \f{S}, and then reduces \f{F}. \f{F} may be either a single
  91. exterior form, or a list of forms, and \f{S} is a list of forms. If \f{F}
  92. is a list of forms, each element is reduced, and any which vanish are
  93. deleted from the result. If this operator is used more than once, and
  94. \f{S} does not change between calls, then the Gr\"obner basis is not
  95. recalculated. If the set of generators \f{S} is graded, then a truncated
  96. Gr\"obner basis is calculated using the degree of \f{F} (or the maximal
  97. degree in \f{F}).
  98. \subsubsection*{XMODULOP}
  99. \f{XMODULOP} reduces exterior forms to their (not necessarily unique)
  100. normal forms modulo a set of exterior polynomials. The syntax is
  101. \begin{verbatim}
  102. XMODULOP(F:form, S:list of forms):form
  103. \end{verbatim}
  104. or
  105. \begin{verbatim}
  106. XMODULOP(F:list of forms, S:list of forms):list of forms.
  107. \end{verbatim}
  108. An alternative infix syntax is also available:
  109. \begin{verbatim}
  110. F XMODULOP S.
  111. \end{verbatim}
  112. \f{XMODULOP(F,S)} reduces \f{F} with respect to the set of exterior
  113. polynomials \f{S}, which is not necessarily a Gr\"obner basis. \f{F} may be
  114. either a single exterior form, or a list of forms, and \f{S} is a list of
  115. forms. This operator can be used in conjunction with \f{XIDEAL} to produce
  116. the same effect as \f{XMODULO}: for a single form \f{F} in an ideal
  117. generated by the graded set \f{S}, \f{F XMODULO S} is equivalent to \f{F
  118. XMODULOP XIDEAL(S,EXDEGREE F)}.
  119. %\subsubsection*{SUBFORM}
  120. %
  121. %\f{SUBFORM} extends the \f{SUB} operator from ordinary {\REDUCE} to perform
  122. %substitutions for factors in exterior products. For example
  123. %\begin{verbatim}
  124. % SUB(d X^d Y = 0, d X^d Y^d Z) -> d X^d Y^d Z
  125. % SUBFORM(d X^d Y = 0, d X^d Y^d Z) -> 0.
  126. %\end{verbatim}
  127. %Care must be taken that the left-hand sides of substitutions are kernels,
  128. %eg. \verb.d X^d Y. is a kernel in the usual ordering, but \verb.d Y^d X.
  129. %isn't.
  130. \section{Switches}
  131. \subsubsection*{XFULLREDUCE}
  132. \f{ON XFULLREDUCE} allows \f{XIDEAL} and \f{XMODULO} to calculate reduced
  133. (but not necessarily normed) Gr\"obner bases, which speeds up subsequent
  134. reductions, and guarantees a unique form (up to scaling) for the Gr\"obner
  135. basis. \f{OFF XFULLREDUCE} turns of this feature, which may speed up
  136. calculation of the Gr\"obner basis. \f{XFULLREDUCE} is \f{ON} by default.
  137. %\subsubsection*{XGRADED}
  138. %
  139. %\f{ON XGRADED} tells \f{XIDEAL} and \f{XMODULO} that all exterior ideals
  140. %under consideration are graded: consist of forms of homogeneous degree. In
  141. %this case, there is no distinction between left, right and two-sided
  142. %ideals, and it is possible to truncate the calculation of Gr\"obner bases
  143. %at the degree of the form or forms to be reduced. This saves considerable
  144. %time and space. For non-graded ideals, \f{XGRADED} must be switched
  145. %\f{OFF}. \f{XGRADED} is \f{ON} by default.
  146. \subsubsection*{XSTATS}
  147. \f{ON XSTATS} produces counting and timing information. As \f{XIDEAL} is
  148. running, a hash mark (\verb.#.) is printed for each form taken from the
  149. input list, followed by a sequences of carets (\verb.^.) and dollar signs
  150. (\verb.$.). Each caret represents a new basis element obtained by a simple
  151. wedge product, and each dollar sign represents a new basis element obtained
  152. from an S-polynomial. At the end, a table is printed summarising the
  153. calculation. \f{XSTATS} is \f{OFF} by default.
  154. \section{Examples}
  155. Suppose EXCALC and XIDEAL have been loaded, the switches are at their
  156. default settings, and the following exterior variables have been declared:
  157. \begin{verbatim}
  158. pform x=0,y=0,z=0,t=0,f(i)=1,h=0,hx=0,ht=0;
  159. \end{verbatim}
  160. In a commutative polynomial ring, a single polynomial is its own Gr\"obner
  161. basis. This is no longer true for exterior algebras because of the presence
  162. of zero divisors, and can lead to some surprising reductions:
  163. \begin{verbatim}
  164. xideal {d x^d y - d z^d t};
  165. {d T^d Z + d X^d Y,
  166. d X^d Y^d Z,
  167. d T^d X^d Y}
  168. f(3)^f(4)^f(5)^f(6)
  169. xmodulo {f(1)^f(2) + f(3)^f(4) + f(5)^f(6)};
  170. 0
  171. \end{verbatim}
  172. The heat equation, $h_{xx}=h_t$ can be represented by the following
  173. exterior differential system.
  174. \begin{verbatim}
  175. S := {d h - ht*d t - hx*d x,
  176. d ht^d t + d hx^d x,
  177. d hx^d t - ht*d x^d t};
  178. \end{verbatim}
  179. \f{XMODULO} can be used to check that the exterior differential system is
  180. closed under exterior differentiation.
  181. \begin{verbatim}
  182. d S xmodulo S;
  183. {}
  184. \end{verbatim}
  185. Non-graded left and right ideals are no longer the same:
  186. \begin{verbatim}
  187. d t^(d z+d x^d y) xmodulo {d z+d x^d y};
  188. 0
  189. (d z+d x^d y)^d t xmodulo {d z+d x^d y};
  190. - 2*d t^d z
  191. \end{verbatim}
  192. Higher order forms can now reduce lower order ones:
  193. \begin{verbatim}
  194. d x xmodulo {d y^d z + d x,d x^d y + d z};
  195. 0
  196. \end{verbatim}
  197. Any form containing a 0-form term generates the whole ideal:
  198. \begin{verbatim}
  199. xideal {1 + f(1) + f(1)^f(2) + f(2)^f(3)^f(4)};
  200. {1}
  201. \end{verbatim}
  202. \begin{thebibliography}{M}
  203. \bibitem{Buchberger}
  204. B.~Buchberger, {\em
  205. Gr\"obner Bases: an algorithmic method in polynomial ideal theory,}
  206. in {\em Multidimensional Systems Theory\/} ed.~N.K.~Bose
  207. (Reidel, Dordrecht, 1985) chapter 6.
  208. \bibitem{HT}
  209. D.~Hartley and P.A.~Tuckey, {\em
  210. A Direct Characterisation of Gr\"obner Bases in Clifford and
  211. Grassmann Algebras,}
  212. Preprint MPI-Ph/93--96 (1993).
  213. \bibitem{Stokes}
  214. T.~Stokes, {\em
  215. Gr\"obner bases in exterior algebra,}
  216. J.~Automated Reasoning {\bf 6}(1990)233--250.
  217. \bibitem{EXCALC}
  218. E.~Schr\"ufer, {\em
  219. EXCALC, a system for doing calculations in the calculus of modern
  220. differential geometry, User's manual,}
  221. (The Rand Corporation, Santa Monica, 1986).
  222. \end{thebibliography}
  223. \end{document}