Details

Time bar (total: 5.7s)

sample72.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.5b

localize14.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)))

rewrite512.0ms

Algorithm
rewrite-expression-head
Rules
277×*-un-lft-identity
253×times-frac
163×add-sqr-sqrt
158×add-cube-cbrt
72×prod-diff
58×fma-def distribute-lft-out
24×associate-/r/
21×associate-/l*
14×flip3-+ flip-+ div-inv
11×add-cbrt-cube add-log-exp
add-exp-log
associate-/r*
pow1 cbrt-undiv expm1-log1p-u fma-neg div-exp log1p-expm1-u
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 → 297
Calls
4 calls:
57.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
5.0ms
(/ x (+ wj 1))
13.0ms
(/ (/ x (+ wj 1)) (exp wj))
418.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series171.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
22.0ms
(/ x (+ wj 1))
45.0ms
(/ (/ x (+ wj 1)) (exp wj))
53.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify120.0ms

Algorithm
egg-herbie
Counts
309 → 309
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
09944057
143933219
250013211

prune659.0ms

Filtered
309 candidates to 200 candidates (64.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite7.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))

series19.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

prune49.0ms

Filtered
23 candidates to 13 candidates (56.5%)
Pruning

5 alts after pruning (4 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)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
176×*-un-lft-identity
163×times-frac
121×add-sqr-sqrt
116×add-cube-cbrt
54×prod-diff
29×distribute-lft-out
24×associate-/l*
18×associate-/r/
13×add-cbrt-cube
11×add-exp-log associate-/r*
10×div-inv
flip3-+ flip-+
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg fma-neg clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
4 → 236
Calls
4 calls:
5.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
20.0ms
(- wj (/ wj (+ wj 1)))

series114.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ wj (+ wj 1))
22.0ms
(/ x (+ wj 1))
46.0ms
(/ (/ x (+ wj 1)) (exp wj))
26.0ms
(- wj (/ wj (+ wj 1)))

simplify112.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
09212790
140822167
250022164

prune522.0ms

Filtered
248 candidates to 162 candidates (65.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
145×*-un-lft-identity
128×add-sqr-sqrt
114×times-frac
111×add-cube-cbrt
84×prod-diff
67×unpow-prod-down
27×sqr-pow
24×cube-prod
21×associate-/l*
16×distribute-lft-out
12×difference-of-squares
11×add-cbrt-cube
10×associate-/r/
add-exp-log
cube-mult fma-neg unpow3 associate-/r*
div-inv add-log-exp
flip3-+ flip-+
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
frac-2neg clear-num
sub-neg flip3-- diff-log flip-- fma-udef associate-/l/ distribute-lft-out--
Counts
4 → 255
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
0.0ms
(fma wj wj (- (pow wj 4) (pow wj 3)))
15.0ms
(- (pow wj 4) (pow wj 3))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))

series185.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ x (+ wj 1))
29.0ms
(fma wj wj (- (pow wj 4) (pow wj 3)))
83.0ms
(- (pow wj 4) (pow wj 3))
44.0ms
(/ (/ x (+ wj 1)) (exp wj))

simplify117.0ms

Algorithm
egg-herbie
Counts
267 → 267
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
08622505
136381947
250021942

prune576.0ms

Filtered
267 candidates to 136 candidates (50.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes34.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
0189
1189

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7462×body10240exit
200.0ms6268×body80valid
81.0ms819×body320valid
70.0ms464×body640valid
35.0ms524×body160valid