Details

Time bar (total: 7.2s)

sample73.0ms

Algorithm
intervals
Results
30.0ms884×body80nan
13.0ms293×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17610
221110
353010
4106510
5219810
6379410
7500110

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
0.1b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
0.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
26×*-un-lft-identity times-frac
24×add-cube-cbrt associate-*l*
13×add-exp-log add-cbrt-cube
11×pow1
associate-*r/ sqrt-prod
flip3-- sqrt-div associate-*r* flip--
expm1-log1p-u frac-times associate-/r* associate-/r/ log1p-expm1-u add-log-exp
flip3-+ pow-prod-down associate-*l/ prod-exp cbrt-unprod flip-+ associate-/l* unswap-sqr
cbrt-undiv sqrt-pow1 div-exp *-commutative div-inv difference-of-squares
distribute-rgt-in frac-2neg distribute-lft-in pow1/2 clear-num distribute-lft-out--
Counts
4 → 122
Calls
4 calls:
28.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
30.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
37.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series539.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
73.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
193.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
148.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08601389
137741282
250011276

prune397.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)))
0.2b
(* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
0.5b
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

rewrite162.0ms

Algorithm
rewrite-expression-head
Rules
142×add-sqr-sqrt
102×times-frac
76×*-un-lft-identity
62×add-exp-log sqrt-prod
54×add-cube-cbrt
39×associate-*r*
38×add-cbrt-cube
29×associate-*l*
26×prod-exp
17×div-exp
16×difference-of-squares unswap-sqr
14×cbrt-unprod
13×pow1
cbrt-undiv associate-/r*
distribute-lft-out--
associate-*l/
frac-times
flip3-- pow-prod-down flip--
expm1-log1p-u rec-exp sqrt-div 1-exp associate-*r/ associate-/r/ log1p-expm1-u add-log-exp
flip3-+ *-commutative flip-+ div-inv associate-/l*
distribute-rgt-in frac-2neg distribute-lft-in clear-num
Counts
4 → 217
Calls
4 calls:
28.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)))
59.0ms
(* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)
13.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
52.0ms
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

series652.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)))
223.0ms
(* (* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0))))) rand)
82.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
189.0ms
(* (/ 1 (sqrt 9.0)) (/ 1.0 (sqrt (- a (/ 1.0 3.0)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012192615
150022311

prune610.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- a (/ 1.0 3.0)))
0.1b
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))))
0.3b
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
0.3b
(* rand (/ 1.0 (sqrt 9.0)))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
35×*-un-lft-identity
33×times-frac
28×sqrt-prod
26×associate-*r*
25×add-cube-cbrt
20×add-exp-log add-cbrt-cube
pow1 associate-*l* associate-/r*
difference-of-squares
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod
expm1-log1p-u frac-times sqrt-div associate-*r/ log1p-expm1-u distribute-lft-out-- add-log-exp unswap-sqr
flip3-+ flip-+
pow-prod-down associate-*l/ associate-/r/ *-commutative div-inv
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num associate-/l/ distribute-lft-out associate-/l*
Counts
4 → 138
Calls
4 calls:
16.0ms
(sqrt (- a (/ 1.0 3.0)))
112.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))))
17.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
11.0ms
(* rand (/ 1.0 (sqrt 9.0)))

series514.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(sqrt (- a (/ 1.0 3.0)))
165.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))))
245.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
66.0ms
(* rand (/ 1.0 (sqrt 9.0)))

simplify117.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
08651424
143181315
250011313

prune452.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
0.3b
(* rand (/ 1.0 (sqrt 9.0)))
0.3b
(* rand (/ 1.0 (sqrt 9.0)))
0.3b
(* rand (/ 1.0 (sqrt 9.0)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
84×add-sqr-sqrt
71×times-frac
66×associate-*r*
54×*-un-lft-identity
50×add-cube-cbrt
42×sqrt-prod
28×add-exp-log add-cbrt-cube
10×pow1
associate-*l* associate-/r* unswap-sqr
prod-exp cbrt-unprod
cbrt-undiv div-exp
expm1-log1p-u associate-*r/ log1p-expm1-u div-inv add-log-exp difference-of-squares
pow-prod-down *-commutative
sqrt-div associate-/r/ distribute-lft-out--
flip3-- frac-2neg clear-num flip-- associate-/l/ associate-/l*
Counts
4 → 172
Calls
4 calls:
17.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
11.0ms
(* rand (/ 1.0 (sqrt 9.0)))
11.0ms
(* rand (/ 1.0 (sqrt 9.0)))
11.0ms
(* rand (/ 1.0 (sqrt 9.0)))

series434.0ms

Counts
4 → 12
Calls
4 calls:
238.0ms
(/ (* rand (/ 1.0 (sqrt 9.0))) (sqrt (- a (/ 1.0 3.0))))
66.0ms
(* rand (/ 1.0 (sqrt 9.0)))
65.0ms
(* rand (/ 1.0 (sqrt 9.0)))
66.0ms
(* rand (/ 1.0 (sqrt 9.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05391160
125871054
250011026

prune575.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.0b

regimes136.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01710
11710

end0.0ms

sample1.8s

Algorithm
intervals
Results
895.0ms27439×body80nan
331.0ms9133×body80valid