Details

Time bar (total: 5.7s)

sample60.0ms

Algorithm
intervals
Results
39.0ms225×body10240exit
6.0ms216×body80valid
2.0ms19×body320valid
1.0msbody640valid
1.0ms16×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.8b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite454.0ms

Algorithm
rewrite-expression-head
Rules
231×*-un-lft-identity
175×times-frac
129×add-sqr-sqrt
124×add-cube-cbrt
72×prod-diff
52×distribute-lft-out
24×associate-/l*
20×associate-/r/
13×add-cbrt-cube
11×add-exp-log flip3-+ associate-/r* flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u fma-neg log1p-expm1-u
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 → 260
Calls
4 calls:
5.0ms
(/ wj (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ x (+ wj 1))
418.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series143.0ms

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

simplify128.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
010154090
145553249
250013243

prune510.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
fma-def associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 37
Calls
2 calls:
6.0ms
(* 2 (* wj x))
8.0ms
(+ x (pow wj 2))

series46.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(* 2 (* wj x))
28.0ms
(+ x (pow wj 2))

simplify67.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0156135
1574114
22444114
35001112

prune95.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite6.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
expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
1 → 20
Calls
1 calls:
6.0ms
(* 2 (* wj x))

series22.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

prune47.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt wj)
0.7b
(cbrt wj)
0.7b
(cbrt wj)
8.0b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (cbrt wj) (cbrt wj)) (/ (+ wj 1) (cbrt wj))))

rewrite445.0ms

Algorithm
rewrite-expression-head
Rules
226×*-un-lft-identity
213×times-frac
132×prod-diff
115×add-sqr-sqrt
105×add-cube-cbrt
59×distribute-lft-out
58×cbrt-prod
add-log-exp
div-inv
pow1 add-exp-log expm1-log1p-u fma-neg associate-/r/ add-cbrt-cube log1p-expm1-u difference-of-squares
pow1/3
diff-log frac-sub distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
4 → 199
Calls
4 calls:
0.0ms
(cbrt wj)
0.0ms
(cbrt wj)
1.0ms
(cbrt wj)
430.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (cbrt wj) (cbrt wj)) (/ (+ wj 1) (cbrt wj))))

series784.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(cbrt wj)
368.0ms
(cbrt wj)
171.0ms
(cbrt wj)
72.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ (* (cbrt wj) (cbrt wj)) (/ (+ wj 1) (cbrt wj))))

simplify145.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
08797714
138795760
250015733

prune441.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.2b

regimes56.0ms

Accuracy

0% (1.9b remaining)

Error of 2.2b against oracle of 0.3b and baseline of 2.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s7745×body10240exit
186.0ms6321×body80valid
75.0ms457×body640valid
67.0ms754×body320valid
32.0ms540×body160valid