Regular-language formations yield congruence formations
ProvedHJMEilenberg.languages_to_congruencesLet be finite and let be a regular-language formation for an -sorted signature . There exists a finite-index congruence formation whose congruences over every sorted variable family are exactly
This states that the paper's language-to-congruence construction satisfies all finite-index congruence formation axioms.
import Definitions.Def_HJMEilenberg_Formations
namespace HJMEilenberg
open MSKleene
/-- Proposition 6.22: a regular-language formation determines a formation of
finite-index congruences by requiring all saturated languages. -/
theorem languages_to_congruences {S : Type} [Finite S] {sig : Signature S}
(L : RegularLanguageFormation sig) :
∃ F : FiniteIndexCongruenceFormation sig,
∀ X : SSet S, F.congruences X = congruencesOf L X := by
sorry
end HJMEilenbergRead-back
What the Lean code literally says, in plain math · gpt-5
For every type of sorts equipped with a finiteness instance (with no assumption that is inhabited or nonempty), every implicit -sorted signature —that is, an arbitrary family of types of operation symbols indexed by finite lists of input sorts and an output sort , with no finiteness assumption on the operation-symbol types—and every regular-language formation for , there exists a finite-index congruence formation for such that, for every -sorted family of generator types, is exactly the set of congruences on the free -algebra satisfying both: the disjoint union of their sortwise quotient carriers is finite, and every sorted language saturated by —meaning implies for every —belongs to . Here a congruence is a sortwise family of equivalence relations preserved by every basic -operation, and consists sortwise of the well-sorted terms generated by variables from and applications of symbols from . The assumption that is a regular-language formation supplies, for every , a set of sorted languages on such that: each selected language has finite-index syntactic congruence; every language saturated by the universal congruence is selected; whenever , every language saturated by the intersection of the syntactic congruences of and is selected; and whenever and is a homomorphism whose composite with the quotient by the syntactic congruence of is surjective at every sort, every language saturated by the pullback along of that syntactic congruence belongs to . The syntactic congruence used here relates at sort exactly when every congruence that contains every congruence saturating the language also relates . The asserted witness must itself assign to each a nonempty set of congruences, be closed under pairwise intersection and upward enlargement, be closed under pullback along every homomorphism that is sortwise surjective after quotienting by the target congruence, and contain only finite-index congruences; the displayed equality asserts membership equivalence in both directions for every and every congruence, but asserts neither uniqueness of nor any finiteness or nonemptiness of or its fibers. Thus empty , empty or infinite generator fibers, signatures with empty or infinite symbol types, and free-algebra sorts with no terms are included; sortwise saturation and compatibility conditions over empty carriers are vacuous, and any pullback-closure implication whose quotient-surjectivity premise is impossible is vacuous as well.
Confirmed by the mission captain (proposal self-audit).