Simulated Method of Moments / Indirect inference: how might ModelingToolkit be extended to provide convenient user inteface?

Standard quadrature methods, yes, but there are symbolic-numeric techniques for deriving problem-specific sparse quadratures.

https://dl.acm.org/doi/10.1145/1073884.1073898

The whole point is to derive isometries and build problem-specific quadratures based on the symmetries. If your argument is that standard methods don’t work, that :man_shrugging: okay I agree but that’s why no one suggested doing that.

If you have numerical methods solving equations, symbolic systems can help improve it. Automatic parallelization of code, sparsity handling, tearing, etc. I’m not sure what the hold up is? Is parallelism not good? I’m confused by your argument.

Quite the opposite. The whole purpose is to help the derivation of tailor made moments and expansions in special ways no one would ever want to write out by hand. In the same way, would you ever want to tear nonlinear systems by hand?

I don’t think you’re quite understanding the symbolic-numeric approach and instead are thinking about some pure symbolic world. This isn’t SymPy. It’s more akin to generalized automatic differentiation to problems other than differentiation.