Details

Time bar (total: 2.5s)

sample33.0ms

Algorithm
intervals
Results
14.0ms79×body1280valid
6.0ms56×body640valid
2.0ms26×body320valid
2.0ms80×body80valid
1.0ms62×body80overflowed
1.0ms15×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: 43.9b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series44.0ms

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

simplify183.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (177.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune153.0ms

Pruning

5 alts after pruning (5 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.0b
(fma 1/6 (pow x 3) x)
9.0b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

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

series141.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(/ (exp x) (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
68.0ms
(fma 1/6 (pow x 3) x)
29.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

simplify92.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0178458
1614416
23125414
35002414

prune173.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp x) (/ 1 (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
0.0b
(/ 1 (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
0.0b
(fma 1/6 (pow x 3) x)
9.0b
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
21×*-un-lft-identity
20×add-cube-cbrt times-frac
13×add-exp-log associate-*r*
11×add-cbrt-cube
pow1
expm1-log1p-u div-exp prod-exp log1p-expm1-u add-log-exp
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod fma-udef div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
4 → 91
Calls
4 calls:
10.0ms
(* (exp x) (/ 1 (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
2.0ms
(/ 1 (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))

series180.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (exp x) (/ 1 (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))))
34.0ms
(/ 1 (fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x)))
73.0ms
(fma 1/6 (pow x 3) x)
30.0ms
(fma 1/2 (pow x 2) (fma 1/6 (pow x 3) x))

simplify46.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0308803
11359699
25001671

prune253.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma 1/12 x (/ 1 x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 1/12 x (/ 1 x))

series47.0ms

Counts
1 → 3
Calls
1 calls:
47.0ms
(fma 1/12 x (/ 1 x))

simplify59.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02143
14938
215038
348238
4233838
5500238

prune21.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes70.0ms

Accuracy

93.3% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 11.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample887.0ms

Algorithm
intervals
Results
390.0ms2259×body1280valid
171.0ms1561×body640valid
68.0ms877×body320valid
58.0ms2871×body80valid
44.0ms2488×body80overflowed
20.0ms432×body160valid