Details

Time bar (total: 2.9s)

sample37.0ms

Algorithm
intervals
Results
10.0ms65×body1280valid
9.0ms83×body10240exit
6.0ms57×body640valid
2.0ms26×body320valid
2.0ms94×body80valid
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.0b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series45.0ms

Counts
2 → 6
Calls
2 calls:
30.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

prune116.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
11×add-exp-log associate-*l*
times-frac add-cbrt-cube
associate-*r*
pow1 unswap-sqr
unpow-prod-down prod-exp
associate-/r* associate-/l* add-log-exp
flip3-+ associate-*r/ associate-/r/ *-commutative cbrt-unprod flip-+ unpow2 sqr-pow
cbrt-undiv distribute-rgt-in pow-to-exp frac-2neg distribute-lft-in div-exp pow-prod-down pow-exp clear-num div-inv
Counts
3 → 78
Calls
3 calls:
11.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
15.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series121.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
68.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
16.0ms
(* x 1/6)

simplify62.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0401620
11835574
25001572

prune188.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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:
5.0ms
(+ (* 1/12 x) (/ 1 x))
3.0ms
(* 1/12 x)

series58.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0130119
1448110
22305109
35001109

prune58.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (/ 1 x)) x)
0.3b
(* 1/12 x)
0.8b
(* 1/144 (* x x))
27.7b
(/ (+ (/ (- (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
171×times-frac
109×add-sqr-sqrt
106×add-cube-cbrt *-un-lft-identity
52×distribute-lft-neg-in distribute-rgt-neg-in
33×associate-/l*
15×add-exp-log add-cbrt-cube
11×pow1
10×div-inv
associate-*l* associate-/r*
neg-mul-1 associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
div-sub associate-/l/
cbrt-undiv neg-sub0 frac-2neg div-exp clear-num associate-/r/ *-commutative unswap-sqr
associate-+l- flip3-- flip3-+ distribute-frac-neg flip-- flip-+ distribute-neg-frac
Counts
4 → 207
Calls
4 calls:
12.0ms
(/ (- (/ 1 x)) x)
3.0ms
(* 1/12 x)
6.0ms
(* 1/144 (* x x))
151.0ms
(/ (+ (/ (- (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (- (/ 1 x)) x)
13.0ms
(* 1/12 x)
24.0ms
(* 1/144 (* x x))
137.0ms
(/ (+ (/ (- (/ 1 x)) x) (* 1/144 (* x x))) (- (* 1/12 x) (/ 1 x)))

simplify73.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
07931686
130621440
250011417

prune366.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes14.0ms

Accuracy

0% (0.2b remaining)

Error of 0.9b against oracle of 0.7b and baseline of 0.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.1s

Algorithm
intervals
Results
368.0ms2213×body1280valid
282.0ms2659×body10240exit
182.0ms1707×body640valid
58.0ms815×body320valid
56.0ms2857×body80valid
18.0ms410×body160valid