From b33c37d6d748fbae5fb939651a241b859a613a04 Mon Sep 17 00:00:00 2001 From: Sean Talts Date: Fri, 2 Apr 2021 12:48:17 -0400 Subject: [PATCH 1/2] Add a transformed_mir_diff expect test for #856 to diff against --- test/integration/good/code-gen/dune | 18 + .../code-gen/transformed_mir_diff.expected | 14983 ++++++++++++++++ 2 files changed, 15001 insertions(+) create mode 100644 test/integration/good/code-gen/transformed_mir_diff.expected diff --git a/test/integration/good/code-gen/dune b/test/integration/good/code-gen/dune index 3f33872722..8cba7828f3 100644 --- a/test/integration/good/code-gen/dune +++ b/test/integration/good/code-gen/dune @@ -20,6 +20,24 @@ (name runtest) (action (diff mir.expected mir.output))) +(rule + (targets transformed_mir.output) + (deps (package stanc) (:stanfiles mother.stan)) + (action + (with-stdout-to %{targets} + (run %{bin:run_bin_on_args} "%{bin:stanc} --debug-transformed-mir" %{stanfiles})))) + +(rule + (targets transformed_mir_diff.output) + (deps mir.output transformed_mir.output) + (action + (with-stdout-to %{targets} + (bash "diff %{deps} || true")))) + +(alias + (name runtest) + (action (diff transformed_mir_diff.expected transformed_mir_diff.output))) + (rule (targets cl.output) (deps (package stanc) (:stanfiles optimize_glm.stan)) diff --git a/test/integration/good/code-gen/transformed_mir_diff.expected b/test/integration/good/code-gen/transformed_mir_diff.expected new file mode 100644 index 0000000000..93376037c5 --- /dev/null +++ b/test/integration/good/code-gen/transformed_mir_diff.expected @@ -0,0 +1,14983 @@ +1c1 +< $ ../../../../../install/default/bin/stanc --debug-mir mother.stan +--- +> $ ../../../../../install/default/bin/stanc --debug-transformed-mir mother.stan +19,21c19,24 +< (Return +< (((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +--- +> (Block +> (((pattern +> (Return +> (((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +282c285,286 +< ((pattern Break) (meta )))) +--- +> ((pattern (Block (((pattern Break) (meta ))))) +> (meta )))) +288c292,293 +< ((pattern Continue) (meta )))) +--- +> ((pattern (Block (((pattern Continue) (meta ))))) +> (meta )))) +342c347,348 +< ((pattern Break) (meta )) +--- +> ((pattern (Block (((pattern Break) (meta ))))) +> (meta )) +344,349c350,363 +< (IfElse +< ((pattern (Lit Int 1)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern Break) (meta )) +< (((pattern Break) (meta ))))) +--- +> (Block +> (((pattern +> (IfElse +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Block (((pattern Break) (meta ))))) +> (meta )) +> (((pattern +> (Block (((pattern Break) (meta ))))) +> (meta ))))) +> (meta ))))) +359,362c373,380 +< (While +< ((pattern (Lit Int 0)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern Break) (meta )))) +--- +> (Block +> (((pattern +> (While +> ((pattern (Lit Int 0)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Block (((pattern Break) (meta ))))) +> (meta )))) +> (meta ))))) +1300c1318 +< (NRFunApp CompilerInternal FnReject__ +--- +> (Block +1302,1316c1320,1341 +< (Lit Str "user-specified rejection, difference above ")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var max_)) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str " x:")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var x)) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str " y:")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var y)) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +--- +> (NRFunApp CompilerInternal FnReject__ +> (((pattern +> (Lit Str +> "user-specified rejection, difference above ")) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var max_)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str " x:")) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var x)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str " y:")) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var y)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +> (meta ))))) +1339c1364 +< (NRFunApp CompilerInternal FnReject__ +--- +> (Block +1341,1355c1366,1387 +< (Lit Str "user-specified rejection, difference below ")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var min_)) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str " x:")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var x)) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str " y:")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var y)) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +--- +> (NRFunApp CompilerInternal FnReject__ +> (((pattern +> (Lit Str +> "user-specified rejection, difference below ")) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var min_)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str " x:")) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var x)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str " y:")) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var y)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +> (meta ))))) +2550a2583,2590 +> (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +2553a2594,2607 +> (Assignment (N UInt ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +2567a2622,2635 +> (Assignment (M UInt ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +2581a2650,2663 +> (Assignment (K UInt ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +2625a2708,2715 +> (Assignment (d_int_1d_ar (UArray UInt) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_int_1d_ar)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +2697a2788,2900 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_int_3d_ar_flat__) +> (decl_type (Unsized (UArray UInt))))) +> (meta )) +> ((pattern +> (Assignment (d_int_3d_ar_flat__ (UArray UInt) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_int_3d_ar)) +> (meta +> ((type_ (UArray (UArray (UArray UInt)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_int_3d_ar +> (UArray (UArray (UArray UInt))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_int_3d_ar_flat__)) +> (meta +> ((type_ (UArray UInt)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +2782a2986,2999 +> (Assignment (J UReal ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str J)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +2824a3042,3049 +> (Assignment (d_real_1d_ar (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_real_1d_ar)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +2865a3091,3203 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_real_3d_ar_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_real_3d_ar_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_real_3d_ar)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_real_3d_ar +> (UArray (UArray (UArray UReal))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_real_3d_ar_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +2882a3221,3283 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_vec)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_vec UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +2911a3313,3401 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_1d_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_1d_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_1d_vec (UArray UVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_1d_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +2964a3455,3590 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_3d_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_3d_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_3d_vec)) +> (meta +> ((type_ (UArray (UArray (UArray UVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_3d_vec +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_3d_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +2981a3608,3670 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_row_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_row_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_row_vec)) +> (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_row_vec URowVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_row_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3010a3700,3789 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_1d_row_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_1d_row_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_1d_row_vec)) +> (meta +> ((type_ (UArray URowVector)) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_1d_row_vec (UArray URowVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_1d_row_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3063a3843,3980 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_3d_row_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_3d_row_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_3d_row_vec)) +> (meta +> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_3d_row_vec +> (UArray +> (UArray (UArray URowVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var d_3d_row_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3079a3997,4131 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_ar_mat_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_ar_mat_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_ar_mat)) +> (meta +> ((type_ (UArray (UArray UMatrix))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_ar_mat (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_ar_mat_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3308a4361,4423 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_simplex_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_simplex_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_simplex)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_simplex UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_simplex_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3346a4462,4550 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_1d_simplex_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_1d_simplex_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_1d_simplex)) +> (meta +> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_1d_simplex (UArray UVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_1d_simplex_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3429a4634,4770 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_3d_simplex_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_3d_simplex_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_3d_simplex)) +> (meta +> ((type_ (UArray (UArray (UArray UVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_3d_simplex +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var d_3d_simplex_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3518a4860,4947 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_54_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_cfcov_54_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_cfcov_54)) +> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_cfcov_54 UMatrix +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_cfcov_54_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3537a4967,5054 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_cfcov_33_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_cfcov_33)) +> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_cfcov_33 UMatrix +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_cfcov_33_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3568a5086,5196 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_ar_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_cfcov_33_ar_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_cfcov_33_ar)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_cfcov_33_ar (UArray UMatrix) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_cfcov_33_ar_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3601a5230,5243 +> (Assignment (d_int UInt ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +3618a5261,5268 +> (Assignment (d_int_array (UArray UInt) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_int_array)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +3638a5289,5378 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_2d_flat__) +> (decl_type (Unsized (UArray UInt))))) +> (meta )) +> ((pattern +> (Assignment (d_int_array_2d_flat__ (UArray UInt) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_int_array_2d)) +> (meta +> ((type_ (UArray (UArray UInt))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_int_array_2d (UArray (UArray UInt)) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_int_array_2d_flat__)) +> (meta +> ((type_ (UArray UInt)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3661a5402,5514 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_3d_flat__) +> (decl_type (Unsized (UArray UInt))))) +> (meta )) +> ((pattern +> (Assignment (d_int_array_3d_flat__ (UArray UInt) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_int_array_3d)) +> (meta +> ((type_ (UArray (UArray (UArray UInt)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_int_array_3d +> (UArray (UArray (UArray UInt))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_int_array_3d_flat__)) +> (meta +> ((type_ (UArray UInt)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3664a5518,5531 +> (Assignment (d_real UReal ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_real)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +3681a5549,5556 +> (Assignment (d_real_array (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_real_array)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +3701a5577,5666 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_2d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_real_array_2d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_real_array_2d)) +> (meta +> ((type_ (UArray (UArray UReal))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_real_array_2d (UArray (UArray UReal)) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_real_array_2d_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3724a5690,5802 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_3d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_real_array_3d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_real_array_3d)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_real_array_3d +> (UArray (UArray (UArray UReal))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_real_array_3d_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3752a5831,5918 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_matrix_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_matrix)) +> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_matrix UMatrix +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_matrix_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3792a5959,6069 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_matrix_array_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_matrix_array)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_matrix_array (UArray UMatrix) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_matrix_array_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3835a6113,6249 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_2d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_matrix_array_2d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_matrix_array_2d)) +> (meta +> ((type_ (UArray (UArray UMatrix))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_matrix_array_2d +> (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var d_matrix_array_2d_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3881a6296,6467 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_3d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_matrix_array_3d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_matrix_array_3d)) +> (meta +> ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym5__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_matrix_array_3d +> (UArray +> (UArray (UArray UMatrix))) +> ((Single +> ((pattern (Var sym5__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var +> d_matrix_array_3d_flat__)) +> (meta +> ((type_ +> (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) +> (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3898a6485,6547 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_vector_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_vector)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_vector UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_vector_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3927a6577,6665 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_vector_array_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_vector_array)) +> (meta +> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_vector_array (UArray UVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_vector_array_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3959a6698,6811 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_2d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_vector_array_2d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_vector_array_2d)) +> (meta +> ((type_ (UArray (UArray UVector))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_vector_array_2d +> (UArray (UArray UVector)) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var d_vector_array_2d_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +3994a6847,6983 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_3d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_vector_array_3d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_vector_array_3d)) +> (meta +> ((type_ (UArray (UArray (UArray UVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_vector_array_3d +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var d_vector_array_3d_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +4011a7001,7063 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_row_vector_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_row_vector)) +> (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_row_vector URowVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_row_vector_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +4040a7093,7182 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_array_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_row_vector_array_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_row_vector_array)) +> (meta +> ((type_ (UArray URowVector)) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_row_vector_array (UArray URowVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var d_row_vector_array_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +4072a7215,7329 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) +> (decl_id d_row_vector_array_2d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_row_vector_array_2d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_row_vector_array_2d)) +> (meta +> ((type_ (UArray (UArray URowVector))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_row_vector_array_2d +> (UArray (UArray URowVector)) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var d_row_vector_array_2d_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +4107a7365,7504 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) +> (decl_id d_row_vector_array_3d_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (d_row_vector_array_3d_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str d_row_vector_array_3d)) +> (meta +> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var d_int)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (d_row_vector_array_3d +> (UArray +> (UArray (UArray URowVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var +> d_row_vector_array_3d_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +7741a11139,11146 +> (Assignment (p_real UReal ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +7748,7754c11153,11155 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern (Var p_upper)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str lb)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var p_real)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +7757a11159,11199 +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment (p_upper UReal ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_upper)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str lb)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var p_real)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var lp__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment (p_upper UReal ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_upper)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str lb)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var p_real)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +7764,7770c11206,11208 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern (Var p_lower)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str ub)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Var p_upper)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +7773a11212,11252 +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment (p_lower UReal ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_lower)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str ub)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var p_upper)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var lp__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment (p_lower UReal ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_lower)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str ub)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var p_upper)) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +7799,7816c11278,11279 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var offset_multiplier)) +< (meta +< ((type_ (UArray UReal)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str offset_multiplier)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 2)) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +7822a11286,11382 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (offset_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var offset_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str offset_multiplier)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (offset_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var offset_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str offset_multiplier)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +7848,7865c11408,11409 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var no_offset_multiplier)) +< (meta +< ((type_ (UArray UReal)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str offset_multiplier)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 0)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 2)) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +7871a11416,11512 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (no_offset_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var no_offset_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str offset_multiplier)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (no_offset_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var no_offset_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str offset_multiplier)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +7897,7914c11538,11539 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var offset_no_multiplier)) +< (meta +< ((type_ (UArray UReal)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str offset_multiplier)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 1)) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +7920a11546,11642 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (offset_no_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var offset_no_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str offset_multiplier)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (offset_no_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var offset_no_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str offset_multiplier)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +7946,7961c11668,11669 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var p_real_1d_ar)) +< (meta +< ((type_ (UArray UReal)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str lb)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 0)) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +7967a11676,11766 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_real_1d_ar (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_real_1d_ar)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str lb)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (p_real_1d_ar (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_real_1d_ar)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str lb)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +8035,8066c11834,11835 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var p_real_3d_ar)) +< (meta +< ((type_ +< (UArray (UArray (UArray UReal)))) +< (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym2__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym3__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) +< (adlevel AutoDiffable)))) +< ((pattern (Lit Str lb)) +< (meta +< ((type_ UReal) (loc ) +< (adlevel DataOnly)))) +< ((pattern (Lit Int 0)) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +8081,8088d11849 +< (Decl (decl_adtype AutoDiffable) (decl_id p_vec) +< (decl_type +< (Sized +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +8100,8218d11860 +< (Assignment +< (p_vec UVector +< ((Single +< ((pattern (Var sym1__)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< ((pattern +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var p_vec)) +< (meta +< ((type_ UVector) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str lb)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 0)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +< (meta ))))) +< (meta ))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) +< (decl_type +< (Sized +< (SArray +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) +< (decl_type +< (Sized +< (SArray +< (SArray +< (SArray +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var K)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var M)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) +< (decl_type +< (Sized +< (SRowVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) +< (decl_type +< (Sized +< (SArray +< (SRowVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) +< (decl_type +< (Sized +< (SArray +< (SArray +< (SArray +< (SRowVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var K)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var M)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) +< (decl_type +< (Sized +< (SArray +< (SArray +< (SMatrix +< ((pattern (Lit Int 2)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Lit Int 5)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Lit Int 4)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (For (loopvar sym1__) +< (lower +< ((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (upper +< ((pattern (Lit Int 4)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (body +< ((pattern +< (Block +< (((pattern +8224c11866 +< ((pattern (Lit Int 5)) +--- +> ((pattern (Var M)) +8236c11878 +< ((pattern (Lit Int 2)) +--- +> ((pattern (Var K)) +8243,8255c11885,11957 +< (For (loopvar sym4__) +< (lower +< ((pattern (Lit Int 1)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (upper +< ((pattern (Lit Int 3)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (body +< ((pattern +--- +> (IfElse +> ((pattern (Var jacobian__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_real_3d_ar +> (UArray (UArray (UArray UReal))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_real_3d_ar)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UReal)))) +> (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str lb)) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +8259c11961,11962 +< (p_ar_mat (UArray (UArray UMatrix)) +--- +> (p_real_3d_ar +> (UArray (UArray (UArray UReal))) +8274,8278d11976 +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym4__)) +< (meta +< ((type_ UInt) (loc ) +8285c11983 +< ((pattern (Var p_ar_mat)) +--- +> ((pattern (Var p_real_3d_ar)) +8288c11986,11987 +< (UArray (UArray UMatrix))) +--- +> (UArray +> (UArray (UArray UReal)))) +8305,8309d12003 +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym4__)) +< (meta +< ((type_ UInt) (loc ) +8314c12008 +< ((pattern (Lit Str lub)) +--- +> ((pattern (Lit Str lb)) +8321,8324d12014 +< (adlevel DataOnly)))) +< ((pattern (Lit Int 1)) +< (meta +< ((type_ UInt) (loc ) +8339c12029 +< (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) +--- +> (Decl (decl_adtype AutoDiffable) (decl_id p_vec) +8347c12037 +< (Assignment (p_simplex UVector ()) +--- +> (Assignment (p_vec UVector ()) +8349,8354c12039,12044 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern (Var p_simplex)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str simplex)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +8357c12047,12138 +< (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) +--- +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_vec UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_vec)) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str lb)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (p_vec UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_vec)) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str lb)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) +8380c12161 +< (p_1d_simplex (UArray UVector) +--- +> (p_1d_vec (UArray UVector) +8385,8400c12166,12171 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var p_1d_simplex)) +< (meta +< ((type_ (UArray UVector)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str simplex)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +8405c12176 +< (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) +--- +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) +8458,8459c12229 +< (p_3d_simplex +< (UArray (UArray (UArray UVector))) +--- +> (p_3d_vec (UArray (UArray (UArray UVector))) +8476,8499c12246,12247 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var p_3d_simplex)) +< (meta +< ((type_ +< (UArray (UArray (UArray UVector)))) +< (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym2__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym3__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly)))))))) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +8501,8503c12249,12251 +< ((type_ UVector) (loc ) +< (adlevel AutoDiffable)))) +< ((pattern (Lit Str simplex)) +--- +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Var N)) +8505c12253 +< ((type_ UReal) (loc ) +--- +> ((type_ UInt) (loc ) +8508c12256 +< ((type_ UVector) (loc ) +--- +> ((type_ UReal) (loc ) +8518,8542c12266 +< (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) +< (decl_type +< (Sized +< (SMatrix +< ((pattern (Lit Int 5)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 4)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Assignment (p_cfcov_54 UMatrix ()) +< ((pattern +< (FunApp CompilerInternal FnConstrain__ +< (((pattern (Var p_cfcov_54)) +< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str cholesky_factor)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 5)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 4)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) +--- +> (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) +8545,8548c12269,12270 +< (SMatrix +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +--- +> (SRowVector +> ((pattern (Var N)) +8552c12274 +< (Assignment (p_cfcov_33 UMatrix ()) +--- +> (Assignment (p_row_vec URowVector ()) +8554,8559c12276,12277 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern (Var p_cfcov_33)) +< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str cholesky_factor)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str row_vector)) +8561c12279 +< ((pattern (Lit Int 3)) +--- +> ((pattern (Var N)) +8563c12281 +< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +--- +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +8566c12284 +< (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) +--- +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) +8570,8573c12288,12289 +< (SMatrix +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +--- +> (SRowVector +> ((pattern (Var N)) +8575c12291 +< ((pattern (Var K)) +--- +> ((pattern (Var N)) +8584c12300 +< ((pattern (Var K)) +--- +> ((pattern (Var N)) +8591c12307 +< (p_cfcov_33_ar (UArray UMatrix) +--- +> (p_1d_row_vec (UArray URowVector) +8596,8611c12312,12313 +< (FunApp CompilerInternal FnConstrain__ +< (((pattern +< (Indexed +< ((pattern (Var p_cfcov_33_ar)) +< (meta +< ((type_ (UArray UMatrix)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Str cholesky_factor)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +--- +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str row_vector)) +8613c12315 +< ((pattern (Lit Int 3)) +--- +> ((pattern (Var N)) +8615c12317 +< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +--- +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +8620,8713c12322 +< (Decl (decl_adtype AutoDiffable) (decl_id x_p) +< (decl_type +< (Sized +< (SVector +< ((pattern (Lit Int 2)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id y_p) +< (decl_type +< (Sized +< (SVector +< ((pattern (Lit Int 2)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) +< (decl_type +< (Sized +< (SArray SReal +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) +< (decl_type +< (Sized +< (SArray +< (SArray +< (SArray SReal +< ((pattern (Var K)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var M)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) +< (decl_type +< (Sized +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) +< (decl_type +< (Sized +< (SArray +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) +< (decl_type +< (Sized +< (SArray +< (SArray +< (SArray +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var K)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var M)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) +< (decl_type +< (Sized +< (SRowVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) +< (decl_type +< (Sized +< (SArray +< (SRowVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) +--- +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) +8730,8886c12339 +< (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) +< (decl_type +< (Sized +< (SArray +< (SArray +< (SMatrix +< ((pattern (Lit Int 2)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Lit Int 5)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Lit Int 4)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) +< (decl_type +< (Sized +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) +< (decl_type +< (Sized +< (SArray +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) +< (decl_type +< (Sized +< (SArray +< (SArray +< (SArray +< (SVector +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var K)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var M)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) +< (decl_type +< (Sized +< (SMatrix +< ((pattern (Lit Int 5)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 4)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) +< (decl_type +< (Sized +< (SMatrix +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) +< (decl_type +< (Sized +< (SArray +< (SMatrix +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 3)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< ((pattern (Var K)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id theta_p) +< (decl_type +< (Sized +< (SVector +< ((pattern (Lit Int 2)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +< (meta )) +< ((pattern +< (Decl (decl_adtype AutoDiffable) (decl_id tp_real) +< (decl_type (Sized SReal)))) +< (meta )) +< ((pattern +< (Assignment (tp_real_1d_ar (UArray UReal) ()) +< ((pattern (Var p_real_1d_ar)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_real_3d_ar (UArray (UArray (UArray UReal))) ()) +< ((pattern (Var p_real_3d_ar)) +< (meta +< ((type_ (UArray (UArray (UArray UReal)))) (loc ) +< (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_1d_vec (UArray UVector) ()) +< ((pattern (Var p_1d_vec)) +< (meta +< ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_3d_vec (UArray (UArray (UArray UVector))) ()) +< ((pattern (Var p_3d_vec)) +< (meta +< ((type_ (UArray (UArray (UArray UVector)))) (loc ) +< (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_simplex UVector ()) +< ((pattern (Var p_simplex)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_1d_simplex (UArray UVector) ()) +< ((pattern (Var p_1d_simplex)) +< (meta +< ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_3d_simplex (UArray (UArray (UArray UVector))) ()) +< ((pattern (Var p_3d_simplex)) +< (meta +< ((type_ (UArray (UArray (UArray UVector)))) (loc ) +< (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_cfcov_54 UMatrix ()) +< ((pattern (Var p_cfcov_54)) +< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_cfcov_33 UMatrix ()) +< ((pattern (Var p_cfcov_33)) +< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_cfcov_33_ar (UArray UMatrix) ()) +< ((pattern (Var p_cfcov_33_ar)) +< (meta +< ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (For (loopvar i) +--- +> (For (loopvar sym1__) +8891c12344 +< ((pattern (Lit Int 2)) +--- +> ((pattern (Var N)) +8897c12350 +< (For (loopvar j) +--- +> (For (loopvar sym2__) +8902c12355 +< ((pattern (Lit Int 3)) +--- +> ((pattern (Var M)) +8908c12361 +< (For (loopvar m) +--- +> (For (loopvar sym3__) +8914c12367 +< ((pattern (Lit Int 4)) +--- +> ((pattern (Var K)) +8921,8963c12374,12404 +< (For (loopvar n) +< (lower +< ((pattern (Lit Int 1)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (upper +< ((pattern (Lit Int 5)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (body +< ((pattern +< (Block +< (((pattern +< (Assignment +< (tp_ar_mat (UArray (UArray UMatrix)) +< ((Single +< ((pattern (Var m)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var n)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var i)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var j)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))))) +< ((pattern (Lit Real 0.4)) +< (meta +< ((type_ UReal) (loc ) +< (adlevel DataOnly)))))) +< (meta ))))) +< (meta ))))) +--- +> (Assignment +> (p_3d_row_vec +> (UArray (UArray (UArray URowVector))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str row_vector)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +8972,9269c12413,12426 +< (For (loopvar i) +< (lower +< ((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (upper +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (body +< ((pattern +< (Block +< (((pattern +< (Assignment +< (tp_vec UVector +< ((Single +< ((pattern (Var i)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< ((pattern +< (FunApp StanLib Times__ +< (((pattern +< (FunApp StanLib PMinus__ +< (((pattern (Lit Real 1.0)) +< (meta +< ((type_ UReal) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern +< (Indexed +< ((pattern (Var p_vec)) +< (meta +< ((type_ UVector) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var i)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +< (meta ))))) +< (meta ))))) +< (meta )) +< ((pattern +< (Assignment (tp_row_vec URowVector ()) +< ((pattern +< (FunApp StanLib Transpose__ +< (((pattern +< (Indexed +< ((pattern (Var tp_1d_vec)) +< (meta +< ((type_ (UArray UVector)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) +< (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_1d_row_vec (UArray URowVector) ()) +< ((pattern (Var p_1d_row_vec)) +< (meta +< ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_3d_row_vec (UArray (UArray (UArray URowVector))) ()) +< ((pattern (Var p_3d_row_vec)) +< (meta +< ((type_ (UArray (UArray (UArray URowVector)))) (loc ) +< (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (theta_p UVector ()) +< ((pattern +< (FunApp StanLib algebra_solver +< (((pattern (Var algebra_system)) +< (meta +< ((type_ +< (UFun +< ((AutoDiffable UVector) (AutoDiffable UVector) +< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +< (ReturnType UVector))) +< (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var x)) +< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +< ((pattern (Var y)) +< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat_int)) +< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (theta_p UVector ()) +< ((pattern +< (FunApp StanLib algebra_solver +< (((pattern (Var algebra_system)) +< (meta +< ((type_ +< (UFun +< ((AutoDiffable UVector) (AutoDiffable UVector) +< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +< (ReturnType UVector))) +< (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var x)) +< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +< ((pattern (Var y)) +< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat_int)) +< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 10)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (theta_p UVector ()) +< ((pattern +< (FunApp StanLib algebra_solver +< (((pattern (Var algebra_system)) +< (meta +< ((type_ +< (UFun +< ((AutoDiffable UVector) (AutoDiffable UVector) +< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +< (ReturnType UVector))) +< (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var x)) +< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +< ((pattern (Var y_p)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var dat)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat_int)) +< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 10)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (theta_p UVector ()) +< ((pattern +< (FunApp StanLib algebra_solver +< (((pattern (Var algebra_system)) +< (meta +< ((type_ +< (UFun +< ((AutoDiffable UVector) (AutoDiffable UVector) +< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +< (ReturnType UVector))) +< (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var x_p)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var y)) +< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat_int)) +< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (theta_p UVector ()) +< ((pattern +< (FunApp StanLib algebra_solver +< (((pattern (Var algebra_system)) +< (meta +< ((type_ +< (UFun +< ((AutoDiffable UVector) (AutoDiffable UVector) +< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +< (ReturnType UVector))) +< (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var x_p)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var y)) +< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat_int)) +< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 10)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (theta_p UVector ()) +< ((pattern +< (FunApp StanLib algebra_solver +< (((pattern (Var algebra_system)) +< (meta +< ((type_ +< (UFun +< ((AutoDiffable UVector) (AutoDiffable UVector) +< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +< (ReturnType UVector))) +< (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var x_p)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var y_p)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var dat)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat_int)) +< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (theta_p UVector ()) +< ((pattern +< (FunApp StanLib algebra_solver +< (((pattern (Var algebra_system)) +< (meta +< ((type_ +< (UFun +< ((AutoDiffable UVector) (AutoDiffable UVector) +< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +< (ReturnType UVector))) +< (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var x_p)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var y_p)) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var dat)) +< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +< ((pattern (Var dat_int)) +< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Real 0.01)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Int 10)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_real UReal ()) +< ((pattern +< (FunApp StanLib EltTimes__ +< (((pattern (Var p_real)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var p_real)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (Assignment (tp_real UReal ()) +< ((pattern +< (FunApp StanLib EltDivide__ +< (((pattern (Var p_real)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Var p_real)) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +< (meta )) +< ((pattern +< (For (loopvar sym1__) +< (lower +< ((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (upper +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (body +< ((pattern +< (Block +< (((pattern +< (NRFunApp CompilerInternal FnCheck__ +< (((pattern (Lit Str greater_or_equal)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Str tp_real_1d_ar[sym1__])) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern +< (Indexed +< ((pattern (Var tp_real_1d_ar)) +< (meta +< ((type_ (UArray UReal)) (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Int 0)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ))))) +< (meta ))))) +--- +> (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SMatrix +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +9277c12434 +< ((pattern (Var N)) +--- +> ((pattern (Lit Int 4)) +9288c12445 +< ((pattern (Var M)) +--- +> ((pattern (Lit Int 5)) +9294,9347c12451,12473 +< (For (loopvar sym3__) +< (lower +< ((pattern (Lit Int 1)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (upper +< ((pattern (Var K)) +< (meta +< ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (body +< ((pattern +< (Block +< (((pattern +< (NRFunApp CompilerInternal FnCheck__ +< (((pattern (Lit Str greater_or_equal)) +< (meta +< ((type_ UReal) (loc ) +< (adlevel DataOnly)))) +< ((pattern +< (Lit Str +< "tp_real_3d_ar[sym1__, sym2__, sym3__]")) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly)))) +< ((pattern +< (Indexed +< ((pattern (Var tp_real_3d_ar)) +< (meta +< ((type_ (UArray (UArray (UArray UReal)))) +< (loc ) (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym2__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym3__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) +< (adlevel AutoDiffable)))) +< ((pattern (Lit Int 0)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))))) +< (meta ))))) +< (meta ))))) +--- +> (Assignment +> (p_ar_mat (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str matrix)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +9359,9389d12484 +< ((pattern (Var N)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (body +< ((pattern +< (Block +< (((pattern +< (NRFunApp CompilerInternal FnCheck__ +< (((pattern (Lit Str less_or_equal)) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +< ((pattern (Lit Str tp_vec[sym1__])) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +< ((pattern +< (Indexed +< ((pattern (Var tp_vec)) +< (meta +< ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +< ((pattern (Lit Int 0)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +< (meta ))))) +< (meta ))))) +< (meta )) +< ((pattern +< (For (loopvar sym1__) +< (lower +< ((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (upper +9435,9480c12530,12725 +< (NRFunApp CompilerInternal FnCheck__ +< (((pattern (Lit Str greater_or_equal)) +< (meta +< ((type_ UReal) (loc ) +< (adlevel DataOnly)))) +< ((pattern +< (Lit Str +< "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly)))) +< ((pattern +< (Indexed +< ((pattern (Var tp_ar_mat)) +< (meta +< ((type_ +< (UArray (UArray UMatrix))) +< (loc ) +< (adlevel AutoDiffable)))) +< ((Single +< ((pattern (Var sym1__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym2__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym3__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))) +< (Single +< ((pattern (Var sym4__)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly)))))))) +< (meta +< ((type_ UReal) (loc ) +< (adlevel AutoDiffable)))) +< ((pattern (Lit Int 0)) +< (meta +< ((type_ UInt) (loc ) +< (adlevel DataOnly))))))) +--- +> (IfElse +> ((pattern (Var jacobian__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_ar_mat +> (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal +> FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_ar_mat)) +> (meta +> ((type_ +> (UArray +> (UArray UMatrix))) +> (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) +> (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str lub)) +> (meta +> ((type_ UReal) +> (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (p_ar_mat +> (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal +> FnConstrain__ +> (((pattern +> (Indexed +> ((pattern +> (Var p_ar_mat)) +> (meta +> ((type_ +> (UArray +> (UArray UMatrix))) +> (loc ) +> (adlevel +> AutoDiffable)))) +> ((Single +> ((pattern +> (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern +> (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern +> (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern +> (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) +> (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str lub)) +> (meta +> ((type_ UReal) +> (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +9491,9497c12736,14713 +< (For (loopvar sym1__) +< (lower +< ((pattern (Lit Int 1)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +< (upper +< ((pattern (Lit Int 4)) +< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +--- +> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) +> (decl_type +> (Sized +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_in__) +> (decl_type +> (Sized +> (SVector +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (p_simplex_in__ UVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment (p_simplex UVector ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_simplex_in__)) +> (meta +> ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str simplex)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment (p_simplex UVector ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_simplex_in__)) +> (meta +> ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str simplex)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) +> (decl_type +> (Sized +> (SArray +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_in__) +> (decl_type +> (Sized +> (SArray +> (SVector +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_simplex_in__ (UArray UVector) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_simplex (UArray UVector) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_simplex_in__)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str simplex)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_simplex (UArray UVector) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_simplex_in__)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str simplex)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SArray +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_in__) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SArray +> (SVector +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_simplex_in__ +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_simplex +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern +> (Var p_3d_simplex_in__)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str simplex)) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_simplex +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal +> FnConstrain__ +> (((pattern +> (Indexed +> ((pattern +> (Var p_3d_simplex_in__)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str simplex)) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) +> (decl_type +> (Sized +> (SMatrix +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_in__) +> (decl_type +> (Sized +> (SVector +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (p_cfcov_54_in__ UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment (p_cfcov_54 UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_cfcov_54_in__)) +> (meta +> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str cholesky_factor)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment (p_cfcov_54 UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_cfcov_54_in__)) +> (meta +> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str cholesky_factor)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) +> (decl_type +> (Sized +> (SMatrix +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_in__) +> (decl_type +> (Sized +> (SVector +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (p_cfcov_33_in__ UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment (p_cfcov_33 UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_cfcov_33_in__)) +> (meta +> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str cholesky_factor)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment (p_cfcov_33 UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern (Var p_cfcov_33_in__)) +> (meta +> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Str cholesky_factor)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) +> (decl_type +> (Sized +> (SArray +> (SMatrix +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_in__) +> (decl_type +> (Sized +> (SArray +> (SVector +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_cfcov_33_ar_in__ (UArray UMatrix) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (IfElse +> ((pattern (Var jacobian__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_cfcov_33_ar (UArray UMatrix) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_33_ar_in__)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str cholesky_factor)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var lp__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta )) +> (((pattern +> (Block +> (((pattern +> (Assignment +> (p_cfcov_33_ar (UArray UMatrix) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnConstrain__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_33_ar_in__)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Str cholesky_factor)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id x_p) +> (decl_type +> (Sized +> (SVector +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (x_p UVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id y_p) +> (decl_type +> (Sized +> (SVector +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (y_p UVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) +> (decl_type +> (Sized +> (SArray SReal +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SArray SReal +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) +> (decl_type +> (Sized +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) +> (decl_type +> (Sized +> (SArray +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SArray +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) +> (decl_type +> (Sized +> (SRowVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) +> (decl_type +> (Sized +> (SArray +> (SRowVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SArray +> (SRowVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SMatrix +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) +> (decl_type +> (Sized +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) +> (decl_type +> (Sized +> (SArray +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SArray +> (SVector +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) +> (decl_type +> (Sized +> (SMatrix +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) +> (decl_type +> (Sized +> (SMatrix +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) +> (decl_type +> (Sized +> (SArray +> (SMatrix +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id theta_p) +> (decl_type +> (Sized +> (SVector +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id tp_real) +> (decl_type (Sized SReal)))) +> (meta )) +> ((pattern +> (Assignment (tp_real_1d_ar (UArray UReal) ()) +> ((pattern (Var p_real_1d_ar)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_real_3d_ar (UArray (UArray (UArray UReal))) ()) +> ((pattern (Var p_real_3d_ar)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) (loc ) +> (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_1d_vec (UArray UVector) ()) +> ((pattern (Var p_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_3d_vec (UArray (UArray (UArray UVector))) ()) +> ((pattern (Var p_3d_vec)) +> (meta +> ((type_ (UArray (UArray (UArray UVector)))) (loc ) +> (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_simplex UVector ()) +> ((pattern (Var p_simplex)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_1d_simplex (UArray UVector) ()) +> ((pattern (Var p_1d_simplex)) +> (meta +> ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_3d_simplex (UArray (UArray (UArray UVector))) ()) +> ((pattern (Var p_3d_simplex)) +> (meta +> ((type_ (UArray (UArray (UArray UVector)))) (loc ) +> (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_cfcov_54 UMatrix ()) +> ((pattern (Var p_cfcov_54)) +> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_cfcov_33 UMatrix ()) +> ((pattern (Var p_cfcov_33)) +> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_cfcov_33_ar (UArray UMatrix) ()) +> ((pattern (Var p_cfcov_33_ar)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (For (loopvar i) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar j) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar m) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar n) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (tp_ar_mat (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var m)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var n)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var i)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var j)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern (Lit Real 0.4)) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar i) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (tp_vec UVector +> ((Single +> ((pattern (Var i)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib PMinus__ +> (((pattern (Lit Real 1.0)) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Indexed +> ((pattern (Var p_vec)) +> (meta +> ((type_ UVector) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var i)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (Assignment (tp_row_vec URowVector ()) +> ((pattern +> (FunApp StanLib Transpose__ +> (((pattern +> (Indexed +> ((pattern (Var tp_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) +> (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_1d_row_vec (UArray URowVector) ()) +> ((pattern (Var p_1d_row_vec)) +> (meta +> ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_3d_row_vec (UArray (UArray (UArray URowVector))) ()) +> ((pattern (Var p_3d_row_vec)) +> (meta +> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) +> (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (theta_p UVector ()) +> ((pattern +> (FunApp StanLib algebra_solver +> (((pattern (Var algebra_system)) +> (meta +> ((type_ +> (UFun +> ((AutoDiffable UVector) (AutoDiffable UVector) +> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +> (ReturnType UVector))) +> (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var x)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((pattern (Var y)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat_int)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (theta_p UVector ()) +> ((pattern +> (FunApp StanLib algebra_solver +> (((pattern (Var algebra_system)) +> (meta +> ((type_ +> (UFun +> ((AutoDiffable UVector) (AutoDiffable UVector) +> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +> (ReturnType UVector))) +> (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var x)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((pattern (Var y)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat_int)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 10)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (theta_p UVector ()) +> ((pattern +> (FunApp StanLib algebra_solver +> (((pattern (Var algebra_system)) +> (meta +> ((type_ +> (UFun +> ((AutoDiffable UVector) (AutoDiffable UVector) +> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +> (ReturnType UVector))) +> (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var x)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((pattern (Var y_p)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var dat)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat_int)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 10)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (theta_p UVector ()) +> ((pattern +> (FunApp StanLib algebra_solver +> (((pattern (Var algebra_system)) +> (meta +> ((type_ +> (UFun +> ((AutoDiffable UVector) (AutoDiffable UVector) +> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +> (ReturnType UVector))) +> (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var x_p)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var y)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat_int)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (theta_p UVector ()) +> ((pattern +> (FunApp StanLib algebra_solver +> (((pattern (Var algebra_system)) +> (meta +> ((type_ +> (UFun +> ((AutoDiffable UVector) (AutoDiffable UVector) +> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +> (ReturnType UVector))) +> (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var x_p)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var y)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat_int)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 10)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (theta_p UVector ()) +> ((pattern +> (FunApp StanLib algebra_solver +> (((pattern (Var algebra_system)) +> (meta +> ((type_ +> (UFun +> ((AutoDiffable UVector) (AutoDiffable UVector) +> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +> (ReturnType UVector))) +> (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var x_p)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var y_p)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var dat)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat_int)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (theta_p UVector ()) +> ((pattern +> (FunApp StanLib algebra_solver +> (((pattern (Var algebra_system)) +> (meta +> ((type_ +> (UFun +> ((AutoDiffable UVector) (AutoDiffable UVector) +> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) +> (ReturnType UVector))) +> (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var x_p)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var y_p)) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var dat)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((pattern (Var dat_int)) +> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Real 0.01)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 10)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_real UReal ()) +> ((pattern +> (FunApp StanLib EltTimes__ +> (((pattern (Var p_real)) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var p_real)) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (tp_real UReal ()) +> ((pattern +> (FunApp StanLib EltDivide__ +> (((pattern (Var p_real)) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Var p_real)) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnCheck__ +> (((pattern (Lit Str greater_or_equal)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Str tp_real_1d_ar[sym1__])) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Indexed +> ((pattern (Var tp_real_1d_ar)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Int 0)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnCheck__ +> (((pattern (Lit Str greater_or_equal)) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Lit Str +> "tp_real_3d_ar[sym1__, sym2__, sym3__]")) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Indexed +> ((pattern (Var tp_real_3d_ar)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) +> (loc ) (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnCheck__ +> (((pattern (Lit Str less_or_equal)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Str tp_vec[sym1__])) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Indexed +> ((pattern (Var tp_vec)) +> (meta +> ((type_ UVector) (loc ) (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) +> ((pattern (Lit Int 0)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnCheck__ +> (((pattern (Lit Str greater_or_equal)) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Lit Str +> "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (Indexed +> ((pattern (Var tp_ar_mat)) +> (meta +> ((type_ +> (UArray (UArray UMatrix))) +> (loc ) +> (adlevel AutoDiffable)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))) +> ((pattern (Lit Int 0)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +10522a15739,15746 +> (Assignment (p_real UReal ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +10528a15753,15760 +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (p_upper UReal ()) +> ((pattern +10544a15777,15784 +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +> (Assignment (p_lower UReal ()) +> ((pattern +10579a15820,15844 +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (offset_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +10627a15893,15917 +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (no_offset_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +10675a15966,15990 +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (offset_no_multiplier (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +10723a16039,16063 +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_real_1d_ar (UArray UReal) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +10811a16152,16220 +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str scalar)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_real_3d_ar (UArray (UArray (UArray UReal))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +10864a16274,16283 +> (Assignment (p_vec UVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +10912a16332,16358 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_vec (UArray UVector) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +10929a16376,16448 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_vec (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +10937a16457,16466 +> (Assignment (p_row_vec URowVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str row_vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +10948a16478,16504 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_row_vec (UArray URowVector) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str row_vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +10965a16522,16595 +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_row_vec +> (UArray (UArray (UArray URowVector))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str row_vector)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +11003a16634,16684 +> (Assignment +> (p_ar_mat (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str matrix)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +11120a16802,16829 +> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_in__) +> (decl_type +> (Sized +> (SVector +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (p_simplex_in__ UVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +11124c16833 +< (((pattern (Var p_simplex)) +--- +> (((pattern (Var p_simplex_in__)) +11141a16851,16900 +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_in__) +> (decl_type +> (Sized +> (SArray +> (SVector +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_simplex_in__ (UArray UVector) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +11162c16921 +< ((pattern (Var p_1d_simplex)) +--- +> ((pattern (Var p_1d_simplex_in__)) +11194a16954,17058 +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_in__) +> (decl_type +> (Sized +> (SArray +> (SArray +> (SArray +> (SVector +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_simplex_in__ +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +11252c17116 +< ((pattern (Var p_3d_simplex)) +--- +> ((pattern (Var p_3d_simplex_in__)) +11299a17164,17267 +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_in__) +> (decl_type +> (Sized +> (SVector +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (p_cfcov_54_in__ UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +11303c17271 +< (((pattern (Var p_cfcov_54)) +--- +> (((pattern (Var p_cfcov_54_in__)) +11323a17292,17395 +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_in__) +> (decl_type +> (Sized +> (SVector +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (Assignment (p_cfcov_33_in__ UMatrix ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +11327c17399 +< (((pattern (Var p_cfcov_33)) +--- +> (((pattern (Var p_cfcov_33_in__)) +11350a17423,17562 +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_in__) +> (decl_type +> (Sized +> (SArray +> (SVector +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_cfcov_33_ar_in__ (UArray UMatrix) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +11371c17583 +< ((pattern (Var p_cfcov_33_ar)) +--- +> ((pattern (Var p_cfcov_33_ar_in__)) +11398a17611,17620 +> (Assignment (x_p UVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +11406a17629,17638 +> (Assignment (y_p UVector ()) +> ((pattern +> (FunApp CompilerInternal FnReadParam__ +> (((pattern (Lit Str vector)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) +> (meta )) +> ((pattern +11597a17830,18815 +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var p_real)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var p_upper)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var p_lower)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var offset_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var no_offset_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var offset_no_multiplier)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_real_1d_ar)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_real_3d_ar)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) +> (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_vec)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_3d_vec)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_row_vec)) +> (meta +> ((type_ URowVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_row_vec)) +> (meta +> ((type_ (UArray URowVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_3d_row_vec)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray URowVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_ar_mat)) +> (meta +> ((type_ +> (UArray (UArray UMatrix))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_simplex)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_simplex)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_3d_simplex)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_54)) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_33)) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_33_ar)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var x_p)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var y_p)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +11609c18827,18829 +< ((pattern (Return ())) (meta )) ())) +--- +> ((pattern (Block (((pattern (Return ())) (meta ))))) +> (meta )) +> ())) +12547a19768,20731 +> ((pattern (Var emit_transformed_parameters__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_real_1d_ar)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_real_3d_ar)) +> (meta +> ((type_ +> (UArray (UArray (UArray UReal)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_vec)) +> (meta +> ((type_ UVector) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_3d_vec)) +> (meta +> ((type_ +> (UArray +> (UArray +> (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_row_vec)) +> (meta +> ((type_ URowVector) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_1d_row_vec)) +> (meta +> ((type_ (UArray URowVector)) +> (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern +> (Var tp_3d_row_vec)) +> (meta +> ((type_ +> (UArray +> (UArray +> (UArray URowVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_ar_mat)) +> (meta +> ((type_ +> (UArray +> (UArray UMatrix))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_simplex)) +> (meta +> ((type_ UVector) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_1d_simplex)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern +> (Var tp_3d_simplex)) +> (meta +> ((type_ +> (UArray +> (UArray +> (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) +> (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_cfcov_54)) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_cfcov_33)) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var tp_cfcov_33_ar)) +> (meta +> ((type_ (UArray UMatrix)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var theta_p)) +> (meta +> ((type_ UVector) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var tp_real)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta )) +> ())) +> (meta )) +> ((pattern +> (IfElse +12553c20737,20739 +< ((pattern (Return ())) (meta )) ())) +--- +> ((pattern (Block (((pattern (Return ())) (meta ))))) +> (meta )) +> ())) +13324,13326c21510,21515 +< (NRFunApp CompilerInternal FnReject__ +< (((pattern (Lit Str "indexing test 1 failed")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +--- +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnReject__ +> (((pattern (Lit Str "indexing test 1 failed")) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +13458,13460c21647,21652 +< (NRFunApp CompilerInternal FnReject__ +< (((pattern (Lit Str "indexing test 2 failed")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +--- +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnReject__ +> (((pattern (Lit Str "indexing test 2 failed")) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +13641,13643c21833,21838 +< (NRFunApp CompilerInternal FnReject__ +< (((pattern (Lit Str "indexing test 3 failed")) +< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +--- +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnReject__ +> (((pattern (Lit Str "indexing test 3 failed")) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +14203a22399,23848 +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var gq_r1)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var gq_r2)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_real_1d_ar)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_real_3d_ar)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) +> (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_vec)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_3d_vec)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_row_vec)) +> (meta +> ((type_ URowVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_1d_row_vec)) +> (meta +> ((type_ (UArray URowVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_3d_row_vec)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray URowVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_ar_mat)) +> (meta +> ((type_ +> (UArray (UArray UMatrix))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_simplex)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_1d_simplex)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_3d_simplex)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_cfcov_54)) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_cfcov_33)) +> (meta +> ((type_ UMatrix) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var gq_cfcov_33_ar)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var indices)) +> (meta +> ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var indexing_mat)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res1)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res2)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res3)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res11)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res21)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res31)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res4)) +> (meta +> ((type_ (UArray URowVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var idx_res5)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +14206a23852,23859 +> (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14209a23863,23876 +> (Assignment (p_real UReal ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_real)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14213a23881,23894 +> (Assignment (p_upper UReal ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_upper)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14233a23915,23928 +> (Assignment (p_lower UReal ()) +> ((pattern +> (Indexed +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_lower)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14257a23953,23960 +> (Assignment (offset_multiplier (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str offset_multiplier)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14313a24017,24024 +> (Assignment (no_offset_multiplier (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str no_offset_multiplier)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14369a24081,24088 +> (Assignment (offset_no_multiplier (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str offset_no_multiplier)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14425a24145,24152 +> (Assignment (p_real_1d_ar (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_real_1d_ar)) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +14485a24213,24325 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_real_3d_ar_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_real_3d_ar)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_real_3d_ar +> (UArray (UArray (UArray UReal))) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_real_3d_ar_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14606a24447,24509 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_vec)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_vec UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14662a24566,24654 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_1d_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_vec (UArray UVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_1d_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14679a24672,24807 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_3d_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_3d_vec)) +> (meta +> ((type_ (UArray (UArray (UArray UVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_vec +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_3d_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14687a24816,24878 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_row_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_row_vec)) +> (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_row_vec URowVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_row_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14698a24890,24979 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_1d_row_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_1d_row_vec)) +> (meta +> ((type_ (UArray URowVector)) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_row_vec (UArray URowVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_1d_row_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14715a24997,25134 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_3d_row_vec_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_3d_row_vec)) +> (meta +> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_row_vec +> (UArray +> (UArray (UArray URowVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var p_3d_row_vec_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14731a25151,25285 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_ar_mat_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_ar_mat)) +> (meta +> ((type_ (UArray (UArray UMatrix))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_ar_mat (UArray (UArray UMatrix)) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_ar_mat_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14887a25442,25504 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_simplex_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_simplex)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_simplex UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_simplex_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14921a25539,25627 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_1d_simplex_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_1d_simplex)) +> (meta +> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_1d_simplex (UArray UVector) +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_1d_simplex_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +14990a25697,25833 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_3d_simplex_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_3d_simplex)) +> (meta +> ((type_ (UArray (UArray (UArray UVector)))) (loc ) +> (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_3d_simplex +> (UArray (UArray (UArray UVector))) +> ((Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern +> (Var p_3d_simplex_flat__)) +> (meta +> ((type_ (UArray UReal)) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +15117a25961,26048 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_cfcov_54_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_cfcov_54)) +> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_cfcov_54 UMatrix +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_cfcov_54_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +15186a26118,26205 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_cfcov_33_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_cfcov_33)) +> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_cfcov_33 UMatrix +> ((Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_cfcov_33_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +15258a26278,26388 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (p_cfcov_33_ar_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str p_cfcov_33_ar)) +> (meta +> ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (p_cfcov_33_ar (UArray UMatrix) +> ((Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var p_cfcov_33_ar_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +15358a26489,26551 +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id x_p_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (x_p_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str x_p)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (x_p UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var x_p_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +15364a26558,27688 +> (meta )) +> ((pattern +> (Block +> (((pattern +> (Decl (decl_adtype AutoDiffable) (decl_id y_p_flat__) +> (decl_type (Unsized (UArray UReal))))) +> (meta )) +> ((pattern +> (Assignment (y_p_flat__ (UArray UReal) ()) +> ((pattern +> (FunApp CompilerInternal FnReadData__ +> (((pattern (Lit Str y_p)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (Assignment +> (y_p UVector +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> ((pattern +> (Indexed +> ((pattern (Var y_p_flat__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) +> (meta )) +> ((pattern +> (Assignment (pos__ UInt ()) +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern (Var pos__)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var p_real)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var p_upper_free__)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern (Var p_lower_free__)) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var offset_multiplier_free__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var no_offset_multiplier_free__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var offset_no_multiplier_free__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_real_1d_ar_free__)) +> (meta +> ((type_ (UArray UReal)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_real_3d_ar_free__)) +> (meta +> ((type_ (UArray (UArray (UArray UReal)))) +> (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_vec_free__)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_vec)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_3d_vec)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_row_vec)) +> (meta +> ((type_ URowVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_row_vec)) +> (meta +> ((type_ (UArray URowVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_3d_row_vec)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray URowVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_ar_mat_free__)) +> (meta +> ((type_ +> (UArray (UArray UMatrix))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_simplex_free__)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_1d_simplex_free__)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var N)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var M)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym3__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym4__) +> (lower +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (upper +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Var N)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal +> FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern +> (Var p_3d_simplex_free__)) +> (meta +> ((type_ +> (UArray +> (UArray (UArray UVector)))) +> (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym3__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym4__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) +> (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 4)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 5)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 4)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_54_free__)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_33_free__)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Var K)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (For (loopvar sym2__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Plus__ +> (((pattern +> (FunApp StanLib Divide__ +> (((pattern +> (FunApp StanLib Times__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))) +> ((pattern (Lit Int 1)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 2)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern +> (FunApp StanLib Times__ +> (((pattern +> (FunApp StanLib Minus__ +> (((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly)))) +> ((pattern (Lit Int 3)) +> (meta +> ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var p_cfcov_33_ar_free__)) +> (meta +> ((type_ (UArray UVector)) (loc ) +> (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly))))) +> (Single +> ((pattern (Var sym2__)) +> (meta +> ((type_ UInt) (loc ) +> (adlevel DataOnly)))))))) +> (meta +> ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var x_p)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) +> (meta )) +> ((pattern +> (For (loopvar sym1__) +> (lower +> ((pattern (Lit Int 1)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (upper +> ((pattern (Lit Int 2)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) +> (body +> ((pattern +> (Block +> (((pattern +> (NRFunApp CompilerInternal FnWriteParam__ +> (((pattern +> (Indexed +> ((pattern (Var y_p)) +> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) +> ((Single +> ((pattern (Var sym1__)) +> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) +> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) +> (meta ))))) +> (meta ))))) From 80c3dc2d6fef726304f7cefdadcfd1da711907da Mon Sep 17 00:00:00 2001 From: Sean Talts Date: Fri, 2 Apr 2021 13:40:29 -0400 Subject: [PATCH 2/2] Don't run expect tests on a diff. --- test/integration/good/code-gen/dune | 9 +- .../good/code-gen/transformed_mir.expected | 29219 ++++++++++++++++ .../code-gen/transformed_mir_diff.expected | 14983 -------- 3 files changed, 29220 insertions(+), 14991 deletions(-) create mode 100644 test/integration/good/code-gen/transformed_mir.expected delete mode 100644 test/integration/good/code-gen/transformed_mir_diff.expected diff --git a/test/integration/good/code-gen/dune b/test/integration/good/code-gen/dune index 8cba7828f3..c0da32e7ba 100644 --- a/test/integration/good/code-gen/dune +++ b/test/integration/good/code-gen/dune @@ -27,16 +27,9 @@ (with-stdout-to %{targets} (run %{bin:run_bin_on_args} "%{bin:stanc} --debug-transformed-mir" %{stanfiles})))) -(rule - (targets transformed_mir_diff.output) - (deps mir.output transformed_mir.output) - (action - (with-stdout-to %{targets} - (bash "diff %{deps} || true")))) - (alias (name runtest) - (action (diff transformed_mir_diff.expected transformed_mir_diff.output))) + (action (diff transformed_mir.expected transformed_mir.output))) (rule (targets cl.output) diff --git a/test/integration/good/code-gen/transformed_mir.expected b/test/integration/good/code-gen/transformed_mir.expected new file mode 100644 index 0000000000..334f98b8ee --- /dev/null +++ b/test/integration/good/code-gen/transformed_mir.expected @@ -0,0 +1,29219 @@ + $ ../../../../../install/default/bin/stanc --debug-transformed-mir mother.stan +((functions_block + (((fdrt (UInt)) (fdname foo) (fdargs ((AutoDiffable n UInt))) (fdbody ()) + (fdloc )) + ((fdrt (UInt)) (fdname foo) (fdargs ((AutoDiffable n UInt))) + (fdbody + (((pattern + (Block + (((pattern + (IfElse + ((pattern + (FunApp StanLib Equals__ + (((pattern (Var n)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Return + (((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (Return + (((pattern + (FunApp StanLib Times__ + (((pattern (Var n)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp UserDefined foo + (((pattern + (FunApp StanLib Minus__ + (((pattern (Var n)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray UReal))) (fdname sho) + (fdargs + ((AutoDiffable t UReal) (AutoDiffable y (UArray UReal)) + (AutoDiffable theta (UArray UReal)) (DataOnly x (UArray UReal)) + (DataOnly x_int (UArray UInt)))) + (fdbody ()) (fdloc )) + ((fdrt ((UArray UReal))) (fdname sho) + (fdargs + ((AutoDiffable t UReal) (AutoDiffable y (UArray UReal)) + (AutoDiffable theta (UArray UReal)) (DataOnly x (UArray UReal)) + (DataOnly x_int (UArray UInt)))) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id dydt) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment + (dydt (UArray UReal) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var y)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment + (dydt (UArray UReal) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Minus__ + (((pattern + (FunApp StanLib PMinus__ + (((pattern + (Indexed + ((pattern (Var y)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (Indexed + ((pattern (Var theta)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern + (Indexed + ((pattern (Var y)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Return + (((pattern (Var dydt)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_bar0) (fdargs ()) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Lit Real 0.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_bar1) (fdargs ((AutoDiffable x UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Lit Real 1.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_bar2) + (fdargs ((AutoDiffable x UReal) (AutoDiffable y UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Lit Real 2.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_lpmf) + (fdargs ((AutoDiffable y UInt) (AutoDiffable lambda UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Lit Real 1.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_lcdf) + (fdargs ((AutoDiffable y UInt) (AutoDiffable lambda UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Lit Real 1.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_lccdf) + (fdargs ((AutoDiffable y UInt) (AutoDiffable lambda UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Lit Real 1.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_rng) + (fdargs ((AutoDiffable mu UReal) (AutoDiffable sigma UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern + (FunApp StanLib normal_rng + (((pattern (Var mu)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var sigma)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ()) (fdname unit_normal_lp) (fdargs ((AutoDiffable u UReal))) + (fdbody + (((pattern + (Block + (((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_log + (((pattern (Var u)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib uniform_lupdf + (((pattern (Var u)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp StanLib PMinus__ + (((pattern (Lit Int 100)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 100)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UInt)) (fdname foo_1) (fdargs ((AutoDiffable a UInt))) + (fdbody + (((pattern + (Block + (((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Block (((pattern Break) (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Block (((pattern Continue) (meta ))))) + (meta )))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern (Block (((pattern Break) (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern (Block (((pattern Continue) (meta ))))) + (meta ))))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id b) + (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (b UInt ()) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern Break) (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Block (((pattern Break) (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (IfElse + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Block (((pattern Break) (meta ))))) + (meta )) + (((pattern + (Block (((pattern Break) (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (While + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Block (((pattern Break) (meta ))))) + (meta )))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern (Block (((pattern Break) (meta ))))) + (meta ))))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id vs) + (decl_type + (Sized + (SArray + (SArray SInt + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id z) + (decl_type (Sized SInt)))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id v) + (decl_type (Unsized (UArray UInt))))) + (meta )) + ((pattern + (Assignment (v (UArray UInt) ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ (UArray (UArray UInt))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (z UInt ()) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Break) (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id v) + (decl_type (Unsized (UArray UInt))))) + (meta )) + ((pattern + (Assignment (v (UArray UInt) ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ (UArray (UArray UInt))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (z UInt ()) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Continue) (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id v) + (decl_type (Unsized (UArray UInt))))) + (meta )) + ((pattern + (Assignment (v (UArray UInt) ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ (UArray (UArray UInt))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var v)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) + (decl_id vv) + (decl_type (Unsized UInt)))) + (meta )) + ((pattern + (Assignment (vv UInt ()) + ((pattern + (Indexed + ((pattern (Var v)) + (meta + ((type_ (UArray UInt)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (z UInt ()) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Break) (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (z UInt ()) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id z) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id vs) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib rows + (((pattern (Var vs)) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) + (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) + (decl_id v) + (decl_type (Unsized UReal)))) + (meta )) + ((pattern + (Assignment (v UReal ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Break) (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib rows + (((pattern (Var vs)) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) + (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) + (decl_id v) + (decl_type (Unsized UReal)))) + (meta )) + ((pattern + (Assignment (v UReal ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Lit Real 3.1)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Continue) (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id z) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id vs) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id v) + (decl_type (Unsized UReal)))) + (meta )) + ((pattern + (Assignment (v UReal ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Break) (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id v) + (decl_type (Unsized UReal)))) + (meta )) + ((pattern + (Assignment (v UReal ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Lit Real 3.2)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Continue) (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id z) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id vs) + (decl_type + (Sized + (SRowVector + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ URowVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id v) + (decl_type (Unsized UReal)))) + (meta )) + ((pattern + (Assignment (v UReal ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ URowVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Break) (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ URowVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UInt) (loc ) (adlevel AutoDiffable))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id v) + (decl_type (Unsized UReal)))) + (meta )) + ((pattern + (Assignment (v UReal ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ URowVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Lit Real 3.3)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern Continue) (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (While + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id b) + (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (b UInt ()) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id c) + (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (c UInt ()) + ((pattern (Lit Int 6)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern Break) (meta ))))) + (meta ))))) + (meta )))) + (meta )) + ((pattern + (Return + (((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UInt)) (fdname foo_2) (fdargs ((AutoDiffable a UInt))) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id vs) + (decl_type + (Sized + (SArray SInt + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id y) + (decl_type (Sized SInt)))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var vs)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id v) + (decl_type (Unsized UInt)))) + (meta )) + ((pattern + (Assignment (v UInt ()) + ((pattern + (Indexed + ((pattern (Var vs)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (y UInt ()) + ((pattern (Var v)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Return + (((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray UReal))) (fdname foo_3) + (fdargs ((AutoDiffable t UReal) (AutoDiffable n UInt))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern + (FunApp StanLib rep_array + (((pattern (Var t)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var n)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_lp) (fdargs ((AutoDiffable x UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern + (FunApp StanLib Plus__ + (((pattern (Var x)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (FunApp StanLib target ())) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ()) (fdname foo_4) (fdargs ((AutoDiffable x UReal))) + (fdbody + (((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnReject__ + (((pattern (Lit Str "user-specified rejection")) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var x)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname relative_diff) + (fdargs + ((AutoDiffable x UReal) (AutoDiffable y UReal) (AutoDiffable max_ UReal) + (AutoDiffable min_ UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id abs_diff) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id avg_scale) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (abs_diff UReal ()) + ((pattern + (FunApp StanLib fabs + (((pattern + (FunApp StanLib Minus__ + (((pattern (Var x)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (avg_scale UReal ()) + ((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib fabs + (((pattern (Var x)) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp StanLib fabs + (((pattern (Var y)) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (IfElse + ((pattern + (FunApp StanLib Greater__ + (((pattern + (FunApp StanLib Divide__ + (((pattern (Var abs_diff)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var avg_scale)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var max_)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UInt) (loc ) (adlevel AutoDiffable)))) + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnReject__ + (((pattern + (Lit Str + "user-specified rejection, difference above ")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var max_)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str " x:")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var x)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str " y:")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var y)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (IfElse + ((pattern + (FunApp StanLib Less__ + (((pattern + (FunApp StanLib Divide__ + (((pattern (Var abs_diff)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var avg_scale)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var min_)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UInt) (loc ) (adlevel AutoDiffable)))) + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnReject__ + (((pattern + (Lit Str + "user-specified rejection, difference below ")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var min_)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str " x:")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var x)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str " y:")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var y)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (Return + (((pattern + (FunApp StanLib Divide__ + (((pattern (Var abs_diff)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var avg_scale)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UVector)) (fdname foo_5) + (fdargs + ((AutoDiffable shared_params UVector) (AutoDiffable job_params UVector) + (DataOnly data_r (UArray UReal)) (DataOnly data_i (UArray UInt)))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern + (FunApp StanLib Transpose__ + (((pattern + (FunApp CompilerInternal FnMakeRowVec__ + (((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_five_args) + (fdargs + ((AutoDiffable x1 UReal) (AutoDiffable x2 UReal) (AutoDiffable x3 UReal) + (AutoDiffable x4 UReal) (AutoDiffable x5 UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var x1)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname foo_five_args_lp) + (fdargs + ((AutoDiffable x1 UReal) (AutoDiffable x2 UReal) (AutoDiffable x3 UReal) + (AutoDiffable x4 UReal) (AutoDiffable x5 UReal) + (AutoDiffable x6 UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var x1)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UMatrix)) (fdname covsqrt2corsqrt) + (fdargs ((AutoDiffable mat UMatrix) (AutoDiffable invert UInt))) + (fdbody + (((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str o)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str "rows(mat)")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib rows + (((pattern (Var mat)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UInt) (loc ) (adlevel AutoDiffable))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str o)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str "cols(mat)")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib cols + (((pattern (Var mat)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UInt) (loc ) (adlevel AutoDiffable))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id o) + (decl_type + (Sized + (SMatrix + ((pattern + (FunApp StanLib rows + (((pattern (Var mat)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UInt) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp StanLib cols + (((pattern (Var mat)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UInt) (loc ) (adlevel AutoDiffable))))))))) + (meta )) + ((pattern + (Assignment (o UMatrix ()) + ((pattern (Var mat)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment + (o UMatrix + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var o)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment + (o UMatrix + ((Between + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var o)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) + ((Between + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Return + (((pattern (Var o)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ()) (fdname f0) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnPrint__ + (((pattern (Lit Str hi)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UInt)) (fdname f1) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray UInt))) (fdname f2) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a2)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray (UArray UInt)))) (fdname f3) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a3)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UReal)) (fdname f4) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a4)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray UReal))) (fdname f5) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a5)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray (UArray UReal)))) (fdname f6) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a6)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UVector)) (fdname f7) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a7)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray UVector))) (fdname f8) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a8)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray (UArray UVector)))) (fdname f9) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a9)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UMatrix)) (fdname f10) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a10)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray UMatrix))) (fdname f11) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a11)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ((UArray (UArray UMatrix)))) (fdname f12) + (fdargs + ((AutoDiffable a1 UInt) (AutoDiffable a2 (UArray UInt)) + (AutoDiffable a3 (UArray (UArray UInt))) (AutoDiffable a4 UReal) + (AutoDiffable a5 (UArray UReal)) + (AutoDiffable a6 (UArray (UArray UReal))) (AutoDiffable a7 UVector) + (AutoDiffable a8 (UArray UVector)) + (AutoDiffable a9 (UArray (UArray UVector))) (AutoDiffable a10 UMatrix) + (AutoDiffable a11 (UArray UMatrix)) + (AutoDiffable a12 (UArray (UArray UMatrix))))) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern (Var a12)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt ()) (fdname foo_6) (fdargs ()) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id a) + (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id b) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id c) + (decl_type + (Sized + (SArray + (SArray SReal + ((pattern (Lit Int 30)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 20)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 40)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 50)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 70)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 60)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment + (ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern (Var b)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UMatrix)) (fdname matfoo) (fdargs ()) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern + (FunApp CompilerInternal FnMakeRowVec__ + (((pattern + (FunApp CompilerInternal FnMakeRowVec__ + (((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 6)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 7)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 8)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 9)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp CompilerInternal FnMakeRowVec__ + (((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 6)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 7)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 8)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 9)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp CompilerInternal FnMakeRowVec__ + (((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 6)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 7)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 8)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 9)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UVector)) (fdname vecfoo) (fdargs ()) + (fdbody + (((pattern + (Block + (((pattern + (Return + (((pattern + (FunApp StanLib Transpose__ + (((pattern + (FunApp CompilerInternal FnMakeRowVec__ + (((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 6)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 7)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 8)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 9)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UVector)) (fdname vecmufoo) (fdargs ((AutoDiffable mu UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id l) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (l UVector ()) + ((pattern + (FunApp StanLib Times__ + (((pattern (Var mu)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (FunApp UserDefined vecfoo ())) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Return + (((pattern (Var l)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UVector)) (fdname vecmubar) (fdargs ((AutoDiffable mu UReal))) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id l) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (l UVector ()) + ((pattern + (FunApp StanLib Times__ + (((pattern (Var mu)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern + (FunApp StanLib Transpose__ + (((pattern + (FunApp CompilerInternal FnMakeRowVec__ + (((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 6)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 7)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 8)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 9)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Return + (((pattern + (Indexed + ((pattern (Var l)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((MultiIndex + ((pattern + (FunApp CompilerInternal FnMakeArray__ + (((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UVector)) (fdname algebra_system) + (fdargs + ((AutoDiffable x UVector) (AutoDiffable y UVector) + (AutoDiffable dat (UArray UReal)) (AutoDiffable dat_int (UArray UInt)))) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id f_x) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment + (f_x UVector + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Minus__ + (((pattern + (Indexed + ((pattern (Var x)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern + (Indexed + ((pattern (Var y)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment + (f_x UVector + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Minus__ + (((pattern + (Indexed + ((pattern (Var x)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern + (Indexed + ((pattern (Var y)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Return + (((pattern (Var f_x)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )) + ((fdrt (UVector)) (fdname binomialf) + (fdargs + ((AutoDiffable phi UVector) (AutoDiffable theta UVector) + (DataOnly x_r (UArray UReal)) (DataOnly x_i (UArray UInt)))) + (fdbody + (((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id lpmf) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment + (lpmf UVector + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern (Lit Real 0.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Return + (((pattern (Var lpmf)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta )))) + (fdloc )))) + (input_vars + ((N SInt) (M SInt) (K SInt) + (d_int_1d_ar + (SArray SInt + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_int_3d_ar + (SArray + (SArray + (SArray SInt + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (J SReal) + (d_real_1d_ar + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_real_3d_ar + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_vec + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_1d_vec + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_3d_vec + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_row_vec + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_1d_row_vec + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_3d_row_vec + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_ar_mat + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_simplex + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_1d_simplex + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_3d_simplex + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_cfcov_54 + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_cfcov_33 + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_cfcov_33_ar + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_int SInt) + (d_int_array + (SArray SInt + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_int_array_2d + (SArray + (SArray SInt + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_int_array_3d + (SArray + (SArray + (SArray SInt + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_real SReal) + (d_real_array + (SArray SReal + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_real_array_2d + (SArray + (SArray SReal + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_real_array_3d + (SArray + (SArray + (SArray SReal + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_matrix + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_matrix_array + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_matrix_array_2d + (SArray + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_matrix_array_3d + (SArray + (SArray + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_vector + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_vector_array + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_vector_array_2d + (SArray + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_vector_array_3d + (SArray + (SArray + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_row_vector + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_row_vector_array + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_row_vector_array_2d + (SArray + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (d_row_vector_array_3d + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (prepare_data + (((pattern + (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id N) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (N UInt ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id M) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (M UInt ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id K) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (K UInt ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_int_1d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_int_1d_ar) + (decl_type + (Sized + (SArray SInt + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (d_int_1d_ar (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_int_1d_ar)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int_1d_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var d_int_1d_ar)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_int_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_int_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_int_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_int_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SInt + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_int_3d_ar_flat__) + (decl_type (Unsized (UArray UInt))))) + (meta )) + ((pattern + (Assignment (d_int_3d_ar_flat__ (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_int_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_int_3d_ar + (UArray (UArray (UArray UInt))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_int_3d_ar_flat__)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "d_int_3d_ar[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var d_int_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id J) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (J UReal ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str J)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str J)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var J)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib PMinus__ + (((pattern (Lit Real 2.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str J)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var J)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 2.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_real_1d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_real_1d_ar) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (d_real_1d_ar (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_real_1d_ar)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_real_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_real_3d_ar_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_real_3d_ar_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_real_3d_ar + (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_real_3d_ar_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_vec) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_vec)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_vec UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_1d_vec) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_1d_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_1d_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_1d_vec (UArray UVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_1d_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_3d_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_3d_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_3d_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_3d_vec)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_3d_vec + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_3d_vec_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_row_vec) + (decl_type + (Sized + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_row_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_row_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_row_vec)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_row_vec URowVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_row_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_1d_row_vec) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_1d_row_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_1d_row_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_1d_row_vec (UArray URowVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_1d_row_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_3d_row_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_3d_row_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_3d_row_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_3d_row_vec)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_3d_row_vec + (UArray + (UArray (UArray URowVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var d_3d_row_vec_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_ar_mat_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_ar_mat_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_ar_mat)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_ar_mat_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "d_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var d_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "d_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var d_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_simplex_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_simplex_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_simplex UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_simplex_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_1d_simplex_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_1d_simplex_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_1d_simplex (UArray UVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_1d_simplex_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_1d_simplex[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var d_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_3d_simplex_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_3d_simplex_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_3d_simplex)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_3d_simplex + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var d_3d_simplex_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "d_3d_simplex[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var d_3d_simplex)) + (meta + ((type_ + (UArray (UArray (UArray UVector)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_54_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_cfcov_54_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_cfcov_54 UMatrix + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_cfcov_54_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_cfcov_54)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_cfcov_33_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_cfcov_33 UMatrix + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_cfcov_33_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_cfcov_33)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_cfcov_33_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_cfcov_33_ar) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_ar_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_cfcov_33_ar_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_cfcov_33_ar (UArray UMatrix) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_cfcov_33_ar_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_cfcov_33_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var d_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_int) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (d_int UInt ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_int_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_int_array) + (decl_type + (Sized + (SArray SInt + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (d_int_array (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_int_array)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_int_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_int_array_2d) + (decl_type + (Sized + (SArray + (SArray SInt + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_2d_flat__) + (decl_type (Unsized (UArray UInt))))) + (meta )) + ((pattern + (Assignment (d_int_array_2d_flat__ (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_int_array_2d)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_int_array_2d (UArray (UArray UInt)) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_int_array_2d_flat__)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_int_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_int_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray SInt + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_3d_flat__) + (decl_type (Unsized (UArray UInt))))) + (meta )) + ((pattern + (Assignment (d_int_array_3d_flat__ (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_int_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_int_array_3d + (UArray (UArray (UArray UInt))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_int_array_3d_flat__)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_real) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (d_real UReal ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_real_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_real_array) + (decl_type + (Sized + (SArray SReal + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (d_real_array (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_real_array)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_real_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_real_array_2d) + (decl_type + (Sized + (SArray + (SArray SReal + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_2d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_real_array_2d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_real_array_2d)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_real_array_2d (UArray (UArray UReal)) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_real_array_2d_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_real_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_real_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_3d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_real_array_3d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_real_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_real_array_3d + (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_real_array_3d_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_matrix) + (decl_type + (Sized + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_matrix_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_matrix)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_matrix UMatrix + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_matrix_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_matrix_array) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_matrix_array_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_matrix_array)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_matrix_array (UArray UMatrix) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_matrix_array_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_matrix_array_2d) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_2d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_matrix_array_2d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_matrix_array_2d)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_matrix_array_2d + (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var d_matrix_array_2d_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_matrix_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_matrix_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_3d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_matrix_array_3d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_matrix_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym5__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_matrix_array_3d + (UArray + (UArray (UArray UMatrix))) + ((Single + ((pattern (Var sym5__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var + d_matrix_array_3d_flat__)) + (meta + ((type_ + (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) + (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_vector) + (decl_type + (Sized + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_vector_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_vector_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_vector)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_vector UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_vector_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_vector_array) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_vector_array_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_vector_array)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_vector_array (UArray UVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_vector_array_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_vector_array_2d) + (decl_type + (Sized + (SArray + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_2d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_vector_array_2d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_vector_array_2d)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_vector_array_2d + (UArray (UArray UVector)) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var d_vector_array_2d_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_vector_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_3d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_vector_array_3d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_vector_array_3d + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var d_vector_array_3d_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_row_vector) + (decl_type + (Sized + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_row_vector_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_row_vector)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_row_vector URowVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_row_vector_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_row_vector_array) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_array_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_row_vector_array_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_row_vector_array)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_row_vector_array (UArray URowVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var d_row_vector_array_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_row_vector_array_2d) + (decl_type + (Sized + (SArray + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) + (decl_id d_row_vector_array_2d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_row_vector_array_2d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_row_vector_array_2d)) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_row_vector_array_2d + (UArray (UArray URowVector)) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var d_row_vector_array_2d_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str d_row_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id d_row_vector_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) + (decl_id d_row_vector_array_3d_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (d_row_vector_array_3d_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str d_row_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var d_int)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (d_row_vector_array_3d + (UArray + (UArray (UArray URowVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var + d_row_vector_array_3d_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_int) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_1d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_1d) + (decl_type + (Sized + (SArray SInt + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_1dk)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_1dk) + (decl_type + (Sized + (SArray SInt + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (td_1dk (UArray UInt) ()) + ((pattern + (FunApp StanLib rep_array + (((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_a) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (td_a UInt ()) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_b) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (td_b UReal ()) + ((pattern + (FunApp StanLib Times__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var J)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_c) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (td_c UReal ()) + ((pattern + (FunApp UserDefined foo_bar1 + (((pattern (Var td_b)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str td_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id td_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id x) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id y) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id dat) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id dat_int) + (decl_type + (Sized + (SArray SInt + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id x_r) + (decl_type + (Sized + (SArray + (SArray SReal + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id x_i) + (decl_type + (Sized + (SArray + (SArray SInt + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (td_int UInt ()) + ((pattern + (EOr + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (td_int UInt ()) + ((pattern + (EAnd + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar m) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar n) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (td_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern (Lit Real 0.4)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (td_simplex UVector + ((Single + ((pattern (Var i)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Divide__ + (((pattern (Lit Real 1.0)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar n) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (td_1d_simplex (UArray UVector) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Divide__ + (((pattern (Lit Real 1.0)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar m) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar k) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (td_3d_simplex + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Divide__ + (((pattern (Lit Real 1.0)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id l_mat) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (l_mat UMatrix ()) + ((pattern + (Indexed + ((pattern (Var d_ar_mat)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnPrint__ + (((pattern (Lit Str "ar dim1: ")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str " ar dim2: ")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str " matrix: ")) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var l_mat)) + (meta + ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (td_cfcov_54 UMatrix ()) + ((pattern + (FunApp StanLib diag_matrix + (((pattern + (FunApp StanLib rep_vector + (((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib rows + (((pattern (Var td_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (td_cfcov_33 UMatrix ()) + ((pattern + (FunApp StanLib diag_matrix + (((pattern + (FunApp StanLib rep_vector + (((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib rows + (((pattern (Var td_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id z) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id blocked_tdata_vs) + (decl_type + (Sized + (SRowVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var blocked_tdata_vs)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id v) + (decl_type (Unsized UReal)))) + (meta )) + ((pattern + (Assignment (v UReal ()) + ((pattern + (Indexed + ((pattern (Var blocked_tdata_vs)) + (meta + ((type_ URowVector) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id indices) + (decl_type + (Sized + (SArray SInt + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (indices (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnMakeArray__ + (((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id sym1__) + (decl_type (Unsized (UArray UInt))))) + (meta )) + ((pattern + (Assignment (sym1__ (UArray UInt) ()) + ((pattern + (Indexed + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((Between + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp CompilerInternal FnLength__ + (((pattern (Var sym1__)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Block + (((pattern + (Decl (decl_adtype DataOnly) (decl_id i) + (decl_type (Unsized UInt)))) + (meta )) + ((pattern + (Assignment (i UInt ()) + ((pattern + (Indexed + ((pattern (Var sym1__)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (z UReal ()) + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (td_1dk (UArray UInt) ()) + ((pattern + (Indexed + ((pattern (Var td_1d)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((MultiIndex + ((pattern (Var td_1dk)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (td_simplex UVector ()) + ((pattern + (Indexed + ((pattern (Var td_1d_simplex)) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + All))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (td_simplex UVector ()) + ((pattern + (Indexed + ((pattern (Var td_1d_simplex)) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + All))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (td_simplex UVector ()) + ((pattern + (Indexed + ((pattern (Var td_1d_simplex)) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Between + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id arr_mul_ind) + (decl_type + (Sized + (SArray + (SArray SInt + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment + (arr_mul_ind (UArray (UArray UInt)) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Between + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnMakeArray__ + (((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id x_mul_ind) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (x_mul_ind (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnMakeArray__ + (((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_real) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_real_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_real_array) + (decl_type + (Sized + (SArray SReal + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_real_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_real_array_2d) + (decl_type + (Sized + (SArray + (SArray SReal + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_real_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_real_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_matrix) + (decl_type + (Sized + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_matrix_array) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_matrix_array_2d) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_matrix_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_matrix_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SMatrix + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_vector) + (decl_type + (Sized + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_vector_array) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_vector_array_2d) + (decl_type + (Sized + (SArray + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_vector_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_row_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_row_vector) + (decl_type + (Sized + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_row_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_row_vector_array)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id transformed_data_row_vector_array) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_row_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_row_vector_array_2d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) + (decl_id transformed_data_row_vector_array_2d) + (decl_type + (Sized + (SArray + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_row_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str transformed_data_row_vector_array_3d)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) + (decl_id transformed_data_row_vector_array_3d) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (transformed_data_real UReal ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real UReal ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real UReal ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real UReal ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array_2d)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array_2d)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int_array)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int_array)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int_array_2d)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int_array_2d)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real_array)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real_array)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real_array_2d)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real_array_2d)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array_2d)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array_2d)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int_array)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array (UArray UReal) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real_array)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array_2d)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int_array_2d)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real_array_2d (UArray (UArray UReal)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array_2d)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real_array_2d)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UReal))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UInt)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_real_array_3d (UArray (UArray (UArray UReal))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector UVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector UVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector_array (UArray UVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector_array (UArray UVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_2d (UArray (UArray UVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array_2d)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UVector))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_2d (UArray (UArray UVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array_2d)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UVector))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_3d (UArray (UArray (UArray UVector))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_3d (UArray (UArray (UArray UVector))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector UVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector UVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector_array (UArray UVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector_array)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector_array (UArray UVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector_array)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_2d (UArray (UArray UVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector_array_2d)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UVector))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_2d (UArray (UArray UVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector_array_2d)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UVector))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_3d (UArray (UArray (UArray UVector))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_3d (UArray (UArray (UArray UVector))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector UVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_vector_array (UArray UVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_vector_array)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_2d (UArray (UArray UVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array_2d)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_vector_array_2d)) + (meta + ((type_ (UArray (UArray UVector))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UVector))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_vector_array_3d (UArray (UArray (UArray UVector))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector URowVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector URowVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector_array (UArray URowVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector_array (UArray URowVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_2d (UArray (UArray URowVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array_2d)) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_2d (UArray (UArray URowVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array_2d)) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_3d + (UArray (UArray (UArray URowVector))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_3d + (UArray (UArray (UArray URowVector))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector URowVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector URowVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector_array (UArray URowVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector_array (UArray URowVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_2d (UArray (UArray URowVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array_2d)) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_2d (UArray (UArray URowVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array_2d)) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_3d + (UArray (UArray (UArray URowVector))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_3d + (UArray (UArray (UArray URowVector))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector URowVector ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_row_vector_array (UArray URowVector) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_2d (UArray (UArray URowVector)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array_2d)) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array_2d)) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray URowVector))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_row_vector_array_3d + (UArray (UArray (UArray URowVector))) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_row_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_row_vector_array_3d)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix UMatrix ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix UMatrix ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix_array (UArray UMatrix) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix_array (UArray UMatrix) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_2d (UArray (UArray UMatrix)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array_2d)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_2d (UArray (UArray UMatrix)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array_2d)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_3d (UArray (UArray (UArray UMatrix))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_3d (UArray (UArray (UArray UMatrix))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix UMatrix ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix UMatrix ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix_array (UArray UMatrix) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix_array)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix_array (UArray UMatrix) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix_array)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_2d (UArray (UArray UMatrix)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix_array_2d)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_2d (UArray (UArray UMatrix)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix_array_2d)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_3d (UArray (UArray (UArray UMatrix))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_3d (UArray (UArray (UArray UMatrix))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix UMatrix ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_matrix_array (UArray UMatrix) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_matrix_array)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_2d (UArray (UArray UMatrix)) ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array_2d)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_matrix_array_2d)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment + (transformed_data_matrix_array_3d (UArray (UArray (UArray UMatrix))) + ()) + ((pattern + (FunApp StanLib EltPow__ + (((pattern (Var d_matrix_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var d_matrix_array_3d)) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (td_int UInt ()) + ((pattern + (FunApp StanLib EltTimes__ + (((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_int)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (transformed_data_real UReal ()) + ((pattern + (FunApp StanLib EltTimes__ + (((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var d_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "td_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var td_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "td_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var td_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str td_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var td_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str td_1d_simplex[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var td_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "td_3d_simplex[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var td_3d_simplex)) + (meta + ((type_ + (UArray (UArray (UArray UVector)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str td_cfcov_54)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var td_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str td_cfcov_33)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var td_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_real_1d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSizeSimplex__ + (((pattern (Lit Str p_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSizeSimplex__ + (((pattern (Lit Str p_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSizeSimplex__ + (((pattern (Lit Str p_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp StanLib check_greater_or_equal + (((pattern (Lit Str "cholesky_factor_cov p_cfcov_54")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str "num rows (must be greater or equal to num cols)")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp StanLib check_greater_or_equal + (((pattern (Lit Str "cholesky_factor_cov p_cfcov_33")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str "num rows (must be greater or equal to num cols)")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str p_cfcov_33_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp StanLib check_greater_or_equal + (((pattern (Lit Str "cholesky_factor_cov p_cfcov_33_ar")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str "num rows (must be greater or equal to num cols)")) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_real_1d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str tp_cfcov_33_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_real_1d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_real_3d_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_1d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_1d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_row_vec)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_1d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_3d_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnValidateSize__ + (((pattern (Lit Str gq_cfcov_33_ar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta )))) + (log_prob + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_real) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_real UReal ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_upper) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_upper UReal ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment (p_upper UReal ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_upper)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_real)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var lp__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment (p_upper UReal ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_upper)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_real)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_lower) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_lower UReal ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment (p_lower UReal ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_lower)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str ub)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_upper)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var lp__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment (p_lower UReal ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_lower)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str ub)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_upper)) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id offset_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str offset_multiplier)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str offset_multiplier)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id no_offset_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (no_offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (no_offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var no_offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str offset_multiplier)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (no_offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var no_offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str offset_multiplier)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id offset_no_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_no_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (offset_no_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var offset_no_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str offset_multiplier)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (offset_no_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var offset_no_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str offset_multiplier)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_real_1d_ar) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_1d_ar (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (p_real_1d_ar (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (p_real_1d_ar (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_3d_ar (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (p_real_3d_ar + (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ + (UArray + (UArray (UArray UReal)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (p_real_3d_ar + (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal + FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ + (UArray + (UArray (UArray UReal)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_vec) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_vec UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (p_vec UVector + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (p_vec UVector + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_vec (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_vec (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) + (decl_type + (Sized + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_row_vec URowVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str row_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_row_vec (UArray URowVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str row_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_row_vec + (UArray (UArray (UArray URowVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str row_vector)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str matrix)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (p_ar_mat + (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal + FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_ar_mat)) + (meta + ((type_ + (UArray + (UArray UMatrix))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) + (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lub)) + (meta + ((type_ UReal) + (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (p_ar_mat + (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal + FnConstrain__ + (((pattern + (Indexed + ((pattern + (Var p_ar_mat)) + (meta + ((type_ + (UArray + (UArray UMatrix))) + (loc ) + (adlevel + AutoDiffable)))) + ((Single + ((pattern + (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern + (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern + (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern + (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) + (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str lub)) + (meta + ((type_ UReal) + (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_in__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_simplex_in__ UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment (p_simplex UVector ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_simplex_in__)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment (p_simplex UVector ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_simplex_in__)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_in__) + (decl_type + (Sized + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_simplex_in__ (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (p_1d_simplex (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_1d_simplex_in__)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (p_1d_simplex (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_1d_simplex_in__)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_in__) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_simplex_in__ + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (p_3d_simplex + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern + (Var p_3d_simplex_in__)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (p_3d_simplex + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal + FnConstrain__ + (((pattern + (Indexed + ((pattern + (Var p_3d_simplex_in__)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_in__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_cfcov_54_in__ UMatrix ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment (p_cfcov_54 UMatrix ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_cfcov_54_in__)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment (p_cfcov_54 UMatrix ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_cfcov_54_in__)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_in__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_cfcov_33_in__ UMatrix ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment (p_cfcov_33 UMatrix ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_cfcov_33_in__)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment (p_cfcov_33 UMatrix ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_cfcov_33_in__)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_in__) + (decl_type + (Sized + (SArray + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33_ar_in__ (UArray UMatrix) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (IfElse + ((pattern (Var jacobian__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33_ar (UArray UMatrix) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar_in__)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str cholesky_factor)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var lp__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta )) + (((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33_ar (UArray UMatrix) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar_in__)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Str cholesky_factor)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id x_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (x_p UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id y_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (y_p UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) + (decl_type + (Sized + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id theta_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tp_real) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (tp_real_1d_ar (UArray UReal) ()) + ((pattern (Var p_real_1d_ar)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_real_3d_ar (UArray (UArray (UArray UReal))) ()) + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_1d_vec (UArray UVector) ()) + ((pattern (Var p_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_3d_vec (UArray (UArray (UArray UVector))) ()) + ((pattern (Var p_3d_vec)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_simplex UVector ()) + ((pattern (Var p_simplex)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_1d_simplex (UArray UVector) ()) + ((pattern (Var p_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_3d_simplex (UArray (UArray (UArray UVector))) ()) + ((pattern (Var p_3d_simplex)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_cfcov_54 UMatrix ()) + ((pattern (Var p_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_cfcov_33 UMatrix ()) + ((pattern (Var p_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_cfcov_33_ar (UArray UMatrix) ()) + ((pattern (Var p_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar m) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar n) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (tp_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern (Lit Real 0.4)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (tp_vec UVector + ((Single + ((pattern (Var i)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib PMinus__ + (((pattern (Lit Real 1.0)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (tp_row_vec URowVector ()) + ((pattern + (FunApp StanLib Transpose__ + (((pattern + (Indexed + ((pattern (Var tp_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_1d_row_vec (UArray URowVector) ()) + ((pattern (Var p_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_3d_row_vec (UArray (UArray (UArray URowVector))) ()) + ((pattern (Var p_3d_row_vec)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_real UReal ()) + ((pattern + (FunApp StanLib EltTimes__ + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_real UReal ()) + ((pattern + (FunApp StanLib EltDivide__ + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_real_1d_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_real_3d_ar[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) + (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_vec[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_vec)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var tp_simplex)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_1d_simplex[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_3d_simplex[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_3d_simplex)) + (meta + ((type_ + (UArray (UArray (UArray UVector)))) + (loc ) (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_cfcov_54)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var tp_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_cfcov_33)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var tp_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_cfcov_33_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tmp) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id tmp2) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id r1) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (r1 UReal ()) + ((pattern + (FunApp UserDefined foo_bar1 + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id r2) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (r2 UReal ()) + ((pattern + (FunApp UserDefined foo_bar1 + (((pattern (Var J)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern (Var offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern (Var no_offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern (Var offset_no_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern (Var p_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel AutoDiffable))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar n) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ URowVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar m) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar k) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_3d_vec)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern + (Indexed + ((pattern (Var d_3d_vec)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_3d_row_vec)) + (meta + ((type_ + (UArray + (UArray + (UArray URowVector)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ URowVector) + (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern + (Indexed + ((pattern (Var d_3d_row_vec)) + (meta + ((type_ + (UArray + (UArray (UArray URowVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ URowVector) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_3d_simplex)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern + (Indexed + ((pattern (Var d_3d_simplex)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (Indexed + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ + (UArray (UArray (UArray UReal)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern + (Indexed + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ + (UArray (UArray (UArray UReal)))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_ar_mat)) + (meta + ((type_ (UArray (UArray UMatrix))) + (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar k) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UMatrix) (loc ) + (adlevel AutoDiffable))))))) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var d_vec)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern (Var p_row_vec)) + (meta + ((type_ URowVector) (loc ) + (adlevel AutoDiffable))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern (Var p_simplex)) + (meta + ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern (Var p_cfcov_54)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib normal_lupdf + (((pattern + (FunApp StanLib to_vector + (((pattern (Var p_cfcov_33)) + (meta + ((type_ UMatrix) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (TargetPE + ((pattern + (FunApp StanLib map_rect + (((pattern (Var binomialf)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (DataOnly (UArray UReal)) (DataOnly (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var tmp)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var tmp2)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((pattern (Var x_r)) + (meta + ((type_ (UArray (UArray UReal))) (loc ) + (adlevel DataOnly)))) + ((pattern (Var x_i)) + (meta + ((type_ (UArray (UArray UInt))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta )))) + (generate_quantities + (((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_real UReal ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_upper) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_upper UReal ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (p_upper UReal ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_lower) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_lower UReal ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (p_lower UReal ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_lower)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str ub)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id offset_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str offset_multiplier)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id no_offset_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (no_offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (no_offset_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var no_offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str offset_multiplier)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id offset_no_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_no_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_no_multiplier (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var offset_no_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str offset_multiplier)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real_1d_ar) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_1d_ar (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_1d_ar (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_3d_ar (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str scalar)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_3d_ar (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ + (UArray (UArray (UArray UReal)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_vec) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_vec UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_vec UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_1d_vec) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_vec (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_3d_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_vec (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_row_vec) + (decl_type + (Sized + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_row_vec URowVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str row_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_1d_row_vec) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_row_vec (UArray URowVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str row_vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_3d_row_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_row_vec + (UArray (UArray (UArray URowVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str row_vector)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str matrix)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal + FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Str lub)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_in__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_simplex_in__ UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (p_simplex UVector ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_simplex_in__)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_in__) + (decl_type + (Sized + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_simplex_in__ (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_simplex (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_1d_simplex_in__)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_in__) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_simplex_in__ + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_simplex + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_3d_simplex_in__)) + (meta + ((type_ + (UArray (UArray (UArray UVector)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_in__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_cfcov_54_in__ UMatrix ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (p_cfcov_54 UMatrix ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_cfcov_54_in__)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_in__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_cfcov_33_in__ UMatrix ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (p_cfcov_33 UMatrix ()) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern (Var p_cfcov_33_in__)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33_ar) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_in__) + (decl_type + (Sized + (SArray + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33_ar_in__ (UArray UMatrix) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33_ar (UArray UMatrix) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnConstrain__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar_in__)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id x_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (x_p UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id y_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (y_p UVector ()) + ((pattern + (FunApp CompilerInternal FnReadParam__ + (((pattern (Lit Str vector)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_real_1d_ar) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_real_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_vec) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_1d_vec) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_3d_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_row_vec) + (decl_type + (Sized + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_1d_row_vec) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_3d_row_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_cfcov_33_ar) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id theta_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id tp_real) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var p_lower)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var no_offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var offset_no_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_vec)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_3d_vec)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_row_vec)) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_3d_row_vec)) + (meta + ((type_ + (UArray + (UArray (UArray URowVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_3d_simplex)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_54)) + (meta + ((type_ UMatrix) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33)) + (meta + ((type_ UMatrix) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (IfElse + ((pattern + (FunApp StanLib PNot__ + (((pattern + (EOr + ((pattern (Var emit_transformed_parameters__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var emit_generated_quantities__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Block (((pattern (Return ())) (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (Assignment (tp_real_1d_ar (UArray UReal) ()) + ((pattern (Var p_real_1d_ar)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_real_3d_ar (UArray (UArray (UArray UReal))) ()) + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_1d_vec (UArray UVector) ()) + ((pattern (Var p_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_3d_vec (UArray (UArray (UArray UVector))) ()) + ((pattern (Var p_3d_vec)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_simplex UVector ()) + ((pattern (Var p_simplex)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_1d_simplex (UArray UVector) ()) + ((pattern (Var p_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_3d_simplex (UArray (UArray (UArray UVector))) ()) + ((pattern (Var p_3d_simplex)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_cfcov_54 UMatrix ()) + ((pattern (Var p_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_cfcov_33 UMatrix ()) + ((pattern (Var p_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_cfcov_33_ar (UArray UMatrix) ()) + ((pattern (Var p_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar m) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar n) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (tp_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern (Lit Real 0.4)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (tp_vec UVector + ((Single + ((pattern (Var i)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib PMinus__ + (((pattern (Lit Real 1.0)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (tp_row_vec URowVector ()) + ((pattern + (FunApp StanLib Transpose__ + (((pattern + (Indexed + ((pattern (Var tp_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel AutoDiffable)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_1d_row_vec (UArray URowVector) ()) + ((pattern (Var p_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_3d_row_vec (UArray (UArray (UArray URowVector))) ()) + ((pattern (Var p_3d_row_vec)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (theta_p UVector ()) + ((pattern + (FunApp StanLib algebra_solver + (((pattern (Var algebra_system)) + (meta + ((type_ + (UFun + ((AutoDiffable UVector) (AutoDiffable UVector) + (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) + (ReturnType UVector))) + (loc ) (adlevel AutoDiffable)))) + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var dat)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((pattern (Var dat_int)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Real 0.01)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 10)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_real UReal ()) + ((pattern + (FunApp StanLib EltTimes__ + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (Assignment (tp_real UReal ()) + ((pattern + (FunApp StanLib EltDivide__ + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_real_1d_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_real_3d_ar[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_vec[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_vec)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var tp_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_1d_simplex[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "tp_3d_simplex[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_3d_simplex)) + (meta + ((type_ + (UArray (UArray (UArray UVector)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_cfcov_54)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var tp_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_cfcov_33)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var tp_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str tp_cfcov_33_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var tp_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (IfElse + ((pattern (Var emit_transformed_parameters__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_real_3d_ar)) + (meta + ((type_ + (UArray (UArray (UArray UReal)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_vec)) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_3d_vec)) + (meta + ((type_ + (UArray + (UArray + (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_row_vec)) + (meta + ((type_ URowVector) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern + (Var tp_3d_row_vec)) + (meta + ((type_ + (UArray + (UArray + (UArray URowVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_ar_mat)) + (meta + ((type_ + (UArray + (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_simplex)) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern + (Var tp_3d_simplex)) + (meta + ((type_ + (UArray + (UArray + (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) + (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_cfcov_54)) + (meta + ((type_ UMatrix) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_cfcov_33)) + (meta + ((type_ UMatrix) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var tp_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var theta_p)) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var tp_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (IfElse + ((pattern + (FunApp StanLib PNot__ + (((pattern (Var emit_generated_quantities__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Block (((pattern (Return ())) (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_r1) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (gq_r1 UReal ()) + ((pattern + (FunApp UserDefined foo_bar1 + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_r2) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (gq_r2 UReal ()) + ((pattern + (FunApp UserDefined foo_bar1 + (((pattern (Var J)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_real_1d_ar) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_real_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_vec) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_1d_vec) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_3d_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_row_vec) + (decl_type + (Sized + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_1d_row_vec) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_3d_row_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id gq_cfcov_33_ar) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id indices) + (decl_type + (Sized + (SArray SInt + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (indices (UArray UInt) ()) + ((pattern + (FunApp CompilerInternal FnMakeArray__ + (((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id indexing_mat) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res1) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res2) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res3) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res11) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res21) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res31) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res4) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id idx_res5) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (gq_real_1d_ar (UArray UReal) ()) + ((pattern + (Indexed + ((pattern (Var p_1d_simplex)) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + (All + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_real_3d_ar (UArray (UArray (UArray UReal))) ()) + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_1d_vec (UArray UVector) ()) + ((pattern (Var p_1d_vec)) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_3d_vec (UArray (UArray (UArray UVector))) ()) + ((pattern (Var p_3d_vec)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_row_vec URowVector ()) + ((pattern (Var p_row_vec)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_1d_row_vec (UArray URowVector) ()) + ((pattern (Var p_1d_row_vec)) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_3d_row_vec (UArray (UArray (UArray URowVector))) ()) + ((pattern (Var p_3d_row_vec)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_simplex UVector ()) + ((pattern + (Indexed + ((pattern (Var p_1d_simplex)) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Between + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_1d_simplex (UArray UVector) ()) + ((pattern (Var p_1d_simplex)) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_3d_simplex (UArray (UArray (UArray UVector))) ()) + ((pattern (Var p_3d_simplex)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_cfcov_54 UMatrix ()) + ((pattern (Var p_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_cfcov_33 UMatrix ()) + ((pattern (Var p_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (gq_cfcov_33_ar (UArray UMatrix) ()) + ((pattern (Var p_cfcov_33_ar)) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar m) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar n) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (gq_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var m)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var n)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern (Lit Real 0.4)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (gq_vec UVector + ((Single + ((pattern (Var i)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib PMinus__ + (((pattern (Lit Real 1.0)) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar k) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (indexing_mat (UArray UMatrix) + ((Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp StanLib normal_rng + (((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib size + (((pattern (Var indices)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib size + (((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (idx_res1 (UArray UMatrix) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern + (Indexed + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern + (Indexed + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ URowVector) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (idx_res11 (UArray UMatrix) ()) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((MultiIndex + ((pattern (Var indices)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))) + (MultiIndex + ((pattern (Var indices)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (IfElse + ((pattern + (FunApp StanLib NEquals__ + (((pattern + (Indexed + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((MultiIndex + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))) + (MultiIndex + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var idx_res1)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnReject__ + (((pattern (Lit Str "indexing test 1 failed")) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib size + (((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (idx_res2 (UArray UMatrix) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern + (Indexed + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ URowVector) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (idx_res21 (UArray UMatrix) ()) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + (All + (MultiIndex + ((pattern (Var indices)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (IfElse + ((pattern + (FunApp StanLib NEquals__ + (((pattern + (Indexed + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + (All + (MultiIndex + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var idx_res2)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnReject__ + (((pattern (Lit Str "indexing test 2 failed")) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (For (loopvar i) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib size + (((pattern (Var indices)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar j) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar k) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib size + (((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (idx_res3 (UArray UMatrix) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern + (Indexed + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var i)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var j)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern + (Indexed + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var k)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Assignment (idx_res31 (UArray UMatrix) ()) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((MultiIndex + ((pattern (Var indices)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))) + All + (MultiIndex + ((pattern (Var indices)) + (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (IfElse + ((pattern + (FunApp StanLib NEquals__ + (((pattern + (Indexed + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((MultiIndex + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))) + All + (MultiIndex + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))))) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var idx_res3)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnReject__ + (((pattern (Lit Str "indexing test 3 failed")) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta )) + ())) + (meta )) + ((pattern + (Assignment (idx_res4 (UArray URowVector) ()) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Between + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + All))) + (meta ((type_ (UArray URowVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (idx_res5 (UArray UVector) ()) + ((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly)))) + ((Upfrom + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Between + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ (UArray UVector)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str gq_real_1d_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "gq_real_3d_ar[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str gq_vec[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_vec)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str greater_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "gq_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str less_or_equal)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "gq_ar_mat[sym1__, sym2__, sym3__, sym4__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str gq_simplex)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var gq_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str gq_1d_simplex[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern + (Lit Str + "gq_3d_simplex[sym1__, sym2__, sym3__]")) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_3d_simplex)) + (meta + ((type_ + (UArray (UArray (UArray UVector)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str gq_cfcov_54)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var gq_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str gq_cfcov_33)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Var gq_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnCheck__ + (((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str gq_cfcov_33_ar[sym1__])) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (Indexed + ((pattern (Var gq_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var gq_r1)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var gq_r2)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_vec)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_3d_vec)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_row_vec)) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_3d_row_vec)) + (meta + ((type_ + (UArray + (UArray (UArray URowVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_3d_simplex)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_cfcov_54)) + (meta + ((type_ UMatrix) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_cfcov_33)) + (meta + ((type_ UMatrix) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var gq_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var indices)) + (meta + ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var indexing_mat)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res1)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res2)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res3)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res11)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res21)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res31)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res4)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var idx_res5)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )))) + (transform_inits + (((pattern + (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real) (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_real UReal ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_upper) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_upper UReal ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_upper)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_upper_free__) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_upper_free__ UReal ()) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_lower) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_lower UReal ()) + ((pattern + (Indexed + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_lower)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_lower_free__) + (decl_type (Sized SReal)))) + (meta )) + ((pattern + (Assignment (p_lower_free__ UReal ()) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern (Var p_lower)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str ub)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id offset_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (offset_multiplier (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str offset_multiplier)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id offset_multiplier_free__) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_multiplier_free__ (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str offset_multiplier)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id no_offset_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (no_offset_multiplier (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str no_offset_multiplier)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id no_offset_multiplier_free__) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (no_offset_multiplier_free__ (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var no_offset_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str offset_multiplier)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id offset_no_multiplier) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (offset_no_multiplier (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str offset_no_multiplier)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id offset_no_multiplier_free__) + (decl_type + (Sized + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (offset_no_multiplier_free__ (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var offset_no_multiplier)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str offset_multiplier)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real_1d_ar) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_real_1d_ar (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_real_1d_ar)) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real_1d_ar_free__) + (decl_type + (Sized + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_1d_ar_free__ (UArray UReal) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_1d_ar)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real_3d_ar) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_real_3d_ar_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_real_3d_ar)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_3d_ar + (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_real_3d_ar_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_real_3d_ar_free__) + (decl_type + (Sized + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_real_3d_ar_free__ + (UArray (UArray (UArray UReal))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var p_real_3d_ar)) + (meta + ((type_ + (UArray (UArray (UArray UReal)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_vec) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_vec)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_vec UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_vec_free__) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_vec_free__ UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var p_vec)) + (meta + ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str lb)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_1d_vec) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_1d_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_vec (UArray UVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_1d_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_3d_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_3d_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_3d_vec)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_vec + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_3d_vec_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_row_vec) + (decl_type + (Sized + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_row_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_row_vec)) + (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_row_vec URowVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_row_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_1d_row_vec) + (decl_type + (Sized + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_1d_row_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_row_vec (UArray URowVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_1d_row_vec_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_3d_row_vec) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_3d_row_vec_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_3d_row_vec)) + (meta + ((type_ (UArray (UArray (UArray URowVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_row_vec + (UArray + (UArray (UArray URowVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var p_3d_row_vec_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_ar_mat) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_ar_mat_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_ar_mat)) + (meta + ((type_ (UArray (UArray UMatrix))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_ar_mat (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_ar_mat_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_ar_mat_free__) + (decl_type + (Sized + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_ar_mat_free__ + (UArray (UArray UMatrix)) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal + FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var p_ar_mat)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Str lub)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 0)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_simplex) + (decl_type + (Sized + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_simplex_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_simplex UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_simplex_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_simplex_free__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_simplex_free__ UVector ()) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern (Var p_simplex)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_1d_simplex) + (decl_type + (Sized + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_1d_simplex_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_simplex (UArray UVector) + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_1d_simplex_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_1d_simplex_free__) + (decl_type + (Sized + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_1d_simplex_free__ (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var p_1d_simplex)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str simplex)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_3d_simplex) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_3d_simplex_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_3d_simplex)) + (meta + ((type_ (UArray (UArray (UArray UVector)))) (loc ) + (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_simplex + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern + (Var p_3d_simplex_flat__)) + (meta + ((type_ (UArray UReal)) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_3d_simplex_free__) + (decl_type + (Sized + (SArray + (SArray + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_3d_simplex_free__ + (UArray (UArray (UArray UVector))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var p_3d_simplex)) + (meta + ((type_ + (UArray (UArray (UArray UVector)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Str simplex)) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UVector) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_54) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_cfcov_54_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_54 UMatrix + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_cfcov_54_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_54_free__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_cfcov_54_free__ UVector ()) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern (Var p_cfcov_54)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33) + (decl_type + (Sized + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_cfcov_33_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33 UMatrix + ((Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_cfcov_33_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33_free__) + (decl_type + (Sized + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Assignment (p_cfcov_33_free__ UVector ()) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern (Var p_cfcov_33)) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33_ar) + (decl_type + (Sized + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (p_cfcov_33_ar_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str p_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33_ar (UArray UMatrix) + ((Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id p_cfcov_33_ar_free__) + (decl_type + (Sized + (SArray + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (p_cfcov_33_ar_free__ (UArray UVector) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (FunApp CompilerInternal FnUnconstrain__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar)) + (meta + ((type_ (UArray UMatrix)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Str cholesky_factor)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UMatrix) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id x_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id x_p_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (x_p_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str x_p)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (x_p UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var x_p_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (Decl (decl_adtype DataOnly) (decl_id y_p) + (decl_type + (Sized + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) + (meta )) + ((pattern + (Block + (((pattern + (Decl (decl_adtype AutoDiffable) (decl_id y_p_flat__) + (decl_type (Unsized (UArray UReal))))) + (meta )) + ((pattern + (Assignment (y_p_flat__ (UArray UReal) ()) + ((pattern + (FunApp CompilerInternal FnReadData__ + (((pattern (Lit Str y_p)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) + (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (Assignment + (y_p UVector + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + ((pattern + (Indexed + ((pattern (Var y_p_flat__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) + (meta )) + ((pattern + (Assignment (pos__ UInt ()) + ((pattern + (FunApp StanLib Plus__ + (((pattern (Var pos__)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var p_upper_free__)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern (Var p_lower_free__)) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var offset_multiplier_free__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var no_offset_multiplier_free__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var offset_no_multiplier_free__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_real_1d_ar_free__)) + (meta + ((type_ (UArray UReal)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_real_3d_ar_free__)) + (meta + ((type_ (UArray (UArray (UArray UReal)))) + (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_vec_free__)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_1d_vec)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_3d_vec)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_row_vec)) + (meta + ((type_ URowVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_1d_row_vec)) + (meta + ((type_ (UArray URowVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_3d_row_vec)) + (meta + ((type_ + (UArray + (UArray (UArray URowVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_ar_mat_free__)) + (meta + ((type_ + (UArray (UArray UMatrix))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_simplex_free__)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_1d_simplex_free__)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym3__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym4__) + (lower + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal + FnWriteParam__ + (((pattern + (Indexed + ((pattern + (Var p_3d_simplex_free__)) + (meta + ((type_ + (UArray + (UArray (UArray UVector)))) + (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym3__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym4__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) + (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_54_free__)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_free__)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (For (loopvar sym2__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var p_cfcov_33_ar_free__)) + (meta + ((type_ (UArray UVector)) (loc ) + (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))) + (Single + ((pattern (Var sym2__)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))))))) + (meta + ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var x_p)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )) + ((pattern + (For (loopvar sym1__) + (lower + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (upper + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + (body + ((pattern + (Block + (((pattern + (NRFunApp CompilerInternal FnWriteParam__ + (((pattern + (Indexed + ((pattern (Var y_p)) + (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) + ((Single + ((pattern (Var sym1__)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) + (meta ))))) + (meta ))))) + (meta )))) + (output_vars + ((p_real + ((out_unconstrained_st SReal) (out_constrained_st SReal) + (out_block Parameters) (out_trans Identity))) + (p_upper + ((out_unconstrained_st SReal) (out_constrained_st SReal) + (out_block Parameters) + (out_trans + (Lower + ((pattern (Var p_real)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) + (p_lower + ((out_unconstrained_st SReal) (out_constrained_st SReal) + (out_block Parameters) + (out_trans + (Upper + ((pattern (Var p_upper)) + (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))))) + (offset_multiplier + ((out_unconstrained_st + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) + (out_trans + (OffsetMultiplier + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (no_offset_multiplier + ((out_unconstrained_st + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) + (out_trans + (Multiplier + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (offset_no_multiplier + ((out_unconstrained_st + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray SReal + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) + (out_trans + (Offset + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (p_real_1d_ar + ((out_unconstrained_st + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) + (out_trans + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (p_real_3d_ar + ((out_unconstrained_st + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) + (out_trans + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (p_vec + ((out_unconstrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) + (out_trans + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (p_1d_vec + ((out_unconstrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Identity))) + (p_3d_vec + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Identity))) + (p_row_vec + ((out_unconstrained_st + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Identity))) + (p_1d_row_vec + ((out_unconstrained_st + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Identity))) + (p_3d_row_vec + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Identity))) + (p_ar_mat + ((out_unconstrained_st + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) + (out_trans + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (p_simplex + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Simplex))) + (p_1d_simplex + ((out_unconstrained_st + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Simplex))) + (p_3d_simplex + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Simplex))) + (p_cfcov_54 + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans CholeskyCov))) + (p_cfcov_33 + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans CholeskyCov))) + (p_cfcov_33_ar + ((out_unconstrained_st + (SArray + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans CholeskyCov))) + (x_p + ((out_unconstrained_st + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Identity))) + (y_p + ((out_unconstrained_st + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block Parameters) (out_trans Identity))) + (tp_real_1d_ar + ((out_unconstrained_st + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) + (out_trans + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (tp_real_3d_ar + ((out_unconstrained_st + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) + (out_trans + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (tp_vec + ((out_unconstrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) + (out_trans + (Upper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (tp_1d_vec + ((out_unconstrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Identity))) + (tp_3d_vec + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Identity))) + (tp_row_vec + ((out_unconstrained_st + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Identity))) + (tp_1d_row_vec + ((out_unconstrained_st + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Identity))) + (tp_3d_row_vec + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Identity))) + (tp_ar_mat + ((out_unconstrained_st + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) + (out_trans + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (tp_simplex + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Simplex))) + (tp_1d_simplex + ((out_unconstrained_st + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Simplex))) + (tp_3d_simplex + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Simplex))) + (tp_cfcov_54 + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans CholeskyCov))) + (tp_cfcov_33 + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans CholeskyCov))) + (tp_cfcov_33_ar + ((out_unconstrained_st + (SArray + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans CholeskyCov))) + (theta_p + ((out_unconstrained_st + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block TransformedParameters) (out_trans Identity))) + (tp_real + ((out_unconstrained_st SReal) (out_constrained_st SReal) + (out_block TransformedParameters) (out_trans Identity))) + (gq_r1 + ((out_unconstrained_st SReal) (out_constrained_st SReal) + (out_block GeneratedQuantities) (out_trans Identity))) + (gq_r2 + ((out_unconstrained_st SReal) (out_constrained_st SReal) + (out_block GeneratedQuantities) (out_trans Identity))) + (gq_real_1d_ar + ((out_unconstrained_st + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray SReal + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) + (out_trans + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (gq_real_3d_ar + ((out_unconstrained_st + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray SReal + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) + (out_trans + (Lower + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (gq_vec + ((out_unconstrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) + (out_trans + (Upper + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (gq_1d_vec + ((out_unconstrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (gq_3d_vec + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (gq_row_vec + ((out_unconstrained_st + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (gq_1d_row_vec + ((out_unconstrained_st + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (gq_3d_row_vec + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SRowVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (gq_ar_mat + ((out_unconstrained_st + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SMatrix + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) + (out_trans + (LowerUpper + ((pattern (Lit Int 0)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) + (gq_simplex + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Simplex))) + (gq_1d_simplex + ((out_unconstrained_st + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Simplex))) + (gq_3d_simplex + ((out_unconstrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern + (FunApp StanLib Minus__ + (((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SArray + (SArray + (SVector + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var M)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var N)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Simplex))) + (gq_cfcov_54 + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 4)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SMatrix + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans CholeskyCov))) + (gq_cfcov_33 + ((out_unconstrained_st + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans CholeskyCov))) + (gq_cfcov_33_ar + ((out_unconstrained_st + (SArray + (SVector + ((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Plus__ + (((pattern + (FunApp StanLib Divide__ + (((pattern + (FunApp StanLib Times__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly)))) + ((pattern (Lit Int 1)) + (meta + ((type_ UInt) (loc ) + (adlevel DataOnly))))))) + (meta + ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern + (FunApp StanLib Times__ + (((pattern + (FunApp StanLib Minus__ + (((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Var K)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans CholeskyCov))) + (indices + ((out_unconstrained_st + (SArray SInt + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray SInt + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (indexing_mat + ((out_unconstrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res1 + ((out_unconstrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res2 + ((out_unconstrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res3 + ((out_unconstrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res11 + ((out_unconstrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res21 + ((out_unconstrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 5)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res31 + ((out_unconstrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SMatrix + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res4 + ((out_unconstrained_st + (SArray + (SRowVector + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SRowVector + ((pattern (Lit Int 4)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 3)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))) + (idx_res5 + ((out_unconstrained_st + (SArray + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_constrained_st + (SArray + (SVector + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) + ((pattern (Lit Int 2)) + (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) + (out_block GeneratedQuantities) (out_trans Identity))))) + (prog_name mother_model) (prog_path mother.stan)) +Warning in 'mother.stan', line 63, column 4: increment_log_prob(...); is deprecated and will be removed in the future. Use target += ...; instead. +Warning in 'mother.stan', line 187, column 15: get_lp() function is deprecated. It will be removed in a future release. Use target() instead. +Warning in 'mother.stan', line 63, column 23: normal_log is deprecated and will be removed in the future. Use normal_lpdf instead. +Warning in 'mother.stan', line 187, column 15: The no-argument function `get_lp()` is deprecated. Use the no-argument function `target()` instead. diff --git a/test/integration/good/code-gen/transformed_mir_diff.expected b/test/integration/good/code-gen/transformed_mir_diff.expected deleted file mode 100644 index 93376037c5..0000000000 --- a/test/integration/good/code-gen/transformed_mir_diff.expected +++ /dev/null @@ -1,14983 +0,0 @@ -1c1 -< $ ../../../../../install/default/bin/stanc --debug-mir mother.stan ---- -> $ ../../../../../install/default/bin/stanc --debug-transformed-mir mother.stan -19,21c19,24 -< (Return -< (((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) ---- -> (Block -> (((pattern -> (Return -> (((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -282c285,286 -< ((pattern Break) (meta )))) ---- -> ((pattern (Block (((pattern Break) (meta ))))) -> (meta )))) -288c292,293 -< ((pattern Continue) (meta )))) ---- -> ((pattern (Block (((pattern Continue) (meta ))))) -> (meta )))) -342c347,348 -< ((pattern Break) (meta )) ---- -> ((pattern (Block (((pattern Break) (meta ))))) -> (meta )) -344,349c350,363 -< (IfElse -< ((pattern (Lit Int 1)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern Break) (meta )) -< (((pattern Break) (meta ))))) ---- -> (Block -> (((pattern -> (IfElse -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Block (((pattern Break) (meta ))))) -> (meta )) -> (((pattern -> (Block (((pattern Break) (meta ))))) -> (meta ))))) -> (meta ))))) -359,362c373,380 -< (While -< ((pattern (Lit Int 0)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern Break) (meta )))) ---- -> (Block -> (((pattern -> (While -> ((pattern (Lit Int 0)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Block (((pattern Break) (meta ))))) -> (meta )))) -> (meta ))))) -1300c1318 -< (NRFunApp CompilerInternal FnReject__ ---- -> (Block -1302,1316c1320,1341 -< (Lit Str "user-specified rejection, difference above ")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var max_)) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str " x:")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var x)) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str " y:")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var y)) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) ---- -> (NRFunApp CompilerInternal FnReject__ -> (((pattern -> (Lit Str -> "user-specified rejection, difference above ")) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var max_)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str " x:")) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var x)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str " y:")) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var y)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -> (meta ))))) -1339c1364 -< (NRFunApp CompilerInternal FnReject__ ---- -> (Block -1341,1355c1366,1387 -< (Lit Str "user-specified rejection, difference below ")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var min_)) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str " x:")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var x)) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str " y:")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var y)) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) ---- -> (NRFunApp CompilerInternal FnReject__ -> (((pattern -> (Lit Str -> "user-specified rejection, difference below ")) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var min_)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str " x:")) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var x)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str " y:")) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var y)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -> (meta ))))) -2550a2583,2590 -> (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -2553a2594,2607 -> (Assignment (N UInt ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -2567a2622,2635 -> (Assignment (M UInt ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -2581a2650,2663 -> (Assignment (K UInt ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -2625a2708,2715 -> (Assignment (d_int_1d_ar (UArray UInt) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_int_1d_ar)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -2697a2788,2900 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_int_3d_ar_flat__) -> (decl_type (Unsized (UArray UInt))))) -> (meta )) -> ((pattern -> (Assignment (d_int_3d_ar_flat__ (UArray UInt) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_int_3d_ar)) -> (meta -> ((type_ (UArray (UArray (UArray UInt)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_int_3d_ar -> (UArray (UArray (UArray UInt))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_int_3d_ar_flat__)) -> (meta -> ((type_ (UArray UInt)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -2782a2986,2999 -> (Assignment (J UReal ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str J)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -2824a3042,3049 -> (Assignment (d_real_1d_ar (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_real_1d_ar)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -2865a3091,3203 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_real_3d_ar_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_real_3d_ar_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_real_3d_ar)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_real_3d_ar -> (UArray (UArray (UArray UReal))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_real_3d_ar_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -2882a3221,3283 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_vec)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_vec UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -2911a3313,3401 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_1d_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_1d_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_1d_vec (UArray UVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_1d_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -2964a3455,3590 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_3d_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_3d_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_3d_vec)) -> (meta -> ((type_ (UArray (UArray (UArray UVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_3d_vec -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_3d_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -2981a3608,3670 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_row_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_row_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_row_vec)) -> (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_row_vec URowVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_row_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3010a3700,3789 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_1d_row_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_1d_row_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_1d_row_vec)) -> (meta -> ((type_ (UArray URowVector)) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_1d_row_vec (UArray URowVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_1d_row_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3063a3843,3980 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_3d_row_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_3d_row_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_3d_row_vec)) -> (meta -> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_3d_row_vec -> (UArray -> (UArray (UArray URowVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var d_3d_row_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3079a3997,4131 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_ar_mat_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_ar_mat_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_ar_mat)) -> (meta -> ((type_ (UArray (UArray UMatrix))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_ar_mat (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_ar_mat_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3308a4361,4423 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_simplex_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_simplex_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_simplex)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_simplex UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_simplex_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3346a4462,4550 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_1d_simplex_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_1d_simplex_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_1d_simplex)) -> (meta -> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_1d_simplex (UArray UVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_1d_simplex_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3429a4634,4770 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_3d_simplex_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_3d_simplex_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_3d_simplex)) -> (meta -> ((type_ (UArray (UArray (UArray UVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_3d_simplex -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var d_3d_simplex_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3518a4860,4947 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_54_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_cfcov_54_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_cfcov_54)) -> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_cfcov_54 UMatrix -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_cfcov_54_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3537a4967,5054 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_cfcov_33_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_cfcov_33)) -> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_cfcov_33 UMatrix -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_cfcov_33_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3568a5086,5196 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_cfcov_33_ar_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_cfcov_33_ar_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_cfcov_33_ar)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_cfcov_33_ar (UArray UMatrix) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_cfcov_33_ar_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3601a5230,5243 -> (Assignment (d_int UInt ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -3618a5261,5268 -> (Assignment (d_int_array (UArray UInt) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_int_array)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -3638a5289,5378 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_2d_flat__) -> (decl_type (Unsized (UArray UInt))))) -> (meta )) -> ((pattern -> (Assignment (d_int_array_2d_flat__ (UArray UInt) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_int_array_2d)) -> (meta -> ((type_ (UArray (UArray UInt))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_int_array_2d (UArray (UArray UInt)) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_int_array_2d_flat__)) -> (meta -> ((type_ (UArray UInt)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3661a5402,5514 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_int_array_3d_flat__) -> (decl_type (Unsized (UArray UInt))))) -> (meta )) -> ((pattern -> (Assignment (d_int_array_3d_flat__ (UArray UInt) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_int_array_3d)) -> (meta -> ((type_ (UArray (UArray (UArray UInt)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_int_array_3d -> (UArray (UArray (UArray UInt))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_int_array_3d_flat__)) -> (meta -> ((type_ (UArray UInt)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3664a5518,5531 -> (Assignment (d_real UReal ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_real)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -3681a5549,5556 -> (Assignment (d_real_array (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_real_array)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -3701a5577,5666 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_2d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_real_array_2d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_real_array_2d)) -> (meta -> ((type_ (UArray (UArray UReal))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_real_array_2d (UArray (UArray UReal)) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_real_array_2d_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3724a5690,5802 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_real_array_3d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_real_array_3d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_real_array_3d)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_real_array_3d -> (UArray (UArray (UArray UReal))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_real_array_3d_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3752a5831,5918 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_matrix_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_matrix)) -> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_matrix UMatrix -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_matrix_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3792a5959,6069 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_matrix_array_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_matrix_array)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_matrix_array (UArray UMatrix) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_matrix_array_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3835a6113,6249 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_2d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_matrix_array_2d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_matrix_array_2d)) -> (meta -> ((type_ (UArray (UArray UMatrix))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_matrix_array_2d -> (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var d_matrix_array_2d_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3881a6296,6467 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_matrix_array_3d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_matrix_array_3d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_matrix_array_3d)) -> (meta -> ((type_ (UArray (UArray (UArray UMatrix)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym5__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_matrix_array_3d -> (UArray -> (UArray (UArray UMatrix))) -> ((Single -> ((pattern (Var sym5__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var -> d_matrix_array_3d_flat__)) -> (meta -> ((type_ -> (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) -> (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3898a6485,6547 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_vector_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_vector)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_vector UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_vector_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3927a6577,6665 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_vector_array_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_vector_array)) -> (meta -> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_vector_array (UArray UVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_vector_array_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3959a6698,6811 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_2d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_vector_array_2d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_vector_array_2d)) -> (meta -> ((type_ (UArray (UArray UVector))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_vector_array_2d -> (UArray (UArray UVector)) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var d_vector_array_2d_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -3994a6847,6983 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_vector_array_3d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_vector_array_3d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_vector_array_3d)) -> (meta -> ((type_ (UArray (UArray (UArray UVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_vector_array_3d -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var d_vector_array_3d_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -4011a7001,7063 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_row_vector_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_row_vector)) -> (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_row_vector URowVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_row_vector_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -4040a7093,7182 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id d_row_vector_array_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_row_vector_array_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_row_vector_array)) -> (meta -> ((type_ (UArray URowVector)) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_row_vector_array (UArray URowVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var d_row_vector_array_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -4072a7215,7329 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) -> (decl_id d_row_vector_array_2d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_row_vector_array_2d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_row_vector_array_2d)) -> (meta -> ((type_ (UArray (UArray URowVector))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_row_vector_array_2d -> (UArray (UArray URowVector)) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var d_row_vector_array_2d_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -4107a7365,7504 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) -> (decl_id d_row_vector_array_3d_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (d_row_vector_array_3d_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str d_row_vector_array_3d)) -> (meta -> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var d_int)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (d_row_vector_array_3d -> (UArray -> (UArray (UArray URowVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var -> d_row_vector_array_3d_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -7741a11139,11146 -> (Assignment (p_real UReal ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -7748,7754c11153,11155 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern (Var p_upper)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str lb)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var p_real)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -7757a11159,11199 -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment (p_upper UReal ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_upper)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str lb)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var p_real)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var lp__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment (p_upper UReal ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_upper)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str lb)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var p_real)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -7764,7770c11206,11208 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern (Var p_lower)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str ub)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Var p_upper)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -7773a11212,11252 -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment (p_lower UReal ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_lower)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str ub)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var p_upper)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var lp__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment (p_lower UReal ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_lower)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str ub)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var p_upper)) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -7799,7816c11278,11279 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var offset_multiplier)) -< (meta -< ((type_ (UArray UReal)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str offset_multiplier)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 2)) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -7822a11286,11382 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (offset_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var offset_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str offset_multiplier)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (offset_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var offset_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str offset_multiplier)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -7848,7865c11408,11409 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var no_offset_multiplier)) -< (meta -< ((type_ (UArray UReal)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str offset_multiplier)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 0)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 2)) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -7871a11416,11512 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (no_offset_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var no_offset_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str offset_multiplier)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (no_offset_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var no_offset_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str offset_multiplier)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -7897,7914c11538,11539 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var offset_no_multiplier)) -< (meta -< ((type_ (UArray UReal)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str offset_multiplier)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 1)) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -7920a11546,11642 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (offset_no_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var offset_no_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str offset_multiplier)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (offset_no_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var offset_no_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str offset_multiplier)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -7946,7961c11668,11669 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var p_real_1d_ar)) -< (meta -< ((type_ (UArray UReal)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str lb)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 0)) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -7967a11676,11766 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_real_1d_ar (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_real_1d_ar)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str lb)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (p_real_1d_ar (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_real_1d_ar)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str lb)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -8035,8066c11834,11835 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var p_real_3d_ar)) -< (meta -< ((type_ -< (UArray (UArray (UArray UReal)))) -< (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym2__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym3__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) -< (adlevel AutoDiffable)))) -< ((pattern (Lit Str lb)) -< (meta -< ((type_ UReal) (loc ) -< (adlevel DataOnly)))) -< ((pattern (Lit Int 0)) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -8081,8088d11849 -< (Decl (decl_adtype AutoDiffable) (decl_id p_vec) -< (decl_type -< (Sized -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -8100,8218d11860 -< (Assignment -< (p_vec UVector -< ((Single -< ((pattern (Var sym1__)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< ((pattern -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var p_vec)) -< (meta -< ((type_ UVector) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str lb)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 0)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -< (meta ))))) -< (meta ))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) -< (decl_type -< (Sized -< (SArray -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) -< (decl_type -< (Sized -< (SArray -< (SArray -< (SArray -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var K)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var M)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) -< (decl_type -< (Sized -< (SRowVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) -< (decl_type -< (Sized -< (SArray -< (SRowVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) -< (decl_type -< (Sized -< (SArray -< (SArray -< (SArray -< (SRowVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var K)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var M)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) -< (decl_type -< (Sized -< (SArray -< (SArray -< (SMatrix -< ((pattern (Lit Int 2)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Lit Int 5)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Lit Int 4)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (For (loopvar sym1__) -< (lower -< ((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (upper -< ((pattern (Lit Int 4)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (body -< ((pattern -< (Block -< (((pattern -8224c11866 -< ((pattern (Lit Int 5)) ---- -> ((pattern (Var M)) -8236c11878 -< ((pattern (Lit Int 2)) ---- -> ((pattern (Var K)) -8243,8255c11885,11957 -< (For (loopvar sym4__) -< (lower -< ((pattern (Lit Int 1)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (upper -< ((pattern (Lit Int 3)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (body -< ((pattern ---- -> (IfElse -> ((pattern (Var jacobian__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_real_3d_ar -> (UArray (UArray (UArray UReal))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_real_3d_ar)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UReal)))) -> (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str lb)) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -8259c11961,11962 -< (p_ar_mat (UArray (UArray UMatrix)) ---- -> (p_real_3d_ar -> (UArray (UArray (UArray UReal))) -8274,8278d11976 -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym4__)) -< (meta -< ((type_ UInt) (loc ) -8285c11983 -< ((pattern (Var p_ar_mat)) ---- -> ((pattern (Var p_real_3d_ar)) -8288c11986,11987 -< (UArray (UArray UMatrix))) ---- -> (UArray -> (UArray (UArray UReal)))) -8305,8309d12003 -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym4__)) -< (meta -< ((type_ UInt) (loc ) -8314c12008 -< ((pattern (Lit Str lub)) ---- -> ((pattern (Lit Str lb)) -8321,8324d12014 -< (adlevel DataOnly)))) -< ((pattern (Lit Int 1)) -< (meta -< ((type_ UInt) (loc ) -8339c12029 -< (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) ---- -> (Decl (decl_adtype AutoDiffable) (decl_id p_vec) -8347c12037 -< (Assignment (p_simplex UVector ()) ---- -> (Assignment (p_vec UVector ()) -8349,8354c12039,12044 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern (Var p_simplex)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str simplex)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -8357c12047,12138 -< (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) ---- -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_vec UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_vec)) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str lb)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (p_vec UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_vec)) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str lb)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec) -8380c12161 -< (p_1d_simplex (UArray UVector) ---- -> (p_1d_vec (UArray UVector) -8385,8400c12166,12171 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var p_1d_simplex)) -< (meta -< ((type_ (UArray UVector)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str simplex)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -8405c12176 -< (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) ---- -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec) -8458,8459c12229 -< (p_3d_simplex -< (UArray (UArray (UArray UVector))) ---- -> (p_3d_vec (UArray (UArray (UArray UVector))) -8476,8499c12246,12247 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var p_3d_simplex)) -< (meta -< ((type_ -< (UArray (UArray (UArray UVector)))) -< (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym2__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym3__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly)))))))) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -8501,8503c12249,12251 -< ((type_ UVector) (loc ) -< (adlevel AutoDiffable)))) -< ((pattern (Lit Str simplex)) ---- -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Var N)) -8505c12253 -< ((type_ UReal) (loc ) ---- -> ((type_ UInt) (loc ) -8508c12256 -< ((type_ UVector) (loc ) ---- -> ((type_ UReal) (loc ) -8518,8542c12266 -< (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) -< (decl_type -< (Sized -< (SMatrix -< ((pattern (Lit Int 5)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 4)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Assignment (p_cfcov_54 UMatrix ()) -< ((pattern -< (FunApp CompilerInternal FnConstrain__ -< (((pattern (Var p_cfcov_54)) -< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str cholesky_factor)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 5)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 4)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) ---- -> (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec) -8545,8548c12269,12270 -< (SMatrix -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) ---- -> (SRowVector -> ((pattern (Var N)) -8552c12274 -< (Assignment (p_cfcov_33 UMatrix ()) ---- -> (Assignment (p_row_vec URowVector ()) -8554,8559c12276,12277 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern (Var p_cfcov_33)) -< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str cholesky_factor)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str row_vector)) -8561c12279 -< ((pattern (Lit Int 3)) ---- -> ((pattern (Var N)) -8563c12281 -< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) ---- -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -8566c12284 -< (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) ---- -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec) -8570,8573c12288,12289 -< (SMatrix -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) ---- -> (SRowVector -> ((pattern (Var N)) -8575c12291 -< ((pattern (Var K)) ---- -> ((pattern (Var N)) -8584c12300 -< ((pattern (Var K)) ---- -> ((pattern (Var N)) -8591c12307 -< (p_cfcov_33_ar (UArray UMatrix) ---- -> (p_1d_row_vec (UArray URowVector) -8596,8611c12312,12313 -< (FunApp CompilerInternal FnConstrain__ -< (((pattern -< (Indexed -< ((pattern (Var p_cfcov_33_ar)) -< (meta -< ((type_ (UArray UMatrix)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Str cholesky_factor)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) ---- -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str row_vector)) -8613c12315 -< ((pattern (Lit Int 3)) ---- -> ((pattern (Var N)) -8615c12317 -< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) ---- -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -8620,8713c12322 -< (Decl (decl_adtype AutoDiffable) (decl_id x_p) -< (decl_type -< (Sized -< (SVector -< ((pattern (Lit Int 2)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id y_p) -< (decl_type -< (Sized -< (SVector -< ((pattern (Lit Int 2)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) -< (decl_type -< (Sized -< (SArray SReal -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) -< (decl_type -< (Sized -< (SArray -< (SArray -< (SArray SReal -< ((pattern (Var K)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var M)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) -< (decl_type -< (Sized -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) -< (decl_type -< (Sized -< (SArray -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) -< (decl_type -< (Sized -< (SArray -< (SArray -< (SArray -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var K)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var M)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) -< (decl_type -< (Sized -< (SRowVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) -< (decl_type -< (Sized -< (SArray -< (SRowVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) ---- -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec) -8730,8886c12339 -< (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) -< (decl_type -< (Sized -< (SArray -< (SArray -< (SMatrix -< ((pattern (Lit Int 2)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Lit Int 5)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Lit Int 4)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) -< (decl_type -< (Sized -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) -< (decl_type -< (Sized -< (SArray -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) -< (decl_type -< (Sized -< (SArray -< (SArray -< (SArray -< (SVector -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var K)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var M)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) -< (decl_type -< (Sized -< (SMatrix -< ((pattern (Lit Int 5)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 4)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) -< (decl_type -< (Sized -< (SMatrix -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) -< (decl_type -< (Sized -< (SArray -< (SMatrix -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 3)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< ((pattern (Var K)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id theta_p) -< (decl_type -< (Sized -< (SVector -< ((pattern (Lit Int 2)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -< (meta )) -< ((pattern -< (Decl (decl_adtype AutoDiffable) (decl_id tp_real) -< (decl_type (Sized SReal)))) -< (meta )) -< ((pattern -< (Assignment (tp_real_1d_ar (UArray UReal) ()) -< ((pattern (Var p_real_1d_ar)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_real_3d_ar (UArray (UArray (UArray UReal))) ()) -< ((pattern (Var p_real_3d_ar)) -< (meta -< ((type_ (UArray (UArray (UArray UReal)))) (loc ) -< (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_1d_vec (UArray UVector) ()) -< ((pattern (Var p_1d_vec)) -< (meta -< ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_3d_vec (UArray (UArray (UArray UVector))) ()) -< ((pattern (Var p_3d_vec)) -< (meta -< ((type_ (UArray (UArray (UArray UVector)))) (loc ) -< (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_simplex UVector ()) -< ((pattern (Var p_simplex)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_1d_simplex (UArray UVector) ()) -< ((pattern (Var p_1d_simplex)) -< (meta -< ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_3d_simplex (UArray (UArray (UArray UVector))) ()) -< ((pattern (Var p_3d_simplex)) -< (meta -< ((type_ (UArray (UArray (UArray UVector)))) (loc ) -< (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_cfcov_54 UMatrix ()) -< ((pattern (Var p_cfcov_54)) -< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_cfcov_33 UMatrix ()) -< ((pattern (Var p_cfcov_33)) -< (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_cfcov_33_ar (UArray UMatrix) ()) -< ((pattern (Var p_cfcov_33_ar)) -< (meta -< ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (For (loopvar i) ---- -> (For (loopvar sym1__) -8891c12344 -< ((pattern (Lit Int 2)) ---- -> ((pattern (Var N)) -8897c12350 -< (For (loopvar j) ---- -> (For (loopvar sym2__) -8902c12355 -< ((pattern (Lit Int 3)) ---- -> ((pattern (Var M)) -8908c12361 -< (For (loopvar m) ---- -> (For (loopvar sym3__) -8914c12367 -< ((pattern (Lit Int 4)) ---- -> ((pattern (Var K)) -8921,8963c12374,12404 -< (For (loopvar n) -< (lower -< ((pattern (Lit Int 1)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (upper -< ((pattern (Lit Int 5)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (body -< ((pattern -< (Block -< (((pattern -< (Assignment -< (tp_ar_mat (UArray (UArray UMatrix)) -< ((Single -< ((pattern (Var m)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var n)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var i)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var j)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))))) -< ((pattern (Lit Real 0.4)) -< (meta -< ((type_ UReal) (loc ) -< (adlevel DataOnly)))))) -< (meta ))))) -< (meta ))))) ---- -> (Assignment -> (p_3d_row_vec -> (UArray (UArray (UArray URowVector))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str row_vector)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -8972,9269c12413,12426 -< (For (loopvar i) -< (lower -< ((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (upper -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (body -< ((pattern -< (Block -< (((pattern -< (Assignment -< (tp_vec UVector -< ((Single -< ((pattern (Var i)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< ((pattern -< (FunApp StanLib Times__ -< (((pattern -< (FunApp StanLib PMinus__ -< (((pattern (Lit Real 1.0)) -< (meta -< ((type_ UReal) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern -< (Indexed -< ((pattern (Var p_vec)) -< (meta -< ((type_ UVector) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var i)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -< (meta ))))) -< (meta ))))) -< (meta )) -< ((pattern -< (Assignment (tp_row_vec URowVector ()) -< ((pattern -< (FunApp StanLib Transpose__ -< (((pattern -< (Indexed -< ((pattern (Var tp_1d_vec)) -< (meta -< ((type_ (UArray UVector)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) -< (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_1d_row_vec (UArray URowVector) ()) -< ((pattern (Var p_1d_row_vec)) -< (meta -< ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_3d_row_vec (UArray (UArray (UArray URowVector))) ()) -< ((pattern (Var p_3d_row_vec)) -< (meta -< ((type_ (UArray (UArray (UArray URowVector)))) (loc ) -< (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (theta_p UVector ()) -< ((pattern -< (FunApp StanLib algebra_solver -< (((pattern (Var algebra_system)) -< (meta -< ((type_ -< (UFun -< ((AutoDiffable UVector) (AutoDiffable UVector) -< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -< (ReturnType UVector))) -< (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var x)) -< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -< ((pattern (Var y)) -< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat_int)) -< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (theta_p UVector ()) -< ((pattern -< (FunApp StanLib algebra_solver -< (((pattern (Var algebra_system)) -< (meta -< ((type_ -< (UFun -< ((AutoDiffable UVector) (AutoDiffable UVector) -< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -< (ReturnType UVector))) -< (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var x)) -< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -< ((pattern (Var y)) -< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat_int)) -< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 10)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (theta_p UVector ()) -< ((pattern -< (FunApp StanLib algebra_solver -< (((pattern (Var algebra_system)) -< (meta -< ((type_ -< (UFun -< ((AutoDiffable UVector) (AutoDiffable UVector) -< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -< (ReturnType UVector))) -< (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var x)) -< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -< ((pattern (Var y_p)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var dat)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat_int)) -< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 10)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (theta_p UVector ()) -< ((pattern -< (FunApp StanLib algebra_solver -< (((pattern (Var algebra_system)) -< (meta -< ((type_ -< (UFun -< ((AutoDiffable UVector) (AutoDiffable UVector) -< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -< (ReturnType UVector))) -< (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var x_p)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var y)) -< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat_int)) -< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (theta_p UVector ()) -< ((pattern -< (FunApp StanLib algebra_solver -< (((pattern (Var algebra_system)) -< (meta -< ((type_ -< (UFun -< ((AutoDiffable UVector) (AutoDiffable UVector) -< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -< (ReturnType UVector))) -< (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var x_p)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var y)) -< (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat_int)) -< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 10)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (theta_p UVector ()) -< ((pattern -< (FunApp StanLib algebra_solver -< (((pattern (Var algebra_system)) -< (meta -< ((type_ -< (UFun -< ((AutoDiffable UVector) (AutoDiffable UVector) -< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -< (ReturnType UVector))) -< (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var x_p)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var y_p)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var dat)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat_int)) -< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (theta_p UVector ()) -< ((pattern -< (FunApp StanLib algebra_solver -< (((pattern (Var algebra_system)) -< (meta -< ((type_ -< (UFun -< ((AutoDiffable UVector) (AutoDiffable UVector) -< (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -< (ReturnType UVector))) -< (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var x_p)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var y_p)) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var dat)) -< (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -< ((pattern (Var dat_int)) -< (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Real 0.01)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Int 10)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_real UReal ()) -< ((pattern -< (FunApp StanLib EltTimes__ -< (((pattern (Var p_real)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var p_real)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (Assignment (tp_real UReal ()) -< ((pattern -< (FunApp StanLib EltDivide__ -< (((pattern (Var p_real)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Var p_real)) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -< (meta )) -< ((pattern -< (For (loopvar sym1__) -< (lower -< ((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (upper -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (body -< ((pattern -< (Block -< (((pattern -< (NRFunApp CompilerInternal FnCheck__ -< (((pattern (Lit Str greater_or_equal)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Str tp_real_1d_ar[sym1__])) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern -< (Indexed -< ((pattern (Var tp_real_1d_ar)) -< (meta -< ((type_ (UArray UReal)) (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Int 0)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ))))) -< (meta ))))) ---- -> (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SMatrix -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -9277c12434 -< ((pattern (Var N)) ---- -> ((pattern (Lit Int 4)) -9288c12445 -< ((pattern (Var M)) ---- -> ((pattern (Lit Int 5)) -9294,9347c12451,12473 -< (For (loopvar sym3__) -< (lower -< ((pattern (Lit Int 1)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (upper -< ((pattern (Var K)) -< (meta -< ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (body -< ((pattern -< (Block -< (((pattern -< (NRFunApp CompilerInternal FnCheck__ -< (((pattern (Lit Str greater_or_equal)) -< (meta -< ((type_ UReal) (loc ) -< (adlevel DataOnly)))) -< ((pattern -< (Lit Str -< "tp_real_3d_ar[sym1__, sym2__, sym3__]")) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly)))) -< ((pattern -< (Indexed -< ((pattern (Var tp_real_3d_ar)) -< (meta -< ((type_ (UArray (UArray (UArray UReal)))) -< (loc ) (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym2__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym3__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) -< (adlevel AutoDiffable)))) -< ((pattern (Lit Int 0)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))))) -< (meta ))))) -< (meta ))))) ---- -> (Assignment -> (p_ar_mat (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str matrix)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -9359,9389d12484 -< ((pattern (Var N)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (body -< ((pattern -< (Block -< (((pattern -< (NRFunApp CompilerInternal FnCheck__ -< (((pattern (Lit Str less_or_equal)) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -< ((pattern (Lit Str tp_vec[sym1__])) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -< ((pattern -< (Indexed -< ((pattern (Var tp_vec)) -< (meta -< ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -< (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -< ((pattern (Lit Int 0)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -< (meta ))))) -< (meta ))))) -< (meta )) -< ((pattern -< (For (loopvar sym1__) -< (lower -< ((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (upper -9435,9480c12530,12725 -< (NRFunApp CompilerInternal FnCheck__ -< (((pattern (Lit Str greater_or_equal)) -< (meta -< ((type_ UReal) (loc ) -< (adlevel DataOnly)))) -< ((pattern -< (Lit Str -< "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly)))) -< ((pattern -< (Indexed -< ((pattern (Var tp_ar_mat)) -< (meta -< ((type_ -< (UArray (UArray UMatrix))) -< (loc ) -< (adlevel AutoDiffable)))) -< ((Single -< ((pattern (Var sym1__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym2__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym3__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))) -< (Single -< ((pattern (Var sym4__)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly)))))))) -< (meta -< ((type_ UReal) (loc ) -< (adlevel AutoDiffable)))) -< ((pattern (Lit Int 0)) -< (meta -< ((type_ UInt) (loc ) -< (adlevel DataOnly))))))) ---- -> (IfElse -> ((pattern (Var jacobian__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_ar_mat -> (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal -> FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_ar_mat)) -> (meta -> ((type_ -> (UArray -> (UArray UMatrix))) -> (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) -> (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str lub)) -> (meta -> ((type_ UReal) -> (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (p_ar_mat -> (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal -> FnConstrain__ -> (((pattern -> (Indexed -> ((pattern -> (Var p_ar_mat)) -> (meta -> ((type_ -> (UArray -> (UArray UMatrix))) -> (loc ) -> (adlevel -> AutoDiffable)))) -> ((Single -> ((pattern -> (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern -> (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern -> (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern -> (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) -> (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str lub)) -> (meta -> ((type_ UReal) -> (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -9491,9497c12736,14713 -< (For (loopvar sym1__) -< (lower -< ((pattern (Lit Int 1)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -< (upper -< ((pattern (Lit Int 4)) -< (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) ---- -> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex) -> (decl_type -> (Sized -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_in__) -> (decl_type -> (Sized -> (SVector -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (p_simplex_in__ UVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment (p_simplex UVector ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_simplex_in__)) -> (meta -> ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str simplex)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment (p_simplex UVector ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_simplex_in__)) -> (meta -> ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str simplex)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex) -> (decl_type -> (Sized -> (SArray -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_in__) -> (decl_type -> (Sized -> (SArray -> (SVector -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_simplex_in__ (UArray UVector) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_simplex (UArray UVector) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_simplex_in__)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str simplex)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_simplex (UArray UVector) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_simplex_in__)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str simplex)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SArray -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_in__) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SArray -> (SVector -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_simplex_in__ -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_simplex -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern -> (Var p_3d_simplex_in__)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str simplex)) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_simplex -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal -> FnConstrain__ -> (((pattern -> (Indexed -> ((pattern -> (Var p_3d_simplex_in__)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str simplex)) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54) -> (decl_type -> (Sized -> (SMatrix -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_in__) -> (decl_type -> (Sized -> (SVector -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (p_cfcov_54_in__ UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment (p_cfcov_54 UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_cfcov_54_in__)) -> (meta -> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str cholesky_factor)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment (p_cfcov_54 UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_cfcov_54_in__)) -> (meta -> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str cholesky_factor)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33) -> (decl_type -> (Sized -> (SMatrix -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_in__) -> (decl_type -> (Sized -> (SVector -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (p_cfcov_33_in__ UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment (p_cfcov_33 UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_cfcov_33_in__)) -> (meta -> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str cholesky_factor)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment (p_cfcov_33 UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern (Var p_cfcov_33_in__)) -> (meta -> ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Str cholesky_factor)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar) -> (decl_type -> (Sized -> (SArray -> (SMatrix -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_in__) -> (decl_type -> (Sized -> (SArray -> (SVector -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_cfcov_33_ar_in__ (UArray UMatrix) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (IfElse -> ((pattern (Var jacobian__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_cfcov_33_ar (UArray UMatrix) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_33_ar_in__)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str cholesky_factor)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var lp__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta )) -> (((pattern -> (Block -> (((pattern -> (Assignment -> (p_cfcov_33_ar (UArray UMatrix) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnConstrain__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_33_ar_in__)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Str cholesky_factor)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id x_p) -> (decl_type -> (Sized -> (SVector -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (x_p UVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id y_p) -> (decl_type -> (Sized -> (SVector -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (y_p UVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_real_1d_ar) -> (decl_type -> (Sized -> (SArray SReal -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_real_3d_ar) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SArray SReal -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_vec) -> (decl_type -> (Sized -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_vec) -> (decl_type -> (Sized -> (SArray -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_vec) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SArray -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_row_vec) -> (decl_type -> (Sized -> (SRowVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_row_vec) -> (decl_type -> (Sized -> (SArray -> (SRowVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_row_vec) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SArray -> (SRowVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_ar_mat) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SMatrix -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_simplex) -> (decl_type -> (Sized -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_1d_simplex) -> (decl_type -> (Sized -> (SArray -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_3d_simplex) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SArray -> (SVector -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_54) -> (decl_type -> (Sized -> (SMatrix -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33) -> (decl_type -> (Sized -> (SMatrix -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_cfcov_33_ar) -> (decl_type -> (Sized -> (SArray -> (SMatrix -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id theta_p) -> (decl_type -> (Sized -> (SVector -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id tp_real) -> (decl_type (Sized SReal)))) -> (meta )) -> ((pattern -> (Assignment (tp_real_1d_ar (UArray UReal) ()) -> ((pattern (Var p_real_1d_ar)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_real_3d_ar (UArray (UArray (UArray UReal))) ()) -> ((pattern (Var p_real_3d_ar)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) (loc ) -> (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_1d_vec (UArray UVector) ()) -> ((pattern (Var p_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_3d_vec (UArray (UArray (UArray UVector))) ()) -> ((pattern (Var p_3d_vec)) -> (meta -> ((type_ (UArray (UArray (UArray UVector)))) (loc ) -> (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_simplex UVector ()) -> ((pattern (Var p_simplex)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_1d_simplex (UArray UVector) ()) -> ((pattern (Var p_1d_simplex)) -> (meta -> ((type_ (UArray UVector)) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_3d_simplex (UArray (UArray (UArray UVector))) ()) -> ((pattern (Var p_3d_simplex)) -> (meta -> ((type_ (UArray (UArray (UArray UVector)))) (loc ) -> (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_cfcov_54 UMatrix ()) -> ((pattern (Var p_cfcov_54)) -> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_cfcov_33 UMatrix ()) -> ((pattern (Var p_cfcov_33)) -> (meta ((type_ UMatrix) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_cfcov_33_ar (UArray UMatrix) ()) -> ((pattern (Var p_cfcov_33_ar)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (For (loopvar i) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar j) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar m) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar n) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (tp_ar_mat (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var m)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var n)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var i)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var j)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern (Lit Real 0.4)) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar i) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (tp_vec UVector -> ((Single -> ((pattern (Var i)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib PMinus__ -> (((pattern (Lit Real 1.0)) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Indexed -> ((pattern (Var p_vec)) -> (meta -> ((type_ UVector) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var i)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (Assignment (tp_row_vec URowVector ()) -> ((pattern -> (FunApp StanLib Transpose__ -> (((pattern -> (Indexed -> ((pattern (Var tp_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable))))))) -> (meta ((type_ URowVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_1d_row_vec (UArray URowVector) ()) -> ((pattern (Var p_1d_row_vec)) -> (meta -> ((type_ (UArray URowVector)) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_3d_row_vec (UArray (UArray (UArray URowVector))) ()) -> ((pattern (Var p_3d_row_vec)) -> (meta -> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) -> (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (theta_p UVector ()) -> ((pattern -> (FunApp StanLib algebra_solver -> (((pattern (Var algebra_system)) -> (meta -> ((type_ -> (UFun -> ((AutoDiffable UVector) (AutoDiffable UVector) -> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -> (ReturnType UVector))) -> (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var x)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((pattern (Var y)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat_int)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (theta_p UVector ()) -> ((pattern -> (FunApp StanLib algebra_solver -> (((pattern (Var algebra_system)) -> (meta -> ((type_ -> (UFun -> ((AutoDiffable UVector) (AutoDiffable UVector) -> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -> (ReturnType UVector))) -> (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var x)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((pattern (Var y)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat_int)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 10)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (theta_p UVector ()) -> ((pattern -> (FunApp StanLib algebra_solver -> (((pattern (Var algebra_system)) -> (meta -> ((type_ -> (UFun -> ((AutoDiffable UVector) (AutoDiffable UVector) -> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -> (ReturnType UVector))) -> (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var x)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((pattern (Var y_p)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var dat)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat_int)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 10)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (theta_p UVector ()) -> ((pattern -> (FunApp StanLib algebra_solver -> (((pattern (Var algebra_system)) -> (meta -> ((type_ -> (UFun -> ((AutoDiffable UVector) (AutoDiffable UVector) -> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -> (ReturnType UVector))) -> (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var x_p)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var y)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat_int)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (theta_p UVector ()) -> ((pattern -> (FunApp StanLib algebra_solver -> (((pattern (Var algebra_system)) -> (meta -> ((type_ -> (UFun -> ((AutoDiffable UVector) (AutoDiffable UVector) -> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -> (ReturnType UVector))) -> (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var x_p)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var y)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat_int)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 10)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (theta_p UVector ()) -> ((pattern -> (FunApp StanLib algebra_solver -> (((pattern (Var algebra_system)) -> (meta -> ((type_ -> (UFun -> ((AutoDiffable UVector) (AutoDiffable UVector) -> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -> (ReturnType UVector))) -> (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var x_p)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var y_p)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var dat)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat_int)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (theta_p UVector ()) -> ((pattern -> (FunApp StanLib algebra_solver -> (((pattern (Var algebra_system)) -> (meta -> ((type_ -> (UFun -> ((AutoDiffable UVector) (AutoDiffable UVector) -> (AutoDiffable (UArray UReal)) (AutoDiffable (UArray UInt))) -> (ReturnType UVector))) -> (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var x_p)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var y_p)) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var dat)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((pattern (Var dat_int)) -> (meta ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Real 0.01)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 10)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UVector) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_real UReal ()) -> ((pattern -> (FunApp StanLib EltTimes__ -> (((pattern (Var p_real)) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var p_real)) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (tp_real UReal ()) -> ((pattern -> (FunApp StanLib EltDivide__ -> (((pattern (Var p_real)) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Var p_real)) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnCheck__ -> (((pattern (Lit Str greater_or_equal)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Str tp_real_1d_ar[sym1__])) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Indexed -> ((pattern (Var tp_real_1d_ar)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Int 0)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnCheck__ -> (((pattern (Lit Str greater_or_equal)) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Lit Str -> "tp_real_3d_ar[sym1__, sym2__, sym3__]")) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Indexed -> ((pattern (Var tp_real_3d_ar)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) -> (loc ) (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnCheck__ -> (((pattern (Lit Str less_or_equal)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Str tp_vec[sym1__])) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Indexed -> ((pattern (Var tp_vec)) -> (meta -> ((type_ UVector) (loc ) (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))) -> ((pattern (Lit Int 0)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnCheck__ -> (((pattern (Lit Str greater_or_equal)) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Lit Str -> "tp_ar_mat[sym1__, sym2__, sym3__, sym4__]")) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (Indexed -> ((pattern (Var tp_ar_mat)) -> (meta -> ((type_ -> (UArray (UArray UMatrix))) -> (loc ) -> (adlevel AutoDiffable)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))) -> ((pattern (Lit Int 0)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -10522a15739,15746 -> (Assignment (p_real UReal ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -10528a15753,15760 -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (p_upper UReal ()) -> ((pattern -10544a15777,15784 -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -> (Assignment (p_lower UReal ()) -> ((pattern -10579a15820,15844 -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (offset_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -10627a15893,15917 -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (no_offset_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -10675a15966,15990 -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (offset_no_multiplier (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -10723a16039,16063 -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_real_1d_ar (UArray UReal) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -10811a16152,16220 -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str scalar)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_real_3d_ar (UArray (UArray (UArray UReal))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -10864a16274,16283 -> (Assignment (p_vec UVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -10912a16332,16358 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_vec (UArray UVector) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -10929a16376,16448 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_vec (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -10937a16457,16466 -> (Assignment (p_row_vec URowVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str row_vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -10948a16478,16504 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_row_vec (UArray URowVector) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str row_vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -10965a16522,16595 -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_row_vec -> (UArray (UArray (UArray URowVector))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str row_vector)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -11003a16634,16684 -> (Assignment -> (p_ar_mat (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str matrix)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -11120a16802,16829 -> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_in__) -> (decl_type -> (Sized -> (SVector -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (p_simplex_in__ UVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -11124c16833 -< (((pattern (Var p_simplex)) ---- -> (((pattern (Var p_simplex_in__)) -11141a16851,16900 -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_in__) -> (decl_type -> (Sized -> (SArray -> (SVector -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_simplex_in__ (UArray UVector) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -11162c16921 -< ((pattern (Var p_1d_simplex)) ---- -> ((pattern (Var p_1d_simplex_in__)) -11194a16954,17058 -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_in__) -> (decl_type -> (Sized -> (SArray -> (SArray -> (SArray -> (SVector -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_simplex_in__ -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -11252c17116 -< ((pattern (Var p_3d_simplex)) ---- -> ((pattern (Var p_3d_simplex_in__)) -11299a17164,17267 -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_in__) -> (decl_type -> (Sized -> (SVector -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (p_cfcov_54_in__ UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -11303c17271 -< (((pattern (Var p_cfcov_54)) ---- -> (((pattern (Var p_cfcov_54_in__)) -11323a17292,17395 -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_in__) -> (decl_type -> (Sized -> (SVector -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (Assignment (p_cfcov_33_in__ UMatrix ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -11327c17399 -< (((pattern (Var p_cfcov_33)) ---- -> (((pattern (Var p_cfcov_33_in__)) -11350a17423,17562 -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_in__) -> (decl_type -> (Sized -> (SArray -> (SVector -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_cfcov_33_ar_in__ (UArray UMatrix) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -11371c17583 -< ((pattern (Var p_cfcov_33_ar)) ---- -> ((pattern (Var p_cfcov_33_ar_in__)) -11398a17611,17620 -> (Assignment (x_p UVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -11406a17629,17638 -> (Assignment (y_p UVector ()) -> ((pattern -> (FunApp CompilerInternal FnReadParam__ -> (((pattern (Lit Str vector)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UReal) (loc ) (adlevel AutoDiffable)))))) -> (meta )) -> ((pattern -11597a17830,18815 -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var p_real)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var p_upper)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var p_lower)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var offset_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var no_offset_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var offset_no_multiplier)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_real_1d_ar)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_real_3d_ar)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) -> (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_vec)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_3d_vec)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_row_vec)) -> (meta -> ((type_ URowVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_row_vec)) -> (meta -> ((type_ (UArray URowVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_3d_row_vec)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray URowVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_ar_mat)) -> (meta -> ((type_ -> (UArray (UArray UMatrix))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_simplex)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_simplex)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_3d_simplex)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_54)) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_33)) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_33_ar)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var x_p)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var y_p)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -11609c18827,18829 -< ((pattern (Return ())) (meta )) ())) ---- -> ((pattern (Block (((pattern (Return ())) (meta ))))) -> (meta )) -> ())) -12547a19768,20731 -> ((pattern (Var emit_transformed_parameters__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_real_1d_ar)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_real_3d_ar)) -> (meta -> ((type_ -> (UArray (UArray (UArray UReal)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_vec)) -> (meta -> ((type_ UVector) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_3d_vec)) -> (meta -> ((type_ -> (UArray -> (UArray -> (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_row_vec)) -> (meta -> ((type_ URowVector) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_1d_row_vec)) -> (meta -> ((type_ (UArray URowVector)) -> (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern -> (Var tp_3d_row_vec)) -> (meta -> ((type_ -> (UArray -> (UArray -> (UArray URowVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_ar_mat)) -> (meta -> ((type_ -> (UArray -> (UArray UMatrix))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_simplex)) -> (meta -> ((type_ UVector) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_1d_simplex)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern -> (Var tp_3d_simplex)) -> (meta -> ((type_ -> (UArray -> (UArray -> (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) -> (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_cfcov_54)) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_cfcov_33)) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var tp_cfcov_33_ar)) -> (meta -> ((type_ (UArray UMatrix)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var theta_p)) -> (meta -> ((type_ UVector) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var tp_real)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta )) -> ())) -> (meta )) -> ((pattern -> (IfElse -12553c20737,20739 -< ((pattern (Return ())) (meta )) ())) ---- -> ((pattern (Block (((pattern (Return ())) (meta ))))) -> (meta )) -> ())) -13324,13326c21510,21515 -< (NRFunApp CompilerInternal FnReject__ -< (((pattern (Lit Str "indexing test 1 failed")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) ---- -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnReject__ -> (((pattern (Lit Str "indexing test 1 failed")) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -13458,13460c21647,21652 -< (NRFunApp CompilerInternal FnReject__ -< (((pattern (Lit Str "indexing test 2 failed")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) ---- -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnReject__ -> (((pattern (Lit Str "indexing test 2 failed")) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -13641,13643c21833,21838 -< (NRFunApp CompilerInternal FnReject__ -< (((pattern (Lit Str "indexing test 3 failed")) -< (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) ---- -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnReject__ -> (((pattern (Lit Str "indexing test 3 failed")) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -14203a22399,23848 -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var gq_r1)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var gq_r2)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_real_1d_ar)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_real_3d_ar)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) -> (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_vec)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_3d_vec)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_row_vec)) -> (meta -> ((type_ URowVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_1d_row_vec)) -> (meta -> ((type_ (UArray URowVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_3d_row_vec)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray URowVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_ar_mat)) -> (meta -> ((type_ -> (UArray (UArray UMatrix))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_simplex)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_1d_simplex)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_3d_simplex)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_cfcov_54)) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_cfcov_33)) -> (meta -> ((type_ UMatrix) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var gq_cfcov_33_ar)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var indices)) -> (meta -> ((type_ (UArray UInt)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var indexing_mat)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res1)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res2)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res3)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res11)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res21)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res31)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res4)) -> (meta -> ((type_ (UArray URowVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var idx_res5)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -14206a23852,23859 -> (Decl (decl_adtype DataOnly) (decl_id pos__) (decl_type (Sized SInt)))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14209a23863,23876 -> (Assignment (p_real UReal ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_real)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14213a23881,23894 -> (Assignment (p_upper UReal ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_upper)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14233a23915,23928 -> (Assignment (p_lower UReal ()) -> ((pattern -> (Indexed -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_lower)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14257a23953,23960 -> (Assignment (offset_multiplier (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str offset_multiplier)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14313a24017,24024 -> (Assignment (no_offset_multiplier (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str no_offset_multiplier)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14369a24081,24088 -> (Assignment (offset_no_multiplier (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str offset_no_multiplier)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14425a24145,24152 -> (Assignment (p_real_1d_ar (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_real_1d_ar)) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -14485a24213,24325 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_real_3d_ar_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_real_3d_ar_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_real_3d_ar)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_real_3d_ar -> (UArray (UArray (UArray UReal))) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_real_3d_ar_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14606a24447,24509 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_vec)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_vec UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14662a24566,24654 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_1d_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_vec (UArray UVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_1d_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14679a24672,24807 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_3d_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_3d_vec)) -> (meta -> ((type_ (UArray (UArray (UArray UVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_vec -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_3d_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14687a24816,24878 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_row_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_row_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_row_vec)) -> (meta ((type_ URowVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_row_vec URowVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_row_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14698a24890,24979 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_row_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_1d_row_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_1d_row_vec)) -> (meta -> ((type_ (UArray URowVector)) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_row_vec (UArray URowVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_1d_row_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14715a24997,25134 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_row_vec_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_3d_row_vec_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_3d_row_vec)) -> (meta -> ((type_ (UArray (UArray (UArray URowVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_row_vec -> (UArray -> (UArray (UArray URowVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var p_3d_row_vec_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14731a25151,25285 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_ar_mat_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_ar_mat_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_ar_mat)) -> (meta -> ((type_ (UArray (UArray UMatrix))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_ar_mat (UArray (UArray UMatrix)) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_ar_mat_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14887a25442,25504 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_simplex_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_simplex_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_simplex)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_simplex UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_simplex_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14921a25539,25627 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_1d_simplex_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_1d_simplex_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_1d_simplex)) -> (meta -> ((type_ (UArray UVector)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_1d_simplex (UArray UVector) -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_1d_simplex_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -14990a25697,25833 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_3d_simplex_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_3d_simplex_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_3d_simplex)) -> (meta -> ((type_ (UArray (UArray (UArray UVector)))) (loc ) -> (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_3d_simplex -> (UArray (UArray (UArray UVector))) -> ((Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern -> (Var p_3d_simplex_flat__)) -> (meta -> ((type_ (UArray UReal)) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -15117a25961,26048 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_54_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_cfcov_54_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_cfcov_54)) -> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_cfcov_54 UMatrix -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_cfcov_54_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -15186a26118,26205 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_cfcov_33_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_cfcov_33)) -> (meta ((type_ UMatrix) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_cfcov_33 UMatrix -> ((Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_cfcov_33_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -15258a26278,26388 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id p_cfcov_33_ar_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (p_cfcov_33_ar_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str p_cfcov_33_ar)) -> (meta -> ((type_ (UArray UMatrix)) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (p_cfcov_33_ar (UArray UMatrix) -> ((Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var p_cfcov_33_ar_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -15358a26489,26551 -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id x_p_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (x_p_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str x_p)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (x_p UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var x_p_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -15364a26558,27688 -> (meta )) -> ((pattern -> (Block -> (((pattern -> (Decl (decl_adtype AutoDiffable) (decl_id y_p_flat__) -> (decl_type (Unsized (UArray UReal))))) -> (meta )) -> ((pattern -> (Assignment (y_p_flat__ (UArray UReal) ()) -> ((pattern -> (FunApp CompilerInternal FnReadData__ -> (((pattern (Lit Str y_p)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ (UArray UReal)) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (Assignment -> (y_p UVector -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> ((pattern -> (Indexed -> ((pattern (Var y_p_flat__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly)))))) -> (meta )) -> ((pattern -> (Assignment (pos__ UInt ()) -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern (Var pos__)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var p_real)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var p_upper_free__)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern (Var p_lower_free__)) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var offset_multiplier_free__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var no_offset_multiplier_free__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var offset_no_multiplier_free__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_real_1d_ar_free__)) -> (meta -> ((type_ (UArray UReal)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_real_3d_ar_free__)) -> (meta -> ((type_ (UArray (UArray (UArray UReal)))) -> (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_vec_free__)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_vec)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_3d_vec)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_row_vec)) -> (meta -> ((type_ URowVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_row_vec)) -> (meta -> ((type_ (UArray URowVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_3d_row_vec)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray URowVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_ar_mat_free__)) -> (meta -> ((type_ -> (UArray (UArray UMatrix))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_simplex_free__)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_1d_simplex_free__)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var N)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var M)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym3__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym4__) -> (lower -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (upper -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Var N)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal -> FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern -> (Var p_3d_simplex_free__)) -> (meta -> ((type_ -> (UArray -> (UArray (UArray UVector)))) -> (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym3__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym4__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) -> (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 4)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 5)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 4)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_54_free__)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_33_free__)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Var K)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (For (loopvar sym2__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Plus__ -> (((pattern -> (FunApp StanLib Divide__ -> (((pattern -> (FunApp StanLib Times__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))) -> ((pattern (Lit Int 1)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 2)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern -> (FunApp StanLib Times__ -> (((pattern -> (FunApp StanLib Minus__ -> (((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly)))) -> ((pattern (Lit Int 3)) -> (meta -> ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))))) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var p_cfcov_33_ar_free__)) -> (meta -> ((type_ (UArray UVector)) (loc ) -> (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly))))) -> (Single -> ((pattern (Var sym2__)) -> (meta -> ((type_ UInt) (loc ) -> (adlevel DataOnly)))))))) -> (meta -> ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var x_p)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta ))))) -> (meta )) -> ((pattern -> (For (loopvar sym1__) -> (lower -> ((pattern (Lit Int 1)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (upper -> ((pattern (Lit Int 2)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly))))) -> (body -> ((pattern -> (Block -> (((pattern -> (NRFunApp CompilerInternal FnWriteParam__ -> (((pattern -> (Indexed -> ((pattern (Var y_p)) -> (meta ((type_ UVector) (loc ) (adlevel DataOnly)))) -> ((Single -> ((pattern (Var sym1__)) -> (meta ((type_ UInt) (loc ) (adlevel DataOnly)))))))) -> (meta ((type_ UReal) (loc ) (adlevel DataOnly))))))) -> (meta ))))) -> (meta )))))