Details

Time bar (total: 2.9s)

sample36.0ms

Algorithm
intervals
Results
10.0ms64×body1280valid
8.0ms77×body10240exit
5.0ms50×body640valid
2.0ms105×body80valid
2.0ms24×body320valid
1.0ms13×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.9b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
3.9b
(- (exp x) 1.0)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
15×times-frac
prod-diff
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log fma-neg associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 67
Calls
2 calls:
7.0ms
(/ (exp x) (- (exp x) 1.0))
5.0ms
(- (exp x) 1.0)

series45.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (exp x) (- (exp x) 1.0))
15.0ms
(- (exp x) 1.0)

simplify187.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (181.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune130.0ms

Filtered
73 candidates to 50 candidates (68.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 0.0b

Counts
74 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
0.1b
(fma 1/6 (pow x 3) x)
11.6b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-cbrt-cube
add-exp-log
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
4.0ms
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
1.0ms
(fma 1/6 (pow x 3) x)
1.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

series140.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
73.0ms
(fma 1/6 (pow x 3) x)
27.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

simplify93.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0178458
1614416
23125414
35002414

prune150.0ms

Filtered
58 candidates to 45 candidates (77.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New57158
Fresh033
Picked011
Done000
Total57562

Merged error: 0.0b

Counts
62 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

11.6b
(fma 1/2 (pow x 2) (* (* (cbrt (fma 1/6 (pow x 3) x)) (cbrt (fma 1/6 (pow x 3) x))) (cbrt (fma 1/6 (pow x 3) x))))
14.6b
(cbrt (fma 1/6 (pow x 3) x))
14.6b
(cbrt (fma 1/6 (pow x 3) x))
14.6b
(cbrt (fma 1/6 (pow x 3) x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(fma 1/2 (pow x 2) (* (* (cbrt (fma 1/6 (pow x 3) x)) (cbrt (fma 1/6 (pow x 3) x))) (cbrt (fma 1/6 (pow x 3) x))))
1.0ms
(cbrt (fma 1/6 (pow x 3) x))
1.0ms
(cbrt (fma 1/6 (pow x 3) x))
1.0ms
(cbrt (fma 1/6 (pow x 3) x))

series366.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(fma 1/2 (pow x 2) (* (* (cbrt (fma 1/6 (pow x 3) x)) (cbrt (fma 1/6 (pow x 3) x))) (cbrt (fma 1/6 (pow x 3) x))))
110.0ms
(cbrt (fma 1/6 (pow x 3) x))
110.0ms
(cbrt (fma 1/6 (pow x 3) x))
115.0ms
(cbrt (fma 1/6 (pow x 3) x))

simplify68.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0173599
1495548
22018508
35001470

prune225.0ms

Filtered
61 candidates to 55 candidates (90.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New61061
Fresh033
Picked011
Done011
Total61566

Merged error: 0.0b

Counts
66 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (fma 1/12 x (/ 1 x)) 1/2)
0.1b
(fma 1/12 x (/ 1 x))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
+-commutative associate-+l+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
2 → 28
Calls
2 calls:
3.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
1.0ms
(fma 1/12 x (/ 1 x))

series61.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
46.0ms
(fma 1/12 x (/ 1 x))

simplify39.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
090126
1306119
21283117
35001116

prune52.0ms

Filtered
34 candidates to 26 candidates (76.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New34034
Fresh022
Picked011
Done022
Total34539

Merged error: 0.0b

Counts
39 → 5

regimes59.0ms

Accuracy

95% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 11.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02017
12017

end0.0ms

sample1.1s

Algorithm
intervals
Results
388.0ms2316×body1280valid
284.0ms2599×body10240exit
185.0ms1662×body640valid
59.0ms817×body320valid
53.0ms2809×body80valid
18.0ms397×body160valid