Details

Time bar (total: 6.0s)

sample55.0ms

Algorithm
intervals
Results
28.0ms139×body5120exit
6.0ms199×body80valid
3.0ms107×body80overflowed
3.0ms25×body320valid
3.0ms16×body640valid
1.0ms17×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.3b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(/ wj (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
4.8b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
118×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
21×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
add-log-exp
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1
frac-2neg clear-num
diff-log frac-sub distribute-lft-out-- difference-of-squares
sub-neg flip3-- associate--l+ sum-log flip-- associate-/l/
Counts
4 → 176
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
30.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series152.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ x (+ wj 1))
27.0ms
(/ wj (+ wj 1))
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
62.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify78.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07211524
133031471
250021469

prune561.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1853188
Fresh011
Picked101
Done000
Total1864190

Merged error: 0.4b

Counts
190 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ x (pow wj 2)) (* 2 (* wj x)))
0.0b
(* 2 (* wj x))
0.0b
(+ x (pow wj 2))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt
associate-*l* pow-prod-down prod-exp cbrt-unprod
diff-log sum-log
+-commutative sub-neg flip3-- flip3-+ associate-*r* associate--l+ *-commutative flip-- flip-+ distribute-lft-out
Counts
3 → 44
Calls
3 calls:
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
5.0ms
(* 2 (* wj x))
4.0ms
(+ x (pow wj 2))

series81.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
19.0ms
(* 2 (* wj x))
32.0ms
(+ x (pow wj 2))

simplify129.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0202245
1794228
24222225
35001225

prune90.0ms

Filtered
53 candidates to 32 candidates (60.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New49453
Fresh033
Picked011
Done000
Total49857

Merged error: 0.4b

Counts
57 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
12.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series1.3s

Counts
4 → 12
Calls
4 calls:
280.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
330.0ms
(cbrt (+ x (pow wj 2)))
320.0ms
(cbrt (+ x (pow wj 2)))
321.0ms
(cbrt (+ x (pow wj 2)))

simplify166.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (156.0ms)

IterNodesCost
0252878
1944827
24715760
35001749

prune253.0ms

Filtered
107 candidates to 75 candidates (70.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1043107
Fresh336
Picked101
Done011
Total1087115

Merged error: 0.4b

Counts
115 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))
0.0b
(/ wj (+ wj 1))
0.0b
(* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj))))
4.8b
(- (+ (* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
257×times-frac
189×add-sqr-sqrt
172×*-un-lft-identity
126×add-cube-cbrt
112×associate-*l*
86×sqrt-prod
29×add-exp-log add-cbrt-cube
22×associate-*r* distribute-lft-out
15×unswap-sqr
14×associate-/r/
11×cbrt-undiv div-exp
10×associate-/r* div-inv
flip3-+ flip-+ add-log-exp
pow1 prod-exp cbrt-unprod associate-/l*
frac-2neg diff-log clear-num frac-sub associate-/l/ difference-of-squares
frac-times associate-+r- sub-neg flip3-- div-sub associate-*r/ pow-prod-down associate-*l/ associate--l+ sum-log *-commutative flip-- distribute-lft-out--
Counts
4 → 267
Calls
4 calls:
10.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))
5.0ms
(/ wj (+ wj 1))
62.0ms
(* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj))))
36.0ms
(- (+ (* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))
21.0ms
(/ wj (+ wj 1))
90.0ms
(* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj))))
178.0ms
(- (+ (* (/ (/ x (+ (pow wj 3) 1)) (sqrt (exp wj))) (/ (+ (* wj wj) (- 1 (* wj 1))) (sqrt (exp wj)))) wj) (/ wj (+ wj 1)))

simplify67.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012664414
150024174

prune771.0ms

Filtered
279 candidates to 187 candidates (67.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2790279
Fresh055
Picked011
Done011
Total2797286

Merged error: 0.4b

Counts
286 → 7

regimes99.0ms

Accuracy

75.4% (0.4b remaining)

Error of 0.7b against oracle of 0.3b and baseline of 1.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04732
15832
25832

end0.0ms

sample1.6s

Algorithm
intervals
Results
801.0ms3939×body5120exit
216.0ms6359×body80valid
116.0ms3820×body80overflowed
84.0ms766×body320valid
72.0ms441×body640valid
36.0ms529×body160valid

Profiling

Loading profile data...