code: def generate_lambda_lookup(verbose=False, trial_run=False):
      """
      Generate the whole lookup table of coeff lambdas, for all resolvents.
      """
      jobs = define_resolvents()
      lambda_lists = {}
      total_time = 0
      time_for_61 = 0
      time_for_61_last = 0
      for k, (F, X, s) in jobs.items():
          symmetrized, times = sparse_symmetrize_resolvent_coeffs(
              F, X, s, verbose=verbose
          )
  
          total_time += sum(times)
          if k == (6, 1):
              time_for_61 = sum(times)
              time_for_61_last = times[-1]
  
          sv = s_vars(len(X))
          head = f'lambda {", ".join(str(v) for v in sv)}:'
          lambda_lists[k] = ",\n        ".join(
              [f"{head} ({wrap(f)})" for f in symmetrized]
          )
  
          if trial_run:
              break
  
      table = (
          "# This table was generated by a call to\n"
          "# `sympy.polys.numberfields.galois_resolvents.generate_lambda_lookup()`.\n"
          f"# The entire job took {total_time:.2f}s.\n"
          f"# Of this, Case (6, 1) took {time_for_61:.2f}s.\n"
          f"# The final polynomial of Case (6, 1) alone took {time_for_61_last:.2f}s.\n"
          "resolvent_coeff_lambdas = {\n"
      )
  
      for k, L in lambda_lists.items():
          table += f"    {k}: [\n"
          table += "        " + L + "\n"
          table += "    ],\n"
      table += "}\n"
      return table
  
imports: from sympy.core.evalf import evalf, fastlog, _evalf_with_bounded_error, quad_to_mpmath
  from sympy.core.symbol import symbols, Dummy
  from sympy.polys.densetools import dup_eval
  from sympy.polys.domains import ZZ
  from sympy.polys.numberfields.resolvent_lookup import resolvent_coeff_lambdas
  from sympy.polys.orderings import lex
  from sympy.polys.polyroots import preprocess_roots
  from sympy.polys.polytools import Poly
  from sympy.polys.rings import xring
  from sympy.polys.specialpolys import symmetric_poly
  from sympy.utilities.lambdify import lambdify
  from mpmath import MPContext
  from mpmath.libmp.libmpf import prec_to_dps
label_desc: Use image node_id 5 for calling a global function with example usage: generate_lambda_lookup(verbose, trial_run) and returns: table