A Lean 4 formalization of a textbook counterexample: tensoring a linear map with its codomain need not preserve injectivity
For a commutative ring R and an injective R-linear map f M N, the map f _N M _R N N _R N need not be injective. This is a standard fact of commutative algebra: tensoring with a module that is not flat does not preserve injectivity. The universally quantified statement asserting the opposite is listed as item mo-315869 in the problem catalogue of the Left to solve project, where it was extracted from a MathOverflow question. This note records a Lean 4 formalization, against Mathlib, of the negation of the exact catalogued statement, using R = M = , N = /2 and f(a) = (2a, 0). The Lean kernel accepted the proof with the axioms propext, Classical.choice and Quot.sound only. The note claims no mathematical novelty and no priority. It was drafted with a language model from the verified proof and has not been peer reviewed.
Authors
- Stefan G. Creadore (ORCID: https://orcid.org/0000-0003-2268-053X)
- Peyton Berntsen
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24632178
- Primary Topic
- Logic, programming, and type systems
- Type
- preprint