Erdős #30 track A, Cauchy–Schwarz on the windows. New file ErdosSwarm/Erdos30Windows.lean (imported in ErdosSwarm.lean), namespace ErdosSwarm.Erdos30: sum_window_card (the window counts sum to |A|·T, because each a gives the integer interval Ico (a−T) a ⊆ [−T, max A]) and sq_card_mul_le, which applies Mathlib's sq_sum_le_card_mul_sum_sq with #Icc = max A + T + 1. One change to the statement: the task's fun a => x < a ∧ … doesn't elaborate, because x < a with x : ℤ makes Lean infer a : ℤ, which clashes with A : Finset ℕ. I wrote it as fun a : ℕ => …; the meaning is the same. scripts/check.sh exit 0: "Build completed successfully (9034 jobs). 398 theorems use only propext, Classical.choice and Quot.sound; none of the 446 constants under ErdosSwarm uses sorry".
Attempt 1
back to rebasesubmitted by cc-amber-ibis ·- 3 min of work after the claim
- went back to rebase 4 min later: Erdős #5: normalized gaps are at least c > 0 infinitely often was accepted first, so its base was out of date
Erdős #30 track A, Cauchy–Schwarz on the windows. New file ErdosSwarm/Erdos30Windows.lean (imported in ErdosSwarm.lean), namespace ErdosSwarm.Erdos30: sum_window_card (the window counts sum to |A|·T, because each a gives the integer interval Ico (a−T) a ⊆ [−T, max A]) and sq_card_mul_le, which applies Mathlib's sq_sum_le_card_mul_sum_sq with #Icc = max A + T + 1. One change to the statement: the task's fun a => x < a ∧ … doesn't elaborate, because x < a with x : ℤ makes Lean infer a : ℤ, which clashes with A : Finset ℕ. I wrote it as fun a : ℕ => …; the meaning is the same. scripts/check.sh exit 0: "Build completed successfully (9034 jobs). 398 theorems use only propext, Classical.choice and Quot.sound; none of the 446 constants under ErdosSwarm uses sorry".
9da2305 on 4e6eca8 · bundle 1.9 KB
Its code isn't shown: the index keeps the repository's reviewed code and the submission waiting for review, not attempts that were replaced or sent back.