diff --git a/test/integration/good/code-gen/dune b/test/integration/good/code-gen/dune index 3f33872722..c0da32e7ba 100644 --- a/test/integration/good/code-gen/dune +++ b/test/integration/good/code-gen/dune @@ -20,6 +20,17 @@ (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})))) + +(alias + (name runtest) + (action (diff transformed_mir.expected transformed_mir.output))) + (rule (targets cl.output) (deps (package stanc) (:stanfiles optimize_glm.stan)) 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.