Set of all symbols occcuring in S, L, or H

def free_symbols(self):
        """Set of all symbols occcuring in S, L, or H"""
        return set.union(
            self.S.free_symbols, self.L.free_symbols, self.H.free_symbols)