Details

Time bar (total: 5.5s)

sample71.0ms

Algorithm
intervals
Results
45.0ms248×body10240exit
6.0ms204×body80valid
3.0ms21×body640valid
2.0ms21×body320valid
1.0ms15×body160valid

simplify48.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: 13.3b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite625.0ms

Algorithm
rewrite-expression-head
Rules
213×*-un-lft-identity
163×times-frac
119×add-sqr-sqrt
114×add-cube-cbrt
72×prod-diff
48×distribute-lft-out
21×associate-/l*
18×associate-/r/
10×flip3-+ add-cbrt-cube flip-+ div-inv
add-exp-log add-log-exp
associate-/r*
cbrt-undiv fma-neg div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg diff-log clear-num frac-sub distribute-lft-out-- difference-of-squares
sub-neg flip3-- associate--l+ sum-log flip-- associate-/l/
Counts
3 → 225
Calls
3 calls:
11.0ms
(/ x (+ wj 1))
23.0ms
(/ (/ x (+ wj 1)) (exp wj))
579.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series129.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ x (+ wj 1))
47.0ms
(/ (/ x (+ wj 1)) (exp wj))
58.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify112.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
09733972
142953102
250013094

prune437.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
fma-neg associate-*l* prod-diff pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
sub-neg flip3-- diff-log associate-*r* *-commutative flip--
Counts
2 → 40
Calls
2 calls:
6.0ms
(- x (* 2 (* wj x)))
19.0ms
(* 2 (* wj x))

series66.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(- x (* 2 (* wj x)))
20.0ms
(* 2 (* wj x))

simplify109.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0166199
1587177
23661175
35002158

prune87.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
158×*-un-lft-identity
151×times-frac
111×add-sqr-sqrt
106×add-cube-cbrt
54×prod-diff
25×distribute-lft-out
21×associate-/l*
16×associate-/r/
10×add-cbrt-cube
div-inv
add-exp-log flip3-+ flip-+
associate-/r*
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u fma-neg log1p-expm1-u
frac-2neg clear-num difference-of-squares
sub-neg flip3-- diff-log flip-- associate-/l/ distribute-lft-out--
Counts
3 → 201
Calls
3 calls:
12.0ms
(/ x (+ wj 1))
22.0ms
(/ (/ x (+ wj 1)) (exp wj))
29.0ms
(- wj (/ wj (+ wj 1)))

series97.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ x (+ wj 1))
42.0ms
(/ (/ x (+ wj 1)) (exp wj))
25.0ms
(- wj (/ wj (+ wj 1)))

simplify93.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
08832624
138562005
250012003

prune424.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

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
(/ (/ x (+ wj 1)) (exp wj))
0.0b
(- (pow wj 4) (pow wj 3))

rewrite74.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:
11.0ms
(/ x (+ wj 1))
0.0ms
(fma wj wj (- (pow wj 4) (pow wj 3)))
22.0ms
(/ (/ x (+ wj 1)) (exp wj))
28.0ms
(- (pow wj 4) (pow wj 3))

series180.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
267 → 267
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
08622505
136361947
250021942

prune557.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

regimes44.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1189

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.3s7609×body10240exit
186.0ms6316×body80valid
69.0ms791×body320valid
64.0ms450×body640valid
33.0ms525×body160valid