deduce
A computer saying 'trust me, I found it' isn't good enough for math. I wanted every discovery to come with a proof another computer could check.
I built a pipeline that turns combinatorial constructions into independently checkable mathematical certificates. Deduce combines exact search, claim-specific verification and Lean proofs, including a formal theorem for an infinite family of group-testing designs.
- role
- Answer-blind symbolic search harness with independent re-checking and machine-checkable certificates.
- language
- Python, SymPy, Lean 4.
- scale
- Five exact frontiers, 18 kernel-checked Lean files, one whole-family theorem.
- status
- Experiment complete.
- source
- Private repository.
- paper
- Read it below · Web version
From construction to certificate
The search component ranks candidates; exact symbolic checkers evaluate them. DCERT derives verification obligations from supported claim types, including the distinction between exhibiting a valid construction and establishing its optimality.
The formal layer includes six self-contained Lean certificates and eleven witnesses for published constant-weight code bounds. Three of the six standalone certificates and all eleven code witnesses use no axioms according to Lean’s dependency report.
A theorem for a whole family
I formalized the Reed–Solomon pooling construction in Lean with Mathlib. For a finite field F and degree bound K, the family is d-disjunct when d(K − 1) < |F|. One proof covers the entire parameterized construction. The implementation also generates fresh designs and their certificates directly from a specification.
Search across five domains
The harness was evaluated on chiral gauge theories, cap sets, representation-theory identities, mutually unbiased bases and constant-weight codes. It recovers known structures and certifies four known code optima. The cap-set search reaches about 85 in dimension six against the known maximum of 112.
The central deliverable is a path from a search result to a kernel-checked statement.
The mathematical constructions are established results. A full systems paper would benefit from new certificate families, independent malformed-claim tests and comparisons with existing formalization workflows.