Details

Time bar (total: 2.9s)

sample226.0ms

Algorithm
intervals
Results
207.0ms74×body1280valid
5.0ms50×body640valid
3.0ms169×body80valid
1.0ms19×body320valid
1.0ms13×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.7b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.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:
25.0ms
(/ (- (exp x) 1.0) x)
10.0ms
(- (exp x) 1.0)

series51.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune113.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.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:
25.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
12.0ms
(* 1/6 (pow x 2))

series40.0ms

Counts
2 → 6
Calls
2 calls:
18.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 (31.0ms)

IterNodesCost
0201222
1825201
25001198

prune83.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))) (cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))))
11.6b
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
11.6b
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
11.6b
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

rewrite209.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
150.0ms
(* (cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))) (cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))))
18.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
20.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
18.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

series201.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))) (cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))))
49.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
47.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))
50.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02901545
110341452
250011359

prune284.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/6 (pow x 2))
0.3b
(* 1/12 (pow x 2))
0.4b
(* 1/3 x)
11.6b
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
19×associate-*r*
16×add-exp-log
13×add-cube-cbrt *-un-lft-identity
10×add-cbrt-cube
associate-*l* unswap-sqr
unpow-prod-down
prod-exp
pow1
unpow2 add-log-exp sqr-pow
cbrt-prod *-commutative cbrt-unprod
pow-to-exp cbrt-div pow-exp
flip3-+ pow1/3 pow-prod-down flip-+
Counts
4 → 85
Calls
4 calls:
12.0ms
(* 1/6 (pow x 2))
14.0ms
(* 1/12 (pow x 2))
7.0ms
(* 1/3 x)
18.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

series108.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* 1/6 (pow x 2))
23.0ms
(* 1/12 (pow x 2))
15.0ms
(* 1/3 x)
47.0ms
(cbrt (+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1)))

simplify47.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0353452
11368416
25002408

prune237.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes22.0ms

Accuracy

98.8% (0.3b remaining)

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

bsearch27.0ms

Steps
ItersRangePoint
9
-0.2945747773639613
-3.489101517161873e-08
-0.00014542173044640355

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02510
12510

end0.0ms

sample921.0ms

Algorithm
intervals
Results
384.0ms2242×body1280valid
173.0ms1669×body640valid
103.0ms5590×body80valid
53.0ms800×body320valid
18.0ms407×body160valid