Details

Time bar (total: 2.8s)

sample39.0ms

Algorithm
intervals
Results
11.0ms59×body1280valid
10.0ms90×body10240exit
6.0ms57×body640valid
2.0ms28×body320valid
2.0ms93×body80valid
1.0ms19×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.6b

localize8.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
5.1b
(- (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))
5.0ms
(- (exp x) 1.0)

series41.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(/ (exp x) (- (exp x) 1.0))
15.0ms
(- (exp x) 1.0)

simplify70.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune134.0ms

Filtered
57 candidates to 41 candidates (71.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 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))
0.3b
(* x 1/6)

rewrite30.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))
13.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series126.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
67.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
14.0ms
(* x 1/6)

simplify62.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0401620
11835574
25001572

prune202.0ms

Filtered
87 candidates to 60 candidates (69.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
11×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l*
add-cbrt-cube
pow1 cbrt-prod associate-*r*
unswap-sqr
unpow-prod-down prod-exp add-log-exp
pow1/3 associate-*r/ *-commutative cbrt-unprod unpow2 sqr-pow
distribute-rgt-in pow-to-exp distribute-lft-in flip3-+ pow-prod-down pow-exp flip-+
Counts
4 → 71
Calls
4 calls:
1.0ms
(cbrt (exp x))
1.0ms
(cbrt (exp x))
13.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)

series246.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(cbrt (exp x))
82.0ms
(cbrt (exp x))
68.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
14.0ms
(* x 1/6)

simplify47.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0275353
11231320
25001314

prune232.0ms

Filtered
83 candidates to 59 candidates (71.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

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

rewrite30.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:
16.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
9.0ms
(+ (* 1/12 x) (/ 1 x))
3.0ms
(* 1/12 x)

series74.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0200216
1705205
23820204
35002204

prune77.0ms

Filtered
52 candidates to 34 candidates (65.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes69.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.1s

Algorithm
intervals
Results
394.0ms2256×body1280valid
285.0ms2515×body10240exit
180.0ms1646×body640valid
62.0ms821×body320valid
60.0ms2865×body80valid
19.0ms413×body160valid