Details

Time bar (total: 7.6s)

sample81.0ms

Algorithm
intervals
Results
37.0ms988×body80nan
11.0ms298×body80valid

simplify106.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

localize10.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)))))

rewrite109.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:
29.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:
121.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
77.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
188.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
153.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify91.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08601391
137681282
250011276

prune406.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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)))))
8.3b
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×times-frac
25×*-un-lft-identity
24×associate-*l*
23×add-cube-cbrt
20×add-exp-log add-cbrt-cube
14×pow1
sqrt-prod
associate-*r/ prod-exp cbrt-unprod
sqrt-div associate-*l/
flip3-- pow-prod-down flip--
expm1-log1p-u associate-*r* associate-/r* associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv div-exp associate-/l*
frac-times sqrt-pow1 *-commutative div-inv difference-of-squares unswap-sqr
frac-2neg pow1/2 clear-num distribute-lft-out--
Counts
4 → 119
Calls
4 calls:
32.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
35.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
106.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

series592.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
191.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
152.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
168.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

simplify77.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07871284
131571135
250021129

prune385.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
103×add-exp-log
101×add-sqr-sqrt
82×times-frac
69×*-un-lft-identity
61×associate-*l* add-cbrt-cube
55×prod-exp
53×add-cube-cbrt
52×sqrt-prod
29×cbrt-unprod
22×div-exp
20×pow1
16×difference-of-squares
15×associate-*l/
12×cbrt-undiv
10×frac-times pow-prod-down
associate-/r*
distribute-lft-out--
associate-*r/
rec-exp flip3-- 1-exp flip--
associate-*r*
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u add-log-exp
*-commutative div-inv associate-/l* unswap-sqr
frac-2neg clear-num
Counts
4 → 217
Calls
4 calls:
36.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
13.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
42.0ms
(* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))
129.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)))

series673.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
80.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
239.0ms
(* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))
197.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)))

simplify50.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011302423
150012058

prune620.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
160×add-sqr-sqrt
128×*-un-lft-identity
124×times-frac
112×add-cube-cbrt
78×prod-diff
49×sqrt-prod
41×distribute-rgt-in distribute-lft-in
34×add-exp-log associate-*l* add-cbrt-cube
16×difference-of-squares
15×associate-/r*
12×prod-exp cbrt-unprod
11×pow1
associate-*r* associate-*l/ div-inv
cbrt-undiv div-exp distribute-lft-out--
flip3-- flip--
associate-/l/
expm1-log1p-u frac-times sqrt-div associate-*r/ pow-prod-down associate-/r/ log1p-expm1-u associate-/l* add-log-exp
unswap-sqr
sub-neg frac-2neg clear-num *-commutative
Counts
4 → 260
Calls
4 calls:
36.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
67.0ms
(/ (* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0))) (sqrt 9.0))
13.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
66.0ms
(* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
161.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
208.0ms
(/ (* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0))) (sqrt 9.0))
78.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
132.0ms
(* (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand) (- a (/ 1.0 3.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015524634
150013952

prune681.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes57.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01914
11914

end0.0ms

sample1.8s

Algorithm
intervals
Results
870.0ms27681×body80nan
320.0ms9139×body80valid