Details

Time bar (total: 3.0s)

sample37.0ms

Algorithm
intervals
Results
13.0ms79×body1280valid
7.0ms65×body10240exit
5.0ms53×body640valid
2.0ms98×body80valid
1.0ms12×body320valid
1.0ms14×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.3b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.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:
21.0ms
(/ (exp x) (- (exp x) 1.0))
11.0ms
(- (exp x) 1.0)

series38.0ms

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

simplify195.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (188.0ms)

IterNodesCost
0237520
1786429
24651416
35001404

prune145.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite6.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:
5.0ms
(+ (fma 1/12 x (/ 1 x)) 1/2)
0.0ms
(fma 1/12 x (/ 1 x))

series60.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
090129
1306121
21283120
35001119

prune64.0ms

Pruning

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

rewrite63.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))
30.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
20.0ms
(- 1 (/ 1.0 (exp x)))

series92.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05521839
122981281
250011188

prune179.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 1 (cbrt (pow (/ 1.0 (exp x)) 3))))
0.0b
(pow (/ 1.0 (exp x)) 3)
0.0b
(cbrt (pow (/ 1.0 (exp x)) 3))
4.1b
(- 1 (cbrt (pow (/ 1.0 (exp x)) 3)))

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
256×add-sqr-sqrt
188×cbrt-prod
186×*-un-lft-identity
164×times-frac
141×add-cube-cbrt
105×prod-diff
85×unpow-prod-down cube-prod
70×difference-of-squares
18×associate-/r*
15×sqr-pow
11×div-inv
10×add-exp-log
add-cbrt-cube
pow1 add-log-exp
cube-mult unpow3 distribute-lft-out--
expm1-log1p-u log1p-expm1-u
pow-unpow fma-neg div-exp associate-/l*
cbrt-undiv cube-div flip3-- pow-exp associate-/r/ flip-- rem-cube-cbrt
pow-to-exp sub-neg rec-exp cbrt-div pow-flip pow-pow frac-2neg pow1/3 diff-log 1-exp clear-num rem-cbrt-cube inv-pow
Counts
4 → 324
Calls
4 calls:
84.0ms
(/ 1 (- 1 (cbrt (pow (/ 1.0 (exp x)) 3))))
8.0ms
(pow (/ 1.0 (exp x)) 3)
6.0ms
(cbrt (pow (/ 1.0 (exp x)) 3))
52.0ms
(- 1 (cbrt (pow (/ 1.0 (exp x)) 3)))

series134.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ 1 (- 1 (cbrt (pow (/ 1.0 (exp x)) 3))))
42.0ms
(pow (/ 1.0 (exp x)) 3)
12.0ms
(cbrt (pow (/ 1.0 (exp x)) 3))
33.0ms
(- 1 (cbrt (pow (/ 1.0 (exp x)) 3)))

simplify119.0ms

Algorithm
egg-herbie
Counts
336 → 336
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09155233
135053165
250013075

prune314.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes43.0ms

Accuracy

99.3% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 21.0b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03320
13320

end0.0ms

sample1.1s

Algorithm
intervals
Results
378.0ms2277×body1280valid
265.0ms2525×body10240exit
181.0ms1687×body640valid
61.0ms2833×body80valid
54.0ms806×body320valid
17.0ms399×body160valid