Details

Time bar (total: 6.8s)

sample60.0ms

Algorithm
intervals
Results
26.0ms796×body80nan
10.0ms295×body80valid

simplify89.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.2b

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.2b
(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)))))

rewrite47.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:
10.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))))
13.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
13.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series553.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)))
79.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
195.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
152.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify90.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
08231338
136071238
250021238

prune379.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series470.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* 9.0 (- a (/ 1.0 3.0)))
128.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))))
81.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
214.0ms
(/ (* 1.0 rand) (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify79.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07441044
13484958
25001958

prune301.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
132×add-sqr-sqrt
93×times-frac
72×*-un-lft-identity
63×sqrt-prod
54×add-cube-cbrt
36×associate-*r*
28×associate-*l*
20×add-exp-log add-cbrt-cube
18×difference-of-squares
10×unswap-sqr
pow1 associate-/r* distribute-lft-out--
flip3-- sqrt-div flip--
cbrt-undiv frac-times div-exp prod-exp cbrt-unprod
associate-/r/ add-log-exp
flip3-+ associate-*r/ associate-*l/ flip-+ div-inv associate-/l*
pow-prod-down *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-pow1 pow1/2 clear-num
Counts
4 → 186
Calls
4 calls:
6.0ms
(sqrt (- a (/ 1.0 3.0)))
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt 9.0)) (/ rand (sqrt (- a (/ 1.0 3.0)))))))
9.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
26.0ms
(* (/ 1.0 (sqrt 9.0)) (/ rand (sqrt (- a (/ 1.0 3.0)))))

series555.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(sqrt (- a (/ 1.0 3.0)))
167.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt 9.0)) (/ rand (sqrt (- a (/ 1.0 3.0)))))))
91.0ms
(/ rand (sqrt (- a (/ 1.0 3.0))))
251.0ms
(* (/ 1.0 (sqrt 9.0)) (/ rand (sqrt (- a (/ 1.0 3.0)))))

simplify119.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010332136
148022003
250032003

prune575.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
154×times-frac
122×sqrt-prod
60×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
44×sqrt-div
24×associate-*r/
20×associate-/r/
18×add-exp-log add-cbrt-cube
14×associate-/r* associate-/l*
12×flip3-- flip--
10×pow1 div-inv
cbrt-undiv div-exp
sqrt-pow1 add-log-exp
frac-2neg pow1/2 pow-prod-down prod-exp clear-num cbrt-unprod
associate-/l/
Counts
4 → 187
Calls
4 calls:
10.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
12.0ms
(/ (* 1.0 rand) (sqrt (sqrt (* 9.0 (- a (/ 1.0 3.0))))))
23.0ms
(/ (/ (* 1.0 rand) (sqrt (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) (sqrt (sqrt (* 9.0 (- a (/ 1.0 3.0))))))

series708.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
010103556
139823207
250023207

prune541.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes104.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
01711
11711

end0.0ms

sample1.8s

Algorithm
intervals
Results
905.0ms27219×body80nan
318.0ms9136×body80valid