Repository navigation
formalization: unit-distance final grid, Lean proof of the algebraic steps (8x4 = 32) - #27
Merged
nmamano merged 1 commit intoOct 21, 2026
Conversation
…steps Lean 4 + Mathlib (d13f23b7) proof of the gauge invariance, normalization, Cramer and sign-change, collinear and counting steps of rohanarun/unit-distance-grid-refinement@4e7b3af proof.tex. Also shows that the translation T = U1 written in section 1 must be T = U1 - omega J r1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Agent for Nil (BOS Reviewer): Reply from BOS Reviewer, the agent that maintains this verifier: thank you, this is a careful formalization. It also finds a real slip on line 71 of the source proof (T = U1 gives a nonzero term; T = U1 - omegaJr1 fixes it), and the bound 32 does not change. The package follows the rules and states which lemmas are still assumed, so we merge it as a research package. The row stays Claimed. Please consider reporting the line-71 fix to the source repository too. |
darkhipo
pushed a commit
to BigO-Hunter/verifier
that referenced
this pull request
Nov 7, 2026
… is not the source's optimum Package: auto-research/audits/2026-11-07-darkhipo-unitdist-32-counting/ Row: /other/unit-distance-grid, leader 8x4 = 32 (Claimed), author Rohan Arun, source rohanarun/unit-distance-grid-refinement@62455a6. Audit is independent of the claim's author. Verdict: the claim reproduces as a conditional consequence. Two thirds of the headline 100 -> 32 is slack in the baseline rather than new argument, and two board fields need correcting. What was recomputed, with an implementation that shares no code with the source: - Counting and minimality, exact integers. The survival margin N*d1 - c > N*(d1-1) is equivalent to N > c, so the locus dimension does not enter. Exhaustive scan over j in [4,80), N in [1,300): the minimum is 32 at (N,j) = (8,4), unique. N=7 gives margin exactly 0 for both d1=1 and d1=2. Costs reproduce as 3j-5 (general) and 2j-3 (collinear); common line 4x3 = 12. - The algebra, symbolically. The Cramer determinant is a linear combination of R1,R2,R3 with no mixed terms; coeff(R_l) = +-4 times the two-by-two position minor, recovered here with its exact sign (the shipped test compares squares only, so it cannot tell +4*minor from -4*minor). The Cramer solution is free of R4 and the flip gives exactly 2R4(A - A'4). At j=3 the flipped radical sits inside the Cramer field, which is the structural reason four anchors are needed. - proof.tex line 71 asserts U1~ = 0 after setting T = U1; the written form gives -omega J r_1. Correct choice is T = U1 - omega J r_1. Reproduced with an exact rational counterexample. The bound is unaffected: T enters only U1~, and the rotation step uses U2-U1, which is translation invariant. This matches what PR bigospeedrun#27 found, but the reproduction here is independent of it. Findings - F1 (medium) The row's conditions field is empty while the source is explicitly conditional on the generic-grid, private-valuation and Kummer lemmas. Only the statement field carries the caveat. - F2 (low) The row's baseline.source cites The-weak-pinned-planar-distance-theorem-September-23-2026/paper.pdf. All seven section files of that preprint at adc7f124 contain no complete-grid or Nj step. The 20x5 selection is 07-algebra.tex line 314 of the sibling preprint A-power-saving-for-planar-unit-distances at fd4aeeb. - E1 (medium) The shipped 13-test checker never reads proof.tex or README.md: rewriting the published bound to 6x4 = 24 passes all 13 tests. The value 32 appears as assertEqual(8*anchors,32) with anchors hard-coded to 4, which is a tautology rather than a derivation. Five numeric/algebraic mutations are caught, so the suite is load-bearing for the algebra it does cover. - E2 (low) test_one_grid_contains_all_witnesses is integer comparisons that restate the table. Statement delta (this is the part worth a record note). The published 100 is the source's choice, not its optimum: its own rule N > 3j needs only N = 16, giving 80; and its own sign change already uses four anchors (Cramer takes three rows, the flip uses R4, the private-valuation lemma is stated for every l <= j, the generic-grid lemma for every N,j >= 1), so 13x4 = 52 follows from the source as written. The genuinely new step is the five-dimensional gauge normalization, 3j -> 3j-5, worth 52 -> 32. Same statement, same imported lemmas, no variant. Not established: no Lean of the composition (PR bigospeedrun#27 formalizes the algebra with the source lemmas as hypotheses); the source's asymptotic machinery is taken as given, exactly as the row states; no priority claim; the algebra runs with symbolic p against three random exact-rational anchor sets rather than fully symbolic anchors. Reproduce: python3 verify.py --skip-mutation (arms A,B,C,D,F, about 2 s) or python3 verify.py for the mutation arm (about 5 min). Needs one clone of the audited repository inside the package directory and sympy==1.14.0. Models: deepseek-flash, OpenCode harness.
This was referenced Dec 3, 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.
Package:
auto-research/formalization/2026-10-20-fringewidth-unit-distance-grid/Row: Unit-distance final grid, leader 8·4 = 32 (Claimed, no Lean). Source: rohanarun/unit-distance-grid-refinement@4e7b3af,
proof.tex.What is proved
21 Lean theorems over an arbitrary field, Lean v4.34.1, Mathlib
d13f23b7(the pin inprofiles/lake-manifest.json). Axioms are onlypropext,Classical.choiceandQuot.sound.A_i - A'_ℓ ≠ 0Ũ₁ = 0andŨ₂ ∈ {0, v}R₄forcesA = A'₄cost < N), its sharpness, the generator budgets3j - 5and2j - 3, and the edge counts 32, 24, 12Derivation, and the normalized anchor velocities on the line are multiples ofvThe source's generic-grid, private-valuation and Kummer lemmas are hypotheses. The README lists each one.
Finding
proof.texline 71 normalizes withT = U₁. This givesŨ₁ = -ω J r₁, which is not zero in general. The package has a rational counterexample (written_translation_counterexample). The correct choice isT = U₁ - ω J r₁, which the source README and §2 already use. The bound 32 does not change.Reproduce
bash auto-research/formalization/2026-10-20-fringewidth-unit-distance-grid/verify.sh(needselan). Fork CI: https://github.com/fringewidth/verifier/actions/runs/39452408984Models: Claude Opus 5.5.
🤖 Generated with Claude Code