languages Definition Proper Prefix A proper prefix of a string w is a prefix p of w with ∣p∣<∣w∣. Examples Positive Let w=abc. The proper prefixes of w are ε, a, and ab. Negative Let w=abc. The prefix abc is not proper because ∣abc∣=∣w∣. The string abx is not a prefix at all.