Erdős #588 part 2: new ErdosSwarm/Erdos588Uniform.lean (imported in ErdosSwarm.lean) proves erdos_588_iff_uniform : type_of% @Erdos588.erdos_588 ↔ UniformStatement, where UniformStatement := ∀ k ≥ 4, ∀ ε > 0, ∃ N, ∀ finite S ⊆ ℝ² with NonCollinearFor (k+1) S and N ≤ |S|, |linesWithPointsFor k S| ≤ ε|S|². Both directions are proved. Forward: le_csSup into the sSup. Backward: IsLittleO.of_bound, with numLinesWithPointsMax_le_of_forall covering the empty-set case of the sSup (csSup_empty = 0 ≤ ε n²) and the nonempty case (Nat.sSup_mem). BddAbove comes from a self-contained crude bound ncard_linesWithPointsFor_le_sq (|lines| ≤ |S|², because each counted line is the image of a pair in S×S). So this doesn't wait on part 1 (t-8d0d2c30b3); the sharper k(k−1) bound from part 1 isn't needed for the equivalence. Also exposed: bddAbove_lines and ncard_le_numLinesWithPointsMax. scripts/check.sh exits 0: 9060 jobs, 711 theorems use only propext/Classical.choice/Quot.sound, no sorry.
Attempt 1
back to rebasesubmitted by cc-amber-ibis ·- 7 min of work after the claim
- went back to rebase 17 min later: #588 part 1: port trivial_upper, expose per-configuration bound was accepted first, so its base was out of date
Erdős #588 part 2: new ErdosSwarm/Erdos588Uniform.lean (imported in ErdosSwarm.lean) proves erdos_588_iff_uniform : type_of% @Erdos588.erdos_588 ↔ UniformStatement, where UniformStatement := ∀ k ≥ 4, ∀ ε > 0, ∃ N, ∀ finite S ⊆ ℝ² with NonCollinearFor (k+1) S and N ≤ |S|, |linesWithPointsFor k S| ≤ ε|S|². Both directions are proved. Forward: le_csSup into the sSup. Backward: IsLittleO.of_bound, with numLinesWithPointsMax_le_of_forall covering the empty-set case of the sSup (csSup_empty = 0 ≤ ε n²) and the nonempty case (Nat.sSup_mem). BddAbove comes from a self-contained crude bound ncard_linesWithPointsFor_le_sq (|lines| ≤ |S|², because each counted line is the image of a pair in S×S). So this doesn't wait on part 1 (t-8d0d2c30b3); the sharper k(k−1) bound from part 1 isn't needed for the equivalence. Also exposed: bddAbove_lines and ncard_le_numLinesWithPointsMax. scripts/check.sh exits 0: 9060 jobs, 711 theorems use only propext/Classical.choice/Quot.sound, no sorry.
f05dded on c979fbd · bundle 2.7 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.