Details

Time bar (total: 6.6s)

sample59.0ms

Algorithm
intervals
Results
26.0ms838×body80nan
10.0ms296×body80valid

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

localize14.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.2b
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
0.3b
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

rewrite84.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:
30.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
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)))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series535.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08231338
136071238
250021238

prune352.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite162.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:
35.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
10.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
7.0ms
(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))

series742.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
151.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
249.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
164.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 (16.0ms)

IterNodesCost
07541232
130481085
250011085

prune348.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 9.0 (- a (/ 1.0 3.0)))
0.2b
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
0.4b
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
8.6b
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
16×associate-*r*
15×*-un-lft-identity
11×pow1 add-cube-cbrt
10×times-frac
associate-*r/ associate-*l*
flip3-- sqrt-div prod-exp flip-- cbrt-unprod
cbrt-undiv div-exp associate-/r* sqrt-prod associate-/r/ add-log-exp difference-of-squares
pow-prod-down
distribute-rgt-in frac-times sub-neg distribute-lft-in sqrt-pow1 associate-*l/ *-commutative div-inv distribute-lft-out-- unswap-sqr
frac-2neg pow1/2 clear-num associate-/l*
Counts
4 → 102
Calls
4 calls:
24.0ms
(* 9.0 (- a (/ 1.0 3.0)))
10.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
6.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
51.0ms
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

series469.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* 9.0 (- a (/ 1.0 3.0)))
190.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
74.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
159.0ms
(* (- a (/ 1.0 3.0)) (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

simplify73.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06971023
13246897
25001897

prune305.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite208.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log add-sqr-sqrt add-cbrt-cube
21×associate-*l*
18×*-un-lft-identity
15×pow1
14×add-cube-cbrt prod-exp cbrt-unprod
13×associate-*r* sqrt-prod
times-frac
associate-*r/ pow-prod-down
cbrt-undiv sqrt-div div-exp associate-*l/
flip3-- flip-- unswap-sqr
associate-/r/ add-log-exp difference-of-squares
*-commutative associate-/l*
frac-times sqrt-pow1 pow1/2 div-inv distribute-lft-out--
frac-2neg sqrt-unprod clear-num associate-/r*
Counts
4 → 117
Calls
4 calls:
41.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
26.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))
10.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
125.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand))

series670.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
88.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))
179.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
190.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand))

simplify91.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07801350
137261161
250011157

prune329.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes71.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
02219
12219

end0.0ms

sample1.7s

Algorithm
intervals
Results
866.0ms27276×body80nan
322.0ms9140×body80valid