code: def test_double_log_transform_rv():
      base_rv = pt.random.normal(0, 1)
      y_rv = pt.log(pt.log(base_rv))
      y_rv.name = "y"
  
      y_vv = y_rv.clone()
      logprob = logp(y_rv, y_vv)
      logp_fn = pytensor.function([y_vv], logprob)
  
      log_log_y_val = np.asarray(0.5)
      log_y_val = np.exp(log_log_y_val)
      y_val = np.exp(log_y_val)
      np.testing.assert_allclose(
          logp_fn(log_log_y_val),
          st.norm().logpdf(y_val) + log_y_val + log_log_y_val,
      )
  
file_path: pymc/tests/logprob/test_composite_logprob.py
imports: import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  import scipy.stats
  from pymc import draw, logp
  from pymc.logprob.abstract import MeasurableVariable
  from pymc.logprob.basic import conditional_logp
  from pymc.logprob.rewriting import construct_ir_fgraph
  from pymc.testing import assert_no_rvs
label_desc: Use image node_id 5 for calling a global function with example usage: test_double_log_transform_rv() without return types