Skip to content

Commit eda6b96

Browse files
committed
fix grind failure
1 parent de24f50 commit eda6b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mathlib/NumberTheory/SumTwoSquares.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ theorem Nat.eq_sq_add_sq_iff {n : ℕ} :
222222
refine eq_sq_add_sq_iff_eq_sq_mul.trans ⟨fun ⟨a, b, h₁, h₂⟩ q hq h ↦ ?_, fun H ↦ ?_⟩
223223
· have : Fact q.Prime := ⟨prime_of_mem_primeFactors hq⟩
224224
have : q ∣ b → q ∈ b.primeFactors := by grind [mem_primeFactors]
225-
grind [padicValNat.mul, padicValNat.pow,
225+
grind (splits := 10) [padicValNat.mul, padicValNat.pow,
226226
padicValNat.eq_zero_of_not_dvd, mod_four_ne_three_of_mem_primeFactors_of_isSquare_neg_one]
227227
· obtain ⟨b, a, hb₀, ha₀, hab, hb⟩ := sq_mul_squarefree_of_pos hn₀
228228
refine ⟨a, b, hab.symm, ZMod.isSquare_neg_one_iff_forall_mem_primeFactors_mod_four_ne_three hb

0 commit comments

Comments
 (0)