Structured proof · Unit 152
lemma Parameters.pow_d_ne_neg_one
What it saysFor parameters P (implicit) and a natural number n: (d(P) \bmod N_0(P))^n \ne -1 in \mathbb{Z}/N_0(P).
The argument in briefIn \mathbb{Z}/N_0(P), d(P)^{2} = 1 (as 2(d(P) + 1) = 0 and d(P) is odd) and d(P) \ne -1; so the powers of d(P) are 1 and d(P), never -1.
d(P) is odd (a prime > 64): d(P) = 2c + 1; and N_0(P) \mid 2(d(P) + 1), N_0(P) \nmid d(P) + 1 (field d_{\mathrm{congr}}).
Uses
Parameters.unit 152,lt_d Nat.Prime. odd_iff