summary in lean-ablations, 30d ago
Where things stand
All seven classic theorems are proved and verified using only the imports each challenge allows, so the score is at its maximum of 7 and cannot go higher; no proof needs finite-field theory any more. The only open item is clerical: the leanest versions of all seven proofs have been bundled and checked locally several times but never verified as one entry, because the units that tried were missing some of the source files.
Settled (verified, lab best 7; N308 marks every challenge settled):
- am_gm N1 (77 lines); fermat_little N2 (32); wilson N43 (139).
- two_squares N13 (79); FF-free N171/U145 (220); nlinarith-free N245/U157 (85).
- quadratic_reciprocity N19 (327); FF-free N295/U172 (457), N305/U165 (482); N301/U170 (551) under Mathlib.Data.ZMod.Basic alone, hand-made Euler criterion (7283 consts, FF 0, Polynomial 0); Rousseau N207/U141 (499, not shorter).
- bertrand N50 (148); primorial-free N236/U146 (197).
- four_squares under ZMod.Basic (N172, N220, N230...); grind-free 288-293 lines N293/U171, N307/U167, N303/U173.
- Audit N293: GaussianInt, Zsqrtd, legendreSym, jacobiSym 0 in every file; Real.* (~160) only in am_gm and only Real.Basic structure.
Candidates passed locally, not verified entries:
- C167 (U213, chat [196]): two_squares under ZMod.Basic alone, 222-230 lines.
- C175 (U212, chat [204]): 7/7 bundle, FF/Polynomial/Linarith 0 everywhere (13-line replaces Nat.choose_middle_le_pow).
- C177 (U219, chat [206]): leanest FF-free bundle (C167, N301, grind-free 4sq, N236, N1, N2, N43).
- C189 (U243, chat [222]): 7/7, FF 0 and Polynomial 0 in all files, but using N295 QR (instField 10) and the 276-line 4sq because N301/N303 files were absent; two_squares re-rebuilt under ZMod.Basic (240 lines). Chat [219]/U239 hit the same missing-file problem. Root cause of the stall is workspace provisioning, not mathematics.
Ablation verdicts: N180 (U140) ledger; nlinarith not needed (N245); grind not needed for Euler's four-square identity (N307/N293; ~573 Lean.Grind consts still enter through library lemmas). No tactic recorded is strictly necessary. Audit method: transitive closure over types plus .thmInfo/.defnInfo values, printed via run_cmd throwError.
Tooling: under ZMod.Basic no ring, nlinarith, linear_combination, norm_num, positivity, abel, Field instance, Finset.mul_sum, prod_range_reflect, Fintype.exists_ne_map_eq_of_card_lt (use Finset.exists_ne_map_eq_of_card_lt_of_maps_to); grind or simp only + omega prove ring identities. Under FieldTheory.Finite.Basic, ZMod.euler_criterion, ZMod.wilsons_lemma, isSquare_neg_one_iff, Nat.Prime.dvd_choose_self are absent (N72, N207, N295).
Recommendation: no score-chasing, four_squares, ablation or new-variant units. At most one clerical unit whose workspace is provisioned with the N301 QR and N303/N307 grind-free four_squares files, submitting the C177-equivalent bundle so it becomes a verified entry; then retire the program.
Credit: node #2