guide32.tex 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337
  1. %==========================================================================%
  2. % GRG 3.2 Reference Guide (C) 1988-97 Vadim V. Zhytnikov %
  3. %==========================================================================%
  4. % This document requires LaTeX 2e. Run LaTeX once: %
  5. % %
  6. % latex guide32 %
  7. % %
  8. %==========================================================================%
  9. \documentclass[twocolumn]{article}
  10. \addtolength{\voffset}{-10mm}
  11. \addtolength{\textheight}{28mm}
  12. \addtolength{\hoffset}{-8mm}
  13. \addtolength{\textwidth}{10mm}
  14. \usepackage{indentfirst}
  15. %%% This is for CM fonts
  16. \newcommand{\grgtt}{\ttfamily}
  17. \renewcommand{\ttdefault}{cmtt}
  18. \newcommand{\shadedbox}[1]{\fbox{#1}}
  19. \fboxsep=1pt
  20. %%%
  21. %%% Page layout ...
  22. \parindent=0mm
  23. \parskip=2mm
  24. \vfuzz=3pt
  25. %%%
  26. %%% My own \tt font ...
  27. \makeatletter
  28. \def\verbatim@font{\grgtt}
  29. \makeatother
  30. \renewcommand{\tt}{\grgtt}
  31. %%%
  32. %%% Special symbols ...
  33. \def\^{{\tt \char'136}} %%% \^ is ^
  34. \def\_{{\tt \char'137}} %%% \_ is _
  35. \newcommand{\w}{{\tt \char'057 \char'134}} %%% \w is /\
  36. \newcommand{\bs}{{\tt \char'134}} %%% \bs is \
  37. \newcommand{\ul}{{\tt \char'137}} %%% \ul is _
  38. \newcommand{\dd}{{\tt \char'043}} %%% \dd is #
  39. \newcommand{\cc}{{\tt \char'176}} %%% \cc is ~
  40. \newcommand{\ip}{{\tt \char'137 \char'174}} %%% \ip is _|
  41. \newcommand{\ii}{{\tt \char'174}} %%% \ii is |
  42. %%%
  43. %%% \grg GRG logo ...
  44. %\newcommand{\grglogofont}{\bfseries}
  45. %\newcommand{\grg}{{\grglogofont GRG}}
  46. \newcommand{\grg}{GRG}
  47. %%% \comm{...} in-line command in the box
  48. \newcommand{\comm}[1]{\shadedbox{\tt#1}}
  49. %%% \command{...} commands in (shaded) box
  50. \newcommand{\command}[1]{\vspace*{1mm}\hfil\break\hspace*{5mm}
  51. \shadedbox{\begin{tabular}{l}
  52. \tt#1 \end{tabular}}\vspace*{0.7mm}\newline}
  53. \newcommand{\longcommand}[1]{\vspace*{1mm}\hfil\break
  54. \shadedbox{\begin{tabular}{l}
  55. \tt#1 \end{tabular}}\vspace*{0.7mm}\newline}
  56. %%% \parm{...} is \itshape for parameters
  57. \newcommand{\parm}[1]{{\slshape\sffamily#1}}
  58. %%% \opt{...} optional
  59. \newcommand{\opt}[1]{{\rm [}#1{\rm ]}}
  60. %%% \rpt{...} repeat
  61. \newcommand{\rpt}[1]{{#1}\,\,{\rm [}{\tt,}{#1}{\tiny\dots}{\rm ]}}
  62. %%% Headings style ...
  63. %\usepackage{fancyheadings}
  64. %%% We just inserat the fancyheadings.sty here literally ...
  65. \makeatletter
  66. % fancyheadings.sty version 1.7
  67. % Fancy headers and footers.
  68. % Piet van Oostrum, Dept of Computer Science, University of Utrecht
  69. % Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands
  70. % Telephone: +31-30-531806. piet@cs.ruu.nl (mcvax!sun4nl!ruuinf!piet)
  71. % Sep 16, 1994
  72. % version 1.4: Correction for use with \reversemargin
  73. % Sep 29, 1994:
  74. % version 1.5: Added the \iftopfloat, \ifbotfloat and \iffloatpage commands
  75. % Oct 4, 1994:
  76. % version 1.6: Reset single spacing in headers/footers for use with
  77. % setspace.sty or doublespace.sty
  78. % Oct 4, 1994:
  79. % version 1.7: changed \let\@mkboth\markboth to
  80. % \def\@mkboth{\protect\markboth} to make it more robust
  81. \def\lhead{\@ifnextchar[{\@xlhead}{\@ylhead}}
  82. \def\@xlhead[#1]#2{\gdef\@elhead{#1}\gdef\@olhead{#2}}
  83. \def\@ylhead#1{\gdef\@elhead{#1}\gdef\@olhead{#1}}
  84. \def\chead{\@ifnextchar[{\@xchead}{\@ychead}}
  85. \def\@xchead[#1]#2{\gdef\@echead{#1}\gdef\@ochead{#2}}
  86. \def\@ychead#1{\gdef\@echead{#1}\gdef\@ochead{#1}}
  87. \def\rhead{\@ifnextchar[{\@xrhead}{\@yrhead}}
  88. \def\@xrhead[#1]#2{\gdef\@erhead{#1}\gdef\@orhead{#2}}
  89. \def\@yrhead#1{\gdef\@erhead{#1}\gdef\@orhead{#1}}
  90. \def\lfoot{\@ifnextchar[{\@xlfoot}{\@ylfoot}}
  91. \def\@xlfoot[#1]#2{\gdef\@elfoot{#1}\gdef\@olfoot{#2}}
  92. \def\@ylfoot#1{\gdef\@elfoot{#1}\gdef\@olfoot{#1}}
  93. \def\cfoot{\@ifnextchar[{\@xcfoot}{\@ycfoot}}
  94. \def\@xcfoot[#1]#2{\gdef\@ecfoot{#1}\gdef\@ocfoot{#2}}
  95. \def\@ycfoot#1{\gdef\@ecfoot{#1}\gdef\@ocfoot{#1}}
  96. \def\rfoot{\@ifnextchar[{\@xrfoot}{\@yrfoot}}
  97. \def\@xrfoot[#1]#2{\gdef\@erfoot{#1}\gdef\@orfoot{#2}}
  98. \def\@yrfoot#1{\gdef\@erfoot{#1}\gdef\@orfoot{#1}}
  99. \newdimen\headrulewidth
  100. \newdimen\footrulewidth
  101. \newdimen\plainheadrulewidth
  102. \newdimen\plainfootrulewidth
  103. \newdimen\headwidth
  104. \newif\if@fancyplain \@fancyplainfalse
  105. \def\fancyplain#1#2{\if@fancyplain#1\else#2\fi}
  106. % Command to reset various things in the headers:
  107. % a.o. single spacing (taken from setspace.sty)
  108. % and the catcode of ^^M (so that epsf files in the header work if a
  109. % verbatim crosses a page boundary)
  110. \def\fancy@reset{\restorecr
  111. \def\baselinestretch{1}%
  112. \ifx\undefined\@newbaseline% NFSS not present; 2.09 or 2e
  113. \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
  114. \else% NFSS (2.09) present
  115. \@newbaseline%
  116. \fi}
  117. % Initialization of the head and foot text.
  118. \headrulewidth 0.4pt
  119. \footrulewidth\z@
  120. \plainheadrulewidth\z@
  121. \plainfootrulewidth\z@
  122. \lhead[\fancyplain{}{\sl\rightmark}]{\fancyplain{}{\sl\leftmark}}
  123. % i.e. empty on ``plain'' pages \rightmark on even, \leftmark on odd pages
  124. \chead{}
  125. \rhead[\fancyplain{}{\sl\leftmark}]{\fancyplain{}{\sl\rightmark}}
  126. % i.e. empty on ``plain'' pages \leftmark on even, \rightmark on odd pages
  127. \lfoot{}
  128. \cfoot{\rm\thepage} % page number
  129. \rfoot{}
  130. % Put together a header or footer given the left, center and
  131. % right text, fillers at left and right and a rule.
  132. % The \lap commands put the text into an hbox of zero size,
  133. % so overlapping text does not generate an errormessage.
  134. \def\@fancyhead#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset\vbox{\hbox
  135. {\rlap{\parbox[b]{\headwidth}{\raggedright#2\strut}}\hfill
  136. \parbox[b]{\headwidth}{\centering#3\strut}\hfill
  137. \llap{\parbox[b]{\headwidth}{\raggedleft#4\strut}}}\headrule}}#5}
  138. \def\@fancyfoot#1#2#3#4#5{#1\hbox to\headwidth{\fancy@reset\vbox{\footrule
  139. \hbox{\rlap{\parbox[t]{\headwidth}{\raggedright#2\strut}}\hfill
  140. \parbox[t]{\headwidth}{\centering#3\strut}\hfill
  141. \llap{\parbox[t]{\headwidth}{\raggedleft#4\strut}}}}}#5}
  142. \def\headrule{{\if@fancyplain\headrulewidth\plainheadrulewidth\fi
  143. \hrule\@height\headrulewidth\@width\headwidth \vskip-\headrulewidth}}
  144. \def\footrule{{\if@fancyplain\footrulewidth\plainfootrulewidth\fi
  145. \vskip-0.3\normalbaselineskip\vskip-\footrulewidth
  146. \hrule\@width\headwidth\@height\footrulewidth\vskip0.3\normalbaselineskip}}
  147. \def\ps@fancy{
  148. \def\@mkboth{\protect\markboth}
  149. \@ifundefined{chapter}{\def\sectionmark##1{\markboth
  150. {\uppercase{\ifnum \c@secnumdepth>\z@
  151. \thesection\hskip 1em\relax \fi ##1}}{}}
  152. \def\subsectionmark##1{\markright {\ifnum \c@secnumdepth >\@ne
  153. \thesubsection\hskip 1em\relax \fi ##1}}}
  154. {\def\chaptermark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\m@ne
  155. \@chapapp\ \thechapter. \ \fi ##1}}{}}
  156. \def\sectionmark##1{\markright{\uppercase{\ifnum \c@secnumdepth >\z@
  157. \thesection. \ \fi ##1}}}}
  158. \ps@@fancy
  159. \global\let\ps@fancy\ps@@fancy
  160. \headwidth\textwidth}
  161. \def\ps@fancyplain{\ps@fancy \let\ps@plain\ps@plain@fancy}
  162. \def\ps@plain@fancy{\@fancyplaintrue\ps@@fancy}
  163. \def\ps@@fancy{
  164. \def\@oddhead{\@fancyhead\@lodd\@olhead\@ochead\@orhead\@rodd}
  165. \def\@oddfoot{\@fancyfoot\@lodd\@olfoot\@ocfoot\@orfoot\@rodd}
  166. \def\@evenhead{\@fancyhead\@rodd\@elhead\@echead\@erhead\@lodd}
  167. \def\@evenfoot{\@fancyfoot\@rodd\@elfoot\@ecfoot\@erfoot\@lodd}
  168. }
  169. \def\@lodd{\if@reversemargin\hss\else\relax\fi}
  170. \def\@rodd{\if@reversemargin\relax\else\hss\fi}
  171. \let\latex@makecol\@makecol
  172. \def\@makecol{\let\topfloat\@toplist\let\botfloat\@botlist\latex@makecol}
  173. \def\iftopfloat#1#2{\ifx\topfloat\empty #2\else #1\fi}
  174. \def\ifbotfloat#1#2{\ifx\botfloat\empty #2\else #1\fi}
  175. \def\iffloatpage#1#2{\if@fcolmade #1\else #2\fi}
  176. \makeatother
  177. %%%
  178. \pagestyle{fancy}
  179. \headrulewidth=0.1mm
  180. \footrulewidth=0.1mm
  181. \lhead{\bf\slshape GRG 3.2 Reference Guide}
  182. \chead{}
  183. \rhead{\bf\thepage}
  184. \lfoot{}
  185. \cfoot{}
  186. \rfoot{}
  187. %%%
  188. %%% Sections ...
  189. \renewcommand{\thesection}{\hspace*{-5mm}}
  190. \renewcommand{\thesubsection}
  191. {{\sf\slshape\arabic{subsection}.}\hspace*{-3mm}}
  192. \begin{document}
  193. %\title{\LARGE\bf \grg\ 3.2 Reference Guide\vspace*{-8mm}}
  194. %\date{}
  195. %\maketitle
  196. %\raggedright
  197. \footnotesize
  198. \section{\LARGE\sf\slshape Commands}
  199. \chead{\slshape Commands}
  200. \tabcolsep=0.5mm
  201. \grg\ commands are not case sensitive, i.e. they can be
  202. typed in lower, upper or mixed case. Optional parts of the
  203. commands are enclosed in square brackets \opt{\parm{x}}
  204. and construction \rpt{\parm{x}} stands for {\tt \parm{x}} or
  205. {\tt \parm{x},\,\parm{x}} or {\tt \parm{x},\,\parm{x},\,\parm{x}} etc.
  206. \subsection{\sf\slshape Session Control Commands}
  207. The command \comm{Quit;} terminates both \grg\ and {\sc Reduce}
  208. sessions. The command \comm{Stop;} terminates \grg\ task and
  209. brings the session control menu.
  210. Batch file execution:
  211. \command{\opt{Input} "\parm{file}";}
  212. The batch file execution can be suspended by the command
  213. \comm{Pause;} and resumed by the command \comm{Next;}.
  214. The command \comm{Output "\parm{file}";}\vspace*{0.4mm} redirects
  215. all \grg\ output into the \parm{file}.
  216. The command \comm{EndO;} or \comm{End of Output;} closes
  217. the \parm{file} and restores standard output.
  218. \subsection{\sf\slshape Operating System Commands}
  219. The command \comm{System;} suspend \grg\ session
  220. and passes control to the operating system command level.
  221. The command \comm{System "\parm{command}";}
  222. executes single operating system \parm{command}.
  223. \subsection{\sf\slshape Comments}\vspace{-5mm}
  224. \command{Comment \parm{any text};\\\tt
  225. \parm{any command} \% \parm{any text};\\\tt
  226. \% \parm{any text};}
  227. \subsection{\sf\slshape Switches Control Commands}
  228. The commands
  229. \command{On \rpt{\parm{switch}}; \\\tt
  230. Off \rpt{\parm{switch}};}
  231. change the \parm{switch} position and the command
  232. \command{\opt{Show} Switch \parm{switch};\\\tt Show \parm{switch};}
  233. prints current \parm{switch} status.
  234. \subsection{\sf\slshape Info Commands}
  235. Time and garbage collection time commands:
  236. \command{\opt{Show} Time;\\\tt
  237. \opt{Show} GC Time;}
  238. The timer can be set to zero by the command \comm{Zero Time;}.
  239. The command
  240. \command{\opt{Show} Status;}
  241. print information about the current system directory,
  242. type of the metric, frame and basis.
  243. The command \comm{Show *;} prints the list of all built-in
  244. objects. The command \comm{Show a*;} prints the list of the
  245. built-in objects whose names begins with the character {\tt a}.
  246. Finally the command
  247. \command{Show \parm{object};}
  248. prints detailed information about the \parm{object} including its
  249. name, symbol, indices, symmetries, type of the component,
  250. current state and ways of calculation.
  251. The command \comm{Show All;} prints a list of objects whose
  252. values are currently known.
  253. \subsection{\sf\slshape Declarations}
  254. The dimension and signature declaration
  255. \command{Dimension \parm{dim} with \opt{Signature} (\rpt{\parm{pm}});}
  256. where \parm{pm} is {\tt +} or {\tt -}.
  257. The coordinates and constants declarations
  258. \command{Coordinates \rpt{\parm{x}};\\\tt
  259. Constants \rpt{\parm{c}};}
  260. The functions and generic function declarations
  261. \command{Functions \rpt{\parm{f}\,\,\opt{{\upshape (}\rpt{\parm{x}}{\upshape )}}};\\\tt
  262. Generic Functions \rpt{\parm{f}\,\,{\upshape (}\rpt{\parm{x}}{\upshape )}};}
  263. Function properties declaration
  264. \command{Symmetric \rpt{\parm{f}};\\\tt
  265. Antisymmetric \rpt{\parm{f}};\\\tt
  266. Odd \rpt{\parm{f}};\\\tt
  267. Even \rpt{\parm{f}}; }
  268. The command \comm{Affine Parameter \parm{s};} declares
  269. the affine parameter.
  270. \subsection{\sf\slshape New Object Declaration}
  271. The following equivalent declarations
  272. \command{New Object \parm{ID}\,\opt{\parm{ilst}}\,\opt{is \parm{ctype}}\,\opt{with \opt{Symmetries}\,\parm{slst}};\\\tt
  273. Object \parm{ID}\,\opt{\parm{ilst}}\,\opt{is \parm{ctype}}\,\opt{with \opt{Symmetries}\,\parm{slst}};\\\tt
  274. New \parm{ID}\,\opt{\parm{ilst}}\,\opt{is \parm{ctype}}\,\opt{with \opt{Symmetries}\,\parm{slst}}; }
  275. introduce new user-defined object, equation
  276. \command{New Equation \parm{ID}\,\opt{\parm{ilst}}\,\opt{is \parm{ctype}}\,\opt{with \opt{Symmetries}\,\parm{slst}};\\\tt
  277. Equation \parm{ID}\,\opt{\parm{ilst}}\,\opt{is \parm{ctype}}\,\opt{with \opt{Symmetries}\,\parm{slst}}; }
  278. or connection 1-form
  279. \command{New Connection \parm{ID}\,\opt{\parm{ilst}}\,\opt{is 1-form};\\\tt
  280. Connection \parm{ID}\,\opt{\parm{ilst}}\,\opt{is 1-form}; }
  281. Here \parm{ilst} is the index type list
  282. \comm{\rpt{\parm{ipos}\ \parm{itype}}}
  283. where \parm{ipos} is one of the markers denoting the
  284. index position
  285. \command{{\tt '}\rm\ \ upper frame
  286. \\{\tt .}\rm\ \ lower frame
  287. \\{\tt \^}\rm\ \ upper holonomic
  288. \\{\tt \ul}\rm\ \ lower holonomic }
  289. and \parm{itype} determines index type. For example:
  290. holonomic or frame indices {\tt a b c}, enumerating indices
  291. {\tt i3 i15 idim}, spinor {\tt A PQ MNL} and conjugated spinor
  292. indices {\tt A\cc\ PQ\cc\ MNL\cc}.
  293. The \parm{ctype} defines the type of the component:
  294. \command{Scalar \opt{Density \parm{dens}}\\\tt
  295. \parm{n}-form \opt{Density \parm{dens}}\\\tt
  296. Vector \opt{Density \parm{dens}}}
  297. The \parm{dens} defines pseudo-scalar and density
  298. properties of the object with respect to
  299. coordinate and frame transformations:
  300. \command{\opt{sgnL}\opt{*sgnD}\opt{*L\^\parm{n}}\opt{*D\^\parm{m}}}
  301. where \comm{D} and \comm{L} is the coordinate and frame
  302. transformation determinants respectively.
  303. The symmetry specification \parm{slst} is a list \rpt{\parm{slst1}}.
  304. Each \parm{slst1} is {\tt \parm{sym}(\rpt{\parm{slst2}})}
  305. where \parm{sym} is: \comm{a} for antisymmetry, \comm{t} for symmetry,
  306. \comm{c} for cyclic symmetry and \comm{h} for Hermitian symmetry.
  307. The \parm{slst2} is either index number, or list of index numbers
  308. or once again another symmetry specification \parm{slst1}.
  309. The command \comm{Forget \parm{object};} removes the
  310. user-defined \parm{object}.
  311. \subsection{\sf\slshape Assignment}
  312. The command
  313. \command{\opt{\parm{Name}}\,\rpt{\parm{ID}\,\opt{{\upshape(}\rpt{\parm{i}}{\upshape)}}=\parm{expr}};}
  314. assigns the value to the component(s) of the object \parm{Name}
  315. having the symbol \parm{ID}.
  316. \subsection{\sf\slshape Object Calculation}
  317. The command for calculating the value of an \parm{object}
  318. using built-in \parm{way} (formula):
  319. \command{Find \rpt{\parm{object}}\,\opt{\parm{way}};}
  320. Here \parm{object} is either the name or the symbol of
  321. the built-in object. The \parm{way} is either the name of the
  322. way or any object which is present at the right-hand side of
  323. the formula.
  324. The command
  325. \command{Null Metric;}
  326. makes the metric to be the \emph{standard null metric}.
  327. The command
  328. re-simplifies the \parm{object}.
  329. The command
  330. \command{Erase \parm{object};}
  331. removes the value of the \parm{object}
  332. and makes it indefinite once again. The command
  333. \command{Zero \parm{object};}
  334. assigns zero value to the \parm{object}.
  335. The command
  336. \command{Normalize \parm{equation};}
  337. replaces equation $l=r$ by $l-r=0$.
  338. \subsection{\sf\slshape Object Printing}
  339. The command
  340. \command{Write \rpt{\parm{object}}\,\,\opt{to "\parm{file}"};}
  341. prints the value of the \parm{object} (to the \parm{file} if present).
  342. The command
  343. \command{Write \opt{to "\parm{file}"};}
  344. redirects all output into the \parm{file}.
  345. The command \comm{EndW;} or \comm{End of Write;}
  346. closes the \parm{file} and restores standard output.
  347. The symbol {\tt >} can be used instead of {\tt to} in these commands.
  348. %\newpage
  349. The following commands print the line-element:
  350. \command{ds2;\\\tt
  351. Line-Element;}
  352. \subsection{\sf\slshape Expression Printing}
  353. The following commands evaluate expression \parm{expr}
  354. and print its value:
  355. \command{\opt{Print} \parm{expr} \opt{For \parm{iter}};\\\tt
  356. For \parm{iter} Print \parm{expr};}
  357. The parameter \parm{iter} determines that the \parm{expr}
  358. must be evaluated for several values of some variable.
  359. The \parm{iter} has the form:
  360. \command{\rpt{\parm{it}\,\opt{=\opt{\parm{lo}{\upshape..}}\parm{up}}}}
  361. The separator {\tt ,} can be replaced by one of the relational
  362. operators {\tt <\ \ >\ \ <=\ \ >=}. In general \parm{it} runs
  363. from \parm{lo} (or from 0 if \parm{lo} is omitted) to \parm{up}.
  364. If both \parm{lo} and \parm{up} are omitted then range of the
  365. symbol \parm{it} is determined by its form. For example:
  366. {\tt a p ijk} run from 0 to $d-1$ ($d$ is the dimension),
  367. {\tt a5 ij5} run from 0 to 5, {\tt a13 ij13} run from 1 to 3,
  368. {\tt A} runs from 0 to 1, {\tt AB} runs from 0 to 2,
  369. {\tt ABC} runs from 0 to 3 etc.
  370. \subsection{\sf\slshape Output Control}
  371. The following commands are identical to
  372. \command{Factor \rpt{\parm{expr}};\\\tt
  373. RemFac \rpt{\parm{expr}};\\\tt
  374. Order \rpt{\parm{expr}};}
  375. similar {\sc Reduce} commands.
  376. The command \comm{Line-Length \parm{n};} sets new output
  377. line width.
  378. \subsection{\sf\slshape Substitutions}
  379. The substitution commands are similar to corresponding
  380. {\sc Reduce} instructions
  381. \command{\opt{For All \rpt{\parm{x}}\,\opt{Such That \parm{cond}}} Let \rpt{\parm{sub}};\\\tt
  382. \opt{For All \rpt{\parm{x}}\,\opt{Such That \parm{cond}}} Match \rpt{\parm{sub}};\\\tt
  383. \opt{For All \rpt{\parm{x}}\,\opt{Such That \parm{cond}}} Clear \rpt{\parm{sub}}; }
  384. where \parm{sub} is either relation {\tt \parm{l}\,=\,\parm{r}} as in
  385. {\sc Reduce} or component of the solution {\tt Sol(\parm{n})}.
  386. \subsection{\sf\slshape Basis Mode Switching Commands}
  387. The command
  388. \command{Anholonomic;}
  389. switch \grg\ to the anholonomic basis mode and the command
  390. \command{Holonomic;}
  391. switches back to the default holonomic mode.
  392. \subsection{\sf\slshape Saving and Restoring the Data}
  393. The command
  394. \command{Unload \rpt{\parm{object}} to "\parm{file}";}
  395. saves the value of the \parm{object} into the \parm{file}.
  396. The command
  397. \command{Unload to "\parm{file}";}
  398. must be followed by the sequence of the commands
  399. \command{Unload \parm{object};}
  400. or comments. The sequence must be terminated
  401. by the command \comm{EndU;} or \comm{End of Unload;}.
  402. The symbol {\tt >} can be used instead of {\tt to}.
  403. The data saved by {\tt Unload} can be restored by the command
  404. \command{Load "\parm{file}";}
  405. The command
  406. \command{\opt{Show} File "\parm{file}";\\\tt Show "\parm{file}";}
  407. lists the objects saved into the \parm{file}.
  408. \subsection{\sf\slshape Algebraic Classification}
  409. The command
  410. \command{Classify \parm{object};}
  411. performs algebraic classification of the \parm{object}.
  412. \grg\ has built-in algorithms for the algebraic
  413. classification of the following irreducible spinors:
  414. $X_{A\dot{B}}$, $X_{AB}$, $X_{AB\dot{C}\dot{D}}$, $X_{ABCD}$.
  415. \subsection{\sf\slshape Coordinate Transformations}
  416. The coordinate transformation command:
  417. \longcommand{New Coordinates \rpt{\parm{new}} with \rpt{\parm{old}=\parm{expr}};}
  418. \subsection{\sf\slshape Frame Transformations}
  419. Frame rotation command
  420. \command{\opt{Make} Rotation \opt{\parm{matrix}};}
  421. The \parm{matrix} must be frame rotation, i.e. the metric must
  422. remain unchanged under the transformation. The \parm{matrix}
  423. has the following form
  424. \command{{\upshape (}\rpt{{\upshape (}\rpt{\parm{expr}}{\upshape )}}{\upshape )}}
  425. If \parm{matrix} is omitted then the rotation is taken from
  426. the object {\tt Frame Transformation}.
  427. The command
  428. \command{Change Metric \opt{\parm{matrix}};}
  429. is similar to the previous one but the \parm{matrix}
  430. is not necessary the rotation but any nonsingular matrix.
  431. The spinorial transformation command:
  432. \command{\opt{Make} Spinorial Rotation \opt{\parm{matrix}};}
  433. The \parm{matrix} must be SL(2,C) matrix.
  434. If the parameter \parm{matrix} is omitted
  435. then the matrix must be defined by the value of the
  436. object {\tt Spinorial Transformation}.
  437. The command
  438. \command{Hold \parm{object};}
  439. makes \grg\ to keep the \parm{object} unchanged under
  440. the frame transformation. The command
  441. \command{Release \parm{object};}
  442. removes the action of the {\tt Hold} command.
  443. \subsection{\sf\slshape Solving Equations}
  444. The algebraic equation solving command has two forms
  445. \command{Solve \parm{equation} for \rpt{\parm{x}};\\\tt
  446. Solve \rpt{\parm{l}=\parm{r}}\,\,for \rpt{\parm{x}};}
  447. where \parm{equation} is any built-in or user-defined
  448. equation. The solutions are stored into the special
  449. built-in object {\tt Solutions}.
  450. The command
  451. \command{\tt Inverse \parm{f},\,\parm{h};}
  452. declares the functions \parm{f} and \parm{h} to be inverse
  453. to each other.
  454. \subsection{\sf\slshape Loading Package}
  455. \command{\opt{Load} Package \parm{package};\\\tt
  456. Load \parm{package};}
  457. \section{\LARGE\sf\slshape Switches}\vspace*{-2mm}
  458. \chead{\slshape Commands and Switches}
  459. Switches in \grg\ are case insensitive.
  460. \tabcolsep=1.5mm
  461. \begin{tabular}{|c|c|l|}
  462. \hline
  463. \tt AEVAL & Off & Use aeval() instead of reval(). \\
  464. \tt WRS & On & Re-simplify expr. before printing. \\
  465. \tt WMATR & Off & Write 2-index objects in matrix form. \\
  466. \tt TORSION & Off & Torsion. \\
  467. \tt NONMETR & Off & Nonmetricity. \\
  468. \tt UNLCORD & On & Save coordinates in {\tt Unload}. \\
  469. \tt AUTO & On & Automatic data calculation in expr. \\
  470. \tt TRACE & On & Trace the calculation process. \\
  471. \tt SHOWCOMMANDS & Off & Show compound command expansion. \\
  472. \tt EXPANDSYM & Off & Allow {\tt Sy Asy Cy}in expr. \\
  473. \tt DFPCOMMUTE & On & Commutativity of {\tt DFP}. \\
  474. \tt NONMIN & Off & Nonmin. interaction for scalar field. \\
  475. \tt NOFREEVARS & Off & Prohibit free variables in {\tt Print}. \\
  476. \tt CCONST & Off & Include cosm. constant in equations. \\
  477. \tt FULL & Off & Number of components in {\tt Metric Eq}. \\
  478. \tt LATEX & Off & \LaTeX\ output mode. \\
  479. \tt GRG & Off & \grg\ output mode. \\
  480. \tt REDUCE & Off & {\sc Reduce} output mode. \\
  481. \tt MAPLE & Off & {\sc Maple} output mode. \\
  482. \tt MATH & Off & {\sc Mathematica} output mode. \\
  483. \tt MACSYMA & Off & {\sc Macsyma} output mode. \\
  484. \tt DFINDEXED & Off & Print {\tt DF} in index notation. \\
  485. \tt BATCH & Off & Batch mode. \\
  486. \tt HOLONOMIC & On & Keep frame holonomic. \\
  487. \tt SHOWEXPR & Off & Print expressions during algebraic \\
  488. \tt & & classification. \\
  489. \hline
  490. \end{tabular}
  491. \newpage
  492. \section{\LARGE\sf\slshape Synonymy}
  493. \chead{\slshape Synonymy}
  494. This is default \grg\ synonymy list.
  495. The symbols in each line are equivalent in all
  496. \grg\ commands and in the built-in object names.
  497. The case does not matter. So {\tt Affine} is
  498. equivalent to {\tt affine}, {\tt Aff}, {\tt aff}
  499. and so on.
  500. \begin{verbatim}
  501. Affine Aff
  502. Anholonomic Nonholonomic AMode ABasis
  503. Antisymmetric Asy
  504. Change Transform
  505. Classify Class
  506. Components Comp
  507. Connection Con
  508. Constants Const Constant
  509. Coordinates Cord
  510. Curvature Cur
  511. Dimension Dim
  512. Dotted Do
  513. Equation Equations Eq
  514. Erase Delete Del
  515. Evaluate Eval Simplify
  516. Find F Calculate Calc
  517. Form Forms
  518. Functions Fun Function
  519. Generic Gen
  520. Gravitational Gravity Gravitation Grav
  521. Holonomic HMode HBasis
  522. Inverse Inv
  523. Load Restore
  524. Next N
  525. Normalize Normal
  526. Object Obj
  527. Output Out
  528. Parameter Par
  529. Rotation Rot
  530. Scalar Scal
  531. Show ?
  532. Signature Sig
  533. Solutions Solution Sol
  534. Spinor Spin Spinorial Sp
  535. standardlisp lisp
  536. Switch Sw
  537. Symmetries Sym Symmetric
  538. Tensor Tensors Tens
  539. Torsion Tors
  540. Transformation Trans
  541. Undotted Un
  542. Unload Save
  543. Vector Vec
  544. Write W
  545. Zero Nullify
  546. \end{verbatim}
  547. \newpage
  548. \section{\LARGE\sf\slshape Expressions}
  549. \chead{\slshape Expressions}
  550. \subsection{\sf\slshape Operations and Operators}
  551. Notation:
  552. $e$ is any expression,
  553. $a$ is any scalar valued (algebraic) expressions,
  554. $v$ is any vector valued expression,
  555. $x$ is a coordinate,
  556. $o$ is any 1-form valued expression,
  557. $\omega$ is any form valued expression.
  558. \begin{tabular}{|c|c|c|}
  559. \hline
  560. {\tt [$v_1$,$v_2$]} & Vector bracket & \\
  561. \hline
  562. {\tt @} $x$ & Holonomic vector $\partial_x$ & \\
  563. \cline{1-2}
  564. {\tt d} $a$ & Exterior differential & \\
  565. {\tt d} $\omega$ & &
  566. {\tt d} \cc$a$ $\Leftrightarrow$ {\tt (d(}\cc$a${\tt))} \\
  567. \cline{1-2}
  568. {\tt \dd} $a$ & Dualization & \\
  569. {\tt \dd} $\omega$ & & \\
  570. \cline{1-2}
  571. {\tt \cc} $e$ & Complex conjugation & \\
  572. \hline
  573. $a_1${\tt **}$a_2$ & Exponention & \\
  574. $a_1${\tt\^} $a_2$ & & \\
  575. \hline
  576. $e$\ {\tt /}\ $a$ & Division &
  577. $e${\tt /}$a_1${\tt /}$a_2$ $\Leftrightarrow$ {\tt (}$e${\tt /}$a_1${\tt )/}$a_2$ \\
  578. \hline
  579. $a$\ {\tt *}\ $e$ & Multiplication & \\
  580. \cline{1-2}
  581. $v$\ {\tt |}\ $a$ & Vector acting on scalar & $v$\ii$\omega_1$\w$\omega_2${\tt *}$a$ \\
  582. \cline{1-2}
  583. $v$\ \ip\ $\omega$ & Interior product & $\Updownarrow$ \\
  584. \cline{1-2}
  585. $v_1$\ {\tt.}\ $v_2$& Scalar product & $v$\ii{\tt (}$\omega_1$\w{\tt(}$\omega_2${\tt *}$a${\tt ))} \\
  586. $v$\ {\tt.}\ $o$ & & \\
  587. $o_1$\ {\tt.}\ $o_2$& & \\
  588. \cline{1-2}
  589. $\omega_1$\ \w\ $\omega_2$ & Exterior product & \\
  590. \hline
  591. {\tt +}\ $e$ & Prefix plus & \\
  592. \cline{1-2}
  593. {\tt -}\ $e$ & Prefix minus & \\
  594. \cline{1-2}
  595. $e_1$\ {\tt +}\ $e_2$ & Addition & \\
  596. \cline{1-2}
  597. $e_1$\ {\tt -}\ $e_2$ & Subtraction & \\
  598. \hline
  599. \end{tabular}
  600. \subsection{\sf\slshape Variables and Functions}
  601. Operator listed in the previous section can act on:
  602. (i) integer numbers (e.g. {\tt 0}, {\tt 123}),
  603. (ii) symbols or identifiers (e.g. {\tt I}, {\tt phi}, {\tt RIM0103}),
  604. (iii) functional expressions (e.g. {\tt SIN(x)}, {\tt G(0,1)} etc).
  605. Valid symbol must belong to one of the following types:
  606. \begin{itemize}
  607. \item Coordinate.
  608. \item Declared by user or built-in constant.
  609. \item Function declared with implicit dependence list.
  610. \item Component of an object.
  611. \end{itemize}
  612. Any valid functional expression must belong to one of the following types:
  613. \itemsep=0.5mm
  614. \begin{itemize}
  615. \item User-defined function.
  616. \item Function defined in {\sc Reduce} or in any loaded package.
  617. \item Component of an object in functional notation.
  618. \item Some special \grg\ functional expressions listed below.
  619. \end{itemize}
  620. \subsection{\sf\slshape Object Components}
  621. The components of built-in or user-defined object can be
  622. referred by two methods: using symbols {\tt dim},
  623. {\tt VOL}, {\tt T0}, {\tt RIM0213} etc, or using functional
  624. notation {\tt T(0)}, {\tt RIM(0,2,1,3)}, {\tt OMEGA(i,j)}.
  625. In functional notation the default index type and position
  626. can be changed using the markers: {\tt '} upper frame,
  627. {\tt .} lower frame, {\tt \^} upper holonomic, {\tt \_} lower
  628. holonomic. For example: {\tt RIM('0,.1,\_2,\_3)}.
  629. \subsection{\sf\slshape Built-in Constants}
  630. \begin{tabular}{|l|l|}
  631. \hline
  632. \tt E I PI INFINITY & Mathematical constants $e,i,\pi$,$\infty$ \\
  633. \hline
  634. \tt FAILED & \\
  635. \hline
  636. \tt ECONST & Charge of the electron \\
  637. \tt DMASS & Dirac field mass \\
  638. \tt SMASS & Scalar field mass \\
  639. \hline
  640. \tt GCONST & Gravitational constant \\
  641. \tt CCONST & Cosmological constants \\
  642. \hline
  643. \tt LC0 LC1 LC2 LC3 & Parameters of the quadratic \\
  644. \tt LC4 LC5 LC6 & gravitational Lagrangian \\
  645. \tt MC1 MC2 MC3 & \\
  646. \hline
  647. \tt AC0 & Nonminimal interaction constant \\
  648. \hline
  649. \end{tabular}
  650. \subsection{\sf\slshape Derivatives}\vspace*{-5mm}
  651. \command{DF(\parm{a},\rpt{\parm{x}\opt{{\upshape ,}\parm{n}}})\\\tt
  652. DFP(\parm{a},\rpt{\parm{x}\opt{{\upshape ,}\parm{n}}})}\vspace*{-1mm}
  653. {\tt DFP} derivatives are valid only after {\tt Generic Function}
  654. declaration.
  655. \subsection{\sf\slshape Complex Conjugation}
  656. These constructions are shortcuts for standard complex conjugation
  657. operations:
  658. \command{%
  659. \tt $e$ + \cc\cc\ $=$\ $e$ + \cc$e$ \\
  660. \tt $e$ - \cc\cc\ $=$\ $e$ - \cc$e$ \\
  661. \tt Re($e$)\ $=$\ ($e$ + \cc$e$)/2 \\
  662. \tt Im($e$)\ $=$\ I*(-$e$ + \cc$e$)/2}
  663. \subsection{\sf\slshape Parts of Equations and Solutions}
  664. The functional expressions
  665. \command{LHS(\parm{eqcomp})\\\tt
  666. RHS(\parm{eqcomp})}
  667. give access to the left-hand and right-hand side of an
  668. equation respectively. They also provide access to the \parm{n}'th
  669. solution if \parm{eqcomp} is \comm{Sol(\parm{n})}.
  670. \subsection{\sf\slshape Sums and Products}\vspace*{-5mm}
  671. \command{Sum(\parm{iter},\parm{e})\\\tt
  672. Prod(\parm{iter},\parm{e})}
  673. The \parm{iter} specification is
  674. completely the same as in the {\tt Print For} command.
  675. \subsection{\sf\slshape Lie Derivatives}
  676. The Lie derivative
  677. \command{Lie(\parm{v},\parm{objcomp})}
  678. where \parm{objcomp} is the component of an object in
  679. functional notation.
  680. \subsection{\sf\slshape Covariant Derivatives and Differentials}
  681. The covariant differential
  682. \command{Dc(\parm{objcomp}\opt{{\upshape\tt ,}\rpt{\parm{conn}}})}
  683. and covariant derivative
  684. \command{Dfc(\parm{v},\parm{objcomp}\opt{{\upshape\tt ,}\rpt{\parm{conn}}})}
  685. Here \parm{objcomp} is an object component in functional notation
  686. and \parm{conn} is the symbol(s) of alternative connection 1-form(s).
  687. \subsection{\sf\slshape Symmetrization}
  688. The functional expressions
  689. \command{%
  690. Asy(\rpt{\parm{i}},\parm{e})\\\tt
  691. Sy(\rpt{\parm{i}},\parm{e})\\\tt
  692. Cy(\rpt{\parm{i}},\parm{e})}
  693. produces antisymmetrization, symmetrization and cyclic symmetrization
  694. of the expression \parm{e} with respect to \parm{i} (without
  695. corresponding $1/n$ or $1/n!$ etc). The switch {\tt EXPANDSYM} must
  696. be on.
  697. \subsection{\sf\slshape Substitutions}
  698. The expression
  699. \command{SUB(\rpt{\parm{sub}},\parm{e})}
  700. is similar to the analogous {\sc Reduce} one with two
  701. generalizations: (i) it applies not only to algebraic
  702. but to form and vector valued expression \parm{e} as well,
  703. (ii) as in {\tt Let} command \parm{sub} can be either
  704. the relation {\tt \parm{l}\,=\,\parm{r}} or solution
  705. {\tt Sub(\parm{n})}.
  706. \subsection{\sf\slshape Conditional Expressions}
  707. The conditional expression
  708. \command{If(\parm{cond},\parm{$e_1$},\parm{$e_2$})}
  709. chooses $e_1$ or $e_2$ depending on the value of the
  710. boolean expression \parm{cond}.
  711. Boolean expression appears in (i) the conditional expression
  712. {\tt If}, (ii) in {\tt For all Such That} substitutions.
  713. Any nonzero expression is considered as {\bf true} and
  714. vanishing expression as {\bf false}. Boolean expressions
  715. may contain the following usual relations and logical
  716. operations: {\tt < > <= >= = |= not and or}. They also may
  717. contain the predicates
  718. \begin{tabular}{|l|l|}
  719. \hline
  720. \tt OBJECT(\parm{obj}) & Is \parm{obj} an object or not \\
  721. \hline
  722. \tt ON(\parm{switch}) & Test position of the \parm{switch} \\
  723. \tt OFF(\parm{switch}) & \\
  724. \hline
  725. \tt ZERO(\parm{object}) & Is the value of the \parm{object} zero or not \\
  726. \hline
  727. \tt HASVALUE(\parm{object}) & Whether the \parm{object} has any value or not \\
  728. \hline
  729. \tt NULLM(\parm{object}) & Is the \parm{object} the standard null metric \\
  730. \hline
  731. \end{tabular}
  732. The expression \comm{ERROR("\parm{message}")} causes an error
  733. with the \comm{"\parm{message}"}. It can be used together with
  734. conditional expressions to test any required conditions during
  735. the batch file execution.
  736. \newpage
  737. \section{\LARGE\sf\slshape Macro Objects}
  738. \chead{\slshape Objects}
  739. Macro objects can be used in expression, in {\tt Write} and
  740. {\tt Show} commands but not in {\tt Find}. The indices are
  741. specified as in the {\tt New Object} declaration.
  742. \subsection{\sf\slshape Dimension and Signature}
  743. \begin{tabular}{|l|l|}
  744. \hline
  745. \tt dim & Dimension $d$ \\
  746. \hline
  747. \tt sdiag.idim & {\tt sdiag(\parm{n})} is the $n$'th element of the \\
  748. & signature diag($-1,+1$\dots) \\
  749. \hline
  750. \tt sign & Product of the signature specification \\
  751. \tt sgnt & elements $\prod_{n=0}^{d-1}\mbox{\tt sdiag(}n\mbox{\tt)}$ \\[1mm]
  752. \hline
  753. \tt mpsgn & {\tt sdiag(0)} \\
  754. \tt pmsgn & {\tt -sdiag(0)} \\
  755. \hline
  756. \end{tabular}
  757. \subsection{\sf\slshape Metric and Frame}
  758. \begin{tabular}{|l|l|}
  759. \hline
  760. \tt x\^m & $m$'th coordinate \\
  761. \tt X\^m & \\
  762. \hline
  763. \tt h'a\_m & Frame coefficients \\
  764. \tt hi.a\^m & \\
  765. \hline
  766. \tt g\_m\_n & Holonomic metric \\
  767. \tt gi\^m\^n & \\
  768. \hline
  769. \end{tabular}
  770. \subsection{\sf\slshape Delta and Epsilon Symbols}
  771. \begin{tabular}{|l|l|}
  772. \hline
  773. \tt del'a.b & Delta symbols \\
  774. \tt delh\^m\_n & \\
  775. \hline
  776. \tt eps.a.b.c.d & Totally antisymmetric symbols \\
  777. \tt epsi'a'b'c'd & (number of indices depend on $d$) \\
  778. \tt epsh\_m\_n\_p\_q & \\
  779. \tt epsih\^m\^n\^p\^q & \\
  780. \hline
  781. \end{tabular}
  782. \subsection{\sf\slshape Spinors}
  783. \begin{tabular}{|l|l|}
  784. \hline
  785. \tt DEL'A.B & Delta symbol \\
  786. \hline
  787. \tt EPS.A.B & Spinorial metric \\
  788. \tt EPSI'A'B & \\
  789. \hline
  790. \tt sigma'a.A.B\cc & Sigma matrices \\
  791. \tt sigmai.a'A'B\cc & \\
  792. \hline
  793. \tt cci.i3 & Frame index conjugation in st. null frame \\
  794. & {\tt cci(0)=0}\ {\tt cci(1)=1}\ {\tt cci(2)=3}\ {\tt cci(3)=2} \\
  795. \hline
  796. \end{tabular}
  797. \subsection{\sf\slshape Connection Coefficients}
  798. \begin{tabular}{|l|l|}
  799. \hline
  800. \tt CHR\^m\_n\_p & Christoffel symbols $\{{}^\mu_{\nu\pi}\}$ \\
  801. \tt CHRF\_m\_n\_p & and $[{}_{\mu},_{\nu\pi}]$ \\
  802. \tt CHRT\_m & Christoffel symbol trace $\{{}^\pi_{\pi\mu}\}$ \\
  803. \hline
  804. \tt SPCOEF.AB.c & Spin coefficients $\omega_{AB\,c}$ \\
  805. \hline
  806. \end{tabular}
  807. \subsection{\sf\slshape NP Formalism}
  808. \begin{tabular}{|l|c|}
  809. \hline
  810. \tt PHINP.AB.CD~ & $\Phi_{AB\dot{C}\dot{D}}$ \\
  811. \tt PSINP.ABCD & $\Psi_{ABCD}$ \\
  812. \hline
  813. \tt alphanp & $\alpha$ \\
  814. \tt betanp & $\beta$ \\
  815. \tt gammanp & $\gamma$ \\
  816. \tt epsilonnp & $\epsilon$ \\
  817. \tt kappanp & $\kappa$ \\
  818. \tt rhonp & $\rho$ \\
  819. \tt sigmanp & $\sigma$ \\
  820. \tt taunp & $\tau$ \\
  821. \tt munp & $\mu$ \\
  822. \tt nunp & $\nu$ \\
  823. \tt lambdanp & $\lambda$ \\
  824. \tt pinp & $\pi$ \\
  825. \hline
  826. \tt DD & $D$ \\
  827. \tt DT & $\Delta$ \\
  828. \tt du & $\delta$ \\
  829. \tt dd & $\overline\delta$ \\
  830. \hline
  831. \end{tabular}
  832. \section{\LARGE\sf\slshape Built-in Objects}
  833. \tabcolsep=1mm
  834. The complete list of built-in objects with names and symbols.
  835. The case of the object names is not important but symbols
  836. are case sensitive. The indices are specified as in the
  837. {\tt New Object} declaration. Some names refer to a set
  838. of objects. For example the name {\tt Spinorial S - forms}
  839. denotes {\tt SU.AB} and {\tt SD.AB~}.
  840. \subsection{\sf\slshape Metric, Frame, Basis, Volume \dots}
  841. \begin{tabular}{|l|l|}\hline
  842. \tt Frame &\tt T'a\\
  843. \tt Vector Frame &\tt D.a\\
  844. \hline
  845. \tt Metric &\tt G.a.b\\
  846. \tt Inverse Metric &\tt GI'a'b\\
  847. \tt Det of Metric &\tt detG\\
  848. \tt Det of Holonomic Metric &\tt detg\\
  849. \tt Sqrt Det of Metric &\tt sdetG\\
  850. \hline
  851. \tt Volume &\tt VOL\\
  852. \hline
  853. \tt Basis &\tt b'idim \\
  854. \tt Vector Basis &\tt e.idim \\
  855. \hline
  856. \tt S-forms &\tt S'a'b\\
  857. \hline
  858. \multicolumn{2}{|c|}{\tt Spinorial S-forms} \\
  859. \tt Undotted S-forms &\tt SU.AB\\
  860. \tt Dotted S-forms &\tt SD.AB\cc\\
  861. \hline\end{tabular}
  862. \subsection{\sf\slshape Rotation Matrices}
  863. \begin{tabular}{|l|l|}\hline
  864. \tt Frame Transformation &\tt L'a.b \\
  865. \tt Spinorial Transformation &\tt LS.A'B \\
  866. \hline\end{tabular}
  867. \subsection{\sf\slshape Connection and related objects}
  868. \begin{tabular}{|l|l|}\hline
  869. \tt Frame Connection &\tt omega'a.b\\
  870. \tt Holonomic Connection &\tt GAMMA\^m\_n\\
  871. \hline
  872. \multicolumn{2}{|c|}{\tt Spinorial Connection}\\
  873. \tt Undotted Connection &\tt omegau.AB\\
  874. \tt Dotted Connection &\tt omegad.AB\cc\\
  875. \hline
  876. \tt Riemann Frame Connection &\tt romega'a.b\\
  877. \tt Riemann Holonomic Connection &\tt RGAMMA\^m\_n\\
  878. \hline
  879. \multicolumn{2}{|c|}{\tt Riemann Spinorial Connection}\\
  880. \tt Riemann Undotted Connection &\tt romegau.AB\\
  881. \tt Riemann Dotted Connection &\tt romegad.AB\cc\\
  882. \hline
  883. \tt Connection Defect &\tt K'a.b\\
  884. \hline\end{tabular}
  885. \subsection{\sf\slshape Torsion}
  886. \begin{tabular}{|l|l|}\hline
  887. \tt Torsion &\tt THETA'a\\
  888. \tt Contorsion &\tt KQ'a.b\\
  889. \tt Torsion Trace 1-form &\tt QQ\\
  890. \tt Antisymmetric Torsion 3-form &\tt QQA\\
  891. \hline
  892. \multicolumn{2}{|c|}{\tt Spinorial Contorsion}\\
  893. \tt Undotted Contorsion &\tt KU.AB\\
  894. \tt Dotted Contorsion &\tt KD.AB\cc\\
  895. \hline
  896. \multicolumn{2}{|c|}{\tt Torsion Spinors }\\
  897. \multicolumn{2}{|c|}{\tt Torsion Components }\\
  898. \tt Torsion Trace &\tt QT'a\\
  899. \tt Torsion Pseudo Trace &\tt QP'a\\
  900. \tt Traceless Torsion Spinor &\tt QC.ABC.D\cc\\
  901. \hline
  902. \multicolumn{2}{|c|}{\tt Torsion 2-forms}\\
  903. \tt Traceless Torsion 2-form &\tt THQC'a\\
  904. \tt Torsion Trace 2-form &\tt THQT'a\\
  905. \tt Antisymmetric Torsion 2-form &\tt THQA'a\\
  906. \hline
  907. \multicolumn{2}{|c|}{\tt Undotted Torsion 2-forms}\\
  908. \tt Undotted Torsion Trace 2-form &\tt THQTU'a\\
  909. \tt Undotted Antisymmetric Torsion 2-form &\tt THQAU'a\\
  910. \tt Undotted Traceless Torsion 2-form &\tt THQCU'a\\
  911. \hline\end{tabular}
  912. \subsection{\sf\slshape Nonmetricity}
  913. \begin{tabular}{|l|l|}\hline
  914. \tt Nonmetricity &\tt N.a.b\\
  915. \tt Nonmetricity Defect &\tt KN'a.b\\
  916. \tt Weyl Vector &\tt NNW\\
  917. \tt Nonmetricity Trace &\tt NNT\\
  918. \hline
  919. \multicolumn{2}{|c|}{\tt Nonmetricity 1-forms}\\
  920. \tt Symmetric Nonmetricity 1-form &\tt NC.a.b\\
  921. \tt Antisymmetric Nonmetricity 1-form &\tt NA.a.b\\
  922. \tt Nonmetricity Trace 1-form &\tt NT.a.b\\
  923. \tt Weyl Nonmetricity 1-form &\tt NW.a.b\\
  924. \hline\end{tabular}
  925. \subsection{\sf\slshape Curvature}
  926. \begin{tabular}{|l|l|}\hline
  927. \tt Curvature &\tt OMEGA'a.b\\
  928. \hline
  929. \multicolumn{2}{|c|}{\tt Spinorial Curvature}\\
  930. \tt Undotted Curvature &\tt OMEGAU.AB\\
  931. \tt Dotted Curvature &\tt OMEGAD.AB\cc\\
  932. \hline
  933. \tt Riemann Tensor &\tt RIM'a.b.c.d\\
  934. \tt Ricci Tensor &\tt RIC.a.b\\
  935. \tt A-Ricci Tensor &\tt RICA.a.b\\
  936. \tt S-Ricci Tensor &\tt RICS.a.b\\
  937. \tt Homothetic Curvature &\tt OMEGAH\\
  938. \tt Einstein Tensor &\tt GT.a.b\\
  939. \hline
  940. \multicolumn{2}{|c|}{\tt Curvature Spinors}\\
  941. \multicolumn{2}{|c|}{\tt Curvature Components}\\
  942. \tt Weyl Spinor &\tt RW.ABCD\\
  943. \tt Traceless Ricci Spinor &\tt RC.AB.CD\cc\\
  944. \tt Scalar Curvature &\tt RR\\
  945. \tt Ricanti Spinor &\tt RA.AB\\
  946. \tt Traceless Deviation Spinor &\tt RB.AB.CD\cc\\
  947. \tt Scalar Deviation &\tt RD\\
  948. \hline
  949. \multicolumn{2}{|c|}{\tt Undotted Curvature 2-forms}\\
  950. \tt Undotted Weyl 2-form &\tt OMWU.AB \\
  951. \tt Undotted Traceless Ricci 2-form &\tt OMCU.AB \\
  952. \tt Undotted Scalar Curvature 2-form &\tt OMRU.AB \\
  953. \tt Undotted Ricanti 2-form &\tt OMAU.AB \\
  954. \tt Undotted Traceless Deviation 2-form &\tt OMBU.AB \\
  955. \tt Undotted Scalar Deviation 2-form &\tt OMDU.AB \\
  956. \hline
  957. \multicolumn{2}{|c|}{\tt Curvature 2-forms}\\
  958. \tt Weyl 2-form &\tt OMW.a.b \\
  959. \tt Traceless Ricci 2-form &\tt OMC.a.b \\
  960. \tt Scalar Curvature 2-form &\tt OMR.a.b \\
  961. \tt Ricanti 2-form &\tt OMA.a.b \\
  962. \tt Traceless Deviation 2-form &\tt OMB.a.b \\
  963. \tt Antisymmetric Curvature 2-form &\tt OMD.a.b \\
  964. \tt Homothetic Curvature 2-form &\tt OSH.a.b \\
  965. \tt Antisymmetric S-Ricci 2-form &\tt OSA.a.b \\
  966. \tt Traceless S-Ricci 2-form &\tt OSC.a.b \\
  967. \tt Antisymmetric S-Curvature 2-form &\tt OSV.a.b \\
  968. \tt Symmetric S-Curvature 2-form &\tt OSU.a.b \\
  969. \hline
  970. \end{tabular}
  971. \subsection{\sf\slshape EM field}
  972. \begin{tabular}{|l|l|}\hline
  973. \tt EM Potential &\tt A\\
  974. \tt Current 1-form &\tt J\\
  975. \tt EM Action &\tt EMACT\\
  976. \tt EM 2-form &\tt FF\\
  977. \tt EM Tensor &\tt FT.a.b\\
  978. \hline
  979. \multicolumn{2}{|c|}{\tt Maxwell Equations}\\
  980. \tt First Maxwell Equation &\tt MWFq\\
  981. \tt Second Maxwell Equation &\tt MWSq\\
  982. \hline
  983. \tt Continuity Equation &\tt COq\\
  984. \tt EM Energy-Momentum Tensor &\tt TEM.a.b\\
  985. \hline
  986. \multicolumn{2}{|c|}{\tt EM Scalars}\\
  987. \tt First EM Scalar &\tt SCF\\
  988. \tt Second EM Scalar &\tt SCS\\
  989. \hline
  990. \tt Selfduality Equation &\tt SDq.AB\cc\\
  991. \tt Complex EM 2-form &\tt FFU\\
  992. \tt Complex Maxwell Equation &\tt MWUq\\
  993. \tt Undotted EM Spinor &\tt FIU.AB\\
  994. \tt Complex EM Scalar &\tt SCU\\
  995. \tt EM Energy-Momentum Spinor &\tt TEMS.AB.CD\cc\\
  996. \hline\end{tabular}
  997. \subsection{\sf\slshape Scalar field}
  998. \begin{tabular}{|l|l|}\hline
  999. \tt Scalar Equation &\tt SCq\\
  1000. \tt Scalar Field &\tt FI\\
  1001. \tt Scalar Action &\tt SACT\\
  1002. \tt Minimal Scalar Action &\tt SACTMIN\\
  1003. \tt Minimal Scalar Energy-Momentum Tensor &\tt TSCLMIN.a.b\\
  1004. \hline\end{tabular}
  1005. \subsection{\sf\slshape YM field}
  1006. \begin{tabular}{|l|l|}\hline
  1007. \tt YM Potential &\tt AYM.i9\\
  1008. \tt Structural Constants &\tt SCONST.i9.j9.k9\\
  1009. \tt YM Action &\tt YMACT\\
  1010. \tt YM 2-form &\tt FFYM.i9\\
  1011. \tt YM Tensor &\tt FTYM.i9.a.b\\
  1012. \hline
  1013. \multicolumn{2}{|c|}{\tt YM Equations}\\
  1014. \tt First YM Equation &\tt YMFq.i9\\
  1015. \tt Second YM Equation &\tt YMSq.i9\\
  1016. \hline
  1017. \tt YM Energy-Momentum Tensor &\tt TYM.a.b\\
  1018. \hline\end{tabular}
  1019. \subsection{\sf\slshape Dirac field}
  1020. \begin{tabular}{|l|l|}\hline
  1021. \multicolumn{2}{|c|}{\tt Dirac Spinor}\\
  1022. \tt Phi Spinor &\tt PHI.A\\
  1023. \tt Chi Spinor &\tt CHI.B\\
  1024. \hline
  1025. \tt Dirac Action 4-form &\tt DACT\\
  1026. \tt Undotted Dirac Spin 3-Form &\tt SPDIU.AB\\
  1027. \tt Dirac Energy-Momentum Tensor &\tt TDI.a.b\\
  1028. \hline
  1029. \multicolumn{2}{|c|}{\tt Dirac Equation}\\
  1030. \tt Phi Dirac Equation &\tt DPq.A\cc\\
  1031. \tt Chi Dirac Equation &\tt DCq.A\cc\\
  1032. \hline\end{tabular}
  1033. \subsection{\sf\slshape Geodesics}
  1034. \begin{tabular}{|l|l|}\hline
  1035. \tt Geodesic Equation &\tt GEOq\^m\\
  1036. \hline\end{tabular}
  1037. \subsection{\sf\slshape Null Congruence}
  1038. \begin{tabular}{|l|l|}\hline
  1039. \tt Congruence &\tt KV\\
  1040. \tt Null Congruence Condition &\tt NCo\\
  1041. \tt Geodesics Congruence Condition&\tt GCo'a\\
  1042. \hline
  1043. \multicolumn{2}{|c|}{\tt Optical Scalars}\\
  1044. \tt Congruence Expansion &\tt thetaO\\
  1045. \tt Congruence Squared Rotation &\tt omegaSQO\\
  1046. \tt Congruence Squared Shear &\tt sigmaSQO\\
  1047. \hline\end{tabular}
  1048. \subsection{\sf\slshape Kinematics}
  1049. \begin{tabular}{|l|l|}\hline
  1050. \tt Velocity Vector &\tt UV\\
  1051. \tt Velocity &\tt UU'a\\
  1052. \tt Velocity Square &\tt USQ\\
  1053. \tt Projector &\tt PR'a.b\\
  1054. \hline
  1055. \multicolumn{2}{|c|}{\tt Kinematics}\\
  1056. \tt Acceleration &\tt accU'a\\
  1057. \tt Vorticity &\tt omegaU.a.b\\
  1058. \tt Volume Expansion &\tt thetaU\\
  1059. \tt Shear &\tt sigmaU.a.b\\
  1060. \hline\end{tabular}
  1061. \subsection{\sf\slshape Ideal and Spin Fluid}
  1062. \begin{tabular}{|l|l|}\hline
  1063. \tt Pressure &\tt PRES\\
  1064. \tt Energy Density &\tt ENER\\
  1065. \tt Ideal Fluid Energy-Momentum Tensor &\tt TIFL.a.b\\
  1066. \hline
  1067. \tt Spin Fluid Energy-Momentum Tensor &\tt TSFL.a.b \\
  1068. \tt Spin Density &\tt SPFLT.a.b \\
  1069. \tt Spin Density 2-form &\tt SPFL \\
  1070. \tt Undotted Fluid Spin 3-form &\tt SPFLU.AB \\
  1071. \tt Frenkel Condition &\tt FCo \\
  1072. \hline\end{tabular}
  1073. \subsection{\sf\slshape Total Energy-Momentum and Spin}
  1074. \begin{tabular}{|l|l|}\hline
  1075. \tt Total Energy-Momentum Tensor &\tt TENMOM.a.b\\
  1076. \tt Total Energy-Momentum Spinor &\tt TENMOMS.AB.CD\cc\\
  1077. \tt Total Energy-Momentum Trace &\tt TENMOMT\\
  1078. \tt Total Undotted Spin 3-form &\tt SPINU.AB\\
  1079. \hline\end{tabular}
  1080. \subsection{\sf\slshape Einstein Equations}
  1081. \begin{tabular}{|l|l|}\hline
  1082. \tt Einstein Equation &\tt EEq.a.b\\
  1083. \hline
  1084. \multicolumn{2}{|c|}{\tt Spinor Einstein Equations}\\
  1085. \tt Traceless Einstein Equation &\tt CEEq.AB.CD\cc\\
  1086. \tt Trace of Einstein Equation &\tt TEEq\\
  1087. \hline\end{tabular}
  1088. \subsection{\sf\slshape Constants}
  1089. \begin{tabular}{|l|l|}\hline
  1090. \tt A-Constants &\tt ACONST.i2\\
  1091. \tt L-Constants &\tt LCONST.i6\\
  1092. \tt M-Constants &\tt MCONST.i3\\
  1093. \hline\end{tabular}
  1094. \subsection{\sf\slshape Gravitational Equations}
  1095. \begin{tabular}{|l|l|}\hline
  1096. \tt Action &\tt LACT\\
  1097. \tt Undotted Curvature Momentum &\tt POMEGAU.AB\\
  1098. \tt Torsion Momentum &\tt PTHETA'a\\
  1099. \hline
  1100. \multicolumn{2}{|c|}{\tt Gravitational Equations}\\
  1101. \tt Metric Equation &\tt METRq.a.b\\
  1102. \tt Torsion Equation &\tt TORSq.AB\\
  1103. \hline\end{tabular}
  1104. \end{document}
  1105. %======== End of guide32.tex ============================================%