Theorems · Theorem · number theory
ZMod.pow_div_two_eq_neg_one_or_one
∀ (p : ℕ) [inst : Fact (Nat.Prime p)] {a : ZMod p}, a ≠ 0 → a ^ (p / 2) = 1 ∨ a ^ (p / 2) = -1If a : ZMod p is nonzero, then a^(p/2) is either 1 or -1.
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 100 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- Fact
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites14
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Factstatement and proof · cited by 2,726
- Nat.Primestatement and proof · cited by 2,059
- ZModstatement and proof · cited by 1,024
- one_powproof · cited by 521
- Fact.outproof · cited by 328
- pow_addproof · cited by 315
- two_mulproof · cited by 232
- Fintype.elemsproof · cited by 194
- Fintype.completeproof · cited by 192
- mul_self_eq_one_iffproof · cited by 7
- Nat.Prime.eq_two_or_oddproof · cited by 6
- ZMod.pow_card_sub_one_eq_oneproof · cited by 5
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.