The Craig trick converts an enumeration A1,A2,… of axioms into a decidable equivalent set by replacing Ai with a syntactically self-indexing repetition containing i copies of Ai. A candidate of length m can only encode one of the first maxioms, so membership is decidable after computing that finite prefix.