Details

Time bar (total: 2.5s)

sample37.0ms

Algorithm
intervals
Results
11.0ms64×body1280valid
9.0ms77×body10240exit
6.0ms50×body640valid
2.0ms105×body80valid
2.0ms24×body320valid
1.0ms13×body160valid

simplify6.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.9b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (exp x) (- (exp x) 1.0))
3.9b
(- (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:
7.0ms
(/ (exp x) (- (exp x) 1.0))
4.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)

simplify78.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune109.0ms

Filtered
57 candidates to 41 candidates (71.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh000
Picked101
Done000
Total54458

Merged error: 0.0b

Counts
58 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
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)

rewrite33.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:
8.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
10.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
8.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
4.0ms
(* x 1/6)

series145.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
38.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
64.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
14.0ms
(* x 1/6)

simplify68.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0429746
12022686
25001684

prune183.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1021103
Fresh033
Picked011
Done000
Total1025107

Merged error: 0.0b

Counts
107 → 5

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

rewrite19.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:
8.0ms
(+ 1/2 (+ (* 1/12 x) (/ 1 x)))
6.0ms
(+ (* 1/12 x) (/ 1 x))
4.0ms
(* 1/12 x)

series71.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0200216
1705205
23820204
35002204

prune66.0ms

Filtered
52 candidates to 34 candidates (65.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh033
Picked011
Done011
Total52557

Merged error: 0.0b

Counts
57 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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:
10.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
4.0ms
(/ 1.0 (exp x))
7.0ms
(- 1 (/ 1.0 (exp x)))

series100.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0310724
11324622
25001621

prune119.0ms

Filtered
106 candidates to 61 candidates (57.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1051106
Fresh112
Picked011
Done112
Total1074111

Merged error: 0.0b

Counts
111 → 4

regimes51.0ms

Accuracy

92.7% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 7.6b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02318
12318

end0.0ms

sample1.2s

Algorithm
intervals
Results
402.0ms2316×body1280valid
296.0ms2599×body10240exit
188.0ms1662×body640valid
64.0ms817×body320valid
56.0ms2809×body80valid
18.0ms397×body160valid