Details

Time bar (total: 8.6s)

sample68.0ms

Algorithm
intervals
Results
29.0ms988×body80nan
10.0ms298×body80valid

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

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

rewrite89.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--
frac-times associate-/r* associate-/r/ 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 → 114
Calls
4 calls:
28.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
39.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series532.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
187.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
143.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify91.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08231338
136071238
250021238

prune383.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

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

rewrite170.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--
associate-*r* associate-/r* associate-/r/ 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 → 111
Calls
4 calls:
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
38.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
9.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
112.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

series585.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
187.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
156.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
167.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand))

simplify72.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07541232
130481085
250011085

prune380.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite290.0ms

Algorithm
rewrite-expression-head
Rules
180×add-sqr-sqrt
175×sqrt-prod
162×times-frac
124×*-un-lft-identity
106×associate-*l*
96×add-cube-cbrt
61×add-exp-log add-cbrt-cube
29×prod-exp cbrt-unprod
28×difference-of-squares
20×pow1
15×associate-*l/
14×distribute-lft-out--
12×cbrt-undiv div-exp
10×frac-times pow-prod-down
associate-/r*
associate-*r/
flip3-- flip-- associate-/l*
associate-*r* unswap-sqr
sqrt-div associate-/r/ add-log-exp
*-commutative div-inv
sqrt-undiv frac-2neg clear-num
Counts
4 → 275
Calls
4 calls:
47.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
15.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
57.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))
157.0ms
(* (- a (/ 1.0 3.0)) (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)))

series1.0s

Counts
4 → 12
Calls
4 calls:
225.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
105.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
356.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))
327.0ms
(* (- a (/ 1.0 3.0)) (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)))

simplify56.0ms

Algorithm
egg-herbie
Counts
287 → 287
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011763543
150013102

prune858.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite204.0ms

Algorithm
rewrite-expression-head
Rules
194×add-sqr-sqrt
179×sqrt-prod
166×times-frac
124×*-un-lft-identity
96×add-cube-cbrt
67×associate-*l*
52×add-exp-log add-cbrt-cube
44×associate-*r*
28×difference-of-squares
25×prod-exp cbrt-unprod
20×pow1
18×associate-*l/
14×distribute-lft-out--
11×frac-times
10×pow-prod-down unswap-sqr
cbrt-undiv div-exp associate-/r*
flip3-- flip--
associate-/l*
sqrt-div associate-*r/ associate-/r/ add-log-exp
*-commutative div-inv
sqrt-undiv frac-2neg clear-num
Counts
4 → 278
Calls
4 calls:
47.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
15.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
39.0ms
(* (- a (/ 1.0 3.0)) (/ (sqrt 1.0) (sqrt 9.0)))
88.0ms
(* (* (- a (/ 1.0 3.0)) (/ (sqrt 1.0) (sqrt 9.0))) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

series810.0ms

Counts
4 → 12
Calls
4 calls:
220.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
106.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
154.0ms
(* (- a (/ 1.0 3.0)) (/ (sqrt 1.0) (sqrt 9.0)))
331.0ms
(* (* (- a (/ 1.0 3.0)) (/ (sqrt 1.0) (sqrt 9.0))) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

simplify54.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011433291
150022945

prune954.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes67.0ms

Accuracy

0% (0.1b 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
02217
12217

end0.0ms

sample1.7s

Algorithm
intervals
Results
855.0ms27681×body80nan
309.0ms9139×body80valid