Details

Time bar (total: 3.0s)

sample45.0ms

Algorithm
intervals
Results
13.0ms75×body1280valid
10.0ms94×body10240exit
6.0ms56×body640valid
5.0ms86×body80valid
2.0ms22×body320valid
1.0ms17×body160valid

simplify6.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.2b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
4.1b
(- (exp x) 1.0)

rewrite31.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:
17.0ms
(/ (exp x) (- (exp x) 1.0))
12.0ms
(- (exp x) 1.0)

series41.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(/ (exp x) (- (exp x) 1.0))
13.0ms
(- (exp x) 1.0)

simplify187.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (180.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune140.0ms

Pruning

3 alts after pruning (3 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))

rewrite7.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:
6.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:
17.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
41.0ms
(fma 1/12 x (/ 1 x))

simplify36.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
090126
1306119
21283117
35001116

prune60.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite65.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:
6.0ms
(/ 1.0 (exp x))
34.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
18.0ms
(- 1 (/ 1.0 (exp x)))

series92.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05521839
122981281
250011188

prune173.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
(pow (- 1 (/ 1.0 (exp x))) 3)
0.0b
(/ 1 (pow (- 1 (/ 1.0 (exp x))) 3))
0.0b
(cbrt (/ 1 (pow (- 1 (/ 1.0 (exp x))) 3)))
4.1b
(- 1 (/ 1.0 (exp x)))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
245×add-sqr-sqrt
193×times-frac
177×*-un-lft-identity
109×add-cube-cbrt
72×cbrt-prod
68×difference-of-squares
64×unpow-prod-down cube-prod
39×prod-diff
22×associate-/r*
17×distribute-lft-out--
14×add-exp-log
cube-mult unpow3 sqr-pow
add-cbrt-cube
cube-div div-exp add-log-exp
pow1 div-inv
expm1-log1p-u pow-to-exp flip3-- pow-exp associate-/r/ flip-- log1p-expm1-u
rec-exp pow-unpow fma-neg 1-exp associate-/l*
cbrt-undiv sub-neg cbrt-div pow-flip pow-pow frac-2neg pow1/3 diff-log clear-num inv-pow rem-cube-cbrt
Counts
4 → 298
Calls
4 calls:
29.0ms
(pow (- 1 (/ 1.0 (exp x))) 3)
63.0ms
(/ 1 (pow (- 1 (/ 1.0 (exp x))) 3))
34.0ms
(cbrt (/ 1 (pow (- 1 (/ 1.0 (exp x))) 3)))
21.0ms
(- 1 (/ 1.0 (exp x)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(pow (- 1 (/ 1.0 (exp x))) 3)
77.0ms
(/ 1 (pow (- 1 (/ 1.0 (exp x))) 3))
45.0ms
(cbrt (/ 1 (pow (- 1 (/ 1.0 (exp x))) 3)))
36.0ms
(- 1 (/ 1.0 (exp x)))

simplify102.0ms

Algorithm
egg-herbie
Counts
310 → 310
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
08153868
136202939
250032813

prune290.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes31.0ms

Accuracy

96.8% (0.7b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12110

end0.0ms

sample1.2s

Algorithm
intervals
Results
385.0ms2218×body1280valid
277.0ms2501×body10240exit
183.0ms1716×body640valid
59.0ms2863×body80valid
56.0ms795×body320valid
19.0ms410×body160valid