$ cat p1.hk
fn x prob: x*123
$ ~/.cabal/bin/simplify --debug p1.hk
Sent to Maple:
use Hakaru, NewSLO in timelimit(90, RoundTrip(lam(x, HReal(Bound(`>=`,0)), (x * 123)), HFunction(HReal(Bound(`>=`,0)), HReal(Bound(`>=`,0))))) end use;
Returning from Maple:
lam(x,HReal(Bound(`>=`,0)),123*x)
fn x prob: (x / 1)
Change prob to real makes simplify produce the right output again.
Change
prob
toreal
makessimplify
produce the right output again.