In this chapter we give a very brief overview on morphisms of sesquilinear and quadratic forms. The reader can find more in the texts: Cameron [Cam00], Taylor [Tay92], Aschbacher [Asc00], or Kleidman and Liebeck [KL90].

In this chapter we consider an \(n\)-dimensional vector space \(V\) over a finite field. Suppose that \(f\) is a sesquilinear form or a quadratic form on \(V\), then we call the pair \((V,f)\) a *formed vector space*.

Consider two formed vector spaces \((V,f)\) and \((W,g)\) over the same field \(F\), where both \(f\) and \(g\) are sesquilinear forms. Suppose that \(\phi\) is a linear map from \(V\) to \(W\). The map \(\phi\) is an *isometry* from the formed space \((V,f)\) to the formed space \((W,g)\) if for all \(v,w \in V\) we have

\[ f(v,w) = f'(\phi(v), \phi(w)). \]

The map \(\phi\) is a *similarity* from the formed space \((V,f)\) to the formed space \((W,g)\) if for all \(v,w \in V\) we have

\[ f(v,w) = \lambda f'(\phi(v), \phi(w)). \]

for some non-zero \(\lambda \in F\). Finally, the map \(\phi\) is a *semi-similarity* from the formed space \((V,f)\) to the formed space \((W,g)\) if for all \(v,w\) in \(V\) we have

\[ f(v,w) = \lambda f'(\phi(v), \phi(w))^\alpha \]

for some non-zero \(λ\) in \(F\) and a field automorphism \(\alpha\) of \(F\).

One of the objectives of studying maps between formed vector spaces is the classification of sesquilinear forms on a vector space \(V\), where it is sufficient to classify non-degenerate forms. The following results are well known.

It can be proved that (see for example Section 6.3 of [Cam00]):

all non-degenerate alternating forms of a given vector space over a given finite field are similar,

all non-degenerate hermitian forms of a given vector space over a given finite field are similar, and,

the non-degenerate symmetric bilinear forms on a vector space over a field with odd characteristic come in three flavours, two of which occur when the dimension of the vector space is even, one of which occurs when the dimension of the vector space is odd.

In principle, within each similarity class, different isometry classes can occur, but we will see that in most cases, each similarity class contains exactly one isometry class.

Given a sesquilinear form \(f\) over a vector space \(V\), **Forms** provides functionality to compute the linear map φ from \(V\) to itself (or, equivalently, a matrix describing a change of basis), such that \(f\) is mapped to its canonical representative in its isometry class. In the next sections, we describe the representative(s) of the similarity class(es) used in **Forms**, and, when necessary, the different isometry classes, for each of the three reflexive sesquilinear forms. The easiest cases are the hermitian and alternating cases.

We suppose that \(f\) is a non-degenerate hermitian form on a vector space \(V\) over the finite field \(F\), with involutory field automorphism \(\alpha\). It can be proved (see [KL90]) that any vector space equipped with a non-degenerate hermitian form \(f\) contains an orthogonal basis such that \(f(e_i,e_i)=1\) for each basisvector \(e_i\). Hence \((V,f)\) is isometric with \((V,f')\) with \(f'\) the non-degenerate hermitian form with the identity matrix over \(F\). The Witt index of \(f\) equals \(\frac{n}{2}\) when \(n\) is even and \(\frac{n-1}{2}\) when \(n\) is odd.

We suppose that \(f\) is a non-degenerate alternating bilinear form on a vector space \(V\) over a finite field \(F\). As already mentioned in Section 3.1, non-degenerate alternating forms only exist on even dimensional vector spaces. Restricting to a two dimensional vector space, it is clear immediately that the Gram matrix of \(f\) must be

\[\left( \begin{array}{cc}0 & r \\ -r & 0 \end{array} \right)\]

for some non-zero \(r \in F\). If we rescale one of the basisvectors, which induces an isometry, then we see that there always exists a basis such that \(r=1\). We call a two dimensional vector space equipped with a non-degenerate alternating form a *symplectic hyperbolic line*, and it is proved (see Theorem 6.7 of [Cam00]) that the formed space \((V,f)\) can be written as an orthogonal direct sum of symplectic hyperbolic planes. Hence, up to isometry, there is only one non-degenerate alternating form of an even dimensional vector space, and we choose as canonical representative the alternating form with Gram matrix

\[\left( \begin{array}{ccccccc} 0 & 1 & 0 & 0 & \ldots & 0 & 0 \\ -1 & 0 & 0 & 0 & \ldots & 0 & 0 \\ 0 & 0 & 0 & 1 & \ldots & 0 & 0 \\ 0 & 0 & -1 & 0 & \ldots & 0 & 0 \\ \vdots & \vdots & \vdots & \vdots & \ddots & \vdots & \vdots \\ 0 & 0 & 0 & 0 & \ldots & 0 & 1 \\ 0 & 0 & 0 & 0 & \ldots & -1 & 0 \\ \end{array} \right).\]

The Witt index of \(f\) equals \(\frac{n}{2}\) .

We suppose that \(f\) is a non-degenerate symmetric bilinear form on a vector space \(V\) over a finite field \(F\) with odd characteristic. We call a two dimensional vector space a *hyperbolic line* if it contains a non-zero vector \(v\) such that \(f(v,v) = 0\). It is proved (see Proposition 6.9 of [Cam00]) that any two hyperbolic lines are isometric, and we choose as canonical representative the orthogonal form with Gram matrix

\[\left( \begin{array}{cc}0 & 1 \\ 1 & 0 \end{array} \right).\]

It can be proved (see Theorem 6.10 of [Cam00]) that the formed space \((V,f)\) can be written as the orthogonal direct sum of hyperbolic lines and one subspace \(U\) of dimension at most two. The behaviour of \(f\) on the subspace \(U\) determines the similarity class of \(f\). We describe the three occurring cases, to describe the chosen canonical form, we use the polynomial rather than the Gram matrix.

If the dimension of \(U\) is zero, then \((V,f)\) is the orthogonal direct sum of hyperbolic lines, and hence \((V,f)\) is isometric to the formed space \((V,f')\), where the Gram matrix of \(f'\) consists of blocks as described above. The chosen canonical form has polynomial

\[x_1 x_2 + \ldots + x_{n-1}x_n\]

Note that the dimension of the vector space \(V\) is necessarily even. We call \(f\)

*hyperbolic*(see also Section 3.1). It follows also that in this similarity class, there is only one isometry class. The Witt index of \(f\) equals \(\frac{n}{2}\) .If the dimension of \(U\) is one, then necessarily the polynomial of \(f\) equals

\[\mu x_1^2 + x_2 x_3 + \ldots + x_{n-1}x_n\]

for some \(\mu \in F\), and the dimension of the vector space \(V\) is odd. We call \(f\)

*parabolic*(see also Section 3.1). It is clear that if \(\mu\) is a square in \(F\), then rescaling the first basis vector yields a polynomial\[x_1^2 + x_2 x_3 + \ldots + x_{n-1}x_n\]

which we choose as the canonical form for this similarity class. If \(\mu\) is a non-square, a rescaling of \(x_2,x_4,\ldots,x_{n-1}\) yields a polynomial

\[\mu (x_1^2 + x_2 x_3 + \ldots + x_{n-1}x_n)\]

which represents now a bilinear form that is

**similar but not isometric**to the given one. Hence, the parabolic similarity class contains two isometry classes. The Witt index of \(f\) equals \(\frac{n-1}{2}\) .Suppose at last that the dimension of \(U\) is two. We may suppose that \(U\) is not a hyperbolic line. It is not too difficult to see that a suitable base change yields the polynomial

\[\mu x_1^2 + x_2^2 + x_3 x_4 + \ldots + x_{n-1}x_n\]

for a non-square \(\mu \in F\), and the dimension of the vector space \(V\) is even. We call \(f\)

*elliptic*. The Witt index of \(f\) equals \(\frac{n-2}{2}\) .

Suppose that \(f\) is a degenerate sesquilinear form on the vector space \(V\), then \(\mathrm{Rad}(f)\) is a non-trivial subspace of the vector space \(V\). The vector space \(V\) can be written as the orthogonal direct sum of a subspace \(W\) and \(\mathrm{Rad}(f)\), and the restriction of \(f\) to \(W\) is a non-degenerate sesquilinear form on \(W\). Hence, \(f\) is isometric with a sesquilinear form having Gram matrix

\[\left( \begin{array}{cc} M & A \\ B & C \end{array} \right)\]

where \(M\) is the Gram matrix of a non-degenerate sesquilinear form and \(A,B\) and \(C\) are appropriate zero matrices. As explained in Section 3.1, the form \(f\) induces a non-degenerate form \(g\) on the vector space \(V/\mathrm{Rad}(f)\). The computed matrix \(M\) can be taken as Gram matrix for the form \(g\). As defined in Section 3.1, the Witt index of the degenerate form \(f\) is the Witt index of the non-degenerate inducedform \(g\). The dimension of the maximal isotropic subspaces with relation to \(f\) is the sum of the Witt index and the dimension of the radical.

Consider two formed vector spaces \((V,f)\) and \((W,g)\) over the same field \(F\), where both \(f\) and \(g\) are quadratic forms. Suppose that φ is a linear map from \(V\) to \(W\). The map φ is an *isometry* from the formed space \((V,f)\) to the formed space \((W,g)\) if for all \(v,w\) in \(V\) we have

\[ f(v) = f'(\phi(v)). \]

The map \(\phi\) is a *similarity* from the formed space \((V,f)\) to a formed space \((W,g)\) if for all \(v,w\) in \(V\) we have

\[ f(v) = \lambda f'(\phi(v)). \]

for some non-zero \(\lambda \in F\). Finally, the map \(\phi\) is a *semi-similarity* from the formed space \((V,f)\) to the formed space \((W,g)\) if for all \(v,w\) in \(V\) we have

\[ f(v)=\lambda f'(\phi(v))^\alpha \]

for some non-zero \(\lambda \in F\) and a field automorphism \(\alpha\) of \(F\).

Also in this case, one of the objectives of studying maps between formed vector spaces is the classification of quadratic forms of the same vector space \(V\), where it is sufficient to classify non-singular forms.

Since there is a one-to-one relationship between quadratic forms in odd characteristic and orthogonal bilinear forms in odd characteristic, we suppose in this section that \(f\) is a quadratic form in even characteristic. We call a two dimensional vector space a *hyperbolic line* if it contains a non-zero vector such that \(f(v) = 0\). It is proved (see Proposition 6.9 of [Cam00]) that any two hyperbolic lines are isometric, and we choose as canonical representative the quadratic form with polynomial \(x_1 x_2\). As in the case of the orthogonal bilinear forms, it can be proved (see Theorem 6.10 of [Cam00]) that \((V,f)\) can be written as the orthogonal direct sum of hyperbolic lines and one subspace \(U\) of dimension at most two. The behaviour of \(f\) on the subspace \(U\) determines the similarity class of \(f\). The classification of quadratic forms in even characteristic is analogous to the one in odd characteristic.

If the dimension of \(U\) is zero, then \((V,f)\) is the orthogonal direct sum of hyperbolic lines, and hence \((V,f)\) is isometric to the formed space \((V,f')\), with polynomial

\[x_1 x_2 + \ldots + x_{n-1}x_n,\]

which is chosen as the canonical form. Note that the dimension of the vector space \(V\) is necessarily even. We call \(f\)

*hyperbolic*(see also Section 3.1). It follows also that in this similarity class, there is only one isometry class. The Witt index of \(f\) equals \(\frac{n}{2}\).If the dimension of \(U\) is one, then necessarily the polynomial of \(f\) equals

\[ \mu x_1^2 + x_2 x_3 + \ldots + x_{n-1}x_n \]

for some \(\mu \in F\), and the dimension of the vector space \(V\) is odd. We call \(f\)

*parabolic*(see also Section 3.1). Since every element is a square in even characteristic, rescaling the first basis vector yields \(\mu=1\) The Witt index of \(f\) equals \(\frac{n-1}{2}\).Suppose at last that the dimension of \(U\) is two. We may suppose that \(U\) is not a hyperbolic line. It is not difficult to see that a suitable base change yields the polynomial

\[ d x_1^2 + x_1x_2 + x_2^2 + x_3 x_4 + \ldots + x_{n-1}x_n \]

for an element of category 1, this is, an element \(d\) such that \(\mathrm{Tr}(d)=1\) with \(\mathrm{Tr}\) the trace map from \(F\) to \(\mathrm{GF}(2)\). Furthermore, an easy argument shows that an appropriate base change allows to choose any element of category 1 for \(d\). It follows also that the dimension of the vector space \(V\) is even. We call \(f\)

*elliptic*(see also Section 3.1). The Witt index of \(f\) equals \(\frac{n-2}{2}\).

Hence, non-singular quadratic forms in even characteristic come in three similarity classes, which is analogous to the odd characteristic case, and each similarity class contains only one isometry class, which is different than in the odd characteristic case

Suppose that \(f\) is a singular quadratic form on the \(n\)-dimensional vector space \(V\), then \(\mathrm{Rad}(f)\) is a non-trivial subspace of the vector space \(V\). The vector space \(V\) can be written as the orthogonal direct sum of a subspace \(W\) and \(\mathrm{Rad}(f)\), and the restriction of \(f\) to \(W\) is a non-singular quadratic form on \(W\). Hence, \(f\) is isometric with a quadratic form with one of the three above polynomials. The dimension of the maximal isotropic subspaces is the sum of the Witt index and the dimension of the radical.

Suppose that \(f\) is a singular quadratic form on the vector space \(V\), then \(\mathrm{Rad}(f)\) is a non-trivial subspace of the vector space \(V\). The vector space \(V\) can be written as the orthogonal direct sum of a subspace \(W\) and \(\mathrm{Rad}(f)\), and the restriction of \(f\) to \(W\) is a non-singular quadratic form on \(W\). Hence, \(f\) is isometric with a quadratic form having Gram matrix

\[\left( \begin{array}{cc} M & A \\ B & C \end{array} \right)\]

where \(M\) is the Gram matrix of a non-singular quadratic form and \(A,B\) and \(C\) are appropriate zero matrices. As explained in Section 3.2, the form \(f\) induces a non-singular form \(g\) on the vector space \(V/\mathrm{Rad}(f)\). The computed matrix \(M\) can be taken as Gram matrix for the form \(g\). As defined in Section 3.2, the Witt index of the singular form \(f\) is the Witt index of the non-singular induced form \(g\). The dimension of the maximal isotropic subspaces with relation to \(f\) is the sum of the Witt index and the dimension of the radical.

`‣ BaseChangeToCanonical` ( f ) | ( attribute ) |

Returns: a transition matrix \(b\) from one basis to another

The argument `f` is a sesquilinear or quadratic form. For every isometry class of forms, there is a canonical representative, as described in Section 5.1. If \(M\) is the Gram matrix of the form `f`, then this method returns an invertible matrix \(b\) such that \(b M\) `TransposedMat`

\((b)\) (or \(b M\) `TransposedFrobeniusMat`

\((b, q)\) for suitable \(q\) if `f` is a hermitian form) is the Gram matrix of the canonical representative. That is, \(b\) is the *transition matrix* from a basis of the underlying vector space of `f` to another basis.

gap> gf := GF(3); GF(3) gap> gram := [ > [0,0,0,1,0,0], > [0,0,0,0,1,0], > [0,0,0,0,0,1], > [-1,0,0,0,0,0], > [0,-1,0,0,0,0], > [0,0,-1,0,0,0]] * One(gf);; gap> form := BilinearFormByMatrix( gram, gf ); < bilinear form > gap> b := BaseChangeToCanonical( form );; gap> Display( b * gram * TransposedMat(b) ); . 1 . . . . 2 . . . . . . . . 1 . . . . 2 . . . . . . . . 1 . . . . 2 .

`‣ BaseChangeHomomorphism` ( b, gf ) | ( operation ) |

Returns: the inner automorphism of \(\mathrm{GL}(d,q)\) associated to the transition matrix `b`.

The argument `b` must be an invertible matrix of size \(d\) over the finite field `gf` of order \(q\). This method returns the inner automorphism of \(\mathrm{GL}(d,q)\) induces by conjugation by \(b\).

gap> gl:=GL(3,3); GL(3,3) gap> go:=GO(3,3); GO(0,3,3) gap> form := PreservedSesquilinearForms(go)[1]; < bilinear form > gap> gram := GramMatrix( form ); [ [ 0*Z(3), Z(3), 0*Z(3) ], [ Z(3), 0*Z(3), 0*Z(3) ], [ 0*Z(3), 0*Z(3), Z(3)^0 ] ] gap> b := BaseChangeToCanonical(form);; gap> hom := BaseChangeHomomorphism(b, GF(3)); ^[ [ 0*Z(3), Z(3)^0, 0*Z(3) ], [ Z(3), Z(3), Z(3)^0 ], [ Z(3)^0, Z(3), 0*Z(3) ] ] gap> newgo := Image(hom, go); Group( [ [ [ Z(3)^0, Z(3)^0, 0*Z(3) ], [ 0*Z(3), Z(3), 0*Z(3) ], [ Z(3), Z(3)^0, Z(3) ] ], [ [ Z(3)^0, Z(3), 0*Z(3) ], [ Z(3), Z(3), Z(3)^0 ], [ 0*Z(3), Z(3)^0, 0*Z(3) ] ] ]) gap> gens := GeneratorsOfGroup(newgo);; gap> canonical := b * gram * TransposedMat(b); [ [ Z(3)^0, 0*Z(3), 0*Z(3) ], [ 0*Z(3), 0*Z(3), Z(3) ], [ 0*Z(3), Z(3), 0*Z(3) ] ] gap> ForAll(gens, y -> y * canonical * TransposedMat(y) = canonical); true

`‣ IsometricCanonicalForm` ( f ) | ( attribute ) |

Returns: the canonical form isometric to the sesquilinear or quadratic form `f`.

The argument `f` is a sesquilinear or quadratic form. For every isometry class of forms, there is a canonical representative, as described in Section 5.1, which is the returned form.

gap> mat := [ [ Z(8) , 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2) ], > [ 0*Z(2), Z(2)^0, Z(2^3)^5, 0*Z(2), 0*Z(2) ], > [ 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2) ], > [ 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2), Z(2)^0 ], > [ 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2), 0*Z(2) ] ];; gap> form := QuadraticFormByMatrix(mat,GF(8)); < quadratic form > gap> iso := IsometricCanonicalForm(form); < parabolic quadratic form > gap> Display(form); Parabolic quadratic form Gram Matrix: z = Z(8) z^1 . . . . . 1 z^5 . . . . . . . . . . . 1 . . . . . Witt Index: 2 gap> Display(iso); Parabolic quadratic form Gram Matrix: 1 . . . . . . 1 . . . . . . . . . . . 1 . . . . . Witt Index: 2

`‣ ScalarOfSimilarity` ( M, form ) | ( operation ) |

Returns: a finite field element

Recall that a similarity of a form \(f\) on a vector space \(V\), is a linear transformation \(g\) of \(V\) where there exists some nonzero scalar \(c\) such that for all \(v,w\) in \(V\),

\[f(u^g,v^g) = c f(u,v).\]

This operation finds for a particular matrix `M`, giving rise to a similarity of the sesquilinear form `form`, the said scalar \(c\).

gap> gram := [ [ 0*Z(3), Z(3)^0, 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3) ], > [ Z(3)^0, 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3) ], > [ 0*Z(3), 0*Z(3), 0*Z(3), Z(3)^0, 0*Z(3), 0*Z(3) ], > [ 0*Z(3), 0*Z(3), Z(3)^0, 0*Z(3), 0*Z(3), 0*Z(3) ], > [ 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), Z(3)^0 ], > [ 0*Z(3), 0*Z(3), 0*Z(3), 0*Z(3), Z(3)^0, 0*Z(3) ] ];; gap> form := BilinearFormByMatrix( gram, GF(3) ); < bilinear form > gap> m := [ [ Z(3)^0, Z(3)^0, Z(3), 0*Z(3), Z(3)^0, Z(3) ], > [ Z(3), Z(3), Z(3)^0, 0*Z(3), Z(3)^0, Z(3) ], > [ 0*Z(3), Z(3), 0*Z(3), Z(3), 0*Z(3), 0*Z(3) ], > [ 0*Z(3), Z(3), Z(3)^0, Z(3), Z(3), Z(3) ], > [ Z(3)^0, Z(3)^0, Z(3), Z(3), Z(3)^0, Z(3)^0 ], > [ Z(3)^0, 0*Z(3), Z(3), Z(3)^0, Z(3), Z(3) ] ];; gap> ScalarOfSimilarity( m, form ); Z(3)

`‣ WittIndex` ( f ) | ( attribute ) |

Returns: the Witt index of the form `f`.

The argument `f` is a sesquilinear or quadratic form on the vector space \(V\). When `f` is degenerate, respectively singular, its Witt index is defined as the Witt index of the induced non-degenerate, respectively non-singular form on the vector space \(V/\mathrm{Rad}(f)\), see Sections 3.1 and 3.2.

gap> mat := [[0,0,1,0,0],[0,0,0,0,0],[-1,0,0,0,0],[0,0,0,0,0],[0,0,0,0,0]]*Z(7)^0; [ [ 0*Z(7), 0*Z(7), Z(7)^0, 0*Z(7), 0*Z(7) ], [ 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7) ], [ Z(7)^3, 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7) ], [ 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7) ], [ 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7) ] ] gap> form := BilinearFormByMatrix(mat,GF(7)); < bilinear form > gap> WittIndex(form); 1 gap> RadicalOfForm(form); <vector space over GF(7), with 3 generators> gap> Dimension(last); 3 gap> mat := IdentityMat(6,GF(5)); [ [ Z(5)^0, 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5) ], [ 0*Z(5), Z(5)^0, 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5) ], [ 0*Z(5), 0*Z(5), Z(5)^0, 0*Z(5), 0*Z(5), 0*Z(5) ], [ 0*Z(5), 0*Z(5), 0*Z(5), Z(5)^0, 0*Z(5), 0*Z(5) ], [ 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5), Z(5)^0, 0*Z(5) ], [ 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5), Z(5)^0 ] ] gap> form := QuadraticFormByMatrix(mat,GF(5)); < quadratic form > gap> WittIndex(form); 3 gap> mat := IdentityMat(6,GF(7)); [ [ Z(7)^0, 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7) ], [ 0*Z(7), Z(7)^0, 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7) ], [ 0*Z(7), 0*Z(7), Z(7)^0, 0*Z(7), 0*Z(7), 0*Z(7) ], [ 0*Z(7), 0*Z(7), 0*Z(7), Z(7)^0, 0*Z(7), 0*Z(7) ], [ 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7), Z(7)^0, 0*Z(7) ], [ 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7), 0*Z(7), Z(7)^0 ] ] gap> form := QuadraticFormByMatrix(mat,GF(7)); < quadratic form > gap> WittIndex(form); 2

`‣ IsEllipticForm` ( f ) | ( property ) |

Returns: true or false.

The argument `f` is a sesquilinear or quadratic form on the vector space \(V\). This operation returns `true` is and only if `f` is elliptic; that is, it is orthogonal of minus type, or in other words, has even dimension and non-maximal Witt index (see Section 5.1-3 for sesquilinear forms and Section 5.2 for quadratic forms). If `f` is degenerate, respectively singular, then this operation refers to the inuced non-degenerate, respectively non-singular form induced on the vector space \(V/\mathrm{Rad}(f)\).

`‣ IsParabolicForm` ( f ) | ( property ) |

Returns: true or false.

The argument `f` is a sesquilinear or quadratic form on the vector space \(V\). This operation returns `true` is and only if `f` is parabolic; that is, it is orthogonal of neutral type, or in other words, it has odd dimension (see Section 5.1-3 for sesquilinear forms and Section 5.2 for quadratic forms). If `f` is degenerate, respectively singular, then this operation refers to the inuced non-degenerate, respectively non-singular form induced on the vector space \(V/\mathrm{Rad}(f)\).

`‣ IsHyperbolicForm` ( f ) | ( attribute ) |

Returns: true or false.

The argument `f` is a sesquilinear or quadratic form on the vector space \(V\). This operation returns `true` is and only if `f` is hyperbolic; that is, it is orthogonal of plus type, or in other words, has even dimension and maximal Witt index (see Section 5.1-3 for sesquilinear forms and Section 5.2 for quadratic forms). If `f` is degenerate, respectively singular, then this operation refers to the inuced non-degenerate, respectively non-singular form induced on the vector space \(V/\mathrm{Rad}(f)\).

`‣ TypeOfForm` ( f ) | ( operation ) |

Returns: a number.

The argument `f` is a sesquilinear or quadratic form on the vector space \(V\) with radical \(R\), a \(k\)-dimensional space. Then `f` induces a non-degenerate/non-singular form \(g\) on \(V/R\). When \(R\) is the trivial vector space, the form \(g\) is just the given form `f`. This operation returns

0 when \(g\) is symplecitc or parabolic;

+1 when \(g\) is hyperbolic;

-1 when \(g\) is elliptic;

-1/2 when \(g\) is hermitian in odd dimension;

+1/2 when \(g\) is hermitian in even dimension;

an error message when

`f`is a pseudo form.

Note that no method is installed for the trivial form. The methods for this operation rely on `IsParabolicForm`

, `IsHyperbolicForm`

and `IsEllipticForm`

for orthogonal bilinear forms and quadratic forms.

gap> mat := [[0,0,0,-1],[0,0,3,0],[0,-3,0,0],[1,0,0,0]]*Z(25)^0; [ [ 0*Z(5), 0*Z(5), 0*Z(5), Z(5)^2 ], [ 0*Z(5), 0*Z(5), Z(5)^3, 0*Z(5) ], [ 0*Z(5), Z(5), 0*Z(5), 0*Z(5) ], [ Z(5)^0, 0*Z(5), 0*Z(5), 0*Z(5) ] ] gap> form := BilinearFormByMatrix(mat,GF(25)); < bilinear form > gap> IsDegenerateForm(form); false gap> TypeOfForm(form); 0 gap> mat := IdentityMat(3,GF(7)); [ [ Z(7)^0, 0*Z(7), 0*Z(7) ], [ 0*Z(7), Z(7)^0, 0*Z(7) ], [ 0*Z(7), 0*Z(7), Z(7)^0 ] ] gap> form := QuadraticFormByMatrix(mat,GF(7)); < quadratic form > gap> IsSingularForm(form); false gap> TypeOfForm(form); 0 gap> mat := [[0,1,0,0],[-1,0,0,0],[0,0,0,0],[0,0,0,0]]*Z(5)^0; [ [ 0*Z(5), Z(5)^0, 0*Z(5), 0*Z(5) ], [ Z(5)^2, 0*Z(5), 0*Z(5), 0*Z(5) ], [ 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5) ], [ 0*Z(5), 0*Z(5), 0*Z(5), 0*Z(5) ] ] gap> form := BilinearFormByMatrix(mat,GF(5)); < bilinear form > gap> IsDegenerateForm(form); true gap> TypeOfForm(form); 0 gap> mat := [[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]*Z(7)^0; [ [ Z(7)^0, 0*Z(7), 0*Z(7), 0*Z(7) ], [ 0*Z(7), Z(7)^0, 0*Z(7), 0*Z(7) ], [ 0*Z(7), 0*Z(7), 0*Z(7), Z(7)^0 ], [ 0*Z(7), 0*Z(7), Z(7)^0, 0*Z(7) ] ] gap> form := BilinearFormByMatrix(mat,GF(7)); < bilinear form > gap> IsDegenerateForm(form); false gap> TypeOfForm(form); -1 gap> mat := IdentityMat(3,GF(9)); [ [ Z(3)^0, 0*Z(3), 0*Z(3) ], [ 0*Z(3), Z(3)^0, 0*Z(3) ], [ 0*Z(3), 0*Z(3), Z(3)^0 ] ] gap> form := HermitianFormByMatrix(mat,GF(9)); < hermitian form > gap> IsDegenerateForm(form); false gap> TypeOfForm(form); -1/2 gap> mat := [[0,0,0,1],[0,1,0,0],[0,0,1,0],[1,0,0,0]]*Z(8)^0; [ [ 0*Z(2), 0*Z(2), 0*Z(2), Z(2)^0 ], [ 0*Z(2), Z(2)^0, 0*Z(2), 0*Z(2) ], [ 0*Z(2), 0*Z(2), Z(2)^0, 0*Z(2) ], [ Z(2)^0, 0*Z(2), 0*Z(2), 0*Z(2) ] ] gap> form := BilinearFormByMatrix(mat,GF(8)); < bilinear form > gap> IsDegenerateForm(form); false gap> TypeOfForm(form); Error, <f> is a pseudo form and has no defined type called from <function "unknown">( <arguments> ) called from read-eval loop at line 30 of *stdin* you can 'quit;' to quit to outer loop, or you can 'return;' to continue brk> quit;

generated by GAPDoc2HTML