LeanDFumt — Error Database Lean 4 エラー解決データベース — zero-sorry 規律を保つ修正法

Common Lean 4 errors, each with a minimal reproduction and a fix that preserves the zero-sorry, no-Mathlib discipline used by the LeanDFumt library. Examples use DFUMT8 where natural, but each entry stands on its own as a general Lean 4 reference.

See also in this docs tree:

Why this exists

LeanDFumt ships 29 zero-sorry theorems for eight-valued logic with no Mathlib dependency. When users extend the library or embed it in their own proofs, the same handful of Lean 4 errors surface repeatedly. This database records those errors and the fixes that keep the discipline intact — no sorry, no new axiom, no Mathlib import.

Errors

Detection: CHECKER_SPEC

Each entry maps to a rule in Rei-AIOS's CHECKER_SPEC, which exposes two locators:

The Detection section on each page names the applicable rule and its expected output shape.