Details

Time bar (total: 3.6s)

sample74.0ms

Algorithm
intervals
Results
25.0ms29×body2560valid
19.0ms47×body1280valid
9.0ms36×body640valid
6.0ms113×body80valid
3.0ms18×body320valid
2.0ms13×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1137
2137

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.2b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

7.9b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
32.0b
(sin (/ x (* y 2.0)))
32.4b
(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)))

series89.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
8.0ms
(sin (/ x (* y 2.0)))
42.0ms
(tan (/ x (* y 2.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune174.0ms

Filtered
52 candidates to 44 candidates (84.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New381452
Fresh000
Picked101
Done000
Total391453

Merged error: 29.5b

Counts
53 → 14

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune31.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01313
Picked011
Done000
Total01414

Merged error: 29.5b

Counts
14 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

7.9b
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
32.0b
(sin (/ x (* y 2.0)))
32.0b
(sin (/ x (* y 2.0)))
32.4b
(cos (/ 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
(sin (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(cos (/ x (* y 2.0)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
8.0ms
(sin (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))
11.0ms
(cos (/ x (* y 2.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03511606
114701336
250031259

prune297.0ms

Filtered
103 candidates to 83 candidates (80.6%)
Pruning

24 alts after pruning (23 fresh and 1 done)

PrunedKeptTotal
New8320103
Fresh9312
Picked101
Done011
Total9324117

Merged error: 29.4b

Counts
117 → 24

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (cos (/ x (* y 2.0))))
32.4b
(cos (/ x (* y 2.0)))
32.4b
(cos (/ x (* y 2.0)))
32.4b
(cos (/ x (* y 2.0)))

rewrite9.0ms

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

series104.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(cbrt (cos (/ x (* y 2.0))))
10.0ms
(cos (/ x (* y 2.0)))
10.0ms
(cos (/ x (* y 2.0)))
10.0ms
(cos (/ x (* y 2.0)))

simplify52.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 4 (48.0ms)

IterNodesCost
057240
1137210
2381208
31849208
45001207

prune126.0ms

Filtered
44 candidates to 38 candidates (86.4%)
Pruning

25 alts after pruning (23 fresh and 2 done)

PrunedKeptTotal
New39544
Fresh41822
Picked011
Done011
Total432568

Merged error: 29.3b

Counts
68 → 25

regimes485.0ms

Accuracy

24.6% (1.9b remaining)

Error of 28.3b against oracle of 26.4b and baseline of 28.9b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02018
12018

end0.0ms

sample1.9s

Algorithm
intervals
Results
577.0ms664×body2560valid
572.0ms1396×body1280valid
252.0ms1018×body640valid
213.0ms4037×body80valid
104.0ms579×body320valid
41.0ms306×body160valid

Profiling

Loading profile data...