Skip to content

Commit c5becb2

Browse files
chore: drop some NeZero assumptions
1 parent 90f8114 commit c5becb2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

FltRegular/NumberTheory/Cyclotomic/CyclRat.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ theorem aux_lem_flt [Fact p.Prime] {x y z : ℤ} (H : x ^ p + y ^ p = z ^ p)
8181
ZMod.intCast_zmod_eq_zero_iff_dvd] at H
8282
exact caseI (Dvd.dvd.mul_left H _)
8383

84+
section NeZero
85+
8486
variable [NeZero p]
8587

8688
instance : IsGalois ℚ (CyclotomicField p ℚ) :=
@@ -92,6 +94,8 @@ instance : FiniteDimensional ℚ (CyclotomicField p ℚ) :=
9294
instance : NumberField (CyclotomicField p ℚ) :=
9395
IsCyclotomicExtension.numberField {p} ℚ _
9496

97+
end NeZero
98+
9599
theorem isPrimitiveRoot_of_mem_nthRootsFinset [Fact p.Prime] {η : R}
96100
(hη : η ∈ nthRootsFinset p 1) (hne1 : η ≠ 1) :
97101
IsPrimitiveRoot η p := by

0 commit comments

Comments
 (0)