aboutsummaryrefslogtreecommitdiff
path: root/src/input/magma.input.pamphlet
blob: c4ecc934a80f8645737aa3aac33378daafe6e226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input MAGMA.input}
\author{Michel Petitot}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
<<*>>=
)cl all

x:Symbol :='x
y:Symbol :='y
z:Symbol :='z
word := OrderedFreeMonoid(Symbol)
tree := Magma(Symbol)
a:tree := x*x
b:tree := y*y
c:tree := a*b
left c
right c
length c
c::word
a < b
a < c
b < c
first c
rest c
rest rest c
ax:tree := a*x
xa:tree := x*a
xa < ax
lexico(xa,ax)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}