Details

Time bar (total: 4.0s)

sample69.0ms

Algorithm
intervals
Results
19.0ms22×body2560valid
15.0ms36×body1280valid
8.0ms33×body640valid
7.0ms136×body80valid
4.0ms18×body320valid
2.0ms11×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1137
2137

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.1b

Counts
2 → 1

localize15.0ms

Local error

Found 3 expressions with local error:

6.0b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
27.2b
(sin (/ x (* y 2.0)))
27.8b
(tan (/ x (* y 2.0)))

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

series103.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
10.0ms
(sin (/ x (* y 2.0)))
44.0ms
(tan (/ x (* y 2.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21751413
35002413

prune197.0ms

Filtered
52 candidates to 44 candidates (15.4%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New371552
Fresh000
Picked101
Done000
Total381553

Merged error: 25.2b

Counts
53 → 15

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

prune54.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01414
Picked011
Done000
Total01515

Merged error: 25.2b

Counts
15 → 15

localize11.0ms

Local error

Found 4 expressions with local error:

6.0b
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
27.0b
(cos (/ x (* y 2.0)))
27.2b
(sin (/ x (* y 2.0)))
27.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)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
12.0ms
(cos (/ x (* y 2.0)))
9.0ms
(sin (/ x (* y 2.0)))
10.0ms
(sin (/ x (* y 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03511606
114701336
250021259

prune405.0ms

Filtered
103 candidates to 83 candidates (19.4%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New9013103
Fresh7613
Picked101
Done011
Total9820118

Merged error: 25.2b

Counts
118 → 20

localize15.0ms

Local error

Found 4 expressions with local error:

27.0b
(cos (/ x (* y 2.0)))
27.0b
(cos (/ x (* y 2.0)))
27.2b
(sin (/ x (* y 2.0)))
27.2b
(sin (/ x (* y 2.0)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(cos (/ x (* y 2.0)))
2.0ms
(cos (/ x (* y 2.0)))
4.0ms
(sin (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(cos (/ x (* y 2.0)))
12.0ms
(cos (/ x (* y 2.0)))
9.0ms
(sin (/ x (* y 2.0)))
9.0ms
(sin (/ x (* y 2.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
053188
1114160
2315160
31342160
45001160

prune126.0ms

Filtered
40 candidates to 36 candidates (10.0%)
Pruning

24 alts after pruning (23 fresh and 1 done)

PrunedKeptTotal
New32840
Fresh31518
Picked101
Done011
Total362460

Merged error: 25.1b

Counts
60 → 24

regimes691.0ms

Accuracy

43% (1.5b remaining)

Error of 27.0b against oracle of 25.5b and baseline of 28.1b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01733
11733

end0.0ms

sample2.0s

Algorithm
intervals
Results
606.0ms1444×body1280valid
534.0ms604×body2560valid
258.0ms955×body640valid
231.0ms4175×body80valid
97.0ms522×body320valid
45.0ms300×body160valid

Profiling

Loading profile data...