Details

Time bar (total: 2.8s)

sample33.0ms

Algorithm
intervals
Results
12.0ms75×body1280valid
5.0ms180×body80valid
5.0ms56×body640valid
2.0ms22×body320valid
1.0ms17×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: 40.9b

localize4.0ms

Local error

Found 2 expressions with local error:

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

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

series55.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ (- (exp x) 1.0) x)
15.0ms
(- (exp x) 1.0)

simplify72.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0222329
1625311
22739309
35001309

prune110.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite37.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:
21.0ms
(+ (* 1/6 (pow x 2)) (+ (* 1/2 x) 1))
14.0ms
(* 1/6 (pow x 2))

series44.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0201222
1825201
25001198

prune81.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×*-un-lft-identity
10×add-log-exp
add-exp-log add-cube-cbrt
associate-*r*
pow1 log-prod add-cbrt-cube
unpow-prod-down log-pow unswap-sqr
associate-+l+ associate-*l* prod-exp sum-log
exp-prod exp-to-pow distribute-lft-out unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-+ rem-log-exp pow-exp *-commutative cbrt-unprod flip-+ rem-exp-log
Counts
4 → 69
Calls
4 calls:
25.0ms
(+ (log (exp (* 1/6 (pow x 2)))) (+ (* 1/2 x) 1))
8.0ms
(exp (* 1/6 (pow x 2)))
12.0ms
(* 1/6 (pow x 2))
4.0ms
(log (exp (* 1/6 (pow x 2))))

series89.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (log (exp (* 1/6 (pow x 2)))) (+ (* 1/2 x) 1))
13.0ms
(exp (* 1/6 (pow x 2)))
28.0ms
(* 1/6 (pow x 2))
26.0ms
(log (exp (* 1/6 (pow x 2))))

simplify39.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0248397
1960343
25002342

prune165.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite235.0ms

Algorithm
rewrite-expression-head
Rules
86×add-sqr-sqrt
48×difference-of-squares
42×*-un-lft-identity
39×unpow-prod-down cube-prod
25×times-frac associate-/l* sqr-pow
15×distribute-lft-out--
12×add-cube-cbrt add-cbrt-cube
11×add-exp-log
pow1
add-log-exp
pow-pow associate-*l/
difference-cubes pow-unpow exp-prod associate-*r* associate-*l*
cbrt-undiv flip3-- flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
cube-mult pow-to-exp sub-neg frac-2neg diff-log unpow3 div-sub pow-prod-down pow-exp clear-num associate-/r* *-commutative div-inv rem-cube-cbrt unswap-sqr
Counts
4 → 150
Calls
4 calls:
89.0ms
(* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x)
4.0ms
(pow (exp x) 3)
102.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x))
33.0ms
(- (pow (exp x) 3) (pow 1.0 3))

series266.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x)
23.0ms
(pow (exp x) 3)
135.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x))
39.0ms
(- (pow (exp x) 3) (pow 1.0 3))

simplify90.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05341740
126511610
250011566

prune326.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Accuracy

98.8% (0.3b remaining)

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

bsearch40.0ms

Steps
ItersRangePoint
9
-0.04331797882383785
-1.989428328455626e-07
-0.0001636611049659256

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04328
14328

end0.0ms

sample894.0ms

Algorithm
intervals
Results
372.0ms2235×body1280valid
173.0ms1724×body640valid
102.0ms5401×body80valid
53.0ms810×body320valid
17.0ms411×body160valid