---
title: "Constructing Polar Spaces"
canonical: "https://docs.magma-maths.org/v2.30-1/MatricesLinearAlgebra/PolarSpaces/constructions.html"
source: "https://docs.magma-maths.org/v2.30-1/MatricesLinearAlgebra/PolarSpaces/constructions.md"
part: "Matrices and Linear Algebra"
chapter: "Polar Spaces"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Matrices and Linear Algebra", "source": "https://docs.magma-maths.org/v2.30-1/MatricesLinearAlgebra/index-matrices-linear-algebra.md"}
  - {"title": "Polar Spaces", "source": "https://docs.magma-maths.org/v2.30-1/MatricesLinearAlgebra/PolarSpaces/index-polar-spaces.md"}
prev: {"title": "The Standard Forms", "source": "https://docs.magma-maths.org/v2.30-1/MatricesLinearAlgebra/PolarSpaces/standard.md"}
next: {"title": "Isometries and Similarities", "source": "https://docs.magma-maths.org/v2.30-1/MatricesLinearAlgebra/PolarSpaces/isom-sim.md"}
intrinsics:
  - {"name": "PolarSpace", "signature": "PolarSpace(F, a): AlgMatElt[FldFin], FldAut -> ModTupFld[FldFin]"}
  - {"name": "TrivialPolarSpace", "signature": "TrivialPolarSpace(F, n): FldFin, RngIntElt -> ModTupFld[FldFin]"}
  - {"name": "IsPolarSpace", "signature": "IsPolarSpace(V): ModTupFld -> BoolElt"}
  - {"name": "PolarSpaceType", "signature": "PolarSpaceType(V): ModTupFld -> MonStgElt"}
  - {"name": "FirstIsotropicSubspace", "signature": "FirstIsotropicSubspace(V, k): ModTupFld[FldFin], RngIntElt -> ModTupFld[FldFin]"}
  - {"name": "NextIsotropicSubspace", "signature": "NextIsotropicSubspace(V, k): ModTupFld[FldFin], RngIntElt -> ModTupFld[FldFin]"}
  - {"name": "AllIsotropicSubspaces", "signature": "AllIsotropicSubspaces(V, k): ModTupFld[FldFin], RngIntElt -> [ ModTupFld[FldFin] ]"}
  - {"name": "NumberOfIsotropicSubspaces", "signature": "NumberOfIsotropicSubspaces(V, k): ModTupFld[FldFin], RngIntElt -> RngIntElt"}
  - {"name": "SymplecticSpace", "signature": "SymplecticSpace(J): AlgMatElt -> ModTupRng"}
  - {"name": "IsSymplecticSpace", "signature": "IsSymplecticSpace(W): ModTupFld -> BoolElt"}
  - {"name": "IsPseudoSymplecticSpace", "signature": "IsPseudoSymplecticSpace(W): ModTupFld -> BoolElt"}
  - {"name": "DirectSum", "signature": "DirectSum(V, W): ModTupRng, ModTupRng -> ModTupRng, Map, Map"}
  - {"name": "UnitarySpace", "signature": "UnitarySpace(J, sigma): AlgMatElt, Map -> ModTupFld"}
  - {"name": "IsUnitarySpace", "signature": "IsUnitarySpace(W): ModTupFld -> BoolElt, RngIntElt"}
  - {"name": "ConjugateTranspose", "signature": "ConjugateTranspose(M, sigma): Mtrx, Map -> Mtrx"}
  - {"name": "QuadraticSpace", "signature": "QuadraticSpace(Q): AlgMatElt -> ModTupRng"}
  - {"name": "QuadraticSpace", "signature": "QuadraticSpace(f): RngMPolElt -> ModTupRng"}
  - {"name": "SymmetricToQuadraticForm", "signature": "SymmetricToQuadraticForm(J): AlgMatElt -> AlgMatElt"}
  - {"name": "QuadraticFormMatrix", "signature": "QuadraticFormMatrix(V): ModTupRng -> ModAlgElt"}
  - {"name": "QuadraticNorm", "signature": "QuadraticNorm(v): ModTupFldElt -> FldElt"}
  - {"name": "QuadraticFormPolynomial", "signature": "QuadraticFormPolynomial(V): ModTupRng -> RngPolElt"}
  - {"name": "QuadraticFormPolynomial", "signature": "QuadraticFormPolynomial(Q): AlgMatElt -> RngPolElt"}
  - {"name": "OrthogonalSum", "signature": "OrthogonalSum(V, W): ModTupFld, ModTupFld -> ModTupFld, Map, Map"}
  - {"name": "OrthogonalTensorProduct", "signature": "OrthogonalTensorProduct(V, W): ModTupFld, ModTupFld -> ModTupFld"}
  - {"name": "TotallySingularComplement", "signature": "TotallySingularComplement(V, U, W): ModTupFld, ModTupFld, ModTupFld -> ModTupFld"}
  - {"name": "Discriminant", "signature": "Discriminant(V): ModTupFld -> RngIntElt"}
  - {"name": "ArfInvariant", "signature": "ArfInvariant(V): ModTupFld -> RngIntElt"}
  - {"name": "DicksonInvariant", "signature": "DicksonInvariant(V, f): ModTupFld, Mtrx -> RngIntElt"}
  - {"name": "SpinorNorm", "signature": "SpinorNorm(V, f): ModTupFld, Mtrx -> RngIntElt"}
  - {"name": "SpinorNorm", "signature": "SpinorNorm(Q, g): AlgMatElt[Fld], AlgMatElt[Fld] -> FldElt"}
  - {"name": "CharacterQQModSquares", "signature": "CharacterQQModSquares(d, r): RngIntElt, FldRatElt -> RngIntElt"}
  - {"name": "SpinorNormRho", "signature": "SpinorNormRho(d, g, Q): RngIntElt, GrpMatElt, AlgMatElt -> RngIntElt"}
  - {"name": "HyperbolicBasis", "signature": "HyperbolicBasis(U, B, W): ModTupFld, SeqEnum, ModTupFld -> SeqEnum"}
  - {"name": "OrthogonalReflection", "signature": "OrthogonalReflection(a): ModTupFldElt -> AlgMatElt"}
  - {"name": "RootSequence", "signature": "RootSequence(V, f): ModTupFld, Mtrx -> SeqEnum"}
  - {"name": "ReflectionFactors", "signature": "ReflectionFactors(V, f): ModTupFld, Mtrx -> SeqEnum"}
  - {"name": "SiegelTransformation", "signature": "SiegelTransformation(u, v): ModTupFldElt, ModTupFldElt -> AlgMatElt"}
examples:
  - "ex-1d3f36"
  - "ex-b9c1f1"
  - "ex-474785"
  - "ex-ff51ba"
  - "ex-717e94"
---

<a id="constructions"></a>
<a id="sectconstr"></a>
# Constructing Polar Spaces

If $J$ is an $n\times n$ matrix, the command `VectorSpace(K,n,J)` creates a vector space of dimension $n$ over $K$ with a bilinear form whose matrix is $J$.

The default form attached to every vector space in Magma is the symmetric form whose matrix is the identity matrix.

A vector space $V$ is recognised as a polar space if any of the following conditions apply. (There is no check to ensure that the inner product matrix is non-degenerate.)

1.There is a quadratic form attached to $V$.

2.There is a field involution attached to $V$ and the inner product matrix of $V$ is hermitian or skew-hermitian with respect to this involution.

3.The inner product matrix of $V$ is symmetric or alternating.

Thus a vector space with a symmetric inner product matrix but no quadratic form attached is a polar space. If the characteristic of the field is 2 and the form is not alternating it is a pseudo-symplectic space, otherwise we shall call it an orthogonal space to distinguish it from quadratic spaces.

<a id="function-polarspace-algmatelt-fldfin-fldaut"></a>
## `PolarSpace(F, a): AlgMatElt[FldFin], FldAut -> ModTupFld[FldFin]`

```magma
Symbolic: BoolElt                    Default: true
```

The polar space associated to the Gram matrix $F$, hermitian with repsect to the field automorphism $a$. `Symbolic` determines the method of finding isotropic subspaces.

<a id="function-trivialpolarspace-fldfin-rngintelt"></a>
## `TrivialPolarSpace(F, n): FldFin, RngIntElt -> ModTupFld[FldFin]`

Polar space over $F$ of dimension $n$ with the zero bilinear form.

<a id="function-ispolarspace-modtupfld"></a>
## `IsPolarSpace(V): ModTupFld -> BoolElt`

Check if the vector space $V$ is a quadratic space or if the Gram matrix of $V$ is a reflexive form.

<a id="function-polarspacetype-modtupfld"></a>
## `PolarSpaceType(V): ModTupFld -> MonStgElt`

The type of the polar space $V$, returned as a string.

<a id="example-ex-1d3f36"></a>
## `Example: Testing for a Polar Space (ex-1d3f36)`

Create the standard vector space of dimension 4 over the rational field and check if it is a polar space.

```magma
> V := VectorSpace(Rationals(),4);
> IsPolarSpace(V);
true
> PolarSpaceType(V);
orthogonal space
```

<a id="subsectisotropic"></a>
<a id="id1"></a>
## Isotropic Subspaces

<a id="function-firstisotropicsubspace-modtupfld-fldfin-rngintelt"></a>
### `FirstIsotropicSubspace(V, k): ModTupFld[FldFin], RngIntElt -> ModTupFld[FldFin]`

Starts an enumeration process of $k$-dimensional isotropic subspaces in $V$, and returns the first non-singular one.

<a id="function-nextisotropicsubspace-modtupfld-fldfin-rngintelt"></a>
### `NextIsotropicSubspace(V, k): ModTupFld[FldFin], RngIntElt -> ModTupFld[FldFin]`

The next $k$-dimensional isotropic subspace in $V$.

<a id="function-allisotropicsubspaces-modtupfld-fldfin-rngintelt"></a>
### `AllIsotropicSubspaces(V, k): ModTupFld[FldFin], RngIntElt -> [ ModTupFld[FldFin] ]`

All $k$-dimensional isotropic subspaces in $V$.

<a id="function-numberofisotropicsubspaces-modtupfld-fldfin-rngintelt"></a>
### `NumberOfIsotropicSubspaces(V, k): ModTupFld[FldFin], RngIntElt -> RngIntElt`

The number of $k$-dimensional isotropic subspaces in $V$.

<a id="sympspace"></a>
<a id="subsectsympsp"></a>
## Symplectic Spaces

<a id="function-symplecticspace-algmatelt"></a>
### `SymplecticSpace(J): AlgMatElt -> ModTupRng`

The symplectic space of dimension $n$ defined by the $n\times n$ matrix $J$. This function checks to ensure that $J$ is alternating.

The symplectic inner product on this space is obtained from `InnerProduct`, which evaluates the alternating form $J$ and returns a value in the base ring. This is distinct from the intrinsic `SymplecticInnerProduct` described in Chapter [Quantum Codes](https://docs.magma-maths.org/v2.30-1/CodingTheory/QuantumCodes/index-quantum-codes.md#chap-codequantum): that intrinsic computes the coding-theory product $(a|b)*(c|d) = ad - bc$ in compact or extended format and returns its field trace down to the prime field (see that chapter for the precise source field of the trace in each format).

<a id="function-issymplecticspace-modtupfld"></a>
### `IsSymplecticSpace(W): ModTupFld -> BoolElt`

Returns `true` if the `Involution` attribute of the generic vector space $W$ is not assigned and the space carries an alternating form, otherwise `false`.

Note that a quadratic space over a field of characteristic 2 satisfies these conditions and consequently this function will return `true` for these spaces.

<a id="function-ispseudosymplecticspace-modtupfld"></a>
### `IsPseudoSymplecticSpace(W): ModTupFld -> BoolElt`

Given a vector space $W$ over a finite field, this intrinsic returns `true` if the base field has characteristic 2, the `Involution` attribute is not assigned to the generic space and the form is symmetric but not alternating, otherwise `false`.

<a id="function-directsum-modtuprng-modtuprng"></a>
### `DirectSum(V, W): ModTupRng, ModTupRng -> ModTupRng, Map, Map`

If $V$ and $W$ are symplectic spaces this function returns the orthogonal direct sum $V\perp W$ and linear embeddings $V \to V\perp W$ and $W \to V\perp W$.

<a id="unitaryspace"></a>
<a id="subsectunitarysp"></a>
## Unitary Spaces

In order to accommodate hermitian forms it is necessary to assign a field automorphism of order two to the `Involution` attribute of the vector space.

Thus a unitary space is characterised as a vector space $V$ whose ambient space, `Generic(V)`, has the attribute `Involution` and whose inner product matrix is either hermitian or skew hermitian.

<a id="function-unitaryspace-algmatelt-map"></a>
### `UnitarySpace(J, sigma): AlgMatElt, Map -> ModTupFld`

The $n$-dimensional unitary space over the base field $K$ of $J$, where $\sigma$ is an automorphism of $K$ of order 2 and where $J$ is an $n \times n$ matrix which is hermitian or skew-hermitian with respect to $\sigma$.

<a id="function-isunitaryspace-modtupfld"></a>
### `IsUnitarySpace(W): ModTupFld -> BoolElt, RngIntElt`

Return `true` if the `Involution` attribute of the generic space of $W$ is assigned and the form is either hermitian or skew-hermitian when restricted to $W$. The second return value is $1$ if the form is hermitian and $-1$ if the form is skew-hermitian.

<a id="example-ex-b9c1f1"></a>
### `Example: Isotropic Vector in a Unitary Space (ex-b9c1f1)`

Create a unitary geometry with the standard hermitian form and check that the given vector is isotropic. Note that the function `DotProduct` takes both the form and the field involution into account when calculating its values. For finite fields, the function `InnerProduct` *ignores* the field involution.

```magma
> K<z> := GF(25);
> J, sigma := StandardHermitianForm(5,K);
> J;
[   0    0    0    0    1]
[   0    0    0    1    0]
[   0    0    1    0    0]
[   0    1    0    0    0]
[   1    0    0    0    0]
> sigma(z);
z^5
> V := UnitarySpace(J,sigma);
> u := V![1,z,0,z^2,-1];
> DotProduct(u,u);
0
> InnerProduct(u,u);
z^20
```

<a id="function-conjugatetranspose-mtrx-map"></a>
### `ConjugateTranspose(M, sigma): Mtrx, Map -> Mtrx`

The transpose of the matrix $\sigma(M)$, where $\sigma$ is an automorphism of the base field of the matrix $M$.

<a id="quadspace"></a>
<a id="subsectquadsp"></a>
## Quadratic Spaces

A vector space $V$ with an attached quadratic form is called a *quadratic space*. The polar form of a quadratic space is the inner product matrix $J$ of the space. If the characteristic of the field is not 2, the value of the quadratic form on a row vector $v$ is ${1\over 2}{v*J*v^\mathrm{tr}}$.

<a id="function-quadraticspace-algmatelt"></a>
### `QuadraticSpace(Q): AlgMatElt -> ModTupRng`

The quadratic space of dimension $n$ defined by the quadratic form represented by an $n\times n$ matrix $Q$. The inner product matrix of the space is $Q + Q^\mathrm{tr}$.

<a id="function-quadraticspace-rngmpolelt"></a>
### `QuadraticSpace(f): RngMPolElt -> ModTupRng`

The quadratic space of dimension $n$ whose quadratic form is given by the quadratic polynomial $f$ in $n$ variables. If the variables are $x_1$, …, $x_n$, then for $i\le j$, the $(i,j)$-th entry of the matrix of the form is the coefficient of $x_ix_j$ in $f$.

<a id="function-symmetrictoquadraticform-algmatelt"></a>
### `SymmetricToQuadraticForm(J): AlgMatElt -> AlgMatElt`

Provided the characteristic of the field is not two, this is the upper triangular matrix which represents the quadratic form whose polar form is the symmetric matrix $J$.

<a id="function-quadraticformmatrix-modtuprng"></a>
### `QuadraticFormMatrix(V): ModTupRng -> ModAlgElt`

The matrix which defines the quadratic form of the quadratic space $V$.

<a id="function-quadraticnorm-modtupfldelt"></a>
### `QuadraticNorm(v): ModTupFldElt -> FldElt`

The value $Q(v)$, where $Q$ is the quadratic form attached to the generic space of the parent of the vector $v$.

<a id="function-quadraticformpolynomial-modtuprng"></a>
### `QuadraticFormPolynomial(V): ModTupRng -> RngPolElt`

The polynomial $\sum_{i, j} q_{ij}x_ix_j$, where $Q = (q_{ij})$ is the matrix of the quadratic form of the quadratic space $V$.

<a id="function-quadraticformpolynomial-algmatelt"></a>
### `QuadraticFormPolynomial(Q): AlgMatElt -> RngPolElt`

The polynomial $\sum_{i, j} q_{ij}x_ix_j$, where $Q = (q_{ij})$ is a matrix representing a quadratic form.

<a id="example-ex-474785"></a>
### `Example: Quadratic Space from a Polynomial (ex-474785)`

The quadratic space defined by a polynomial.

```magma
> _<x,y,z> := PolynomialRing(Rationals(),3);
> f := x^2 + x*y +3*x*z - 2*y*z + y^2 +z^2;
> V := QuadraticSpace(f);
> PolarSpaceType(V);
quadratic space
> IsNonsingular(V);
true
> QuadraticFormMatrix(V);
[ 1  1  3]
[ 0  1 -2]
[ 0  0  1]
```

<a id="function-orthogonalsum-modtupfld-modtupfld"></a>
### `OrthogonalSum(V, W): ModTupFld, ModTupFld -> ModTupFld, Map, Map`

The orthogonal direct sum $V$ of the quadratic spaces $V$ and $W$ together with linear embeddings $V \to V\perp W$ and $W \to V\perp W$.

<a id="function-orthogonaltensorproduct-modtupfld-modtupfld"></a>
### `OrthogonalTensorProduct(V, W): ModTupFld, ModTupFld -> ModTupFld`

The tensor product of the quadratic spaces $V$ and $W$. If $\beta$ and $\gamma$ are the symmetric bilinear forms on $V$ and $W$, respectively, and if $\xi$ is the bilinear form on the tensor product, then $\xi(v_1\otimes w_1,v_2\otimes w_2) = \beta(v_1,v_2)\gamma(w_1,w_2)$.

<a id="function-totallysingularcomplement-modtupfld-modtupfld-modtupfld"></a>
### `TotallySingularComplement(V, U, W): ModTupFld, ModTupFld, ModTupFld -> ModTupFld`

Given totally singular subspaces $U$ and $W$ of the quadratic space $V$ such that $U^\perp \cap W = 0$ this function returns a totally singular subspace $X$ such that $V = X \oplus U^\perp$ and $W\subseteq X$.

<a id="function-discriminant-modtupfld"></a>
### `Discriminant(V): ModTupFld -> RngIntElt`

If $V$ is a vector space over the finite field $K$ and if $J$ is the Gram matrix of $V$, the *discriminant* of $V$ is the determinant $\Delta$ of $J$ modulo squares. That is, the discriminant is 0 if $\Delta$ is a square in $K$, 1 if it is a non-square. The form $J$ is required to be non-degenerate.

<a id="function-arfinvariant-modtupfld"></a>
### `ArfInvariant(V): ModTupFld -> RngIntElt`

The Arf invariant of the quadratic space $V$.

Currently this is available only for quadratic spaces of even dimension $2m$ over a finite field $F$ of characteristic 2. In this case there are two possibilities: either the Witt index of the form is $m$ and the Arf invariant is 0, or the Witt index is $m-1$ and the Arf invariant is 1.

<a id="function-dicksoninvariant-modtupfld-mtrx"></a>
### `DicksonInvariant(V, f): ModTupFld, Mtrx -> RngIntElt`

The Dickson invariant of the isometry $f$ of the quadratic space $V$ is the rank (mod 2) of $1-f$. If the polar form of $Q$ is non-degenerate, the Dickson invariant defines a homomorphism from the orthogonal group $O(V)$ onto the additive group of order 2.

<a id="function-spinornorm-modtupfld-mtrx"></a>
### `SpinorNorm(V, f): ModTupFld, Mtrx -> RngIntElt`

The spinor norm of the isometry $f$ of the quadratic space $V$. This is the discriminant of the Wall form (Section [Wall Forms](https://docs.magma-maths.org/v2.30-1/MatricesLinearAlgebra/PolarSpaces/wallform.md#sectwall)) of $f$.

<a id="function-spinornorm-algmatelt-fld-algmatelt-fld"></a>
### `SpinorNorm(Q, g): AlgMatElt[Fld], AlgMatElt[Fld] -> FldElt`

Given a symmetric matrix $Q$ over a field $F$, and a matrix $g$ satisfying $gQg^\mathrm{tr}= Q$, returns an element $x \in F$ representing in $F / F^{\times 2}$ the spinor norm of the isometry $g$ with repsect to the quadratic form represented by $Q$.

<a id="example-ex-ff51ba"></a>
### `Example: Spinor Norm over a General Field (ex-ff51ba)`

An example for a spinor norm computation over a general field.

```magma
> Q := SymmetricMatrix(Rationals(), [2,0,2,0,0,2,1,0,0,2,0,0,1,1,52]);
> g := Matrix(Rationals(), 5, 5,
>                    [1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,-1,0,0,0,1,0,-1]);
> g * Q * Transpose(g) eq Q;
true
> SpinorNorm(Q,g);
2745
> FactorizationOfQuotient(SpinorNorm(Q, g));
[ <3, 2>, <5, 1>, <61, 1> ]
```

<a id="function-characterqqmodsquares-rngintelt-fldratelt"></a>
### `CharacterQQModSquares(d, r): RngIntElt, FldRatElt -> RngIntElt`

Let $\chi_d : {\mathbb{Q}}^{\times} / {\mathbb{Q}}^{\times 2} \to {\mathbb{Z}}^{\times}$ be the multiplicative character defined by $\chi_d(p) = -1$ iff $p \mid d$. Returns $\chi_d(r)$.

<a id="function-spinornormrho-rngintelt-grpmatelt-algmatelt"></a>
### `SpinorNormRho(d, g, Q): RngIntElt, GrpMatElt, AlgMatElt -> RngIntElt`

Let $Q$ be an integral symmetric matrix, $g$ an isometry of the quadratic space, and $d \mid {\rm Disc}(Q)$. Returns the value of $\chi_d$ (as in `CharacterQQModSquares`) at the spinor norm of $g$ with respect to ${\rm O}(Q)$.

<a id="function-hyperbolicbasis-modtupfld-seqenum-modtupfld"></a>
### `HyperbolicBasis(U, B, W): ModTupFld, SeqEnum, ModTupFld -> SeqEnum`

Given complementary totally singular subspaces $U$ and $W$ of a quadratic space and a basis $B$ for $U$, return a sequence of pairwise orthogonal hyperbolic pairs whose second components form a basis for $W$.

<a id="function-orthogonalreflection-modtupfldelt"></a>
### `OrthogonalReflection(a): ModTupFldElt -> AlgMatElt`

The reflection determined by a non-singular vector of a quadratic space.

<a id="function-rootsequence-modtupfld-mtrx"></a>
### `RootSequence(V, f): ModTupFld, Mtrx -> SeqEnum`

Given a matrix $f$ representing an isometry of the quadratic space $V$, return a sequence of vectors such that the product of the corresponding orthogonal reflections is $f$. The empty sequence is returned if $f$ is the identity matrix.

<a id="function-reflectionfactors-modtupfld-mtrx"></a>
### `ReflectionFactors(V, f): ModTupFld, Mtrx -> SeqEnum`

Given a matrix $f$ representing an isometry of the quadratic space $V$, return a sequence of reflections whose product is $f$. The empty sequence corresponds to the identity matrix.

Given a quadratic space $V$ defined by a quadratic form $Q$ with polar form $\beta$ and non-zero vectors $u,v \in V$ such that $u$ is singular and $\beta(u,v) = 0$, the *Siegel transformation* (also called an Eichler transformation) is the isometry $\rho_{u,v}$ defined by

$$
x \rho_{u,v} = x + \beta(x,v)u - \beta(x,u)v - Q(v)\beta(x,u) u.
$$

<a id="function-siegeltransformation-modtupfldelt-modtupfldelt"></a>
### `SiegelTransformation(u, v): ModTupFldElt, ModTupFldElt -> AlgMatElt`

The Siegel transformation defined by a singular vector $u$ and a vector $v$ orthogonal to $u$. The common parent of $u$ and $v$ must be a quadratic space.

<a id="example-ex-717e94"></a>
### `Example: Isometries from Siegel Transformations (ex-717e94)`

A group of isometries generated by Siegel transformations.

```magma
> Q := StandardQuadraticForm(4,3);
> V := QuadraticSpace(Q);
> u := V.1;
> QuadraticNorm(u);
0
> X := { v : v in V | DotProduct(u,v) eq 0 and QuadraticNorm(v) ne 0 };
> #X;
12
> H := sub< GL(V) | [SiegelTransformation(u,v) : v in X]>;
> #H;
9
```
