Details

Time bar (total: 4.8s)

sample92.0ms

Algorithm
intervals
Results
25.0ms19×body2560valid
21.0ms35×body1280valid
16.0ms146×body80valid
11.0ms29×body640valid
5.0ms18×body320valid
2.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1137
2137

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.9b

localize9.0ms

Local error

Found 3 expressions with local error:

7.7b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
24.3b
(sin (/ x (* y 2.0)))
24.5b
(tan (/ x (* y 2.0)))

rewrite20.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:
11.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
5.0ms
(sin (/ x (* y 2.0)))
3.0ms
(tan (/ x (* y 2.0)))

series98.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune263.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 22.5b

localize1.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify4.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune35.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 22.5b

localize10.0ms

Local error

Found 4 expressions with local error:

7.7b
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
24.0b
(cos (/ x (* y 2.0)))
24.3b
(sin (/ x (* y 2.0)))
24.3b
(sin (/ x (* y 2.0)))

rewrite50.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:
30.0ms
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
5.0ms
(cos (/ x (* y 2.0)))
7.0ms
(sin (/ x (* y 2.0)))
5.0ms
(sin (/ x (* y 2.0)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
15.0ms
(cos (/ x (* y 2.0)))
10.0ms
(sin (/ x (* y 2.0)))
10.0ms
(sin (/ x (* y 2.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03511606
114701336
250011259

prune296.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 22.4b

localize14.0ms

Local error

Found 4 expressions with local error:

7.7b
(/ (/ (sin (/ x (* y 2.0))) (log (exp (cos (/ x (* y 2.0)))))) (sin (/ x (* y 2.0))))
24.0b
(cos (/ x (* y 2.0)))
24.3b
(sin (/ x (* y 2.0)))
24.3b
(sin (/ x (* y 2.0)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
159×times-frac
86×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
48×log-pow
36×exp-prod
25×associate-/l*
16×pow1
add-exp-log add-cbrt-cube
div-inv
add-log-exp
cbrt-undiv div-exp associate-/r*
frac-2neg clear-num associate-/l/
Counts
4 → 139
Calls
4 calls:
38.0ms
(/ (/ (sin (/ x (* y 2.0))) (log (exp (cos (/ x (* y 2.0)))))) (sin (/ x (* y 2.0))))
5.0ms
(cos (/ x (* y 2.0)))
5.0ms
(sin (/ x (* y 2.0)))
5.0ms
(sin (/ x (* y 2.0)))

series54.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (/ (sin (/ x (* y 2.0))) (log (exp (cos (/ x (* y 2.0)))))) (sin (/ x (* y 2.0))))
12.0ms
(cos (/ x (* y 2.0)))
10.0ms
(sin (/ x (* y 2.0)))
10.0ms
(sin (/ x (* y 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05542827
121132265
250012205

prune354.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 22.4b

regimes485.0ms

Accuracy

40.3% (1.4b remaining)

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

bsearch7.0ms

Steps
ItersRangePoint
4
21.37040012626099
32.576010825246556
31.946830247424455

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01733
11733

end0.0ms

sample2.7s

Algorithm
intervals
Results
812.0ms1363×body1280valid
797.0ms627×body2560valid
353.0ms1009×body640valid
317.0ms4123×body80valid
143.0ms576×body320valid
53.0ms302×body160valid