Details

Time bar (total: 2.2s)

sample33.0ms

Algorithm
intervals
Results
12.0ms68×body1280valid
6.0ms49×body640valid
4.0ms185×body80valid
2.0ms23×body320valid
1.0ms17×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: 37.7b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

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

prune79.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New55358
Fresh000
Picked101
Done000
Total56359

Merged error: 0.0b

Counts
59 → 3

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

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

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0201222
1825201
25001198

prune60.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New45146
Fresh022
Picked011
Done000
Total45449

Merged error: 0.0b

Counts
49 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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:
5.0ms
(* 1/6 (pow x 2))
5.0ms
(* 1/6 (pow x 2))
8.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
6.0ms
(sqrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

series16.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0241550
1976510
25002500

prune190.0ms

Filtered
66 candidates to 96 candidates (-45.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh022
Picked011
Done011
Total964100

Merged error: 0.0b

Counts
100 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(/ (- (pow (exp x) 3) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
0.0b
(pow (exp x) 3)
5.6b
(- (pow (exp x) 3) (pow 1.0 3))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
158×add-sqr-sqrt
90×*-un-lft-identity
80×difference-of-squares
75×times-frac
63×unpow-prod-down cube-prod
41×sqr-pow
38×add-cube-cbrt
25×associate-/l* distribute-lft-out--
add-log-exp
add-cbrt-cube
add-exp-log
pow1 difference-cubes
pow-pow
pow-unpow exp-prod associate-/r*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative cube-mult pow-to-exp sub-neg frac-2neg diff-log unpow3 div-sub div-exp pow-exp clear-num sum-log div-inv distribute-lft-out rem-cube-cbrt
Counts
4 → 192
Calls
4 calls:
3.0ms
(+ 1.0 (exp x))
24.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
3.0ms
(pow (exp x) 3)
12.0ms
(- (pow (exp x) 3) (pow 1.0 3))

series35.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ 1.0 (exp x))
22.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
5.0ms
(pow (exp x) 3)
6.0ms
(- (pow (exp x) 3) (pow 1.0 3))

simplify101.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06052945
126782881
250012803

prune272.0ms

Filtered
108 candidates to 204 candidates (-88.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2040204
Fresh011
Picked011
Done022
Total2044208

Merged error: 0.0b

Counts
208 → 4

regimes38.0ms

Accuracy

98.6% (0.3b remaining)

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

bsearch18.0ms

Steps
ItersRangePoint
10
-522.1368722912733
-5.949899967025005e-16
-0.00014568730164462966

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03517
13517

end0.0ms

sample1.0s

Algorithm
intervals
Results
432.0ms2269×body1280valid
204.0ms1652×body640valid
121.0ms5487×body80valid
67.0ms821×body320valid
22.0ms428×body160valid

Profiling

Loading profile data...