On this page, we collect supporting code and data for the paper exploring the space-filling hypersurfaces on P^n. The data and codes on this page were created by Victoria Bourgeois-Conti, Han-Bom Moon, Erick Perez, and Amelia Warren.
In Section 7 of the paper, we proved that there is $b \in F_q^*$ such that a hypersurface of the form
F = [X_0, X_1, ... , X_n]A[\phi_0, \phi_1, ... , \phi_n]^t
where A is an $n \times n$ companion matrix whose last column is $[b, 0, ... , 1]$ is a space-filling hypersurface without any $F_q$-rational singular points. We created Macaulay2 code to check the smoothness of $V(F)$.
The result is very interesting. When $char q = 3$, all examples constructed in Section 7 are singular. However, for any other odd characteristics, all examples we have checked are smooth! Here we leave the Macaulay2 code (created by Erick, using ChatGPT) and the output.
Code checking companion matrices constructed in Theorem 7.4 for prime p (for prime power q)
Beyond this range, the computation takes too long to run. In addition to these cases, we checked a single example for each case below and got a smooth example.
Code checking one companion matrix constructed in Theorem 7.4.
n = 3: q = 25
Code checking one general companion matrix.
For small n and q, we were able to check all invertible companion matrices.
In Section 6 of the paper, we proved that in the most cases, a hypersurface of the form
F = [X_0, X_1, ... , X_n]A[\phi_0, \phi_1, ... , \phi_n]^t
with a diagonal matrix A has an $F_q$-rational singular point. But when $n$ and $q$ does not satisfy the coprime condition in Proposition 6.1, some of these hypersurfaces are indeed smooth.
Code checking the smoothness of diagonal matrices of the form diag(1, 1, ... , 1, b).