Details

Time bar (total: 9.6s)

sample2.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 47.302246%

Results
30.0ms31×body2560valid
24.0ms48×body1280valid
9.0ms28×body640valid
9.0ms115×body80valid
5.0ms23×body320valid
2.0ms11×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1137
2137

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.6b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

6.5b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
32.2b
(sin (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
tan-quot
cbrt-undiv frac-2neg div-exp clear-num div-inv associate-/l/
Counts
3 → 43
Calls
3 calls:
5.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(tan (/ x (* y 2.0)))

series36.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
4.0ms
(sin (/ x (* y 2.0)))
16.0ms
(tan (/ x (* y 2.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21751413
35002413

prune174.0ms

Filtered
44 candidates to 52 candidates (-18.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New391352
Fresh000
Picked101
Done000
Total401353

Merged error: 29.9b

Counts
53 → 13

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune52.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01212
Picked011
Done000
Total01313

Merged error: 29.9b

Counts
13 → 13

localize11.0ms

Local error

Found 4 expressions with local error:

6.5b
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
32.1b
(cos (/ x (* y 2.0)))
32.2b
(sin (/ x (* y 2.0)))
32.2b
(sin (/ x (* y 2.0)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
46×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×associate-/l*
add-exp-log add-cbrt-cube
div-inv
pow1 add-log-exp
cbrt-undiv div-exp associate-/r*
frac-2neg clear-num associate-/l/
Counts
4 → 91
Calls
4 calls:
8.0ms
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
2.0ms
(cos (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))

series19.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
4.0ms
(cos (/ x (* y 2.0)))
3.0ms
(sin (/ x (* y 2.0)))
4.0ms
(sin (/ x (* y 2.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03511606
114701336
250021259

prune342.0ms

Filtered
83 candidates to 103 candidates (-24.1%)
Pruning

22 alts after pruning (21 fresh and 1 done)

PrunedKeptTotal
New8815103
Fresh5611
Picked101
Done011
Total9422116

Merged error: 29.9b

Counts
116 → 22

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1 (cos (/ x (* y 2.0))))
32.1b
(cos (/ x (* y 2.0)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log
add-cbrt-cube
pow1 associate-/r* associate-/l*
div-exp add-log-exp
cbrt-undiv rec-exp pow-flip frac-2neg 1-exp clear-num div-inv inv-pow
Counts
2 → 38
Calls
2 calls:
3.0ms
(/ 1 (cos (/ x (* y 2.0))))
2.0ms
(cos (/ x (* y 2.0)))

series11.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(/ 1 (cos (/ x (* y 2.0))))
5.0ms
(cos (/ x (* y 2.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0106281
1365250
21342236
35001236

prune47.0ms

Filtered
26 candidates to 44 candidates (-69.2%)
Pruning

22 alts after pruning (20 fresh and 2 done)

PrunedKeptTotal
New43144
Fresh11920
Picked011
Done011
Total442266

Merged error: 29.8b

Counts
66 → 22

regimes559.0ms

Accuracy

0% (2.4b remaining)

Error of 28.3b against oracle of 25.9b and baseline of 28.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample5.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 47.302246%

Results
670.0ms1355×body1280valid
661.0ms673×body2560valid
310.0ms990×body640valid
304.0ms4124×body80valid
128.0ms554×body320valid
53.0ms304×body160valid

Profiling

Loading profile data...