funsor icon indicating copy to clipboard operation
funsor copied to clipboard

Add constant folding and propagation patterns

Open eb8680 opened this issue 5 years ago • 0 comments

In #161 and #157 we've seen test failures caused by a failure to reduce expressions like 0 + Gaussian(...) or 1 * Gaussian(...). We should add any missing patterns for constant folding and propagation and move them into the normalize interpreter in #156.

Partly handled in #165 (units only)

eb8680 avatar Jul 17 '19 18:07 eb8680