code: def eager_add_multidelta(op, lhs, rhs):
      if lhs.fresh.intersection(rhs.inputs):
          return eager_add_delta_funsor(op, lhs, rhs)
  
      if rhs.fresh.intersection(lhs.inputs):
          return eager_add_funsor_delta(op, lhs, rhs)
  
      return Delta(lhs.terms + rhs.terms)
  
imports: from collections import OrderedDict
  from functools import reduce
  from funsor.domains import Domain, Real
  from funsor.instrument import debug_logged
  from funsor.ops import AddOp, SubOp, TransformOp
  from funsor.registry import KeyedRegistry
  from funsor.terms import Align, Binary, Funsor, FunsorMeta, Independent, Lambda, Number, Unary, Variable, eager, to_funsor
  from funsor.util import get_default_dtype
  from .None import ops
label_desc: Use image node_id 4 for calling a global function with example usage: eager_add_multidelta(op, lhs, rhs) and returns: Delta, eager_add_delta_funsor, eager_add_funsor_delta