Details

Time bar (total: 4.6s)

sample73.0ms

Algorithm
intervals
Results
49.0ms241×body10240exit
6.0ms207×body80valid
2.0ms13×body640valid
2.0ms19×body320valid
1.0ms21×body160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.5b

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))
4.7b
(- (+ (/ (/ 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:
24.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)))

series171.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
23.0ms
(/ x (+ wj 1))
44.0ms
(/ (/ x (+ wj 1)) (exp wj))
54.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify75.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06741485
130581436
250021434

prune401.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* *-commutative add-log-exp
Counts
1 → 18
Calls
1 calls:
5.0ms
(* 2 (* wj x))

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.0ms
(* 2 (* wj x))

simplify86.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
08666
131856
2123556
3344456
4500156

prune36.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series111.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ wj (+ wj 1))
22.0ms
(/ x (+ wj 1))
44.0ms
(/ (/ x (+ wj 1)) (exp wj))
25.0ms
(- wj (/ wj (+ wj 1)))

simplify68.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06341321
128441269
250011267

prune417.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow wj 4) (pow wj 2))
0.0b
(/ x (+ wj 1))
0.0b
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
0.0b
(/ (/ x (+ wj 1)) (exp wj))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
103×*-un-lft-identity
71×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
associate-/r*
flip3-+ flip-+ div-inv
pow1 cbrt-undiv div-exp difference-of-squares
frac-2neg diff-log clear-num sum-log distribute-lft-out--
+-commutative sub-neg unpow-prod-down flip3-- cube-prod associate--l+ flip-- associate-/l/ sqr-pow
Counts
4 → 155
Calls
4 calls:
6.0ms
(+ (pow wj 4) (pow wj 2))
5.0ms
(/ x (+ wj 1))
12.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))

series163.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(+ (pow wj 4) (pow wj 2))
22.0ms
(/ x (+ wj 1))
25.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
45.0ms
(/ (/ x (+ wj 1)) (exp wj))

simplify71.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06371315
128741259
250011257

prune521.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes52.0ms

Accuracy

0% (0.9b remaining)

Error of 0.9b against oracle of 0.1b and baseline of 0.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7462×body10240exit
201.0ms6268×body80valid
83.0ms819×body320valid
73.0ms464×body640valid
32.0ms524×body160valid