Details

Time bar (total: 4.2s)

sample62.0ms

Algorithm
intervals
Results
28.0ms128×body5120exit
11.0ms205×body80valid
4.0ms117×body80overflowed
4.0ms23×body640valid
2.0ms18×body320valid
1.0ms12×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)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.9b

Counts
2 → 2

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(* wj (exp wj))
0.0b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
3.2b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
76×add-sqr-sqrt
67×add-cube-cbrt
63×prod-diff
61×times-frac
13×distribute-rgt-out distribute-rgt1-in
10×add-cbrt-cube
pow1 add-exp-log associate-/r/
associate-*r* associate-*l* add-log-exp
associate-/r*
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv
fma-neg associate-/l*
flip3-- div-sub pow-prod-down prod-exp *-commutative flip-- cbrt-unprod associate-/l/ difference-of-squares unswap-sqr
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num distribute-lft-out-- associate--r-
Counts
4 → 166
Calls
4 calls:
5.0ms
(* wj (exp wj))
5.0ms
(* wj (exp wj))
9.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
14.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series159.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* wj (exp wj))
34.0ms
(* wj (exp wj))
39.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
57.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify107.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07914583
130143101
250022803

prune300.0ms

Filtered
178 candidates to 103 candidates (57.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1753178
Fresh101
Picked101
Done000
Total1773180

Merged error: 0.1b

Counts
180 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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:
3.0ms
(- x (* 2 (* wj x)))
5.0ms
(* 2 (* wj x))

series66.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(- x (* 2 (* wj x)))
19.0ms
(* 2 (* wj x))

simplify113.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0166199
1587177
23661175
35002158

prune65.0ms

Filtered
46 candidates to 29 candidates (63.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New46046
Fresh022
Picked011
Done000
Total46349

Merged error: 0.1b

Counts
49 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
106×times-frac
93×add-sqr-sqrt *-un-lft-identity
86×add-cube-cbrt
78×prod-diff
13×div-inv
add-cbrt-cube add-log-exp
add-exp-log
pow1
distribute-rgt-out distribute-rgt1-in associate-/r* associate-/r/
expm1-log1p-u log1p-expm1-u
fma-def fma-neg associate-*r* associate-*l* associate-/l*
flip3-+ flip-+ difference-of-squares
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 175
Calls
4 calls:
4.0ms
(+ (exp wj) (* wj (exp wj)))
5.0ms
(/ x (+ (exp wj) (* wj (exp wj))))
5.0ms
(* wj (exp wj))
12.0ms
(- wj (/ wj (/ (* (+ wj 1) (exp wj)) (exp wj))))

series139.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (exp wj) (* wj (exp wj)))
51.0ms
(/ x (+ (exp wj) (* wj (exp wj))))
28.0ms
(* wj (exp wj))
26.0ms
(- wj (/ wj (/ (* (+ wj 1) (exp wj)) (exp wj))))

simplify142.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
09804244
143512571
250012570

prune306.0ms

Filtered
187 candidates to 111 candidates (59.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1861187
Fresh011
Picked011
Done011
Total1864190

Merged error: 0.0b

Counts
190 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
51×add-sqr-sqrt
48×prod-diff
42×add-cube-cbrt
15×times-frac
14×distribute-lft-out
13×unpow-prod-down cube-prod
11×add-log-exp
add-cbrt-cube
add-exp-log
pow1
distribute-rgt-out distribute-rgt1-in associate-/r* sqr-pow
expm1-log1p-u cube-mult fma-neg unpow3 log1p-expm1-u difference-of-squares
fma-def associate-*r* associate-*l* associate-/l*
flip3-+ diff-log sum-log associate-/r/ flip-+ distribute-lft-out--
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
4 → 151
Calls
4 calls:
14.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
4.0ms
(+ (exp wj) (* wj (exp wj)))
5.0ms
(/ x (+ (exp wj) (* wj (exp wj))))
5.0ms
(* wj (exp wj))

series153.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (+ (pow wj 4) (pow wj 2)) (pow wj 3))
36.0ms
(+ (exp wj) (* wj (exp wj)))
53.0ms
(/ x (+ (exp wj) (* wj (exp wj))))
30.0ms
(* wj (exp wj))

simplify105.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
05411578
124341206
250021179

prune514.0ms

Filtered
163 candidates to 95 candidates (58.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1621163
Fresh011
Picked101
Done022
Total1634167

Merged error: 0.0b

Counts
167 → 4

regimes39.0ms

Accuracy

0% (0.6b remaining)

Error of 1.1b against oracle of 0.5b and baseline of 1.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02117
12117

end0.0ms

sample1.7s

Algorithm
intervals
Results
854.0ms3809×body5120exit
233.0ms6289×body80valid
133.0ms3722×body80overflowed
98.0ms793×body320valid
85.0ms474×body640valid
42.0ms522×body160valid