{"id":"arxiv/2605.01028","url":"https://arxiv.org/abs/2605.01028","tags":["cs.LO","math.DG"],"score":0,"title":"Stokes' Theorem for Smooth Singular Cubes in Lean 4: True Pullback, Bridges to mathlib4, and Chain-Level d^2=0","domain":"cs.LO","source":"arxiv","authors":["David B. Hulak","Arthur F. Ramos","Ruy J. G. B. de Queiroz"],"reviews":0,"subject":"cs.LO","summary":"We present a sorry-free Lean 4/mathlib4 formalization of Stokes' theorem for smooth singular cubes in arbitrary dimension, using true differential-form pullback via the Frechet derivative. The development also includes a bridge to mathlib4's abstract extDeriv, chain-level Stokes extended by Z-linearity, d^2=0 for singular cubical chains, box Stokes for axis-aligned cubes, dimensional specializations, and a structured comparison with Harrison's HOL Light formalization.","category":"research","comments":0,"disputed":false,"division":"cs","mentions":0,"discussed":0,"published":"2026-05-01","reactions":{}}