A formal proof of Kruskal's uniqueness theorem for three-way tensors

We give a machine-checked proof, in Lean 4 with Mathlib, of Kruskal’s uniqueness theoremfor three-way tensors: if two r-term decompositions of the same tensor agree, with r ≥ 2, andthe three factors of one of them have Kruskal ranks whose deficits sum to at most r − 2, thenthe decompositions differ only by one common permutation of the r summands and invertibleper-summand scalars whose product is 1. The development follows the short proof of Rhodes,and consists of 57 modules (8,705 lines) — all of them in the default build target — whosetwo headline theorems depend only on the three standard axioms propext, Classical.choiceand Quot.sound. To our knowledge this is the first formal proof of the theorem; the only priorformalisation of the statement is a ProofWanted entry in the atlas-lean library, which we donot use.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24720488
Primary Topic
Tensor decomposition and applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A formal proof of Kruskal's uniqueness theorem for three-way tensors

Joshua Bald
Zenodo (CERN European Organization for Nuclear Research)
Tensor decomposition and applications
preprint

A formal proof of Kruskal's uniqueness theorem for three-way tensors

Joshua Bald
preprint en

Abstract

We give a machine-checked proof, in Lean 4 with Mathlib, of Kruskal’s uniqueness theoremfor three-way tensors: if two r-term decompositions of the same tensor agree, with r ≥ 2, andthe three factors of one of them have Kruskal ranks whose deficits sum to at most r − 2, thenthe decompositions differ only by one common permutation of the r summands and invertibleper-summand scalars whose product is 1. The development follows the short proof of Rhodes,and consists of 57 modules (8,705 lines) — all of them in the default build target — whosetwo headline theorems depend only on the three standard axioms propext, Classical.choiceand Quot.sound. To our knowledge this is the first formal proof of the theorem; the only priorformalisation of the statement is a ProofWanted entry in the atlas-lean library, which we donot use.

Zenodo (CERN European Organization for Nuclear Research)
Tensor decomposition and applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon