Skip to content

Commit 31482bb

Browse files
chore: drop unnecessary synthInstance.maxHeartbeats increases
1 parent 3ac8fdf commit 31482bb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

FltRegular/NumberTheory/Cyclotomic/UnitLemmas.lean

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ theorem IsPrimitiveRoot.eq_one_mod_sub_of_pow {A : Type*} [CommRing A] [IsDomain
6060
obtain ⟨k, -, rfl⟩ := hζ.eq_pow_of_pow_eq_one hμ
6161
rw [map_pow, eq_one_mod_one_sub, one_pow]
6262

63-
set_option synthInstance.maxHeartbeats 40000 in
64-
-- needed for `AddMonoidHomClass (𝓞 K →+* 𝓞 K ⧸ Ideal.span {↑hζ.unit' - 1}) ? ?`
6563
theorem aux {t} {l : 𝓞 K} {f : Fin t → ℤ} {μ : K} (hμ : IsPrimitiveRoot μ p)
6664
(h : ∑ x : Fin t, f x • (⟨μ, hμ.isIntegral (NeZero.pos p)⟩ : 𝓞 K) ^ (x : ℕ) = l) :
6765
algebraMap (𝓞 K) (𝓞 K ⧸ I) l = ∑ x : Fin t, (f x : 𝓞 K ⧸ I) := by
@@ -271,8 +269,6 @@ lemma unit_inv_conj_not_neg_zeta_runity_aux (u : (𝓞 K)ˣ) [Fact (p.Prime)] (h
271269
rw [this a]
272270
exact (aux hζ hζ hu).trans (aux hζ hζ.inv hu').symm
273271

274-
set_option synthInstance.maxHeartbeats 40000 in
275-
-- Needed for `AddMonoidHomClass (𝓞 K →+* 𝓞 K ⧸ Ideal.span {↑hζ.unit' - 1}) ? ?`
276272
theorem unit_inv_conj_not_neg_zeta_runity (u : (𝓞 K)ˣ) (n : ℕ) [Fact (p.Prime)] (hp : 2 < p) :
277273
haveI := IsCyclotomicExtension.IsCMField K hp
278274
u * (unitsComplexConj K u)⁻¹ ≠ -hζ.unit' ^ n := by

0 commit comments

Comments
 (0)