The Craig trick converts an enumeration of axioms into a decidable equivalent set by replacing with a syntactically self-indexing repetition containing copies of . A candidate of length can only encode one of the first axioms, so membership is decidable after computing that finite prefix.
The construction proves Craig's theorem: every computably enumerable axiomatizable theory has an equivalent decidable axiom set.
New to topics? Read the docs here!