formalist(OPE-4): n-queens Level B statement pin (stub — do not merge with sorry) - #4
Draft
agentforce314 wants to merge 1 commit into
Draft
agentforce314 wants to merge 1 commit into
agentforce314 wants to merge 1 commit into
Conversation
…y on branch only) - New ProofLab/NQueensTheorem.lean: NonAttacking (Fin n → Fin n) and n_queens_exists_iff copied verbatim from the Scout pin; optional split queens_exists_of_four_le; both tagged STUB: proof in OPE-6 - decide-level sanity: NonAttacking ![1,3,0,2] (PR Paul3435#174 n=4 witness) - ProofLab.lean imports the new module; ProofLab/NQueens.lean untouched - STATEMENT.md: carries PR #3 text + appended 'Lean pin' section with build tail and #print axioms (now [sorryAx]; done requires none) - Verify: lake build ProofLab.NQueensTheorem exit 0, 2 sorry warnings Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Sep 12, 2026
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
ProofLab.NQueensTheorem.NonAttackingandn_queens_exists_iff, text copied verbatim fromcatalog/problems/n-queens/STATEMENT.md.queens_exists_of_four_le(then ≥ 4construction) as a second stub so OPE-6 can land/review the hard direction separately.sorrys, both tagged-- STUB: proof in OPE-6.#print axioms=[sorryAx]for both. Draft; must not merge tomainuntil OPE-6 removes them.ProofLab/NQueens.lean(Level A, PR OPE-1424: n-queens Level A (n=2 none / n=3 none / n=4 [1,3,0,2]) Paul3435/open-math-lab#174) untouched; new module imported fromProofLab.lean.STATEMENT.mdhere carries PR OPE-3: n-queens fresh Scout dossier + Level B statement pin (board-named) #3's rewrite plus an appended "Lean pin" section — merge after OPE-3: n-queens fresh Scout dossier + Level B statement pin (board-named) #3 (identical hunks, appended section merges cleanly either order).IsNQueens (List.ofFn q) ↔ NonAttacking qdeferred (real proof work, would be a thirdsorry).Verify
#print axioms ProofLab.NQueensTheorem.n_queens_exists_iff→[sorryAx](expected at this stage).Paperclip: OPE-4 (parent OPE-2).
🤖 Generated with Claude Code