docs: def create(cls, term, *ranges):
          """Instantiate the indexed sum while applying simplification rules"""
          if not isinstance(term, Scalar):
              term = ScalarValue.create(term)
          return super().create(term, *ranges)