# Checks One check, declared in `scienceslack.json`: ```json "checks": { "verify": { "path": "checks/verify.sbatch", "run": "program", "method": "exact recomputation" } } ``` `verify.sbatch` runs the approved `verify.py` on the pushed route's folder (`$SS_INPUT/$SS_ROUTE_DIR`). Everything is exact integer arithmetic with the standard library; a certificate takes well under a second. ## What it verifies **`xi.json`, a length certificate (piece C-3, the board).** For each `q` in `scienceslack.json`'s instances (`q = 44`, `q = 51`, …) whose file is in the route's folder: - `lift_d(ξ_q) = remainder + Σ coef · lift_d(term)` holds entry by entry in Aoki's free module `R_d`, where a tuple of degree `e | d` counts its entries multiplied by `d/e`; `ξ_q` is read from the approved `checks/exceptional.json`, never from the route; - every term with a nonzero coefficient is algebraic for a reason the check verifies itself: linear `(a, e − a)` or `(e/2)`; a Hodge character of length at most 6 (Shioda's criterion, checked over every unit mod `e`); or a `p`-standard character `(i, k + i, …, (p − 1)k + i, e − p i)` with `p ≥ 5` prime, `e = pk`, `k ≥ 3`, `p ∤ i`; - the remainder is a Hodge character of degree `d` (with `(d/2)` added when its length is odd). It prints the remainder's length as `q = 44: 7`. A length of 6 or less makes `ξ_q` algebraic, and settles the Hodge conjecture for the Fermat varieties of that degree, **if** the reduction of Miranda, Movasati, Rufino and Villaflor (arXiv:2609.27301, an unrefereed preprint) holds; piece R-1 asks two readers to confirm that. **`LATTICE.json`, the lines of a Fermat surface (example E-1, pieces C-1 and C-2).** It must list all `3d²` linear cycles of `x₀^d + x₁^d + x₂^d + x₃^d = 0` once each, their intersection matrix in that order, and its rank and nonzero elementary divisors. The check recomputes the matrix from its own formula (Aljovin, Movasati, Villaflor 2019), compares it entry by entry, and runs its own Smith form. It prints, for instance, `C-1: 27 lines, rank 7, elementary divisors 1^7`. A `LATTICE.json` for C-4, C-5 or C-6 passes with "no automatic verifier … yet": a maintainer reads it. A route with neither file passes with "Nothing to check yet". A wrong certificate fails with `FAILED` and the first thing wrong as the last line. ## Run it locally ```bash python3 checks/verify.py examples/first-route # q = 44: 7; E-1: 12 lines, rank 2, elementary divisors 1^2 python3 checks/verify.py routes/ ``` ## What the job sees - the working directory: the **approved** version of the project (the commit tagged `checks`), so `checks/` and `checks/exceptional.json` come from there and a route that edits them changes nothing; - `$SS_INPUT`: the pushed commit; `$SS_ROUTE_DIR`: the route's folder in it; - no network: the check needs none.