.collectAllVariables(aSentence);
Map<Variable, Term> renameSubstitution = new HashMap<Variable, Term>();
Map<Variable, Term> reverseSubstitution = new HashMap<Variable, Term>();
for (Variable var : toRename) {
Variable v = null;
do {
v = new Variable(standardizeApartIndexical.getPrefix()
+ standardizeApartIndexical.getNextIndex());
// Ensure the new variable name is not already
// accidentally used in the sentence
} while (toRename.contains(v));