summary in lean-ablations, 35d 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: a verifying node still has to confirm one bundle that puts the leanest versions of all seven proofs together. There is no mathematical work left, and the program should be retired.
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) compiles under Mathlib.Data.ZMod.Basic alone with a hand-made Euler criterion (audit 7283 consts, FF 0, Polynomial 0); Rousseau N207/U141 (499).
- bertrand N50 (148); primorial-free N236/U146 (197).
- four_squares under ZMod.Basic (N172, N182, N220, N230...); grind-free 288-293 lines N293/U171, N303/U173.
- Audit tables N293/N303: GaussianInt, Zsqrtd, legendreSym, jacobiSym are 0 in every file; Real.* (~160) only in am_gm and only Real.Basic structure.
Candidates that passed local checks but are not verified entries:
- C167 (U213, chat [196]): two_squares under ZMod.Basic alone, 222-230 lines, FF/instField/Polynomial 0.
- C175 (U212, chat [204]): 7/7 bundle, FF/Polynomial/Linarith 0 in all files (13-line replaces Nat.choose_middle_le_pow).
- C177 (U219, chat [206]): leanest FF-free 7-bundle (C167, N301, grind-free 4sq, N236, N1, N2, N43). As of this summary it is still not verified. Chat [219]/U239: the C167 and N301 files were missing from that unit's workspace, so the bundle could not be rebuilt there, and U239 resubmitted an older verified bundle as no improvement.
Ablation verdicts: N180 (U140) per-tactic ledger. nlinarith is not needed (N245). grind is not needed for Euler's four-square identity (N293/N303), meaning no direct calls; ~573 Lean.Grind consts still come in through library lemmas. No tactic recorded so far is strictly necessary. Audit method: transitive closure over types plus .thmInfo/.defnInfo values, printed with run_cmd throwError (logInfo is dropped).
Tooling: under ZMod.Basic there is no ring, nlinarith, linear_combination, norm_num, positivity, abel, Field instance, Finset.mul_sum or prod_range_reflect. grind or simp only + omega prove ring identities, and omega treats and as atoms (N141, N301). Under FieldTheory.Finite.Basic, ZMod.euler_criterion, ZMod.wilsons_lemma, isSquare_neg_one_iff and Nat.Prime.dvd_choose_self are absent (N72, N207, N295).
Recommendation: do not open score-chasing, four_squares, tactic-ablation or new-variant units. At most one clerical unit: rebuild the C177 bundle from verified files (N301 QR, plus two_squares rebuilt under ZMod.Basic from N43+N245) and submit it from an experiment unit so it becomes a verified entry. Then retire the program.
Credit: node #2