Completed the first-order ingredient for **I0:0000/0101/0110**. All proof modules compile with the standard Lean 4.33.1 release, with warnings treated as errors, and pass separate `leanchecker` replay. No Mathlib dependency is needed. This is a local polynomial result toward the proposed lift; it does not establish a magic square of squares or the full all-level lifting theorem. Files delivered: - `MagicResearch/I0Linear.lean`: the matrix, Gaussian monomials, `V`, `F`, congruence preservation, exact Jacobian, first-order theorem, and seed checks. - `MagicResearch/Linear/Polynomial.lean`: integer congruences, integer polynomial syntax, evaluation, directional differentiation, and the general first-order rule. - `MagicResearch/Linear/Gaussian.lean`: Gaussian pair multiplication, conjugation, powers, modular inverse proofs, and polynomial evaluation compatibility. - `MagicResearch/Linear/Audit.lean`: `#print axioms` for all 50 public theorems in these files. - `MagicResearch/Linear/verify.sh`: reproducible compilation and kernel replay; writes all generated files under `test/scratch/i0-linear-build/`. - This result file, left untracked for separate upload. The merged `MagicResearch/Center.lean` is imported unchanged. No other wave item, configuration change, repository archive, submodule, or Mathlib cache is required. No output was written under `.lake/`. **Mathematical and Lean contract.** Public problem-specific names are in `MagicResearch.I0Linear`. `Linear.Congruent q a b` means `q ∣ a - b`; `Linear.Congruent.iff_emod_eq` proves its equivalence to `a % q = b % q`, including zero and negative moduli. `g x s = (x(2s), x(2s+1))`, so the six coordinates are `(xp,yp,xq,yq,xr,yr)`. The rows of `J` are exactly ```text (-1,-2,-2,-2) (-1, 1,-1, 1) (-1, 1, 1,-1). ``` `W x c` multiplies the three factors with exponents `2*J s c`. `Gaussian.signedPow z n` uses the ordinary nonnegative power for `n ≥ 0` and the corresponding power of `conj z` for `n < 0`. This is a definition over integer pairs, with no division. `Gaussian.conj_inverse` proves both inverse congruences when `norm z ≡ 1`; `Gaussian.pow_conj_inverse` proves that the product of `z^n` and `(conj z)^n` is `(1,0)` modulo the same modulus. `V x c = Im (W x c)`, and ```text F x = (norm(g x 0)-1, norm(g x 1)-1, norm(g x 2)-1, -V x 2 - V x 0 - V x 1, V x 3 - V x 0 + V x 1). ``` The public theorem `first_order` has the following contract: ```lean {x : Fin 6 → Int} → {m : Int} → (∀ i, Linear.Congruent 11 (x i) (identity i)) → 11 ∣ m → ∀ a u b v c : Int, ∀ j : Fin 5, Linear.Congruent (11 * m) (F (fun i => x i + m * correction a u b v c i) j - F x j) (m * linearTerm a u b v c j) ``` Here `identity = (1,0,1,0,1,0)`, `correction a u b v c = (a,u,b,v,c,0)`, and ```text linearTerm a u b v c = (2a, 2b, 2c, 10u+2v, -6u+6v). ``` `differential_F` proves this derivative **exactly over the integers** at `identity`. `first_order` applies it at any `x` congruent to the identity modulo 11. No norm-one assumption on `x`, positivity of `m`, or nonzero-modulus assumption is needed. `V_congr` states, for every integer modulus `q`, that coordinatewise congruent inputs have componentwise congruent `V` values. `F_congr` gives the same guarantee for `F`. Polynomial evaluation lemmas identify the actual Gaussian formulas with their polynomial syntax; the congruence theorems therefore concern the exposed `V` and `F`, not a substitute system. At `seed = (1,77,1,22,1,44)`, the kernel-checked results are: ```text seed_identity : ∀ i, Congruent 11 (seed i) (identity i) seed_F : ∀ j, Congruent 121 (F seed j) 0 seed_V : ∀ c, Congruent 121 (V seed c) (seedValues c) seedValues = (77,66,99,11). ``` These finite calculations use ordinary `decide`. There is no `native_decide`, admitted proof, or added axiom. **Proof method.** `Linear.Polynomial.first_order` proves the stronger general rule for every polynomial `p`, every integer `q,m` with `q ∣ m`, and coordinate vectors `x ≡ e (mod q)`: ```text p(x + mh) - p(x) ≡ m Dp(e)[h] (mod q*m). ``` The proof is structural induction on constants, variables, sums, negatives and products. Its product step combines explicit divisibility witnesses for the two value congruences and the two first-order errors. The term involving `m²` is divisible by `q*m` because `q ∣ m`. Lean's standard integer arithmetic tactics check the resulting identities. The specialized Jacobian then follows by evaluating the sum/product derivative at the identity. **Preparation, from the checkout root.** Requires Linux x86-64, Python 3, curl, tar and zstd. Download only the standard toolchain, verify its supplied size and SHA-256, and extract entirely inside scratch: ```bash mkdir -p test/scratch curl -fL --retry 3 \ https://github.com/leanprover/lean4/releases/download/v4.33.1/lean-4.33.1-linux.tar.zst \ -o test/scratch/lean-4.33.1-linux.tar.zst python3 - <<'PY' from pathlib import Path import hashlib p = Path('test/scratch/lean-4.33.1-linux.tar.zst') assert p.stat().st_size == 570405234 with p.open('rb') as f: digest = hashlib.file_digest(f, 'sha256').hexdigest() assert digest == '890afd185370f85666025b883914ab4f4b339136f8c96167b69cfb62aecaf235' print('Toolchain size and SHA-256: PASS') PY tar --zstd -xf test/scratch/lean-4.33.1-linux.tar.zst -C test/scratch ``` The measured archive size and digest matched. `lean --version` reported: ```text Lean (version 4.33.1, x86_64-unknown-linux-gnu, commit 819816b2e0a3bf405af45ae5c7af2491d8f5bee6, Release) ``` **Offline replay.** After preparation, this command uses only local files: ```bash bash MagicResearch/Linear/verify.sh ``` It sets `LEAN_PATH` solely to the scratch build directory, compiles `Center`, `Linear/Polynomial`, `Linear/Gaussian`, `I0Linear`, and `Linear/Audit`, each with ```bash lean -DwarningAsError=true -o "$linear_build/$linear_module.olean" "$linear_module.lean" ``` and executes: ```bash leanchecker --verbose \ MagicResearch.Center \ MagicResearch.Linear.Polynomial \ MagicResearch.Linear.Gaussian \ MagicResearch.I0Linear \ MagicResearch.Linear.Audit ``` The script exited **0**. A second execution under an inherited Linux seccomp filter denying socket/connect/send syscalls also exited **0**. Its initial socket probe failed with EPERM, and all five modules compiled and replayed successfully with the network blocked. The wrapper was test scaffolding in `test/scratch/no-network.py`; the delivered replay script itself has no network operation and also runs on an ordinary offline host. The replay output was: ```text replaying MagicResearch.Linear.Audit replaying MagicResearch.I0Linear replaying MagicResearch.Linear.Gaussian replaying MagicResearch.Linear.Polynomial replaying MagicResearch.Center ``` `leanchecker` is a separate process using Lean's kernel, not a different proof kernel. It rechecks declarations of each named module over its imported environment; both helper modules and the unchanged Center are explicitly included. **Axiom audit.** `Audit.lean` prints all 50 public theorem inventories. A separate script checked that the inventory covered every public theorem and that every printed dependency belonged to the permitted set. Selected outputs: | Results | Axioms reported | | --- | --- | | `I0Linear.first_order`, `V_congr`, `F_congr` | `propext`, `Classical.choice`, `Quot.sound` | | `I0Linear.differential_F` | `propext`, `Quot.sound` | | `I0Linear.seed_F`, `seed_V` | `propext`, `Quot.sound` | | `I0Linear.seed_identity` | `propext` | | `Polynomial.first_order`, `eval_congr` | `propext`, `Classical.choice`, `Quot.sound` | | `Gaussian.conj_inverse`, `pow_conj_inverse` | `propext`, `Classical.choice`, `Quot.sound` | | Polynomial evaluation/differentiation equations and signed-power simplifications | none | Source checks found no prohibited proof constructs, no trailing whitespace, and no changes outside the authorized source/output paths apart from permitted scratch files. The Center digest remained `31c94e62c570660dcd4c466e3f18eb42ebf1541af228fe48831d5bac44c79428`. Development failures were repaired before the successful runs: the initial polynomial proof used two unavailable integer theorem names and insufficient simplification; the first Gaussian power proof needed an explicit rewrite rather than a permutative simplifier rule; the initial Jacobian proof needed polynomial-operation lemmas and explicit finite-index reductions; seed checking needed the decidability instance for the congruence wrapper. The final compilations emitted no warnings or errors. The optional `file` inspection utility was unavailable; fetching and reading the references succeeded directly. **References used as data.** The two supplied artifacts were downloaded individually and their SHA-256 digests equal their URL identifiers: - [Pair-coordinate lift and first-order derivation](https://api.imd.fun/artifacts/5131581d655d8cf5c09bb071513e21e68c3ea72245b00b122df53bafb198adbe). - [Selected Mathlib closure and verification background](https://api.imd.fun/artifacts/28eca342e4d3a8a3880f6e8767e93703f2eedb21c99508d495083e3b97d37e28). Its pinned Mathlib closure was unnecessary for this core-only proof. - [Pinned rigidity note, commit 9016ffebaf121e29121528dca8f1c205f96a6a45](https://raw.githubusercontent.com/uwe-schwarz/magic-squares-of-squares/9016ffebaf121e29121528dca8f1c205f96a6a45/research/coupled-p2qr-scan/rigidity.md), for the class and its local obstruction context. - [Pinned Formal Conjectures statement](https://raw.githubusercontent.com/google-deepmind/formal-conjectures/9097e2f90e66d2f6244209cb1c07f7120d17ec53/FormalConjectures/Wikipedia/MagicSquares.lean), which labels the existence problem `research open`. This file was inspected as data and never imported. The live [Left to Solve page](https://lefttosolve.com/p/MagicSquares.exists_magic_square_squares) was inaccessible through the web tool, so this report makes no new claim about its current solved status. The remaining lifting and global arithmetic arguments belong to other pieces. This item supplies the requested independently importable first-order and seed interface, with no dependence on those pieces.