public static Cons removeEquivalentRelations(Cons relationslist, NamedDescription relation) {
    if (relationslist.memberP(relation)) {
      { NamedDescription m = null;
        Cons iter000 = NamedDescription.allEquivalentRelations(relation, true);

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          m = ((NamedDescription)(iter000.value));
          relationslist = relationslist.remove(m);
        }
      }
    }
    return (relationslist);
  }