Details

Time bar (total: 3.1s)

sample41.0ms

Algorithm
intervals
Results
16.0ms71×body1280valid
9.0ms56×body640valid
3.0ms31×body320valid
2.0ms83×body80valid
2.0ms74×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.2b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 51
Calls
2 calls:
8.0ms
(/ (exp x) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series44.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune119.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
0.0b
(+ (* 1/12 x) (/ 1 x))
0.3b
(* 1/12 x)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sum-log
associate-*r* associate-*l*
+-commutative flip3-+ flip-+
associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 43
Calls
3 calls:
20.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
6.0ms
(+ (* 1/12 x) (/ 1 x))
3.0ms
(* 1/12 x)

series71.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
38.0ms
(+ (* 1/12 x) (/ 1 x))
14.0ms
(* 1/12 x)

simplify103.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0200216
1705205
23820204
35002204

prune79.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 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))))
3.9b
(- 1 (/ 1.0 (exp x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
44×*-un-lft-identity
43×times-frac
24×add-cube-cbrt
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
distribute-lft-out-- add-log-exp
pow1
div-exp
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip-- div-inv
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 97
Calls
3 calls:
3.0ms
(/ 1.0 (exp x))
21.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
8.0ms
(- 1 (/ 1.0 (exp x)))

series101.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ 1.0 (exp x))
53.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
35.0ms
(- 1 (/ 1.0 (exp x)))

simplify38.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0310724
11324622
25002621

prune150.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (sqrt 1.0) (sqrt (exp x)))
0.0b
(/ (sqrt 1.0) (sqrt (exp x)))
0.0b
(* (+ 1 (/ (sqrt 1.0) (sqrt (exp x)))) (- 1 (/ (sqrt 1.0) (sqrt (exp x)))))
4.0b
(- 1 (/ (sqrt 1.0) (sqrt (exp x))))

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
110×add-sqr-sqrt
100×sqrt-prod
88×times-frac
78×*-un-lft-identity
62×add-cube-cbrt
20×difference-of-squares
14×associate-*r*
12×associate-/r* associate-/l*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
frac-times flip3-- associate-*l* flip--
sub-neg flip3-+ flip-+
cbrt-undiv distribute-rgt-in sqrt-undiv frac-2neg distribute-lft-in associate-*r/ div-exp associate-*l/ clear-num div-inv distribute-lft-out--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 187
Calls
4 calls:
5.0ms
(/ (sqrt 1.0) (sqrt (exp x)))
5.0ms
(/ (sqrt 1.0) (sqrt (exp x)))
143.0ms
(* (+ 1 (/ (sqrt 1.0) (sqrt (exp x)))) (- 1 (/ (sqrt 1.0) (sqrt (exp x)))))
20.0ms
(- 1 (/ (sqrt 1.0) (sqrt (exp x))))

series329.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (sqrt 1.0) (sqrt (exp x)))
56.0ms
(/ (sqrt 1.0) (sqrt (exp x)))
160.0ms
(* (+ 1 (/ (sqrt 1.0) (sqrt (exp x)))) (- 1 (/ (sqrt 1.0) (sqrt (exp x)))))
63.0ms
(- 1 (/ (sqrt 1.0) (sqrt (exp x))))

simplify67.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04152119
120401917
250011843

prune370.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes55.0ms

Accuracy

97.1% (0.6b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02515
12515

end0.0ms

sample1.2s

Algorithm
intervals
Results
520.0ms2252×body1280valid
255.0ms1637×body640valid
88.0ms2880×body80valid
88.0ms826×body320valid
76.0ms2512×body80overflowed
28.0ms405×body160valid