code: def _alpha_unmangle(expr):
      alpha_subs = {
          name: name.split("__BOUND")[0]
          for name in expr.bound
          if "__BOUND" in name
      }
      if not alpha_subs:
          return tuple(expr._ast_values)
  
      return expr._alpha_convert(alpha_subs)
  
imports: from collections import defaultdict
  from collections.abc import Hashable
  from funsor.cnf import Contraction
  from funsor.interpretations import Interpretation, reflect
  from funsor.interpreter import stack_reinterpret
  from funsor.ops import AssociativeOp
  from funsor.registry import KeyedRegistry
  from funsor.terms import Approximate, Binary, Cat, Funsor, Reduce, Scatter, Slice, Subs, substitute, to_funsor
  from .None import instrument, interpreter, ops
label_desc: Use image node_id 1 for calling a global function with example usage: _alpha_unmangle(expr) and returns: expr, tuple