Source
tests/statistical/discrete-computed-g.det
let p = bernoulli[G](0.5) in discrete[E](p/2,0.25,*)