Details

Time bar (total: 5.2s)

sample53.0ms

Algorithm
intervals
Results
19.0ms97×body5120exit
7.0ms205×body80valid
3.0ms113×body80overflowed
3.0ms16×body640valid
2.0ms19×body320valid
1.0ms18×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (5.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune15.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.5b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
115×times-frac
103×*-un-lft-identity
69×add-sqr-sqrt
64×add-cube-cbrt
21×associate-/l*
18×distribute-lft-out
11×add-cbrt-cube add-log-exp
10×associate-/r/
add-exp-log
flip3-+ associate-/r* flip-+
div-inv
pow1 cbrt-undiv div-exp
frac-2neg diff-log clear-num sum-log frac-sub distribute-lft-out-- difference-of-squares
+-commutative sub-neg flip3-- associate--l+ flip-- associate-/l/
Counts
4 → 155
Calls
4 calls:
25.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
5.0ms
(/ x (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
29.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
5.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
15.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify76.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06741485
130581436
250021434

prune1.5s

Filtered
167 candidates to 124 candidates (25.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1625167
Fresh101
Picked101
Done000
Total1645169

Merged error: 0.3b

Counts
169 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series12.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(* 2 (* wj x))
8.0ms
(+ x (pow wj 2))

simplify64.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0149128
1551109
22317108
35001108

prune98.0ms

Filtered
36 candidates to 21 candidates (41.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh044
Picked011
Done000
Total33841

Merged error: 0.2b

Counts
41 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.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:
20.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
8.0ms
(cbrt (+ x (pow wj 2)))
7.0ms
(cbrt (+ x (pow wj 2)))
8.0ms
(cbrt (+ x (pow wj 2)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
53.0ms
(cbrt (+ x (pow wj 2)))
54.0ms
(cbrt (+ x (pow wj 2)))
62.0ms
(cbrt (+ x (pow wj 2)))

simplify131.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0286944
1927893
24130787
35001764

prune476.0ms

Filtered
107 candidates to 72 candidates (32.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh066
Picked011
Done011
Total1078115

Merged error: 0.2b

Counts
115 → 8

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2 (* wj x))
0.0b
(+ x (pow wj 2))
3.4b
(log (exp (* 2 (* wj x))))

rewrite13.0ms

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

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 2 (* wj x))
6.0ms
(+ x (pow wj 2))
4.0ms
(log (exp (* 2 (* wj x))))

simplify71.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0171187
1614164
22294163
35001163

prune109.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New51253
Fresh055
Picked101
Done022
Total52961

Merged error: 0.2b

Counts
61 → 9

regimes154.0ms

Accuracy

0% (1.6b remaining)

Error of 2.1b against oracle of 0.5b and baseline of 2.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample1.9s

Algorithm
intervals
Results
869.0ms3957×body5120exit
229.0ms6252×body80valid
131.0ms3840×body80overflowed
100.0ms848×body320valid
78.0ms446×body640valid
39.0ms528×body160valid

Profiling

Loading profile data...