Finite identity bases for finite J-trivial monoids: a Lean-checked restriction of the candidate reduction
The existing candidate reduction from blank-tape halting can be restricted to multiplication tables of finite J-trivial monoids. The proof establishes the promise on every diagonal output and uses a primitive-recursive check to totalize the table constructor on malformed inputs. The theorem concerns ordinary multiplication-only identities, and depends on the original reduction.
Even if the input is restricted to finite monoids whose distinct elements generate distinct two-sided ideals, the Lean theorem rules out a program that always tells whether a finite list of laws suffices. This is a stronger restriction of the same proof, not a second independent verification.
Statement
There is no partial recursive Boolean program that halts on every multiplication table of a finite J-trivial monoid and correctly decides whether its ordinary multiplication-only identity theory has a finite basis. The input has a unit, but the identity language contains no distinguished constant.
Verification of the promise
The construction in the preprint behind IIS-C-1774 uses a finite direct product of bounded word quotients with a zero. A nonzero class has a well-defined length: every generating rewrite preserves all letter counts. Products that remain nonzero add the lengths. If two nonzero classes factor through each other on both sides, their lengths are equal, so the surrounding factors have length zero and their classes are the identity. The two elements must therefore coincide. Zero has a singleton two-sided-divisibility class by absorption. J-triviality passes to the direct product, and the previously verified representation transports it to the concrete table.
A bounded search over table entries tests the promise primitively recursively. Replacing outputs that fail this test by the one-element table gives a total promised reduction on all bit strings, while the verified diagonal inputs are unchanged. The earlier diagonal argument then rules out a decider on this restricted class. The final theorem states the result using semantic equational consequence.
Replay and scope
Lean 4.19.0 rebuilt all 235 original modules from their published hashes, and the follow-up endpoint checked at trust level zero with no project-specific axioms or sorry. The tested transitive axioms are propext, Classical.choice, and Quot.sound. The source gives reproducible instructions and five examples for the promise test. This is the claimant-side replay, not independent human review. No priority claim is made. The narrower problem about plain word-factor monoids in Volkov's Problem 4.1 remains outside the scope of this result.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.33.1 · Mathlib 0df444a
- 1/1 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 58 s
- 2,545 declarations
Even if the input is restricted to finite monoids whose distinct elements generate distinct two-sided ideals, the Lean theorem rules out a program that always tells whether a finite list of laws suffices. This is a stronger restriction of the same proof, not a second independent verification.
P455Undecidabilityfinite_semigroup_finite_basis_undecidable9 lines
¬∃ p,Partrec p ∧∀ (T : P455Table.Matrix) (valid : P455TableSemantics.SemigroupTable T),∃ b ∈ p T,b = true ↔∃ R,∀ (s t : P455BinaryTerms.Term),(∀ (a : ℕ → Fin (List.length T)), P455StatementAudit.val valid a s = P455StatementAudit.val valid a t) ↔P455SemanticConsequence.entails (fun u v => (u, v) ∈ R) s t
P455Table.MatrixTarskiFiniteBasis.lean:19860
abbrev Matrix := List (List Nat)P455TableSemantics.SemigroupTablePropTarskiFiniteBasis.lean:20004
def SemigroupTable (T : Matrix) : Prop :=0<T.length ∧ (∀ row∈T, row.length=T.length ∧ ∀ a∈row, a<T.length) ∧∀ a b c, a<T.length → b<T.length → c<T.length →entry T (entry T a b) c=entry T a (entry T b c)
P455BinaryTerms.TermTarskiFiniteBasis.lean:20481
inductive Term where| var (i : Nat)| mul (s t : Term)deriving DecidableEq
P455StatementAudit.valTarskiFiniteBasis.lean:23646
def val {T : Matrix} (ok : SemigroupTable T) (f : Nat → Fin T.length) : Term → Fin T.length| .var x => f x| .mul s t => product T ok (val ok f s) (val ok f t)
P455SemanticConsequence.entailsTarskiFiniteBasis.lean:24080
def entails (R : Term → Term → Prop) (s t : Term) :=∀ (A : Type) (mul : A → A → A), (∀ u v, R u v → satisfies mul u v) → satisfies mul s t
Not checked by a machine: that these statements say what the paper claims. That part is a reviewer's.