Details

Time bar (total: 2.6s)

sample35.0ms

Algorithm
intervals
Results
16.0ms83×body1280valid
6.0ms47×body640valid
4.0ms157×body80valid
2.0ms30×body320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

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: 40.9b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
pow1 flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
9.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series52.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune96.0ms

Filtered
58 candidates to 43 candidates (74.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh000
Picked101
Done000
Total55459

Merged error: 0.1b

Counts
59 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
0.2b
(* 1/6 (pow x 2))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp sum-log
pow1 unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 40
Calls
2 calls:
7.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
5.0ms
(* 1/6 (pow x 2))

series45.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
23.0ms
(* 1/6 (pow x 2))

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0201222
1825201
25001198

prune68.0ms

Filtered
46 candidates to 29 candidates (63.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New44246
Fresh033
Picked011
Done000
Total44650

Merged error: 0.1b

Counts
50 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 1/6 (pow x 2))
0.2b
(* 1/6 (pow x 2))
9.6b
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
9.6b
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
16×associate-*r*
14×add-exp-log
12×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
pow1 associate-*l* prod-exp sqrt-prod
sqrt-div unpow2 add-log-exp sqr-pow
pow-to-exp rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 pow-exp *-commutative cbrt-unprod flip-+
Counts
4 → 84
Calls
4 calls:
6.0ms
(* 1/6 (pow x 2))
5.0ms
(* 1/6 (pow x 2))
6.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
6.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

series171.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 1/6 (pow x 2))
24.0ms
(* 1/6 (pow x 2))
61.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
62.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

simplify43.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0241550
1976510
25002500

prune200.0ms

Filtered
96 candidates to 66 candidates (68.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh134
Picked101
Done011
Total975102

Merged error: 0.1b

Counts
102 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))) (+ (* 5/96 (pow x 2)) (+ (* 1/4 x) 1)))
0.1b
(* 5/96 (pow x 2))
0.2b
(* 1/6 (pow x 2))
9.6b
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
19×associate-*r*
16×add-exp-log
14×add-cube-cbrt *-un-lft-identity
12×associate-*l*
10×add-cbrt-cube unswap-sqr
unpow-prod-down sqrt-div
pow1 flip3-+ prod-exp sqrt-prod flip-+
frac-times unpow2 add-log-exp sqr-pow
*-commutative cbrt-unprod
pow-to-exp associate-*r/ associate-*l/ pow-exp
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down
Counts
4 → 101
Calls
4 calls:
15.0ms
(* (sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))) (+ (* 5/96 (pow x 2)) (+ (* 1/4 x) 1)))
5.0ms
(* 5/96 (pow x 2))
5.0ms
(* 1/6 (pow x 2))
6.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))) (+ (* 5/96 (pow x 2)) (+ (* 1/4 x) 1)))
24.0ms
(* 5/96 (pow x 2))
24.0ms
(* 1/6 (pow x 2))
62.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

simplify81.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05671043
12628978
25003978

prune259.0ms

Filtered
113 candidates to 77 candidates (68.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1112113
Fresh033
Picked101
Done101
Total1135118

Merged error: 0.0b

Counts
118 → 5

regimes31.0ms

Accuracy

98.5% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 21.8b

bsearch54.0ms

Steps
ItersRangePoint
8
-6.238959787773506
-0.00010711273713490883
-0.00017128650325012662

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06253
16253

end0.0ms

sample992.0ms

Algorithm
intervals
Results
427.0ms2230×body1280valid
206.0ms1665×body640valid
130.0ms5466×body80valid
68.0ms805×body320valid
23.0ms427×body160valid

Profiling

Loading profile data...