getHilbertSymbol(a, b, p)
The Hasse-Witt invariant of a diagonal form $\langle a_1,\ldots,a_n\rangle$ over a field $k$ is defined to be the product $\prod_{i<j} \left( a_i,a_j \right)_p$ where $(-,-)_p$ is the Hilbert symbol ([S73, Chapter III]) computed as follows:
$(a,b)_p = \begin{cases} 1 & \text{if }z^2 = ax^2 + by^2 \text{ has a nonzero solution in } K^3 \\ -1 & \text{otherwise.} \end{cases}$
Consider the following example, where we observe that $z^2 = 2x^2 + y^2$ does admit nonzero solutions mod 7, in particular $(x,y,z) = (1,0,3),$ and then by Hensel's lemma, has a solution over $\mathbb{Q}_7$.
|
In contrast, since $z^2 = 7x^2 + 3y^2$ does not have a nonzero solution mod 7, the Hilbert symbol will be $-1.$
|
Over $\mathbb{Q}_2$ the equation $z^2 = 2x^2 + 2y^2$ has a non-trivial solution, whereas the equation $z^2=2x^2+3y^2$ does not. Hence, their Hilbert symbols are 1 and -1, respectively.
|
|
Computing Hasse-Witt invariants is a key step in classifying symmetric bilinear forms over the rational numbers, and in particular certifying their (an)isotropy.
Citations:
The object getHilbertSymbol is a method function.
The source of this document is in A1BrouwerDegrees/Documentation/HilbertSymbolsDoc.m2:44:0.