Details

Time bar (total: 3.1s)

sample43.0ms

Algorithm
intervals
Results
14.0ms65×body1280valid
9.0ms62×body640valid
6.0ms97×body80valid
3.0ms80×body80overflowed
2.0ms20×body320valid
1.0ms12×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.4b

localize4.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (exp x) (- (exp x) 1.0))
3.5b
(- (exp x) 1.0)

rewrite16.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:
8.0ms
(/ (exp x) (- (exp x) 1.0))
5.0ms
(- (exp x) 1.0)

series41.0ms

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

simplify198.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (185.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune160.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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)
9.3b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

rewrite5.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:
3.0ms
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
0.0ms
(fma 1/6 (pow x 3) x)
0.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

series142.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0178458
1614416
23125414
35002414

prune174.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

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)
0.0ms
(fma 1/12 x (/ 1 x))

series58.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
090126
1306119
21283117
35001116

prune69.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))
0.6b
(cbrt (fma 1/12 x (/ 1 x)))
0.6b
(cbrt (fma 1/12 x (/ 1 x)))
0.6b
(cbrt (fma 1/12 x (/ 1 x)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))
1.0ms
(cbrt (fma 1/12 x (/ 1 x)))

series426.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (cbrt (fma 1/12 x (/ 1 x))) (cbrt (fma 1/12 x (/ 1 x))))
107.0ms
(cbrt (fma 1/12 x (/ 1 x)))
102.0ms
(cbrt (fma 1/12 x (/ 1 x)))
102.0ms
(cbrt (fma 1/12 x (/ 1 x)))

simplify127.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0277823
1911765
24122688
35001652

prune236.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes81.0ms

Accuracy

96.9% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 21.4b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01910
11910

end0.0ms

sample1.2s

Algorithm
intervals
Results
463.0ms2207×body1280valid
243.0ms1658×body640valid
102.0ms2876×body80valid
95.0ms2535×body80overflowed
80.0ms818×body320valid
33.0ms442×body160valid