Saved in:
Bibliographic Details
Main Authors: Jia, Yifan, Koh, Heer Tern, Khoussainov, Bakh
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.23967
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913064225341440
author Jia, Yifan
Koh, Heer Tern
Khoussainov, Bakh
author_facet Jia, Yifan
Koh, Heer Tern
Khoussainov, Bakh
contents Term algebras are important objects in computer science and are correspondingly well-studied. A natural generalization is to quotient these algebras by finitely many ground term equations, obtaining what we call almost free algebras. One of the earliest results on almost free algebras is that their word problem is polynomial time decidable. In this paper, we show that other natural problems: finding canonical representatives; computing the cardinality of a congruence class; checking if all congruence classes are infinite; checking if the algebra is finite; checking if two algebras are isomorphic, are all polynomial time decidable. Another famous result regarding term algebras is that they admit quantifier elimination in a suitably expanded language. Following this pattern, we also show that almost free algebras admit quantifier elimination by expanding the language with the standard tester predicates. While this is implied by existing results, we view our main contribution here as providing a different approach, which we posit can be easily extended to a larger class that is not covered by existing works. Finally, we provide an application to the quantifier elimination procedure, constructing examples of non-initial algebras over arbitrary signatures with a polynomial time word problem.
format Preprint
id arxiv_https___arxiv_org_abs_2604_23967
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Almost free algebras: from the word problem to elimination of quantifiers
Jia, Yifan
Koh, Heer Tern
Khoussainov, Bakh
Logic
Term algebras are important objects in computer science and are correspondingly well-studied. A natural generalization is to quotient these algebras by finitely many ground term equations, obtaining what we call almost free algebras. One of the earliest results on almost free algebras is that their word problem is polynomial time decidable. In this paper, we show that other natural problems: finding canonical representatives; computing the cardinality of a congruence class; checking if all congruence classes are infinite; checking if the algebra is finite; checking if two algebras are isomorphic, are all polynomial time decidable. Another famous result regarding term algebras is that they admit quantifier elimination in a suitably expanded language. Following this pattern, we also show that almost free algebras admit quantifier elimination by expanding the language with the standard tester predicates. While this is implied by existing results, we view our main contribution here as providing a different approach, which we posit can be easily extended to a larger class that is not covered by existing works. Finally, we provide an application to the quantifier elimination procedure, constructing examples of non-initial algebras over arbitrary signatures with a polynomial time word problem.
title Almost free algebras: from the word problem to elimination of quantifiers
topic Logic
url https://arxiv.org/abs/2604.23967