Set of all free symbols

def free_symbols(self):
        """Set of all free symbols"""
        return set([
            sym for sym in self.term.free_symbols
            if sym not in self.bound_symbols])