Documentation

CslibFrontier.Computability.RelationAlgebra.Undecidable

Undecidability of representability for finite relation algebras #

No algorithm decides whether a finite relation algebra is representable [HH01], Theorem 8. The instances here are atom tables: every finite relation algebra is isomorphic to the complex algebra of an atom structure that some table presents (Cslib.RelationAlgebra.AtomTable.exists_presents_equiv), and isomorphic relation algebras are both representable or both not (Cslib.RelationAlgebraEquiv.representable_iff; for finite ones in different universes, by Cslib.RelationAlgebra.Representation.representable). A table that presents no atom structure, or one violating the laws of an atom structure (so that its complex algebra is not a relation algebra), is a no-instance. Representable is cslib's: an injective homomorphism into a product of algebras of all relations on a set. Its relation to the source's representations, which have non-empty domains, is described in the module CslibFrontier.Foundations.RelationAlgebra.Game.

A decision procedure for the representation problem decides the tiling problem in which every tile must occur, through the reduction Cslib.RelationAlgebra.everyTileOccurs_manyOneReducible_isRepresentable. That gives a decision procedure for the domino problem by a search over sublists (Cslib.WangTile.computablePred_tilesPlane_of_computablePred_everyTileOccurs), and the domino problem is undecidable (Cslib.WangTile.not_computablePred_tilesPlane, Berger's theorem). The source cites Berger's theorem and says without argument that its tiling problem is undecidable too; the search over sublists is our argument for that step.

Main results #

References #

Representability of finite relation algebras is undecidable [HH01], Theorem 8: no algorithm decides whether a table presents a lawful atom structure whose complex algebra is representable. The predicate is AtomTable.IsRepresentable, written out.