Details

Time bar (total: 7.1s)

sample82.0ms

Algorithm
intervals
Results
40.0ms936×body80nan
15.0ms295×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02710
17210
219210
343710
481610
5157810
6276410
7500210

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

rewrite49.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)))
13.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
14.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
7.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

series544.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)))
153.0ms
(/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0)))))
192.0ms
(* (/ 1.0 (sqrt (* 9.0 (- a (/ 1.0 3.0))))) rand)
76.0ms
(sqrt (* 9.0 (- a (/ 1.0 3.0))))

simplify88.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08231338
136091238
250011238

prune328.0ms

Filtered
126 candidates to 105 candidates (83.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1188126
Fresh000
Picked101
Done000
Total1198127

Merged error: 0.0b

Counts
127 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

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

series683.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)))
196.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
230.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
94.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))

simplify107.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
08461427
141301300
250011296

prune303.0ms

Filtered
130 candidates to 95 candidates (73.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh347
Picked101
Done000
Total1326138

Merged error: 0b

Counts
138 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.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:
12.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
15.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
12.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))
20.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand))

series731.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0)))))
229.0ms
(* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand)
95.0ms
(* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))
220.0ms
(* (- a (/ 1.0 3.0)) (* (/ 1.0 (* (sqrt 9.0) (sqrt (- a (/ 1.0 3.0))))) rand))

simplify89.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07801350
137291161
250011157

prune308.0ms

Filtered
129 candidates to 90 candidates (69.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh055
Picked011
Done000
Total1296135

Merged error: 0b

Counts
135 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
104×add-sqr-sqrt
82×times-frac
70×*-un-lft-identity
61×associate-*l*
54×add-cube-cbrt
52×add-exp-log sqrt-prod
34×add-cbrt-cube
23×prod-exp
16×difference-of-squares
13×pow1 cbrt-unprod
12×div-exp
associate-/r*
distribute-lft-out--
cbrt-undiv associate-*r*
associate-*l/
frac-times flip3-- pow-prod-down flip--
sqrt-div associate-/r/ add-log-exp unswap-sqr
rec-exp flip3-+ 1-exp associate-*r/ *-commutative flip-+ div-inv associate-/l*
distribute-rgt-in frac-2neg distribute-lft-in clear-num
Counts
4 → 191
Calls
4 calls:
10.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))))
14.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
9.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
18.0ms
(* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))

series686.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(* (- a (/ 1.0 3.0)) (+ 1.0 (* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))))
163.0ms
(* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand)
83.0ms
(/ 1.0 (sqrt (- a (/ 1.0 3.0))))
278.0ms
(* (/ 1 (sqrt 9.0)) (* (/ 1.0 (sqrt (- a (/ 1.0 3.0)))) rand))

simplify48.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010862160
150011926

prune469.0ms

Filtered
203 candidates to 144 candidates (70.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2030203
Fresh044
Picked011
Done011
Total2036209

Merged error: 0b

Counts
209 → 6

regimes109.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
02014
12014

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s27160×body80nan
408.0ms9119×body80valid

Profiling

Loading profile data...