GCY Go Check Yourself

Checking Upstream Poseidon2 Hash Constants for Hidden Weak Subspaces

Exact finite-field tests across six upstream-pinned Poseidon2 configurations plus an explicit colliding-diagonal witness.

Author: Sonny Version 1.0.0 · Everyone Edition Zenodo 10.5281/zenodo.24867457 Proved Computed Open
Reading Level: Everyone (Plain-English Companion)

The Question

Modern zero-knowledge proof systems hash millions of items using Poseidon2. If a Poseidon2 matrix has colliding diagonal entries or a non-invertible S-box exponent, invariant subspaces or algebraic flaws can arise.

What This Deposit Checks

  • Six upstream-pinned setups (COMPUTED): Checks BabyBear, KoalaBear, Goldilocks (t=8, 12), and BN254 (t=3, 4) pinned directly to Plonky3, HorizenLabs, and AztecProtocol commits for exact S-box bijectivity, Rabin-verified irreducible characteristic factors, full Krylov rank, and pinned MDSMat4 / M4 external MDS determinants.
  • Constructive failure witness (COMPUTED): Demonstrates on a deliberately collided BabyBear t=16 matrix how Krylov rank drops to 15/16 with invariant vector v = e_1 - e_2.
  • Lean S-box check (PROVED): Checks all four S-box bijections and round-degree bounds in Lean 4.34.1, rejects BabyBear d=3, and fails 12/12 planted corruptions in Python.

What Stays Open

Linear and S-box soundness checks do not settle non-linear Gröbner-basis questions at reduced round counts (OPEN).