Details

Time bar (total: 2.9s)

sample34.0ms

Algorithm
intervals
Results
13.0ms68×body1280valid
6.0ms50×body640valid
4.0ms201×body80valid
2.0ms23×body320valid
1.0ms15×body160valid

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

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
4.0b
(- (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)

series58.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ (- (exp x) 1.0) x)
19.0ms
(- (exp x) 1.0)

simplify76.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222329
1625311
22717309
35001309

prune106.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.0b

Counts
59 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
13×add-exp-log
11×associate-*l*
10×add-cbrt-cube
times-frac
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down prod-exp
flip3-+ associate-/r* flip-+ associate-/l*
associate-*r/ *-commutative cbrt-unprod associate-/l/ unpow2 sqr-pow
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp frac-2neg distribute-lft-in div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 89
Calls
4 calls:
4.0ms
(+ (* x 1/6) 1/2)
8.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)
10.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

series159.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* x 1/6) 1/2)
67.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
13.0ms
(* x 1/6)
48.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

simplify66.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0384620
12008562
25002562

prune159.0ms

Filtered
101 candidates to 70 candidates (69.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1010101
Fresh033
Picked011
Done000
Total1014105

Merged error: 0.0b

Counts
105 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ 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))
3.9b
(- (pow (exp x) 3) (pow 1.0 3))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
82×add-sqr-sqrt
48×difference-of-squares
40×*-un-lft-identity
39×unpow-prod-down cube-prod
25×times-frac associate-/l* sqr-pow
15×distribute-lft-out--
10×add-cube-cbrt add-cbrt-cube
add-exp-log
add-log-exp
pow1
pow-pow
difference-cubes pow-unpow exp-prod
cbrt-undiv associate-+l+ flip3-- flip3-+ div-exp associate-*l/ associate-/r/ flip-- flip-+ associate-/l/
+-commutative distribute-rgt-in cube-mult pow-to-exp sub-neg frac-2neg distribute-lft-in diff-log unpow3 div-sub pow-exp prod-exp clear-num associate-/r* sum-log cbrt-unprod div-inv rem-cube-cbrt
Counts
4 → 143
Calls
4 calls:
9.0ms
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))
3.0ms
(pow (exp x) 3)
26.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x))
12.0ms
(- (pow (exp x) 3) (pow 1.0 3))

series228.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))
23.0ms
(pow (exp x) 3)
137.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x))
36.0ms
(- (pow (exp x) 3) (pow 1.0 3))

simplify86.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
05381662
124661546
250021502

prune294.0ms

Filtered
155 candidates to 90 candidates (58.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1541155
Fresh022
Picked101
Done011
Total1554159

Merged error: 0.0b

Counts
159 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
13×add-log-exp
12×*-un-lft-identity difference-of-squares
11×times-frac associate-/l*
difference-cubes add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 exp-lft-cube exp-prod exp-to-pow
unpow-prod-down cube-prod distribute-lft-out-- sqr-pow
cbrt-undiv associate-+l+ flip3-- flip3-+ div-exp associate-*l/ associate-/r/ flip-- flip-+ associate-/l/
+-commutative distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log div-sub prod-exp clear-num associate-/r* sum-log cbrt-unprod div-inv rem-exp-log
Counts
4 → 86
Calls
4 calls:
2.0ms
(exp (* x 3))
9.0ms
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))
18.0ms
(/ (- (exp (* x 3)) (pow 1.0 3)) (* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x))
6.0ms
(- (exp (* x 3)) (pow 1.0 3))

series163.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(exp (* x 3))
31.0ms
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))
108.0ms
(/ (- (exp (* x 3)) (pow 1.0 3)) (* (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))) x))
18.0ms
(- (exp (* x 3)) (pow 1.0 3))

simplify53.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04321074
11768915
25003915

prune223.0ms

Filtered
98 candidates to 69 candidates (70.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New96298
Fresh112
Picked101
Done011
Total984102

Merged error: 0b

Counts
102 → 4

regimes24.0ms

Accuracy

98.6% (0.3b remaining)

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

bsearch44.0ms

Steps
ItersRangePoint
8
-0.011085094476318487
-7.229928480977052e-07
-0.00011443259697695033

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04830
14830

end0.0ms

sample965.0ms

Algorithm
intervals
Results
427.0ms2252×body1280valid
191.0ms1618×body640valid
121.0ms5428×body80valid
65.0ms833×body320valid
21.0ms411×body160valid

Profiling

Loading profile data...