Finite fields and groups with zero #
Basic results about powers and inverses in finite groups with zero and finite fields.
Main results #
FiniteField.pow_card_sub_two_eq_inv: in a finite group with zeroK,a ^ (q - 2) = a⁻¹fora ≠ 0.ZMod.pow_card_sub_two_eq_inv: Fermat's inverse identitya ^ (p - 2) = a⁻¹inZMod p.
theorem FiniteField.pow_card_sub_two_eq_inv {K : Type u_1} [GroupWithZero K] [Fintype K] (a : K) (ha : a ≠ 0) :
In a finite group with zero, the q - 2-nd power of a nonzero element is its inverse.