Details

Time bar (total: 20.8s)

sample7.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 14.260864%

Guaranteed chance to sample good point: 71.201281%

Results
17.0ms195×body80valid
9.0ms20×body1280valid
8.0ms23×body640valid
5.0ms59×body80invalid
3.0msbody640invalid
2.0msbody320valid
2.0msbody1280invalid
2.0msbody320invalid
2.0msbody160valid
0.0msbody160invalid

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0278
1688
22438
312668
450018

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.2b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
3.4b
(* (* x (pow s 2.0)) x)
8.3b
(* x (pow s 2.0))
18.8b
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
122×add-exp-log
82×prod-exp
34×add-cbrt-cube
18×pow-to-exp pow-exp
17×add-sqr-sqrt
16×div-exp cbrt-unprod
12×add-cube-cbrt *-un-lft-identity
11×associate-*r* associate-*l*
unpow-prod-down
pow1
cbrt-undiv add-log-exp
times-frac *-commutative associate-/l* unswap-sqr sqr-pow
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 115
Calls
4 calls:
10.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
5.0ms
(* (* x (pow s 2.0)) x)
5.0ms
(* x (pow s 2.0))
13.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

series217.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
30.0ms
(* (* x (pow s 2.0)) x)
29.0ms
(* x (pow s 2.0))
81.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

simplify64.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05711041
12506875
25001871

prune266.0ms

Filtered
70 candidates to 127 candidates (-81.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11413127
Fresh000
Picked101
Done000
Total11513128

Merged error: 15.8b

Counts
128 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
0.5b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
3.4b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
18.8b
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
416×add-exp-log
343×prod-exp
84×pow-to-exp pow-exp
52×add-cbrt-cube
43×div-exp
29×cbrt-unprod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r*
associate-*l*
pow1 unpow-prod-down
cbrt-undiv
add-log-exp
times-frac *-commutative associate-/l*
sqr-pow
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 186
Calls
4 calls:
7.0ms
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
14.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
9.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
12.0ms
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

series214.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2)))
74.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
34.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
76.0ms
(* (pow c 2.0) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

simplify95.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07212340
132341837
250011781

prune276.0ms

Filtered
69 candidates to 198 candidates (-187.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1908198
Fresh6612
Picked101
Done000
Total19714211

Merged error: 2.9b

Counts
211 → 14

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
0.5b
(/ (cos (* 2.0 x)) (* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
63×add-exp-log
44×prod-exp
21×add-cbrt-cube
17×associate-*l*
16×add-sqr-sqrt
14×pow-to-exp add-cube-cbrt *-un-lft-identity pow-exp
11×pow1
cbrt-unprod
unpow-prod-down
associate-*r*
add-log-exp
times-frac swap-sqr *-commutative associate-/l*
cbrt-undiv div-exp sqr-pow
pow2 frac-2neg pow-plus pow-prod-down clear-num associate-/r* pow-sqr pow-prod-up div-inv unswap-sqr
Counts
4 → 106
Calls
4 calls:
3.0ms
(* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
5.0ms
(/ (cos (* 2.0 x)) (* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))))
7.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
7.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

series190.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
42.0ms
(/ (cos (* 2.0 x)) (* (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))))
66.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
66.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

simplify51.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04021518
114821245
250021172

prune396.0ms

Filtered
69 candidates to 118 candidates (-71.0%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New10414118
Fresh9413
Picked101
Done000
Total11418132

Merged error: 0.1b

Counts
132 → 18

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
0.6b
(/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
5.3b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
63×add-exp-log
58×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
42×prod-exp
21×add-cbrt-cube
16×associate-/l*
14×pow-to-exp associate-*l* pow-exp
unpow-prod-down associate-/r* cbrt-unprod div-inv
pow1 cbrt-undiv div-exp add-log-exp
frac-2neg associate-*r* clear-num *-commutative sqr-pow
associate-/l/
Counts
4 → 157
Calls
4 calls:
6.0ms
(/ (/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
4.0ms
(/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
7.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
7.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

series201.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ (/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2)))))) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
27.0ms
(/ (cos (* 2.0 x)) (fabs (* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))))
66.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
64.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

simplify73.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05953343
120823048
250012963

prune610.0ms

Filtered
110 candidates to 169 candidates (-53.6%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1627169
Fresh9817
Picked101
Done000
Total17215187

Merged error: 0.0b

Counts
187 → 15

regimes558.0ms

Accuracy

14.3% (2.3b remaining)

Error of 2.4b against oracle of 0.2b and baseline of 2.8b

bsearch145.0ms

Steps
ItersRangePoint
8
-9.069329554030634e-237
-2.0119557874523273e-241
-3.9412058536221336e-237
7
-1.1274221818133427e+248
-1.591717915014377e+246
-4.694771603218296e+247

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05162
15162

end0.0ms

sample9.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 14.260864%

Guaranteed chance to sample good point: 71.201281%

Results
550.0ms5971×body80valid
344.0ms672×body1280valid
257.0ms728×body640valid
122.0ms1406×body80invalid
113.0ms427×body320valid
91.0ms268×body640invalid
66.0ms130×body1280invalid
50.0ms212×body320invalid
37.0ms202×body160valid
17.0ms101×body160invalid

Profiling

Loading profile data...