Open ccshan opened 5 years ago
The correct output should be the following right?
x3 = -prob2real(∞)
x4 = prob2real(∞)
integrate x5 from x3 to x4:
if nat2real(0) < x5: nat2prob(1) else: 0/1
That output is correct!
Ok I think my recent change fixed the problem, but I'm not entirely confident if my change is the correct thing to do. I'm looking over Preserving Sharing in the Partial Evaluation of Lazy Functional Programs to see if I should have residualized the heap somewhere else instead.
The variable
x5
produced above is unbound.