Details

Time bar (total: 2.5s)

sample41.0ms

Algorithm
intervals
Results
15.0ms66×body1280valid
8.0ms53×body640valid
4.0ms39×body320valid
3.0ms88×body80valid
3.0ms92×body80overflowed
1.0ms10×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: 42.3b

localize4.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (exp x) (- (exp x) 1.0))
4.0b
(- (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:
25.0ms
(/ (exp x) (- (exp x) 1.0))
18.0ms
(- (exp x) 1.0)

simplify71.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune121.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
0.0b
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
0.1b
(* (pow x 2) (+ (* x 1/6) 1/2))
0.4b
(* x 1/6)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
12×add-exp-log
11×associate-*l*
10×add-cbrt-cube
times-frac
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down prod-exp
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/ associate-/r/ *-commutative cbrt-unprod unpow2 sqr-pow
cbrt-undiv +-commutative pow-to-exp frac-2neg div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 91
Calls
4 calls:
12.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
6.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
13.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series142.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
26.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
63.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
13.0ms
(* x 1/6)

simplify65.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0429746
12022686
25001684

prune217.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/12 x) (/ 1 x))
0.4b
(* 1/12 x)

rewrite11.0ms

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

series51.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0130119
1448110
22305109
35001109

prune55.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.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:
17.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
3.0ms
(/ 1.0 (exp x))
11.0ms
(- 1 (/ 1.0 (exp x)))

series97.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0310724
11324622
25001621

prune138.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes12.0ms

Accuracy

0% (1.0b remaining)

Error of 1.0b against oracle of 0.0b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.2s

Algorithm
intervals
Results
545.0ms2365×body1280valid
256.0ms1617×body640valid
90.0ms842×body320valid
88.0ms2779×body80valid
79.0ms2648×body80overflowed
28.0ms401×body160valid