(* From GuBPI Zaiser et al. -- MODIFIEDUse an approximation of exp(x/2) # method boxes# depth 20# splits 100000# discretization -5 5 0.25# epsilonScore 0.1# epsilonVar 0.2# This is a SPCF program describing Neals funnel# For details see, e.g., https://mc-stan.org/docs/2_27/stan-users-guide/reparameterization-section.html#funnel.figurelet x = sample normal(0, 3) inlet y0 = sample normal(0, exp(x/2)) in# This and the following variables are unused and ignored.# The are part of the original model, however, and do affect HMC sampling,# so we include them for consistency.let y1 = sample normal(0, exp(x/2)) inlet y2 = sample normal(0, exp(x/2)) inlet y3 = sample normal(0, exp(x/2)) inlet y4 = sample normal(0, exp(x/2)) inlet y5 = sample normal(0, exp(x/2)) inlet y6 = sample normal(0, exp(x/2)) inlet y7 = sample normal(0, exp(x/2)) inlet y8 = sample normal(0, exp(x/2)) inlet y9 = sample normal(0, exp(x/2)) iny0Partially determinizable but continuous after determinization*)let x = gauss(0, 3) inlet z = x / 2 inlet z2 = z * z inlet exp_approx = (1 + z / 2 + z2 / 12) / (1 - z / 2 + z2 / 12)inlet y0 = gauss(0, exp_approx) inlet y1 = gauss(0, exp_approx) inlet y2 = gauss(0, exp_approx) inlet y3 = gauss(0, exp_approx) inlet y4 = gauss(0, exp_approx) inlet y5 = gauss(0, exp_approx) inlet y6 = gauss(0, exp_approx) inlet y7 = gauss(0, exp_approx) inlet y8 = gauss(0, exp_approx) inlet y9 = gauss(0, exp_approx) iny0