Self-dualization in characteristic two #
The step that turns a normal basis into a self-dual normal basis (blueprint
lem:self-dual-basis, ledger nodes 1.1.6.1.7 and 1.1.6.1.8).
Written in the group algebra, where the whole step is two short lemmas. If α is a normal
element of K / F with Galois group G, the Gram matrix of its orbit is circulant, i.e. it is
the element c ∈ F[G] with c g = tr(α · g α); it is a unit, and it is fixed by the involution
τ induced by g ↦ g⁻¹. Replacing α by a • α replaces c by a · τ a · c, so a self-dual
normal basis is exactly a solution a of a · τ a = c⁻¹.
exists_mul_involute_eq— that equation is solvable in any commutative ring on which squaring is bijective: take the square root of the right-hand side, which is unique and therefore fixed byτbecause the right-hand side is.sq_bijective— and squaring is bijective onF[G]whenFis a finite field of characteristic two andGis a finite abelian group of odd order, because squaring is then the composite of the Frobenius ofFon coefficients with the doubling bijection ofGon indices.
Between them they replace the circulant Gram manipulation the campaign's two nodes carry.
Nothing here is about fields yet: MIPRE/Foundations/LowDegree/SelfDual.lean has the
definitions IsSelfDualBasis and IsNormalBasis, and assembling these lemmas into a basis is
the remaining work of issue #105.
The equation a · τ a = u #
Self-dualization, abstractly. In a commutative ring on which squaring is bijective,
every element fixed by a ring involution is of the form a · τ a. The square root of u is
unique, and τ of it is another square root, so it is fixed by τ as well.
Squaring on a group algebra of odd order in characteristic two #
In a finite abelian group of odd order, doubling is injective.
In a finite abelian group of odd order, doubling is bijective.
The coefficient of a square, at a doubled index: squaring F[G] is the Frobenius of F
on coefficients composed with doubling on indices.
Squaring is bijective on F[G] when F has characteristic two and G is a finite
abelian group of odd order.
Self-dualization in the group algebra: if F has characteristic two and G is a
finite abelian group of odd order, every element of F[G] fixed by a ring involution τ is
of the form a · τ a.
An explicit square root over the binary field #
Square root in a binary group algebra: the coefficient at g is read from g + g.
For an odd-order group this is a permutation of the coefficient vector. In particular,
this step needs neither factorization nor exponentiation in the group of units.
Equations
- MIPRE.LowDegree.binarySquareRoot z = AddMonoidAlgebra.ofCoeff (Finsupp.onFinset Finset.univ (fun (g : G) => z.coeff (g + g)) ⋯)
Instances For
The explicit coefficient permutation really is the square root.
Explicit self-dualization once the inverse Gram element u has been computed.