Langlib

Langlib.Automata.Turing.DSL

Composable TM Generators / Transformers — DSL Overview #

This module collects the layers of the DSL for describing TM-recognizable languages via composable search procedures.

Architecture #

Layer 1–4: Enumeration, Search, TM0 Infrastructure, Partrec Chain #

Layer 5: Search compilation to TM0 #

File: DSL/SearchProcToTM0.lean

search_halts_tm0 It shows that any language expressible as { w | ∃ a : α, test a w = true } with Primcodable α and Computable₂ test is TM0-recognizable over the Partrec chain's internal Fintype alphabet.

search_halts_tm0_fintype is the strengthened version that also provides Fintype on states. It depends on code_to_tm0_fintype

TM0 Support Infrastructure #

File: DSL/TM0ChainInfrastructure.lean

Support Chain #

File: DSL/PartrecCodeToTM0.lean