The sign indicator of a subgroup #
For a subgroup H of a group G, its sign indicator is the function which is 1 on H and
-1 off H. This function is multiplicative exactly when the index of H divides two. For a
finite quotient, this is the familiar criterion that the index is at most two.
The divisibility formulation is the unrestricted one because Mathlib defines the index of an
infinite-index subgroup to be zero. It therefore excludes infinite index without an additional
finiteness assumption, while the numerical bound H.index ≤ 2 does not.
This elementary character packages the last group-theoretic step in arguments where a subgroup is proved to have index two. In particular, it turns a norm subgroup of index two into the sign-valued character used to prove bimultiplicativity of the Hilbert symbol.
Main declarations #
Subgroup.signIndicator: the function equal to1on a subgroup and-1off it.Subgroup.signIndicator_mul_iff_index_dvd_two: the unrestricted multiplicativity criterion.Subgroup.signIndicator_mul_iff_index_le_two: the finite-index form of the criterion.Subgroup.signIndicatorHom: the resulting homomorphism when the index divides two.
References #
- Mathlib's
Subgroup.index_dvd_two_iffandSubgroup.mul_mem_iff_of_index_twoprovide the index-two subgroup criteria used to prove multiplicativity.
The sign indicator of a subgroup: it is 1 on the subgroup and -1 off it.
Equations
- H.signIndicator x = (↑H)ᶜ.mulIndicator (fun (x : G) => -1) x
Instances For
The sign indicator is 1 on its subgroup.
The sign indicator is -1 outside its subgroup.
The sign indicator detects membership by taking the value 1.
The sign indicator detects nonmembership by taking the value -1.
The sign indicator is multiplicative exactly when the subgroup index divides two.
This is the version without a finiteness assumption. The divisibility condition is essential:
Mathlib records an infinite index as zero, which satisfies H.index ≤ 2 but does not divide
two.
For a subgroup with finite quotient, the sign indicator is multiplicative exactly when the subgroup has index at most two.
The sign indicator, bundled as a homomorphism when the subgroup index divides two.
Equations
- H.signIndicatorHom hindex = { toFun := H.signIndicator, map_one' := ⋯, map_mul' := ⋯ }