By the Myhill–Nerode theorem a language $L$ is accepted by a finite automaton iff it consists of classes of a finite congruence. By the Kleene theorem $L$ is accepted by a finite automaton iff it is regular.
Does somebody know a direct proof (without automata) of the proposition: "$L$ consists of classes of a finite congruence iff it is regular"?
Thank you in advance.