Details

Time bar (total: 2.2s)

sample35.0ms

Algorithm
intervals
Results
15.0ms73×body1280valid
5.0ms43×body640valid
4.0ms168×body80valid
3.0ms32×body320valid
1.0ms14×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.0b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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:
6.0ms
(/ (- (exp x) 1.0) x)
4.0ms
(- (exp x) 1.0)

series6.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(/ (- (exp x) 1.0) x)
2.0ms
(- (exp x) 1.0)

simplify75.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune80.0ms

Filtered
43 candidates to 58 candidates (-34.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh000
Picked101
Done000
Total55459

Merged error: 0.0b

Counts
59 → 4

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

series6.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0201222
1825201
25001198

prune65.0ms

Filtered
29 candidates to 46 candidates (-58.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New45146
Fresh033
Picked011
Done000
Total45550

Merged error: 0.0b

Counts
50 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
0.1b
(pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)
0.2b
(* 1/6 (pow x 2))
6.2b
(cbrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×cbrt-prod
10×add-exp-log unpow-prod-down
add-log-exp
associate-*r*
add-cbrt-cube
cube-prod
pow1
cube-div unswap-sqr sqr-pow
pow-unpow flip3-+ associate-*l* prod-exp sum-log flip-+
cube-mult pow-to-exp cbrt-div unpow3 pow-exp unpow2
+-commutative associate-+r+ pow-pow pow1/3 *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 88
Calls
4 calls:
9.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
8.0ms
(pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)
5.0ms
(* 1/6 (pow x 2))
7.0ms
(cbrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))

series14.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
4.0ms
(pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)
3.0ms
(* 1/6 (pow x 2))
3.0ms
(cbrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))

simplify56.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0346731
11596682
25001676

prune149.0ms

Filtered
57 candidates to 100 candidates (-75.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New991100
Fresh033
Picked101
Done011
Total1005105

Merged error: 0.0b

Counts
105 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

2.5b
(sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))
2.5b
(sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))
13.2b
(cbrt (sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)))
13.2b
(cbrt (sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
48×sqrt-prod
30×cbrt-prod
24×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
14×unpow-prod-down cube-prod
cube-div rem-sqrt-square sqrt-div
sqr-pow
pow1 add-exp-log cube-mult cbrt-div flip3-+ unpow3 add-cbrt-cube flip-+ add-log-exp
sqrt-pow1 pow1/2 pow1/3
Counts
4 → 104
Calls
4 calls:
8.0ms
(sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))
8.0ms
(sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))
9.0ms
(cbrt (sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)))
11.0ms
(cbrt (sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)))

series21.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))
6.0ms
(sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3))
4.0ms
(cbrt (sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)))
6.0ms
(cbrt (sqrt (pow (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)) 3)))

simplify52.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03181478
112511396
250011382

prune360.0ms

Filtered
78 candidates to 116 candidates (-48.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh033
Picked101
Done011
Total1165121

Merged error: 0.0b

Counts
121 → 5

regimes42.0ms

Accuracy

98.6% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 20.9b

bsearch12.0ms

Steps
ItersRangePoint
8
-0.017383324682467557
-3.831560156749637e-05
-0.00015196441307829825

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03517
13517

end0.0ms

sample1.1s

Algorithm
intervals
Results
456.0ms2361×body1280valid
205.0ms1656×body640valid
120.0ms5354×body80valid
66.0ms807×body320valid
21.0ms398×body160valid

Profiling

Loading profile data...