Details

Time bar (total: 2.8s)

sample39.0ms

Algorithm
intervals
Results
13.0ms82×body1280valid
8.0ms73×body10240exit
4.0ms41×body640valid
3.0ms39×body320valid
2.0ms85×body80valid
1.0msbody160valid

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: 42.7b

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series40.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ (exp x) (- (exp x) 1.0))
14.0ms
(- (exp x) 1.0)

simplify188.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (182.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune137.0ms

Pruning

2 alts after pruning (2 fresh and 0 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))

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

series60.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
090126
1306119
21283117
35001116

prune58.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (exp x))
0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
2.5b
(- 1 (/ 1.0 (exp x)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
99×add-sqr-sqrt
79×*-un-lft-identity
70×times-frac
59×add-cube-cbrt
39×prod-diff
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
div-inv distribute-lft-out-- add-log-exp
pow1
expm1-log1p-u fma-neg div-exp log1p-expm1-u
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip--
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 145
Calls
3 calls:
4.0ms
(/ 1.0 (exp x))
12.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
8.0ms
(- 1 (/ 1.0 (exp x)))

series97.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(/ 1.0 (exp x))
50.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
34.0ms
(- 1 (/ 1.0 (exp x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05521839
122981281
250011188

prune172.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
0.0b
(log1p (/ 1 (- 1 (/ 1.0 (exp x)))))
0.1b
(expm1 (log1p (/ 1 (- 1 (/ 1.0 (exp x))))))
2.5b
(- 1 (/ 1.0 (exp x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
72×*-un-lft-identity
61×times-frac
52×add-cube-cbrt
39×prod-diff
20×difference-of-squares
add-exp-log associate-/r*
add-cbrt-cube add-log-exp
pow1 expm1-log1p-u distribute-lft-out--
log1p-expm1-u div-inv
fma-neg associate-/l*
flip3-- div-exp associate-/r/ flip--
cbrt-undiv sub-neg rec-exp log1p-udef expm1-log1p pow-flip frac-2neg diff-log 1-exp log1p-expm1 clear-num inv-pow expm1-udef
Counts
4 → 138
Calls
4 calls:
9.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
1.0ms
(log1p (/ 1 (- 1 (/ 1.0 (exp x)))))
1.0ms
(expm1 (log1p (/ 1 (- 1 (/ 1.0 (exp x))))))
11.0ms
(- 1 (/ 1.0 (exp x)))

series352.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
116.0ms
(log1p (/ 1 (- 1 (/ 1.0 (exp x)))))
154.0ms
(expm1 (log1p (/ 1 (- 1 (/ 1.0 (exp x))))))
34.0ms
(- 1 (/ 1.0 (exp x)))

simplify64.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06141899
124311318
250021221

prune192.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes30.0ms

Accuracy

97.4% (0.6b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 21.6b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02010
12010

end0.0ms

sample1.1s

Algorithm
intervals
Results
387.0ms2222×body1280valid
291.0ms2609×body10240exit
187.0ms1692×body640valid
57.0ms819×body320valid
56.0ms2879×body80valid
18.0ms390×body160valid