Details

Time bar (total: 3.3s)

analyze4.0ms

Algorithm
search

sample75.0ms

Algorithm
intervals
Results
59.0ms184×body1280valid
6.0ms36×body640valid
2.0ms20×body320valid
1.0msbody160valid
0.0msbody80valid

simplify136.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4655
5965
61405
72855
816425
950015

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.4b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.4b
(+ (- (exp x) 2.0) (exp (neg x)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg associate-+l+ exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ difference-of-squares
Counts
2 → 35
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
7.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

series9.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(- (exp x) 2.0)
7.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

simplify85.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0209282
1694269
23196260
35001260

prune65.0ms

Filtered
29 candidates to 41 candidates (-41.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done000
Total39342

Merged error: 0.0b

Counts
42 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
12×*-un-lft-identity
11×add-log-exp
10×add-cube-cbrt
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+ distribute-lft-out
Counts
4 → 75
Calls
4 calls:
7.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
4.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series26.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0329464
11456438
25001422

prune138.0ms

Filtered
55 candidates to 87 candidates (-58.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh022
Picked011
Done000
Total87390

Merged error: 0.0b

Counts
90 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp x) 2.0)
0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(* (exp x) (- (exp x) 2.0))
3.1b
(+ 1 (* (exp x) (- (exp x) 2.0)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×*-un-lft-identity
pow1 add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
add-exp-log
sub-neg
distribute-rgt-in associate-+r+ distribute-lft-in
flip3-- flip3-+ associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
+-commutative diff-log sum-log distribute-lft-out
Counts
4 → 76
Calls
4 calls:
4.0ms
(- (exp x) 2.0)
7.0ms
(* (+ (exp x) 2.0) (exp x))
8.0ms
(* (exp x) (- (exp x) 2.0))
4.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

series17.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(- (exp x) 2.0)
4.0ms
(* (+ (exp x) 2.0) (exp x))
4.0ms
(* (exp x) (- (exp x) 2.0))
7.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0315493
11420451
25002451

prune100.0ms

Filtered
61 candidates to 88 candidates (-44.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh011
Picked011
Done011
Total87491

Merged error: 0.0b

Counts
91 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (exp x))
0.0b
(cbrt (exp x))
0.0b
(* (exp x) (- (exp x) 2.0))
3.1b
(+ 1 (* (exp x) (- (exp x) 2.0)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
add-cube-cbrt
pow1 cbrt-prod add-cbrt-cube add-log-exp
add-exp-log associate-*r*
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
associate-*l*
pow1/3 associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 63
Calls
4 calls:
2.0ms
(cbrt (exp x))
2.0ms
(cbrt (exp x))
8.0ms
(* (exp x) (- (exp x) 2.0))
4.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

series42.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(cbrt (exp x))
15.0ms
(cbrt (exp x))
4.0ms
(* (exp x) (- (exp x) 2.0))
8.0ms
(+ 1 (* (exp x) (- (exp x) 2.0)))

simplify37.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0245396
11037365
25001361

prune82.0ms

Filtered
55 candidates to 75 candidates (-36.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New75075
Fresh011
Picked011
Done022
Total75479

Merged error: 0.0b

Counts
79 → 4

regimes66.0ms

Accuracy

43.1% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04125
14125

end0.0ms

analyze4.0ms

Algorithm
search

sample2.2s

Algorithm
intervals
Results
1.8s5639×body1280valid
217.0ms1218×body640valid
70.0ms639×body320valid
22.0ms318×body160valid
7.0ms186×body80valid
0.0msbody80invalid

Profiling

Loading profile data...