Add Erdos #160 proof-lab target#5
Open
ashhart wants to merge 1 commit into
Open
Conversation
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
Adds
syntra proof-lab erdos160, a bounded finite-shadow target for Erdos Problem #160. The new target estimates finiteh(N)rows: the least color count needed so every 4-term arithmetic progression in{1..N}has at least three distinct colors.This keeps
erdos190as the solved/sanity-check target and adds #160 as the live open-problem target.What changed
N, color cap, and node limitcomb.hasThreeDistinct4ApColoring(colors)comb.badThreeDistinct4Ap(colors)comb.threeDistinct4ApWitness(n, max_colors, node_limit)syntra proof-lab erdos160with JSON/Markdown/Lean output support.Verification
cargo test --release proof_lab -- --test-threads=1cargo test --release --manifest-path Lycan/Cargo.toml combinatorics -- --test-threads=1cargo test --release --manifest-path Lycan/Cargo.toml erdos160_kernels -- --test-threads=1./target/release/syntra proof-lab erdos160 --max-n 22 --max-colors 4 --node-limit 100000 --format jsonN=22withh(22) = 4python3 evals/repo-read/check_context_contract.pygit diff --checkcargo test --release -- --test-threads=1cargo test --release --manifest-path Lycan/Cargo.toml -- --test-threads=1Warnings observed are existing unused-code/import warnings only.