# Magic squares of squares — root 2 research and verification merge The selected problem is [`MagicSquares.exists_magic_square_squares`](https://lefttosolve.com/p/MagicSquares.exists_magic_square_squares), the existence of a 3 × 3 magic square of distinct integer squares. The reports support retaining **research open** as of the status audit on 2026-11-28. They establish structural identities, a bridge to the upstream proposition, a finite mod-11 classification, an obstruction under fixed-class hypotheses, and a compatible local tower. They also identify a corrected conditional product bound. No supplied result establishes existence or nonexistence for the parent problem. This root merges the eleven reports and records which checks their authors ran. It does not claim a new Lean replay. ## Status, prior work, and publication scope - **Status search.** The Left to Solve page reported research open. Auel–Singer v1 (8 Sep 2026) treats the problem as open in its abstract. Hill v3 (7 Apr 2026) and Ferreira v2 (26 Jun 2015) each claim nonexistence. The status worker read the abstracts only. The cited gaps after Hill's (30) and at Ferreira's (41), (47) come from earlier evidence and were not independently checked in this item. Later citations, revisions and errata were not surveyed, so the finding is that no validated resolution was located in the sources reviewed. [Status audit](#b12-status-priority) · [Auel–Singer](https://arxiv.org/abs/2609.09351v1) · [Hill](https://arxiv.org/abs/2510.08286v3) · [Ferreira](https://arxiv.org/abs/1506.06621v2) - **Separate reduction.** The 27 November label for R1 was supplied to the status worker and its date was not independently verified. The GitHub blob returned HTTP 503 and the worker read the same pinned raw file. It establishes a conditional chain `main : H1 → H2 → type_of% @MagicSquares.exists_magic_square_squares`, with `H1` the infinitude of Bremner's rational seven-square parameter locus and `H2` the implication from that infinitude to a parameter pair producing the two remaining squares. Neither hypothesis was discharged and this worker did not compile R1. [Status audit](#b12-status-priority) · [Pinned R1](https://raw.githubusercontent.com/lefttosolve2/open-math-agents/35f5b21ec937fd5257e5302f8d06768563674197/reductions/MagicSquares.exists_magic_square_squares.R1.lean) - **Priority.** Credit the pinned `uwe-schwarz` note, §3, for mod-11 rigidity of I0:0000/0101/0110 and §4b for existence of a valuation-one mod-121 solution. Confirm the author's preferred attribution before publication. The note explicitly leaves compatible lifts through `ℓ³` and beyond open and does not assert pairwise distinctness up to sign. These are potential advances relative to that specific note. The audit found no occurrence of the exact mod-11 generator locus or norm-five exclusion in that note. It did not survey the later ledgers, other directories, later commits, or the Roberts–Underwood cross-validation. The handoff also mentions formal-conjectures PR 8128, without supplying independent findings about the PR. [Status audit](#b12-status-priority) · [Handoff](#b13-handoff) · [Pinned rigidity note](https://raw.githubusercontent.com/uwe-schwarz/magic-squares-of-squares/9016ffebaf121e29121528dca8f1c205f96a6a45/research/coupled-p2qr-scan/rigidity.md) - **Correction to the priority audit.** Its line suggesting a containment of `mu4` in `mu6` is false. The order-four and order-six subgroups in the cyclic mod-11 norm-one group of order 12 are distinct, and their intersection has order two. The rigidity calculation and the exact generator-locus theorem address different conditions. Use the patched Lean locus for the latter. [Priority audit](#b12-status-priority) · [Locus replay](#b14-core) · [Product correction](#b12-product-correction) - **Claim boundary.** The priority worker had no Lean artifact and could not assess the locus, the norm-five statement, or lifting beyond mod 121. Other inputs supply positive verification for the specific Lean statements and the single fixed-digit branch. The counts `11^(k-2)` per mod-121 seed and `10*11^(k-2)` over admissible identity-residue seeds were transmitted as paper-only figures. None of these eleven artifacts supplies a derivation or verifies the Jacobian argument for those counts. Keep them as reported, unverified claims. The JSON summaries do not reproduce the exact tower theorem type or its offset hypotheses, so check those binders in the actual `I0Tower.lean` before attaching the full paper claim about valuation exactly one and pairwise distinctness up to sign to the Lean certificate. [Priority audit](#b12-status-priority) · [Local tower](#b13-local-tower) · [Tower audit](#b13-audit-tower) · [Handoff](#b13-handoff) ## Complementary mathematical results | Track | Result and boundary | Evidence | | --- | --- | --- | | Grid identities and representation bridge | Center and opposite-pair identities compiled. The Mathlib grid satisfies the magic-sum interface and its existence proposition is equivalent to the displayed upstream proposition. The bridge operand matches the upstream declaration text after whitespace normalization and removal of its outer grouping parentheses. The upstream declaration was read textually and its body contains `sorry`. | [Core replay](#b14-core), [Grid replay](#b14-grid) | | Finite locus | For the norm-one triples in `Residue11`, the signed condition holds exactly on `mu4^3`. The audited enumeration uses 12 norm-one elements, 1,728 input triples, and 64 solutions. `residue_locus`, `solutions_eq_mu4Triples`, and `solutions_length` each report `[propext]` in the patched 4.33.1 run. The 4.36.0 handoff reports `[propext, Classical.choice, Quot.sound]` for its `residue_locus`. Keep these as version-specific reports. | [Core replay](#b14-core), [Core port](#b13-core-port), [Handoff](#b13-handoff) | | Integral/class obstruction | The column reduction and the signed relations connect the fixed-class assumptions to the mod-11 locus. The handoff names `class_columns_mod11`, `class_forces_mu4`, and `no_grid_1525r`. The core replay separately audits the Gaussian direction criteria and the norm-five lemmas `norm_five_fails`, `norm_five_no_unit_equation`, and `norm_five_not_dvd`, together with passing representations for 61 and 101. The class-specific conclusion must keep the obstruction theorem's hypotheses. The obstruction audit found the redundant `hC` hypothesis and a degenerate all-ones witness with `pi=1` for `InClassI0`. Its small search with `|re|,|im| ≤ 3` found no nondegenerate member. Its separate Python check found `V=(8,3,3,3)` mod 11 for `pi=(1+2i,5+6i,10+i)`, with no signed relation. Neither search establishes general nonexistence. | [Obstruction](#b13-obstruction), [Obstruction audit](#b13-audit-obstruction), [Handoff](#b13-handoff), [Core replay](#b14-core) | | Local lifting | The finite certificate `Certificate1331.witness`, generic `DigitTower.exists_compatible_tower`, and polynomial first-order and Gaussian congruence machinery have 4.33.1 replay evidence. The 4.36.0 sources additionally report `exists_i0_tower`, one compatible 11-adic branch, and a separate exact-integer check at 121, 1331 and 14641. The local result does not produce Gaussian primes or an integral grid. | [Core replay](#b14-core), [Local tower](#b13-local-tower), [Tower audit](#b13-audit-tower), [Handoff](#b13-handoff) | | Product bound | The proposed equivalence fails for a general abelian group with extra involutions. Its corrected form works there and specializes to the originally intended criterion on an odd eligible cyclic norm-one torus. Combining it with external rigidity gives a necessary divisibility and height bound for the fixed class. The larger-prime enumeration was not independently rerun here. | [Product correction](#b12-product-correction) | The conditional product bound is `product(R) | H_p` and `product(R) ≤ |H_p| ≤ floor(p²/4)`, where `H_p = ab(a²−b²)` for `pi_p = a+bi` and `R = S \ {p,q,r}`. The height estimate follows from `U = 2|ab|`, `V = |a²−b²|`, and `U²+V²=p²`, giving `|H_p| = UV/2 ≤ p²/4`. The full hypothesis, weaker bound and counterexample are in the correction. [Product correction](#b12-product-correction) ## Reconciled verification record - **Lean 4.33.1, pinned trunk `455a98a9d80feb8db13b6044c164b570fa81f7da`.** Eight of nine core modules passed unmodified. The original `Residue11.lean` failed at 139:2 during `Decidable` synthesis for `locus_on_normOne`; its replay and axiom import subsequently failed because no olean existed. Adding the two scoped synthesis options produced the separately hashed successful variant. The replay audited 135 source public theorems and 239 public theorem constants including 104 generated declarations, with agreement on the 135 overlapping names. Normal module replay uses the Lean kernel with its imported environment. It is distinct from a fresh whole-dependency replay or a second kernel implementation. [Core replay, hashes, timings, full axiom ledger, and commands](#b14-core) - **Lean 4.33.1 with Mathlib.** Independent checks of the unmodified Center and GridBridge passed with the verified cache closure at `0df444a360eaa60ab8c11dca51a86af692955474`. This supplies the grid replay that the 4.36.0 handoff explicitly did not run. The two Center times, 2.452 s and 11.239 s, measure different workloads. The first is compile/replay/axiom time in the core replay. The second includes offline input verification and extraction. GridBridge's 18.004 s includes compiling Center as a dependency. [Core replay](#b14-core) · [Grid replay](#b14-grid) · [Handoff](#b13-handoff) - **Lean 4.36.0 targets.** The core, obstruction, and tower reports describe warnings-as-errors compiles, fresh replays and allowed axiom results on their target sources, including a repaired `IntegralColumns` and a `Residue11` sharing the patched hash prefix/suffix. The independent obstruction auditor's `Audit.Obstruction` recheck timed out at 10 min after a successful 7 min fresh replay of `IntegralColumns`. The obstruction implementation report and handoff separately report success on `Audit.Obstruction`; the handoff gives 174 s. These were separate runs, so the timeout remains part of the independent audit record. The tower audit reports a successful fresh replay, and the handoff's combined run reports 14 successful compiles and 110 accepted axiom lists. The 4.36.0 reports do not supply the complete release hash, landed commit pin, or full commands and theorem binders in the merge inputs. They point to README and docs for those details. The handoff did not refetch its release. [Core port](#b13-core-port) · [Local tower](#b13-local-tower) · [Obstruction](#b13-obstruction) · [Obstruction audit](#b13-audit-obstruction) · [Tower audit](#b13-audit-tower) · [Handoff](#b13-handoff) - **Offline replay versus offline shipment.** The Lean archive is 570,405,234 bytes. The 839 pinned cache archives total 68,585,420 bytes. Together they require 638,990,654 bytes before the wheel and replay code. A previous 643,808,473-byte bundle was rejected. Twelve 8 MiB pieces carry only 100,663,296 bytes, so chunking at that limit cannot ship the required inputs. The original self-test exited 2 because `tools/magic-replay/offline.py` was absent from clean trunk. The grid worker did run successful offline checks after preparing verified inputs using the different `tools/magic-replay/replay.py` helper. This verifies the prepared-input route and supplies no evidence that the upload cap or original `offline.py` entry point was fixed. The offline-input worker identified raising the cap or separately prepositioning the pinned inputs as alternatives. [Offline inputs](#b11-offline-inputs) · [Grid replay](#b14-grid) ## Source evidence and reproduction ledger First-person statements in the retained reports refer to the original workers. ### b12-status-priority Input SHA-256 `b0de34aa69bf68c4ff38b9e9f0d4126e2d66a3fb82e8d0d193892d5e4bcde23b`. #### Evidence note: status and priority for the planned I0:0000/0101/0110 partial-result publication Date of audit: 2026-11-28. Item: `status-priority`, batch `i0-publication-evidence`. All sources were treated as data. Fetches were page-summarised by a tool unless stated; the rigidity.md file was also downloaded raw and read directly. ##### 1. Precise claims to be assessed * **(A) Norm-one branch.** For every `11^k`, `k >= 2`, there is a compatible norm-one (Gaussian-torus) branch of the coupled system for class I0:0000/0101/0110 in which all four offsets have 11-adic valuation exactly 1 and are pairwise distinct up to sign. * **(B) mu4^3 locus.** The exact mod-11 generator locus is `mu4^3` (generators in the order-4 subgroup), and it yields the class-specific norm-five exclusion. * Paper-only counts (as given in the brief; **not re-derived here**): `11^(k-2)` branches per mod-121 seed, and `10*11^(k-2)` over all admissible identity-residue seeds. These are paper arguments. They must not be attributed to the fixed-digit Lean tower. ##### 2. Solved status of the parent problem (MagicSquares.exists_magic_square_squares) | Source | Version / date | What it says | Access | |---|---|---|---| | https://lefttosolve.com/p/MagicSquares.exists_magic_square_squares | fetched 2026-11-28 | Status "research open". Text: "Nobody has proved this yet." Activity log shows only hand-backs (too hard / reduced / other). Relative timestamps only, no absolute dates. No arXiv ids appear on the page. | OK | | https://arxiv.org/abs/2609.09351 (Auel–Singer, *The algebraic geometry of 3-by-3 magic squares of squares*) | v1, 8 Sep 2026; no later version shown on the abs page | Studies the surface parametrising such squares. The abstract says the existence question "has been open since the 18th century". It does not claim a resolution. | abs page only; full text not read | | https://arxiv.org/abs/2510.08286 (Hill, *...Proof of the Nonexistence of Magic Squares of Squares*) | v1 9 Oct 2025, v2 19 Oct 2025, v3 7 Apr 2026 | Claims non-existence. math.GM. | abs page only. The gap "after (30)" was **not independently re-checked**. I rely on the earlier status evidence named in the brief. | | https://arxiv.org/abs/1506.06621 (Ferreira) | v1 24 Apr 2015, v2 26 Jun 2015 | Claims non-existence (4 pages, math.GM). | abs page only. The gap at (41),(47) was **not re-checked**. I rely on the brief's earlier evidence. | **Assessment.** No validated resolution was found. The brief points to the lefttosolve page, which lists the problem as open, and to 2609.09351v1, which treats it as open. Hill v3 and Ferreira v2 are unrefereed math.GM claims with gaps recorded in earlier status evidence, so they do not change the open status. **Do not change the status to solved.** I did not search for later citations or errata of these papers beyond the abs pages. A resolution published after the 2026-09-08 v1, or a version I could not see, is a residual risk. ##### 3. R1 reduction (27 November) Source: https://github.com/lefttosolve2/open-math-agents/blob/35f5b21ec937fd5257e5302f8d06768563674197/reductions/MagicSquares.exists_magic_square_squares.R1.lean * The github.com blob page returned **HTTP 503**. The same commit was read through raw.githubusercontent.com (`.../35f5b21ec937fd5257e5302f8d06768563674197/reductions/...R1.lean`). * Its header reads: "Each H becomes its own step once this file is accepted. Proving all of them closes the problem." * `H1` is the infinitude of the Bremner rational 7-square parameter locus (credited to Bremner 1999, Acta Arith. 88). * `H2` is the open frontier: "H1 → ∃ a parameter pair that also makes the remaining two entries squares". * The file proves `theorem main : H1 → H2 → type_of% @MagicSquares.exists_magic_square_squares`. It proves **only the conditional chain**. Neither H1 nor H2 is established. * The date "27 November" is the brief's. I did not verify the commit date. * This is a Lean-compiled-or-not statement I did **not** compile. I read the source only. * It does not resolve the problem, and it has no bearing on claims (A) and (B), which concern a different (coupled p²qr / Gaussian-torus) programme. ##### 4. Prior overlap: uwe-schwarz rigidity.md Pinned file: https://raw.githubusercontent.com/uwe-schwarz/magic-squares-of-squares/9016ffebaf121e29121528dca8f1c205f96a6a45/research/coupled-p2qr-scan/rigidity.md. It is 16,729 bytes and was read directly. It carries a "Correction (2026-08-23)" inside section 4, so the file post-dates 23 Aug 2026. ###### What sections 3, 4b and 5 actually contain * **§3 (small-prime theorems; paper algebra).** `mu_4` for l=7 and `mu_6` for l=11,13 (norm-one subgroup of F_121 for 11). Criterion: `c_0 + c_1 ∈ (nZ)^3`. "exactly the one class `I0:0000/0101/0110` with `c_0 + c_1 = (-3, 0, 0) in (3Z)^3` is rigid at `11` and at `13`." So the class is already shown to be mod-11 rigid, meaning every integer realization has `11 | d_c` for all four offsets. This is prior art for the mod-11 divisibility only. * **§4b (l² cap).** "for each of the sixteen classes and every odd prime `l`, the coupled torus system modulo `l^2` admits a solution whose four offsets have common `l`-valuation exactly 1." The proof is a linearisation `(1+l z)^n = 1+n l z (mod l²)`, with a rank/minor computation by a script (`l2_linearization.py`). That is computational input, with exhaustive enumeration to l ≤ 31 and witnesses at selected primes including 11. The section is explicit about scope: it "does not assert that integer realizations with `v_l(d) = 1` exist (a valuation-1 torus branch need not lift to `l^3` compatibly...); it does not exclude deeper `l`-adic forcing at level `l^3`". * **§5 (corollary).** Every rigid `l` divides all four offsets. The note says this "does not yet exclude any class." * **No Lean** is mentioned in §3, §4b or §5. ###### What the file does NOT contain (searched the raw text for `norm`, `mu_4`, `11^`, `valuation`) * No branch at `11^k` for `k >= 3`. Level `l^3` is explicitly disclaimed. * No distinctness-up-to-sign statement for the four offsets. * No `mu4^3` mod-11 generator locus, and no class-specific "norm-five" exclusion. The word "norm" appears only for the norm-one torus and the norm identity `N(u²−1) ≤ 4`. * No counts `11^(k-2)` or `10*11^(k-2)`. ##### 5. Independent reasoning on the claims * **Claim (A) at k = 2.** The §4b theorem already gives, at 11, a mod-121 solution with common valuation exactly 1. **A mod-121 branch with valuation one is not new.** The new content of (A) at k=2 is at most the extra requirements "compatible" and "distinct up to sign". These are not in the file, though a witness-level check could settle them cheaply. * **Claim (A) at k >= 3.** This is a Hensel-type lifting statement. The file leaves it open in its own words, so it is not prior art in this file. The counts `11^(k-2)` per seed fit a smooth fibre of a 1-parameter lift over Z/11 at each step. I did not re-derive them, so they stay as the brief's paper-only counts. A standard lifting argument needs a nonvanishing Jacobian modulo 11 on the torus-square equations. I did not verify that this holds at the I0 seed. This is the main point where a proof would be needed. * **Claim (B).** There is no overlap in the pinned file, but it cannot be validated from it either. The nature of "norm five" (an exclusion on the Gaussian norm of some quantity) is not defined in any source I read. The note therefore asserts only that, within the pinned rigidity.md, §3 puts `c_0+c_1` in `(3Z)^3`, followed in the original audit by a mistaken suggestion of subgroup containment (corrected above). Whether the locus is exactly `mu4^3` and what the norm-five step excludes must be taken from the planned paper or Lean artifact, which I was not given. * **Counterexample search.** I constructed none, and I ran no computation. I found no contradiction with the sources. ##### 6. Bounded priority assessment 1. **Safe to claim as new relative to the pinned file:** a branch for all `k >= 3` (if proved). Any proof that goes through level `l^3` and beyond, with compatibility and distinctness, since the file disclaims these. 2. **Not new:** rigidity of I0:0000/0101/0110 at 11 (`11 | all four offsets`). The mod-121 valuation-one torus solution (§4b, general odd l). Both are due to the uwe-schwarz repository (note dated at least 2026-08-23). 3. **Unknown prior overlap:** the `mu4^3` locus and the norm-five exclusion. Absent from the pinned file. Later commits of that repository, other directories (`prime-support/`, ledgers) and the Roberts–Underwood cross-validation (§5b) were not searched, per the brief's "no broad survey". 4. **Status:** the parent problem remains open. This is a partial result and must not be framed as a resolution. In particular it does not exclude the class. Even the source says the divisibility conditions are consistent. ##### 7. Suggested wording > "Rigidity of the class I0:0000/0101/0110 at the prime 11 (every integer realization has 11 dividing all four offsets), and the existence of a mod-121 norm-one torus solution with common valuation exactly 1, are due to U. Schwarz, *Modular rigidity of the unresolved p²qr classes* (`research/coupled-p2qr-scan/rigidity.md`, repository magic-squares-of-squares, commit 9016ffe; §3, §4b). That note explicitly leaves the lifting to 11^k (k ≥ 3) open. The branch construction for all k ≥ 2 and the counts below are paper arguments by the present authors. They are not part of the fixed-digit Lean development and are not computationally certified." (Check the author's name for the repository with its owner before publishing. Only the GitHub handle `uwe-schwarz` appears in the URL.) For the status lines: "Open; see lefttosolve.com/p/MagicSquares.exists_magic_square_squares and arXiv:2609.09351v1. Hill (arXiv:2510.08286v3) and Ferreira (arXiv:1506.06621v2) claim non-existence; their proofs were not accepted here." ##### 8. Remaining uncertainty and access failures * **Access failure:** the github.com blob URL for R1 returned HTTP 503. Content was taken from the raw URL at the same commit. * Full texts of 2609.09351, 2510.08286 and 1506.06621 were not read, only their abs pages. The gap locations (Hill after (30), Ferreira (41),(47)) come from the brief's earlier evidence. * I did not check later revisions or citations of 2609.09351 beyond v1, or any citing papers. * The lefttosolve page uses only relative times, so its status date is the fetch date. * No claim in this note was compiled or machine-checked by me. The mod-l² results are paper arguments plus Python/C++ enumeration in the source repository. * Claim (B), the `11^(k-2)` and `10*11^(k-2)` counts, and the norm-one lifting for k ≥ 3 could not be assessed against any source and are unverified. ### b12-product-correction Input SHA-256 `5e83e2461c3b4862ebab0756814700a21340a15b46ea2451d8f61838b1fafcf4`. #### Correction note — I0:0000/0101/0110 p-factor argument **Scope and versions.** This audits the content-addressed proposed statement [`319d…9df5`](https://api.imd.fun/artifacts/319d151272122c0f1b519a7163b7b387bd78970a580019ef8132e597a4eb9df5) and its content-addressed review [`3f76…a212`](https://api.imd.fun/artifacts/3f76774369cf94caed2ab780c53fce37b4b6eb4120eb1cf2be01911e143ea212), accessed 2026-11-28. The primary repository source is the raw, commit-pinned [`rigidity.md` at `9016ffebaf121c…`](https://raw.githubusercontent.com/uwe-schwarz/magic-squares-of-squares/9016ffebaf121e29121528dca8f1c205f96a6a45/research/coupled-p2qr-scan/rigidity.md), which records its correction date as 2026-08-23. The proposed statement's claim of an arbitrary-abelian-group equivalence needs the correction below. ##### The group calculation Let `E={1,-1}` be the distinguished scalar signs in an abelian group and put ``` W0=x^-2*y^-2*z^-2 W1=x^-4*y^2*z^2 W2=x^-4*y^-2*z^2 W3=x^-4*y^2*z^-2. ``` The valid forward implication is stronger than the one stated in the proposal: ``` (all Wc in E) => x^4=1, x^2 in E, (yz)^2 in E, (z/y)^2 in E. (F) ``` Indeed, `W0W1=x^-6` and `W2W3=x^-8` are signs. Squaring gives `x^12=x^16=1`, so `x^4=1`; then `x^-6=x^-2` is a sign. Finally `W1=(yz)^2` and `W2=(z/y)^2` after using `x^4=1`. The exact arbitrary-group equivalence is instead ``` all Wc in E <=> x^2 in E, (yz)^2 in E, (z/y)^2 in E. (C) ``` (The first condition implies `x^4=1`.) For the converse, call the latter two signs `A` and `B`. Then `W1=A`, `W2=B`, `W3=B^-1`, and `W0=x^-2*A^-1`, all signs. Thus a corrected converse may equivalently add `x^2 in E` to the three conditions printed in the proposal. Here is an explicit finite counterexample to the uncorrected converse. Take `G= = C4 x C2`, designate `-1=b`, and take `x=a`, `y=z=1`. Then `x^4=1` and both displayed square conditions equal `1`, but `W0=a^-2=a^2` is neither `1` nor `b`; `W1=W2=W3=1`. The defect is precisely the additional involution `a^2`. This counterexample does **not** invalidate the intended local application. For an odd eligible prime `l`, the actual norm-one torus `T_l={u in (F_l[i])^* : u*bar(u)=1}` is cyclic: it is the kernel in the cyclic group `F_(l^2)^*` when `l=3 (mod 4)`, and is isomorphic to the cyclic `F_l^*` via `u -> (u,u^-1)` when `l=1 (mod 4)`. Hence its only elements of order dividing two are the scalar `1,-1`. On `T_l`, `x^4=1` therefore does imply `x^2 in E`, and the proposed three-condition equivalence is valid *after this specialization*, not in every abelian group. ##### Appendix-ready conditional statement Let `p,q,r` be distinct primes congruent to `1 (mod 4)`, set `e=p^2*q*r`, and use the I0 class with columns `((-1,-2,-2),(-1,1,-1,1),(-1,1,1,-1))`. Let ``` S = {11,13,29,37,43,67,149}, P = product(S) = 65866606091, R = S \ {p,q,r}. ``` Choose `pi_p=a+b*i` above `p` and write `H_p=ab(a^2-b^2)`. Assume **RIG**: for every `l in R`, every integral realization has `l | d_c` for all four offsets. This is an explicitly external hypothesis supplied by the pinned rigidity table, not a result proved here. Each such `l` is odd and, because it was removed if it equals `p`, `q`, or `r`, satisfies the required exclusion `l !| 2pqr`. Under RIG, ``` product(l in R) l | H_p, product(l in R) l <= |H_p| <= floor(p^2/4). (1) ``` Reason: RIG and the reduction lemma make each normalized `Wc` a scalar norm-one element, hence a sign in `T_l`. By (F), `g_p^4=1`; since `pi_p^4-bar(pi_p)^4=8*i*H_p`, and `l` is odd with `i` a unit, `l | H_p`. Here `H_p` is nonzero (`ab=0` would make `p` a square and `a^2=b^2` would make `p=2a^2`). For the height bound, with `X=a^2`, `Y=b^2`, `X+Y=p`, `|H_p|=sqrt(XY)|X-Y| <= p^2/4`; integrality gives the displayed floor. No conclusion is obtained from RIG at a prime equal to `p`, `q`, or `r`: the reduction lemma excludes every `l | 2pqr`. A deliberately weaker but valid bookkeeping form is ``` product(l in S \ {p}) l | q*r*H_p, product(l in S \ {p}) l <= q*r*floor(p^2/4), (2) ``` because any members of `S` equal to `q` or `r` are supplied by the explicit factor `q*r`, rather than by rigidity. Formula (2) must not be described as a new rigidity deduction at those excluded primes. ##### Evidence boundary and priority The pinned note gives complete algebraic small-prime reasoning for `11,13`, but says the larger entries are verified by exhaustive torus enumeration. Thus the RIG-dependent factors `29,37,43,67,149` remain conditional on that external enumeration and its reported cross-checks; it was not rerun in this audit. The p-factor deduction (with correction (C)) is elementary paper reasoning conditional on RIG. No Lean file was supplied, compiled, or independently checked here, so this is not an unconditional seven-prime Lean result. Conservative novelty wording: *Conditional on the pinned finite rigidity classification, the fixed-class exponent calculation yields the necessary p-factor divisibility (1) and its height bound. This is neither a construction nor a nonexistence proof, and its literature novelty is not established by this audit.* Remaining uncertainty is the independent verification of the enumeration at the five larger primes (and, separately, any global lifting from modular conditions to an integral square). ### b14-core Input SHA-256 `3201915e1e09d67b5e2c41c15f8a5620e62c1d2287bbfbc9ae4f4007fe00cc8a`. **The unmodified `Residue11.lean` fails.** At `MagicResearch/Residue11.lean:139:2`, Lean cannot synthesize the `Decidable` instance for `locus_on_normOne`; no olean is produced. The specified two-option variant compiles and passes `leanchecker`. The other eight modules compile and replay unchanged. These are direct observations from this replay. [Residue11 source][s1] Replay date: 2026-11-28. Repository commit: `455a98a9d80feb8db13b6044c164b570fa81f7da`. Only the nine individual repository files linked in the table were fetched, and their repository-relative paths were preserved in a scratch working directory. No repository clone, Mathlib download, or Lake build was used. The [official Lean 4.33.1 release][release] [Linux archive][archive] was checked **before extraction or execution**: `570405234` bytes and SHA-256 `890afd185370f85666025b883914ab4f4b339136f8c96167b69cfb62aecaf235`, both matching the assignment. `lean --version` returned `Lean (version 4.33.1, x86_64-unknown-linux-gnu, commit 819816b2e0a3bf405af45ae5c7af2491d8f5bee6, Release)`. Both `lean` and `leanchecker` came from that archive; its `bin` directory was placed first on `PATH`. **Unmodified-source results.** Every compile used `lean -DwarningAsError=true -o`, in the requested order. Each target olean was written beneath one initially empty `build` directory, the sole explicit entry in `LEAN_PATH`; bundled Lean libraries were resolved from the verified release. Each replay used `leanchecker -v MODULE`. Compilation, replay, and axiom-driver exit codes are 0 for every “yes”; all three unmodified Residue11 attempts exited 1. No measured run timed out. Seconds are elapsed wall time measured around each process with `time.monotonic`: **total (compile / replay / axiom print)**, rounded to milliseconds. Downloads, extraction, and the supplemental whole-environment axiom audit (12.963 s, exit 0) are excluded. The unmodified Residue11 replay/axiom times measure failed attempts to load its absent olean. | Module under `MagicResearch/` | Source SHA-256 | Compiled | Replayed | Seconds: total (C / R / A) | |---|---|---|---|---| | [Center.lean][s0] | `31c94e62c570660dcd4c466e3f18eb42ebf1541af228fe48831d5bac44c79428` | yes | yes | 2.452 (0.818 / 1.169 / 0.466) | | [Residue11.lean][s1] | `9c6133492fd9589d5ca0f222d609d0b7f457e8b29610679d7ba86478f2a3eb22` | no | no | 62.640 (61.607 / 0.818 / 0.215) | | [IntegralColumns.lean][s2] | `b950afb2e54e94619a800d2c89de8c54c5bd8d2416c6fb4b51a4058f9ba9d1f0` | yes | yes | 25.564 (15.947 / 9.149 / 0.467) | | [GaussianDirections.lean][s3] | `404a29f1b9e28b9100eb1294c0d1740ce647376c88b1d8c32e99041e4225827a` | yes | yes | 66.415 (45.254 / 20.644 / 0.517) | | [Certificate1331.lean][s4] | `9e54d104e268c26d6e6b9412d0542854a9dcf9bcf70c7ad56f3e7c3e9c1aa650` | yes | yes | 2.203 (0.717 / 1.019 / 0.466) | | [DigitTower.lean][s5] | `90220988a0001ff37d853033a9dd1997e54ef9980eea988f91d4ba613104f356` | yes | yes | 2.805 (1.070 / 1.269 / 0.466) | | [Linear/Polynomial.lean][s6] | `9a8b198219eff7e535f87025a3c5f6933b9bf61901585cb03a4181197564bd9b` | yes | yes | 3.160 (1.323 / 1.371 / 0.466) | | [Linear/Gaussian.lean][s7] | `4ecff7eed7c1bb7e82e2622c00b301139e302f2b0a40222dd209534adee73786` | yes | yes | 2.459 (0.767 / 1.175 / 0.517) | | [I0Linear.lean][s8] | `db0f09d8c1b9e98348975240d72a12df5bb91dbb11a98e661ab992625eebddd0` | yes | yes | 4.115 (1.923 / 1.574 / 0.618) | **Separate change experiment.** After the original failure and its failed replay/axiom attempts, I inserted exactly these two LF-terminated lines immediately after original line 134 (`set_option maxHeartbeats 0 in`), before the doc comment and theorem `locus_on_normOne`: ```lean set_option synthInstance.maxHeartbeats 0 in set_option synthInstance.maxSize 1000000 in ``` No existing byte was removed or changed. The options are scoped to that theorem; `solutions_eq_mu4Triples` received no new option. The patched run occurred before moving on to `IntegralColumns.lean`. Its hash and results are separate from the pinned-source table: | Module under `MagicResearch/` | Source SHA-256 | Compiled | Replayed | Seconds: total (C / R / A) | |---|---|---|---|---| | [Residue11.lean + two options][s1] | `99ea63cb84db98845528440d72a351af65a53bd40ca534fff155fc99f0f7a358` | yes | yes | 181.840 (90.884 / 90.490 / 0.466) | For this patched variant, `residue_locus`, `solutions_eq_mu4Triples`, and `solutions_length` are **kernel-checked and replayed**, each with axiom list `[propext]`. The last theorem proves `solutions.length = 64`; the source defines the input list as all triples from its twelve-element `normOne` list, hence 1728 input triples. The equality theorem identifies the solutions exactly with the triples from `mu4`. This success is not attributed to the unmodified file. [Residue11][s1] **Errors and diagnostics.** The complete source-compilation diagnostic was: ```text MagicResearch/Residue11.lean:139:2: error: failed to synthesize Decidable (∀ (p : G), p ∈ normOne → ∀ (q : G), q ∈ normOne → ∀ (r : G), r ∈ normOne → (Signed (V p q r) ↔ InMu4 p ∧ InMu4 q ∧ InMu4 r)) Hint: Additional diagnostic information may be available using the `set_option diagnostics true` command. ``` The original-file replay then reported the following (no source file/line exists for this loader error): ```text uncaught exception: Could not find any oleans for: MagicResearch.Residue11 ``` The original-file axiom driver failed on its import. Absolute scratch prefixes are normalized below to `audit/` for generated drivers and `build/` for compiled outputs: ```text audit/MagicResearch.Residue11-original.lean:1:0: error: object file 'build/MagicResearch/Residue11.olean' of module MagicResearch.Residue11 does not exist ``` There were no other module compile, replay, or axiom-print errors or warnings. `DigitTower.lean` printed its existing informational axiom reports during compilation; in addition to its theorems, those report `[propext]` for the definitions `correction`, `lift`, and `tower`. Setup-only diagnostics, with no Lean source line: an initial `leanchecker --help` probe, before fixing `PATH`, exited 1 with `uncaught exception: process 'lean' exited with code 255`, followed by `stderr:` and `could not execute external process 'lean'`. A second help probe with the correct `PATH` was interrupted (exit 130): this binary has no help-only branch, so that invocation started a general scan rather than displaying usage. A source-location probe for bundled `src/lean/Lean/Checker.lean` returned `No such file or directory (os error 2)`; the actual bundled source is `src/lean/LeanChecker.lean`. A termination probe and a process-list filter each returned 1 without a diagnostic. These probes are not counted as module checks. All recorded module replays used explicit module names and the configured `PATH`. **Axioms of every public theorem.** I ran separate `#print axioms` drivers for all **135** source-declared public theorems. A second audit enumerated imported theorem constants belonging to these nine modules, excluded names for which `Name.isInternal` is true (including private names), and ran `#print axioms` on all **239** remaining declarations. It found every source-declared public theorem and **104** additional generated public declarations. The two audits agreed on all 135 common names. Private/internal proof auxiliaries are replayed with their modules, but are not public theorem rows. Each code below stands for the **exact complete axiom list**, with its whitelist verdict: | Code | Axioms | Within `{propext, Classical.choice, Quot.sound}`? | |---|---|---| | E | `[]` | yes | | P | `[propext]` | yes | | PQ | `[propext, Quot.sound]` | yes | | PCQ | `[propext, Classical.choice, Quot.sound]` | yes | Thus every listed theorem passes that axiom check; none reports `sorryAx` or any other axiom. Residue11 entries refer **only to the patched olean**. No axiom certification is claimed for the failed unmodified module. Names are relative to the namespace printed above each block; `*` marks a generated declaration rather than an explicit source `theorem`. [Center.lean][s0] — namespace `MagicResearch`: ```text HasMagicSum.antiDiag : P * HasMagicSum.col0 : P * HasMagicSum.col1 : P * HasMagicSum.col2 : P * HasMagicSum.mainDiag : P * HasMagicSum.row0 : P * HasMagicSum.row1 : P * HasMagicSum.row2 : P * center_and_opposite_pairs : PQ ``` [Residue11.lean (two-option variant)][s1] — namespace `MagicResearch.Residue11`: ```text inMu4_iff : P inMu4_iff_coords : P inMu4_iff_mem_mu4 : P locus_on_normOne : P mu4Triples_length : P normOne_length : P norm_one_iff : P norm_one_iff_coords : P residue_locus : P residue_locus_pow : P solutions_eq_mu4Triples : P solutions_length : P ``` [IntegralColumns.lean][s2] — namespace `MagicResearch.IntegralColumns`: ```text G11.conj.eq_1 : E * G11.mul.eq_1 : E * G11.norm.eq_1 : E * G11.pow.eq_1 : P * G11.pow.eq_2 : P * G11.pow.eq_def : P * G11.smul.eq_1 : E * G11.smul_mul3 : PCQ G11.sq.eq_1 : E * G11.sq_mul3 : PCQ GInt.conj.eq_1 : E * GInt.mk.inj : E * GInt.mk.injEq : P * GInt.mk.sizeOf_spec : E * GInt.mul.eq_1 : E * GInt.norm.eq_1 : E * GInt.pow.eq_1 : E * GInt.pow.eq_2 : E * GInt.pow.eq_def : E * GInt.sq.eq_1 : E * GInt.unit.eq_1 : E * W.eq_1 : PQ * cancel_relations : PCQ class_columns_mod11 : PCQ column.eq_1 : P * column_offset_mod11 : PCQ exponents_spec : E factor.eq_1 : E * factor_sq_mod11 : P fin11_cancel : P fin11_sq_ne_zero : P flip_relation : PCQ gq.eq_1 : PQ * offset_eq_im_sq : PCQ offsets_from_lines : PCQ pairHi.eq_1 : P * pairHi_slot : P pairLo.eq_1 : P * red.eq_1 : PQ * red_column_sq : PCQ red_conj : PCQ red_factor_sq : PCQ red_mul : PCQ red_norm : PCQ red_pow : PCQ red_sq : PCQ sgnF.eq_1 : E * sgnF_mul : PCQ sgnF_not : PCQ toF_add : PCQ toF_mul : PCQ toF_ne_zero : PCQ toF_neg : PCQ toF_sub : PCQ ``` [GaussianDirections.lean][s3] — namespace `MagicResearch.GaussianDirections`: ```text GaussianUnit.i.sizeOf_spec : E * GaussianUnit.negI.sizeOf_spec : E * GaussianUnit.negOne.sizeOf_spec : E * GaussianUnit.ofNat_ctorIdx : E * GaussianUnit.one.sizeOf_spec : E * associate.eq_1 : E * associate.eq_2 : E * associate.eq_3 : E * associate.eq_4 : E * associate_polynomial : PQ conj.eq_1 : E * direction_criterion : P direction_eq_iff : P direction_four_values : P equation_criterion : PQ exists_unit_equation_iff : PQ integral_unit_cases : PQ invScalar_spec : P inv_spec : P norm.eq_1 : E * norm_five_fails : PQ norm_five_no_unit_equation : PQ norm_five_not_dvd : PQ norm_reduce : PQ norm_reduce_ne_zero : PQ quotient.eq_1 : PQ * quotient_criterion : PQ quotient_eq_iff : PQ quotient_four_values : PQ reduce.eq_1 : PQ * reduce_conjugate : PQ representation_101_passes : PQ representation_61_passes : PQ residue_add : PQ residue_eq_zero_iff : PQ residue_mul : PQ residue_neg : PQ residue_sub : PQ transform.eq_1 : E * transform_criterion : PQ transform_dvd : PQ transform_equation_criterion : PQ transform_invariant : PQ transform_norm : P unit_mul_criterion : PQ ``` [Certificate1331.lean][s4] — namespace `MagicResearch.Certificate1331`: ```text conj.eq_1 : E * conj_inverse : P exists_certificate : P mul.eq_1 : E * norm.eq_1 : E * witness : P ``` [DigitTower.lean][s5] — namespace `MagicResearch.DigitTower`: ```text congruent_of_dvd : P congruent_trans : PQ correction_cancels : PQ correction_digits : PCQ eleven_dvd_modulus : PQ exists_compatible_tower : PCQ lift_spec : PCQ modulus.eq_1 : E * modulus_succ : P seed_modulus_dvd : PQ shift_congruent : PQ tower.eq_1 : P * tower.eq_2 : P * tower.eq_def : P * tower_spec : PCQ ``` [Linear/Polynomial.lean][s6] — namespace `MagicResearch.Linear`: ```text Congruent.add : PCQ Congruent.iff_emod_eq : P Congruent.mul : PCQ Congruent.neg : PCQ Congruent.refl : PQ Congruent.sub : PCQ Congruent.symm : PCQ Congruent.trans : PCQ Polynomial.add.inj : E * Polynomial.add.injEq : P * Polynomial.add.sizeOf_spec : E * Polynomial.brecOn.eq : E * Polynomial.const.inj : E * Polynomial.const.injEq : P * Polynomial.const.sizeOf_spec : E * Polynomial.differential.eq_1 : E * Polynomial.differential.eq_2 : E * Polynomial.differential.eq_3 : E * Polynomial.differential.eq_4 : E * Polynomial.differential.eq_5 : E * Polynomial.differential.eq_def : E * Polynomial.differential_add : E Polynomial.differential_const : E Polynomial.differential_mul : E Polynomial.differential_neg : E Polynomial.differential_one : E Polynomial.differential_sub : E Polynomial.differential_var : E Polynomial.differential_zero : E Polynomial.eval.eq_1 : E * Polynomial.eval.eq_2 : E * Polynomial.eval.eq_3 : E * Polynomial.eval.eq_4 : E * Polynomial.eval.eq_5 : E * Polynomial.eval.eq_def : E * Polynomial.eval_add : E Polynomial.eval_congr : PCQ Polynomial.eval_const : E Polynomial.eval_mul : E Polynomial.eval_nat : E Polynomial.eval_neg : E Polynomial.eval_one : E Polynomial.eval_sub : E Polynomial.eval_var : E Polynomial.eval_zero : E Polynomial.first_order : PCQ Polynomial.mul.inj : E * Polynomial.mul.injEq : P * Polynomial.mul.sizeOf_spec : E * Polynomial.neg.inj : E * Polynomial.neg.injEq : P * Polynomial.neg.sizeOf_spec : E * Polynomial.var.inj : E * Polynomial.var.injEq : P * Polynomial.var.sizeOf_spec : E * ``` [Linear/Gaussian.lean][s7] — namespace `MagicResearch.Linear.Gaussian`: ```text conj.eq_1 : E * conj_inverse : PCQ conj_mul : PCQ eval_conj : E eval_mul : E eval_norm : E eval_pow : P eval_signedPow : P mul.eq_1 : E * mul_congr : PCQ mul_conj : PCQ norm.eq_1 : E * pow.eq_1 : E * pow.eq_2 : E * pow.eq_def : E * pow_conj_inverse : PCQ signedPow.eq_1 : E * signedPow.eq_2 : E * signedPow_neg_four : E signedPow_neg_two : E signedPow_two : E ``` [I0Linear.lean][s8] — namespace `MagicResearch.I0Linear`: ```text F.eq_1 : PQ * F_congr : PCQ J.eq_1 : E * V_congr : PCQ W.eq_1 : PQ * correction.eq_1 : E * differential_F : PQ eval_fPolynomial : PQ eval_g : PQ eval_vPolynomial : PQ fPolynomial.eq_1 : PQ * first_order : PCQ g.eq_1 : PQ * identity.eq_1 : E * linearTerm.eq_1 : E * seed_F : PQ seed_V : PQ seed_identity : P vPolynomial.eq_1 : PQ * vec4.eq_1 : E * vec5.eq_1 : E * vec6.eq_1 : E * ``` **Reproduction.** Start in a fresh scratch directory. The following shell commands verify the specified distribution before using it, fetch just the nine sources, compile/replay in the same order, and perform the same two-line retry. A failed original Residue11 is intentionally allowed to proceed to the prescribed variant. Compare original source hashes with the table before any insertion. ```bash set -euo pipefail curl --fail --location \ https://github.com/leanprover/lean4/releases/download/v4.33.1/lean-4.33.1-linux.tar.zst \ -o lean-4.33.1-linux.tar.zst python3 - <<'PY' from pathlib import Path import hashlib p = Path('lean-4.33.1-linux.tar.zst') assert p.stat().st_size == 570405234 with p.open('rb') as f: assert hashlib.file_digest(f, 'sha256').hexdigest() == \ '890afd185370f85666025b883914ab4f4b339136f8c96167b69cfb62aecaf235' PY tar --zstd -xf lean-4.33.1-linux.tar.zst export PATH="$PWD/lean-4.33.1-linux/bin:$PATH" mkdir -p work build audit export LEAN_PATH="$PWD/build" cd work base=https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da stems=(Center Residue11 IntegralColumns GaussianDirections Certificate1331 DigitTower Linear/Polynomial Linear/Gaussian I0Linear) for stem in "${stems[@]}"; do file="MagicResearch/$stem.lean" mkdir -p "$(dirname "$file")" curl --fail --location "$base/$file" -o "$file" sha256sum "$file" done set +e # Record the expected original failure and continue to its retry. for stem in "${stems[@]}"; do file="MagicResearch/$stem.lean" module="MagicResearch.${stem//\//.}" olean="$LEAN_PATH/MagicResearch/$stem.olean" mkdir -p "$(dirname "$olean")" lean -DwarningAsError=true -o "$olean" "$file" compile_exit=$? leanchecker -v "$module" if [[ "$stem" == Residue11 && $compile_exit != 0 ]]; then python3 - <<'PY' from pathlib import Path p = Path('MagicResearch/Residue11.lean') b = p.read_bytes() lines = b.splitlines(keepends=True) assert lines[133] == b'set_option maxHeartbeats 0 in\n' lines[134:134] = [b'set_option synthInstance.maxHeartbeats 0 in\n', b'set_option synthInstance.maxSize 1000000 in\n'] p.write_bytes(b''.join(lines)) PY sha256sum "$file" lean -DwarningAsError=true -o "$olean" "$file" leanchecker -v "$module" fi done ``` For the per-module source-theorem check, the exact command pattern was `lean -DwarningAsError=true ../audit/DRIVER.lean` from the working folder: each driver imports its module and contains one `#print axioms FULL_NAME` command per explicit public theorem listed above. The failed original import was attempted before patching. The consolidated coverage check can be reproduced by saving this as `../audit/Public.lean` and running `lean -DwarningAsError=true ../audit/Public.lean` from `work/`: ```lean import Lean import MagicResearch.Center import MagicResearch.Residue11 import MagicResearch.IntegralColumns import MagicResearch.GaussianDirections import MagicResearch.Certificate1331 import MagicResearch.DigitTower import MagicResearch.Linear.Polynomial import MagicResearch.Linear.Gaussian import MagicResearch.I0Linear open Lean Elab Command run_cmd do let env ← getEnv let mut names : Array Name := #[] for (name, ci) in env.constants.toList do if ci.isTheorem && !name.isInternal then if let some idx := env.getModuleIdxFor? name then if (`MagicResearch).isPrefixOf env.header.moduleNames[idx.toNat]! then names := names.push name for name in names.qsort Name.lt do elabCommand (← `(#print axioms $(mkIdent name))) ``` **Limits.** The unmodified Residue11 module could not be replayed or imported for axiom inspection because its compilation failed. All requested successful variants were checked; no module compile, replay, or axiom-print run was killed or left pending. Normal `leanchecker` mode replays each module's declarations into its imported environment using the same Lean kernel; this was not a `--fresh` replay of the entire standard library or verification by a separate kernel implementation. The checksum-verified bundled libraries remain part of the trusted toolchain. No other repository modules, Mathlib wrappers, links between independently defined interfaces, current literature, or publication status were checked. These partial results do not settle `MagicSquares.exists_magic_square_squares`. The repository's local lifting result itself explicitly limits its conclusion to a compatible tower. [DigitTower][s5] The companion `sources.json` contains ten URL/quote pairs. Each URL was fetched again: every quote matched verbatim, and all nine pinned source byte hashes were unchanged. The compilation results and timings above are observations of this local run; upstream links establish source provenance, not independent attestation of those observations. [s0]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/Center.lean [s1]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/Residue11.lean [s2]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/IntegralColumns.lean [s3]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/GaussianDirections.lean [s4]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/Certificate1331.lean [s5]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/DigitTower.lean [s6]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/Linear/Polynomial.lean [s7]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/Linear/Gaussian.lean [s8]: https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/I0Linear.lean [release]: https://github.com/leanprover/lean4/releases/tag/v4.33.1 [archive]: https://github.com/leanprover/lean4/releases/download/v4.33.1/lean-4.33.1-linux.tar.zst ### b14-grid Input SHA-256 `eaeab3ba4f6cd2301993a141d413491a5d22c577edc11b3272a5f0c36890791c`. #### Independent replay of Center and GridBridge Both unmodified modules at commit `455a98a9d80feb8db13b6044c164b570fa81f7da` compiled with `-DwarningAsError=true` and passed `leanchecker --verbose`. Both offline checks exited 0 and printed `[replay] check: PASS`. | Module | Source SHA-256 | Compiled | Replayed | Wall seconds | | --- | --- | --- | --- | ---: | | [MagicResearch.Center](https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/Center.lean) | `31c94e62c570660dcd4c466e3f18eb42ebf1541af228fe48831d5bac44c79428` | yes | yes | 11.239 | | [MagicResearch.GridBridge](https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/GridBridge.lean) | `a8ec4c634f7fb9872f363d29a8c3a436439360fa173e7c6f25d1abf5c35721c5` | yes | yes | 18.004 | Times cover each full offline `check`, including input verification, extraction, compilation, replay and the axiom probe. GridBridge's check also compiles its local dependency Center. Each check used fresh scratch space and put the extracted Lean release's `bin` directory on `PATH`, including for `leanchecker`. [Replay helper](https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/tools/magic-replay/replay.py) Before extraction, both checks verified the official Linux archive (570,405,234 bytes, SHA-256 `890afd185370f85666025b883914ab4f4b339136f8c96167b69cfb62aecaf235`). The extracted executable reported Lean 4.33.1, `x86_64-unknown-linux-gnu`, commit `819816b2e0a3bf405af45ae5c7af2491d8f5bee6`. The helper also verified the 839-row receipt (SHA-256 `0946208ddd39a20ecff44d551ef72bfff36bd5046e2386d6f21a3b93217b9cb5`) and all 839 archive lengths and digests (68,585,420 bytes total). The receipt describes the cache closure for `Mathlib.Algebra.BigOperators.Fin` and `Mathlib.Algebra.Group.Even` at Mathlib `0df444a360eaa60ab8c11dca51a86af692955474`. [Release archive](https://github.com/leanprover/lean4/releases/download/v4.33.1/lean-4.33.1-linux.tar.zst) · [Receipt](https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/tools/magic-replay/archives.tsv) · [Replay documentation](https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/tools/magic-replay/README.md) ##### Axioms printed by Lean | Public theorem | `#print axioms` | Within allowed set | | --- | --- | --- | | `MagicResearch.center_and_opposite_pairs` | `[propext, Quot.sound]` | yes | | `MagicResearch.Grid.hasMagicSum` | `[propext, Classical.choice, Quot.sound]` | yes | | `MagicResearch.Grid.center_and_opposite_pairs` | `[propext, Classical.choice, Quot.sound]` | yes | | `MagicResearch.exists_grid_iff_upstream` | `[propext, Classical.choice, Quot.sound]` | yes | ##### Upstream statement comparison The upstream proposition and the proposition on the right of `↔` are identical after deleting Unicode whitespace and peeling off the single outer pair of grouping parentheses around the right-hand operand. With whitespace deletion alone, the literal snippets differ by that pair. Digests below are SHA-256 of the UTF-8 bytes after the indicated normalization. [Upstream declaration, lines 43–51](https://raw.githubusercontent.com/google-deepmind/formal-conjectures/9097e2f90e66d2f6244209cb1c07f7120d17ec53/FormalConjectures/Wikipedia/MagicSquares.lean#L43-L51) · [Bridge declaration, lines 36–44](https://raw.githubusercontent.com/identity-md-launches/goal-3516-left-solve/455a98a9d80feb8db13b6044c164b570fa81f7da/MagicResearch/GridBridge.lean#L36-L44) | Extract | Whitespace removed | Whitespace and operand wrapper removed | | --- | --- | --- | | `MagicSquares.exists_magic_square_squares` type, between `:` and `:=` | `89d9f3e92f1f27bdc098735476b8e0385b965172a4f4e6ab60ddba08c137ae16` | `89d9f3e92f1f27bdc098735476b8e0385b965172a4f4e6ab60ddba08c137ae16` | | `MagicResearch.exists_grid_iff_upstream` right operand, between `↔` and `:=` | `45797e88e47269f676750bf34f052a50fa64e45efba634ed8d488e033c7e8d88` | `89d9f3e92f1f27bdc098735476b8e0385b965172a4f4e6ab60ddba08c137ae16` | The complete upstream source file's SHA-256 was `615bd6c0479f6541f147269ead158bdebc63b75be45a24c0000d0e9e81464f14`. ##### Errors, changes and limits - Errors and warnings in `prepare` or either `check`: none. - Changes needed: none. The Lean files, helper and receipt were used as fetched. - The replay verifies the center and opposite-pair identities and the bridge equivalence. The upstream file was checked textually only. Its pinned declaration has a `sorry` body, so this run establishes neither existence nor nonexistence, and it does not assess later work. Mathlib was consumed from the verified cache archives. A Mathlib source rebuild and modules outside the two assigned files were outside the replay. [Pinned upstream declaration](https://raw.githubusercontent.com/google-deepmind/formal-conjectures/9097e2f90e66d2f6244209cb1c07f7120d17ec53/FormalConjectures/Wikipedia/MagicSquares.lean#L42-L51) ##### Reproduction From a working directory containing the pinned files at their repository paths, run the following with Python 3 and `zstd`. Only `prepare` uses the network. The `--scratch` directories must be empty or absent on each run. ```sh python3 tools/magic-replay/replay.py prepare inputs time python3 tools/magic-replay/replay.py check inputs MagicResearch.Center \ --scratch check-center \ --axioms MagicResearch.center_and_opposite_pairs time python3 tools/magic-replay/replay.py check inputs MagicResearch.GridBridge \ --scratch check-grid \ --axioms MagicResearch.Grid.hasMagicSum \ --axioms MagicResearch.Grid.center_and_opposite_pairs \ --axioms MagicResearch.exists_grid_iff_upstream \ --axioms MagicResearch.center_and_opposite_pairs ``` ### b13-core-port Input SHA-256 `afcd8a54542645df3935814a28bc3d38eb9b08b050cbe9b7691244acbdfcb65e`. Reported status **done**. Acceptance check exit **0**. ```text Full check equivalent run: all six modules compile with -DwarningAsError=true (Center .4s, Residue11 41s, IntegralColumns 10s, GaussianDirections 24s, Certificate1331 .4s, Audit/Core .3s); leanchecker --fresh MagicResearch.Audit.Core rc=0 (~2m22s); residue_locus' line present; every axiom list is within propext/Classical.choice/Quot.sound. ``` Files already in checkout and unchanged by this run: IntegralColumns.lean (sha256 f34d04f4...ae36; ite_true/ite_false repairs), Residue11.lean (99ea63cb...a7a358; synthInstance set_options before locus_on_normOne), Audit/Core.lean (ff447751...810143; #print axioms for each public theorem), docs/core.md (36d7734f...c2d). Residue11.residue_locus and solutions_length are kernel-checked (decide +kernel), axioms only propext/Classical.choice/Quot.sound. Earlier failure was only mktemp on a machine without /tmp. Note leanchecker takes ~2.5 min; nothing left unproved. ### b13-local-tower Input SHA-256 `c8d31ef1894fb00733cd3209e34295a356a24373f2e88508acb5d7c2e4877a7b`. Reported status **done**. Acceptance check exit **0**. Repaired the rejected output shape: result.json now contains only status, check and notes. Preserved both Lean files. Moved detailed theorem statements, axiom lists, command/exit-code history and limitations into docs/tower.md. Required check rerun with workspace-local TMPDIR; compilation, fresh kernel replay and axiom filters passed (exit 0). No assigned proof remains unproved or unchecked. This gives one compatible 11-adic branch, not Gaussian primes, an integer grid or a solution to the open magic-square problem. Files (SHA-256): MagicResearch/I0Tower.lean 55d00face4b3c36398bc659c8a02007284ecdbb04f3f9642733fae24ad4a3866; MagicResearch/Audit/Tower.lean 94551521991765b1e1a348ce86d0a758d51d040c2cbd184a8c802a849a83fe8c; docs/tower.md 0594b1dee3457d61cfcc5f859a4a7e3bfab43b0ddbcef9b5cf2603d33a23c067. Only docs/tower.md and the untracked result output changed in this repair. ### b13-obstruction Input SHA-256 `431fda9dfd9288afe99882b0d9a091e3af470d346dd0500c2304e317f3e0d8f2`. Reported status **done**. Acceptance check exit **0**. Repaired rejected JSON shape: only status, check, notes remain. Preserved all 13 Lean theorems and import-only audit. Exact theorem statements, axiom lists, command/exit-code ledger and limits are in docs/obstruction.md. Required acceptance check rerun after repair: warnings-as-errors compilation, fresh leanchecker replay and axiom filters passed (exit 0), with scratch TMPDIR. Only propext, Classical.choice and Quot.sound occur; nothing assigned remains unproved or unchecked. Mod-11 rigidity credited to uwe-schwarz, rigidity.md §3, 9016ffe. Other classes and the open magic-square problem remain untouched. SHA-256: MagicResearch/I0Obstruction.lean 260db88a39e08885ba219a99daffa6084075313f9910b42feade279b4b474ad1; MagicResearch/Audit/Obstruction.lean e8c08c765e5ae781db7a678ce45c71c2ce77b0e58ba542293d55dd872433b644; docs/obstruction.md 909d38223558c24cef1b2cf00ecbbc435ad98f9b9fa22e9b8d82dc8d7fb4c423 ### b13-audit-obstruction Input SHA-256 `3fc4beaca77090f13370024435e6d57c42445f8e9b32a0458ca36fa563b045b6`. Reported status **done**. Acceptance check exit **0**. ```text test -s docs/audit/obstruction.md && grep -q '^VERDICT: ' docs/audit/obstruction.md -> exit 0 ``` Wrote docs/audit/obstruction.md (sha256 0c1f996db416b2fe5d882f094579da4ba787aaba0fef08f58963d0317d923244); no Lean file changed. Recompiled Center, Residue11, IntegralColumns, GaussianDirections, I0Obstruction, Audit/Obstruction with -DwarningAsError=true: all exit 0; axiom lists match the doc. leanchecker --fresh IntegralColumns exit 0 (7 min); the Audit.Obstruction replay timed out at 10 min, so full replay is UNCHECKED here. The independent replay used a scratch shim for readlink. Findings: statements match the doc binder by binder; hC is unused/redundant (_hC IntegralColumns:389); InClassI0 is satisfiable by the degenerate all-ones grid with pi=1 (Lean witness, axioms [propext]), but no non-degenerate member was found in a |re|,|im|<=3 search; bridges proved; J, k, W, V, relations match; python gives V=(8,3,3,3) mod 11 for pi=(1+2i,5+6i,10+i), no signed relation. Doc noise: output-shape/ledger section. VERDICT: sound with limits. ### b13-audit-tower Input SHA-256 `1c30baa226d104c20958fc8f123597cfd8af11587d64dcc61d20e52e6daf64c5`. Reported status **done**. Acceptance check exit **0**. ```text test -s docs/audit/tower.md && grep -q '^VERDICT: ' docs/audit/tower.md: exit 0; no output. ``` Created docs/audit/tower.md, audit verdict sound with limits. It answers (a)-(e), includes exact theorem type and all nine Lean axiom lines, line references, stage calculation, command outcomes, and limits (no Gaussian-prime or integer-grid realization). No Lean theorem was added; hence no new theorem statement or new-theorem axiom list. Board curl exit 0. Compiled Center, DigitTower, Linear/Polynomial, Linear/Gaussian, I0Linear, I0Tower, Audit/Tower with Lean 4.36.0 -DwarningAsError=true; chain command exit 0. `leanchecker --fresh MagicResearch.Audit.Tower` (stdin /dev/null, LEAN_PATH to scratch build) exit 0. Independent Python exact-integer digit calculation at 121, 1331, 14641 and git diff --check: exit 0. Final required target check plus diff check: exit 0. SHA-256 docs/audit/tower.md: 0f4acdb22903041dbc62e66abe4c9ac52f52986674f07432a332b402df068363. No assigned proof is left unchecked; no global realization is claimed. ### b13-handoff Input SHA-256 `dd5b53261283cb729eaabc0b94e8fbeda5c836035d71f79db76188d4c4395388`. Reported status **done**. Acceptance check exit **0**. ```text check exit 0 (command prints nothing on success) ``` Rewrote README.md (sha256 770b42844503ccbe4dfc17e93a5a722745950af3538da18162b21529bd50537e) and wrote docs/PARTIAL_RESULT.md (sha256 9789778d441e773d27bd3908531460ae782c0af42d65d058c4fc091c24c6d698) from landed sources, docs/core.md, tower.md, obstruction.md and both audits. README: the 9 theorems with file and one-line meaning; clean-checkout commands (download pinned lean-4.36.0-linux.tar.zst, sha256sum -c, compile 14 core modules with -DwarningAsError=true, leanchecker --fresh on Audit.Core/Obstruction/Tower, axiom filter). PARTIAL_RESULT.md: problem stated open; exact Lean statements copied from source; status K (compiled+replayed on 4.36.0 here) for the 7 core theorems, G for Grid.hasMagicSum and exists_grid_iff_upstream (Lean 4.33.1/Mathlib 0df444a, not rechecked; upstream corollary stated, not compiled); both audit verdicts 'sound with limits' with defects D1, L1, L2, D2-D4 as written; prior work (uwe-schwarz rigidity.md s3, s4b, 9016ffe; formal-conjectures PR 8128); what is not proved. Commands run here with the prebuilt toolchain: lean --version exit 0 (4.36.0, 611c117); 14 lean compiles exit 0 (~90 s total); leanchecker --fresh Audit.Core exit 0 (164 s), Audit.Obstruction exit 0 (174 s), Audit.Tower exit 0 (92 s); bad-axiom grep found none across 110 printed lists. Axioms: center_and_opposite_pairs [propext, Quot.sound]; residue_locus, class_columns_mod11, class_forces_mu4, no_grid_1525r, exists_i0_tower [propext, Classical.choice, Quot.sound]; Certificate1331.witness [propext]. No new theorem added. Not checked: the README download step (no refetch allowed), GridBridge.lean (Mathlib). Not proved: any global realization, other index classes, the problem itself. ### b11-offline-inputs Input SHA-256 `35f17fead304f9cb9a90dda5cea1b593c8623ae3d792d42860731063d1f60e61`. Reported status **stuck**. Acceptance check exit **2**. ```text python3: can't open file 'tools/magic-replay/offline.py': [Errno 2] No such file or directory ``` Only this result file changed. The batch board and checkout agree on trunk 455a98a9d80feb8db13b6044c164b570fa81f7da. The pinned compressed Lean release is 570405234 bytes (SHA256 890afd185370f85666025b883914ab4f4b339136f8c96167b69cfb62aecaf235). sha256sum confirmed the archives.tsv pin 0946208ddd39a20ecff44d551ef72bfff36bd5046e2386d6f21a3b93217b9cb5. Its 839 archives total 68585420 bytes. The two mandatory inputs alone total 638990654 bytes before the wheel and replay code. Chunking preserves the total, and even 12 pieces capped at 8 MiB each cannot carry the required files. The previous full bundle was rejected at 643808473 bytes. The required self-test command exited 2 because offline.py is absent from the clean trunk. No new proof or axiom audit was verified. For the next run, raise the source upload cap to accommodate the complete package or authorize a separate transfer that prepositions the pinned inputs on the offline verifier.