Details

Time bar (total: 3.9s)

sample75.0ms

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

simplify4.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

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

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

series33.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
3.0ms
(sin (/ x (* y 2.0)))
13.0ms
(tan (/ x (* y 2.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0138457
1421413
21751413
35002413

prune199.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

prune52.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01414
Picked011
Done000
Total01515

Merged error: 25.2b

Counts
15 → 15

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

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

simplify49.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03511606
114701336
250021259

prune431.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

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

rewrite9.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)))
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))

series16.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
053188
1114160
2315160
31342160
45001160

prune123.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

regimes682.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.1s

Algorithm
intervals
Results
626.0ms1444×body1280valid
541.0ms604×body2560valid
250.0ms955×body640valid
236.0ms4175×body80valid
100.0ms522×body320valid
45.0ms300×body160valid

Profiling

Loading profile data...