Details

Time bar (total: 6.5s)

sample76.0ms

Algorithm
intervals
Results
49.0ms283×body10240exit
6.0ms210×body80valid
5.0ms23×body320valid
1.0ms21×body160valid
1.0msbody640valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.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.3b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite437.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
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
401.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series145.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
010154090
145553249
250013243

prune540.0ms

Filtered
272 candidates to 165 candidates (60.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.0ms

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

series81.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0237340
1926292
25001274

prune158.0ms

Filtered
70 candidates to 49 candidates (70.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.5b

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

rewrite55.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
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u 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 → 103
Calls
4 calls:
39.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.2s

Counts
4 → 12
Calls
4 calls:
276.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
320.0ms
(cbrt (+ x (pow wj 2)))
319.0ms
(cbrt (+ x (pow wj 2)))
320.0ms
(cbrt (+ x (pow wj 2)))

simplify175.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0259918
1988867
24915790
35001790

prune379.0ms

Filtered
115 candidates to 86 candidates (74.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(/ wj (+ wj 1))
5.9b
(- 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
(/ x (+ wj 1))
15.0ms
(/ (/ x (+ wj 1)) (exp wj))
5.0ms
(/ wj (+ wj 1))
16.0ms
(- wj (/ wj (+ wj 1)))

series115.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
09212790
140822167
250022164

prune495.0ms

Filtered
248 candidates to 162 candidates (65.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

regimes57.0ms

Accuracy

0% (1.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1189

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s7586×body10240exit
192.0ms6315×body80valid
70.0ms776×body320valid
69.0ms454×body640valid
32.0ms539×body160valid