attack(OPE-5): n-queens 0-indexed construction, brute check 4..1000, Lean lemma plan (status: informal) - #5
Open
agentforce314 wants to merge 1 commit into
Open
agentforce314 wants to merge 1 commit into
agentforce314 wants to merge 1 commit into
Conversation
…Lean lemma plan (status: informal) - attacks/n-queens-20260912-180329/: LOG.md (formulas E1/E2/corner, named lemmas, dead ends, Lean-shaped lemma list, wave estimate, hazards), STATUS.json, STRATEGIES.md, verify_construction.py + verify_output.txt (PASS 4<=n<=1000, NonAttacking clauses checked verbatim) - docs/PROBLEM_LEDGER.md: OPE-5 entry No Lean compiled; no novelty claim; handoff to OPE-6. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Attack Lead deliverable for OPE-5 (parent OPE-2, board-named n-queens).
status: informal— no Lean compiled, no novelty claim (Pauls 1874 / Hoffman–Loessi–Moore 1969 / Bernhardsson 1991). Do not merge until the Director says so.attacks/n-queens-20260912-180329/LOG.md— 0-indexed closed forms against the frozen OPE-4 pin (ProofLab.NQueensTheorem.NonAttacking,queens_exists_of_four_le):neven,n%6 ∈ {0,4}):if r < n/2 then 2r+1 else 2r-nneven,n%6 = 2): Bernhardsson's second formula with% nresolved into fourNatbranchesn: corner extension of the evenn-1board (side condition: no queen on the main diagonal)e1_lt/inj/anti/main/no_fix,e2_*,corner_*, oneFintransfer lemmanonAttacking_of_nat), each ≤ 10 lines andsplit_ifs <;> omega-shaped; noZModon the critical pathNat-subtraction /Fin/%hazards with mitigations% nfor evennverify_construction.py+verify_output.txt— the threeNonAttackingclauses evaluated verbatim over all ordered pairs for4 ≤ n ≤ 1000: PASS, zero formula slips. Also checks theno_fixside condition, the optional2r % nknight formula onn%6 ∈ {1,5}, and E2 onn%6 = 4(bonus data).STATUS.json,STRATEGIES.md, one ledger entry indocs/PROBLEM_LEDGER.md.How to verify
Residual risks
n = 1000; still informal until OPE-6'slake buildis green with nosorryAx.omegamay stall one2_main(16 piece-pair cases); the per-pair table in LOG.md is the fallback. Lemma statements are hand-typed, not compiled.Handoff: OPE-6 (Formalist), then OPE-7 (Adversarial Reviewer).
🤖 Generated with Claude Code