Details

Time bar (total: 10.3s)

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 14.386397%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
17.0ms195×body80valid
8.0ms24×body640valid
8.0ms16×body1280valid
4.0ms47×body80invalid
2.0ms12×body160valid
2.0msbody320valid
1.0msbody640invalid
1.0msbody320invalid
1.0msbody1280invalid
0.0msbody160invalid

simplify40.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: 27.6b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
3.8b
(* (* x (pow s 2.0)) x)
8.5b
(* x (pow s 2.0))
19.6b
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

rewrite182.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:
11.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
151.0ms
(* (* x (pow s 2.0)) x)
5.0ms
(* x (pow s 2.0))
10.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

series230.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (cos (* 2.0 x)) (* (pow c 2.0) (* (* x (pow s 2.0)) x)))
33.0ms
(* (* x (pow s 2.0)) x)
35.0ms
(* x (pow s 2.0))
82.0ms
(* (pow c 2.0) (* (* x (pow s 2.0)) x))

simplify65.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05711041
12506875
25001871

prune242.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11512127
Fresh000
Picked101
Done000
Total11612128

Merged error: 14.8b

Counts
128 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

3.5b
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
3.8b
(* (* x (pow s 2.0)) x)
6.8b
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))
8.5b
(* x (pow s 2.0))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
226×add-exp-log
202×prod-exp
50×pow-to-exp pow-exp
34×add-cbrt-cube
20×cbrt-unprod
18×associate-*l*
17×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity associate-*r*
10×unpow-prod-down
pow1
*-commutative add-log-exp sqr-pow
unswap-sqr
pow-prod-down
Counts
4 → 146
Calls
4 calls:
12.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
6.0ms
(* (* x (pow s 2.0)) x)
9.0ms
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))
5.0ms
(* x (pow s 2.0))

series234.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x)))
35.0ms
(* (* x (pow s 2.0)) x)
84.0ms
(* (pow c (/ 2.0 2)) (* (* x (pow s 2.0)) x))
32.0ms
(* x (pow s 2.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06081377
124521164
250011160

prune263.0ms

Filtered
69 candidates to 158 candidates (-129.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1526158
Fresh3811
Picked101
Done000
Total15614170

Merged error: 11.0b

Counts
170 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))))
3.5b
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
3.8b
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
6.8b
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
1410×add-exp-log
1300×prod-exp
338×pow-to-exp pow-exp
130×div-exp
74×add-cbrt-cube
46×cbrt-unprod
15×associate-*l*
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 cbrt-undiv unpow-prod-down
associate-*r*
add-log-exp
times-frac *-commutative associate-/l*
sqr-pow
frac-2neg pow-prod-down clear-num associate-/r* div-inv
Counts
4 → 394
Calls
4 calls:
24.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))))
17.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* 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)
13.0ms
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

series279.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (cos (* 2.0 x)) (* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))))
82.0ms
(* (pow c (/ 2.0 2)) (* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)))
33.0ms
(* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x)
86.0ms
(* (pow c (/ 2.0 2)) (* (* (* x (pow s (/ 2.0 2))) (pow s (/ 2.0 2))) x))

simplify134.0ms

Algorithm
egg-herbie
Counts
406 → 406
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
09806240
136934690
250034512

prune312.0ms

Filtered
72 candidates to 406 candidates (-463.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New3988406
Fresh8513
Picked101
Done000
Total40713420

Merged error: 1.2b

Counts
420 → 13

localize15.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.4b
(/ (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)))))))
3.2b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
3.2b
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

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

series202.0ms

Counts
4 → 12
Calls
4 calls:
17.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))))))
47.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)))))))
68.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))
70.0ms
(* (pow c (/ 2.0 2)) (* x (pow s (/ 2.0 2))))

simplify50.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04021518
114821245
250021172

prune277.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1108118
Fresh8412
Picked101
Done000
Total11912131

Merged error: 0.0b

Counts
131 → 12

regimes391.0ms

Accuracy

0% (2.3b remaining)

Error of 2.5b against oracle of 0.2b and baseline of 2.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01818
11818

end0.0ms

sample4.4s

Algorithm
intervals
sampling

Space saved by range analysis: 14.386397%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
533.0ms5977×body80valid
335.0ms686×body1280valid
254.0ms714×body640valid
121.0ms1380×body80invalid
105.0ms401×body320valid
80.0ms249×body640invalid
57.0ms122×body1280invalid
43.0ms183×body320invalid
42.0ms222×body160valid
19.0ms102×body160invalid

Profiling

Loading profile data...