Details

Time bar (total: 2.3s)

sample45.0ms

Algorithm
intervals
Results
11.0ms85×body10240exit
11.0ms61×body1280valid
8.0ms60×body640valid
3.0ms94×body80valid
3.0ms29×body320valid
1.0ms12×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.5b

localize8.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (exp x) (- (exp x) 1.0))
3.3b
(- (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)

series40.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune121.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series28.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0148149
1534137
22215137
35001137

prune56.0ms

Pruning

2 alts after pruning (1 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.3b
(- 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))
17.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
11.0ms
(- 1 (/ 1.0 (exp x)))

series100.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0310724
11324622
25002621

prune154.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes30.0ms

Accuracy

96.5% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 21.7b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample1.5s

Algorithm
intervals
Results
511.0ms2534×body10240exit
425.0ms2236×body1280valid
207.0ms1659×body640valid
94.0ms2896×body80valid
67.0ms813×body320valid
24.0ms398×body160valid