Details

Time bar (total: 8.7s)

sample73.0ms

Algorithm
intervals
Results
30.0ms905×body80nan
9.0ms284×body80valid

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

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

rewrite148.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:
49.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
11.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
64.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
19.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series495.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
69.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))
175.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
141.0ms
(/ 1.0 (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

prune357.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite244.0ms

Algorithm
rewrite-expression-head
Rules
183×add-sqr-sqrt
175×sqrt-prod
162×times-frac
125×*-un-lft-identity
106×associate-*l*
97×add-cube-cbrt
34×add-exp-log add-cbrt-cube
28×difference-of-squares
14×distribute-lft-out--
13×pow1 prod-exp cbrt-unprod
associate-/r*
cbrt-undiv div-exp associate-*r*
associate-*l/ associate-/l* unswap-sqr
frac-times flip3-- pow-prod-down flip--
sqrt-div associate-/r/ add-log-exp
flip3-+ associate-*r/ *-commutative flip-+ div-inv
distribute-rgt-in sqrt-undiv frac-2neg distribute-lft-in clear-num
Counts
4 → 263
Calls
4 calls:
48.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))))
24.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
66.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
91.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

series888.0ms

Counts
4 → 12
Calls
4 calls:
242.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))))
97.0ms
(/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0))))
201.0ms
(* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand)
347.0ms
(* (/ (sqrt 1.0) (sqrt 9.0)) (* (/ (sqrt 1.0) (sqrt (- a (/ 1.0 3.0)))) rand))

simplify52.0ms

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011893377
150013126

prune818.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
19×*-un-lft-identity sqrt-prod
13×associate-*r*
12×associate-*l*
11×pow1 add-cube-cbrt
flip3-- sqrt-div associate-*r/ prod-exp flip-- cbrt-unprod difference-of-squares
unswap-sqr
cbrt-undiv frac-times times-frac div-exp pow-prod-down add-log-exp
sqrt-pow1 flip3-+ pow1/2 flip-+ distribute-lft-out--
associate-*l/ associate-/r/ *-commutative
distribute-rgt-in rem-sqrt-square frac-2neg distribute-lft-in sqrt-unprod clear-num associate-/r* div-inv distribute-lft-out associate-/l*
Counts
4 → 108
Calls
4 calls:
16.0ms
(sqrt (- a (/ 1.0 3.0)))
89.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
24.0ms
(/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
46.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

series485.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(sqrt (- a (/ 1.0 3.0)))
139.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))))
222.0ms
(/ (* rand 1.0) (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
83.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify102.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
07711277
140151177
250021171

prune362.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite317.0ms

Algorithm
rewrite-expression-head
Rules
52×sqrt-prod
49×times-frac
48×add-sqr-sqrt
42×associate-*l*
41×add-cube-cbrt *-un-lft-identity
15×add-exp-log add-cbrt-cube
13×sqrt-div
11×pow1
associate-*r/
associate-/r* associate-/r/
associate-/l*
flip3-- associate-*r* pow-prod-down associate-*l/ prod-exp flip-- cbrt-unprod div-inv add-log-exp
unswap-sqr
cbrt-undiv frac-2neg div-exp clear-num *-commutative
frac-times
Counts
4 → 144
Calls
4 calls:
66.0ms
(* (sqrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand)
210.0ms
(* (sqrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) (* (sqrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand))
19.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
16.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
565.0ms
(* (sqrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand)
300.0ms
(* (sqrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) (* (sqrt (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))) rand))
143.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
141.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))

simplify90.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08291775
136061598
250011598

prune735.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes90.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
01811
11811

end0.0ms

sample1.9s

Algorithm
intervals
Results
784.0ms26824×body80nan
292.0ms9113×body80valid