Details

Time bar (total: 3.8s)

analyze4.0ms

Algorithm
search

sample72.0ms

Algorithm
intervals
Results
56.0ms179×body1280valid
6.0ms37×body640valid
2.0ms21×body320valid
1.0ms16×body160valid
0.0msbody80valid

simplify137.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4655
5965
61405
72855
816425
950015

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
6.2b
(+ (- (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)))

simplify89.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0209282
1694269
23196260
35001260

prune60.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0.0b

Counts
42 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
4.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
7.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series27.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0327476
11399443
25001425

prune145.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85287
Fresh011
Picked011
Done000
Total85489

Merged error: 0b

Counts
89 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))) (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
30.6b
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
30.6b
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
30.6b
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
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 → 95
Calls
4 calls:
16.0ms
(* (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))) (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
6.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
8.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
6.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

series65.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))) (cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))))
15.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
15.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))
16.0ms
(cbrt (+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03542145
112022017
250021805

prune529.0ms

Filtered
75 candidates to 107 candidates (-42.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh022
Picked011
Done011
Total1074111

Merged error: 0b

Counts
111 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 2.0)
0.0b
(/ (- (* (exp x) (exp x)) (* 2.0 2.0)) (+ (exp x) 2.0))
0.0b
(* (exp x) (exp x))
6.0b
(+ (/ (- (* (exp x) (exp x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (neg x)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
26×add-sqr-sqrt
24×add-cube-cbrt
18×exp-prod
16×times-frac
11×pow1
add-cbrt-cube add-log-exp
distribute-lft-out
add-exp-log
difference-of-squares
pow-prod-down associate-/r* pow-sqr pow-prod-up associate-/l*
flip3-+ swap-sqr associate-*r* associate-*l* flip-+
+-commutative div-sub frac-add sum-log associate-/r/ associate-/l/
cbrt-undiv pow2 neg-sub0 exp-neg associate-+l- flip3-- frac-2neg pow-plus exp-diff div-exp prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv unswap-sqr
Counts
4 → 102
Calls
4 calls:
4.0ms
(+ (exp x) 2.0)
11.0ms
(/ (- (* (exp x) (exp x)) (* 2.0 2.0)) (+ (exp x) 2.0))
6.0ms
(* (exp x) (exp x))
16.0ms
(+ (/ (- (* (exp x) (exp x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (neg x)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ (exp x) 2.0)
9.0ms
(/ (- (* (exp x) (exp x)) (* 2.0 2.0)) (+ (exp x) 2.0))
3.0ms
(* (exp x) (exp x))
21.0ms
(+ (/ (- (* (exp x) (exp x)) (* 2.0 2.0)) (+ (exp x) 2.0)) (exp (neg x)))

simplify68.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0464982
12248906
25001899

prune118.0ms

Filtered
80 candidates to 114 candidates (-42.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh011
Picked011
Done022
Total1144118

Merged error: 0b

Counts
118 → 4

regimes38.0ms

Accuracy

0% (0.6b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

analyze4.0ms

Algorithm
search

sample2.2s

Algorithm
intervals
Results
1.8s5651×body1280valid
217.0ms1257×body640valid
65.0ms608×body320valid
22.0ms315×body160valid
6.0ms169×body80valid
0.0msbody80invalid

Profiling

Loading profile data...