Details

Time bar (total: 4.9s)

sample99.0ms

Algorithm
intervals
Results
34.0ms51×body1280valid
19.0ms14×body2560valid
15.0ms36×body640valid
11.0ms124×body80valid
7.0ms22×body320valid
2.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0117
1137
2137

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.4b

localize11.0ms

Local error

Found 3 expressions with local error:

6.5b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
29.9b
(sin (/ x (* y 2.0)))
30.1b
(tan (/ x (* y 2.0)))

rewrite8.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 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
tan-quot
cbrt-undiv frac-2neg div-exp clear-num div-inv associate-/l/
Counts
3 → 49
Calls
3 calls:
4.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
2.0ms
(sin (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))

series100.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0146485
1433441
21789441
35001441

prune215.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 27.8b

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

prune35.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 27.8b

localize12.0ms

Local error

Found 4 expressions with local error:

6.5b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
29.7b
(cos (/ x (* y 2.0)))
29.9b
(sin (/ x (* y 2.0)))
29.9b
(sin (/ x (* y 2.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
times-frac associate-/l*
cbrt-undiv div-exp
frac-2neg prod-exp clear-num associate-/r* associate-/r/ sin-cos-mult cbrt-unprod div-inv
Counts
4 → 51
Calls
4 calls:
10.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (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)))

series57.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0154539
1486393
22459391
35001385

prune222.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 27.8b

localize19.0ms

Local error

Found 4 expressions with local error:

29.7b
(cos (/ x (* y 2.0)))
29.7b
(cos (/ x (* y 2.0)))
29.9b
(sin (/ x (* y 2.0)))
29.9b
(sin (/ x (* y 2.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
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)))

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

simplify52.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
057220
1118192
2323192
31358192
45001192

prune180.0ms

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 27.7b

regimes556.0ms

Accuracy

42.1% (1.5b remaining)

Error of 27.4b against oracle of 25.8b and baseline of 28.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02136
12136

end0.0ms

sample3.1s

Algorithm
intervals
Results
935.0ms1368×body1280valid
920.0ms636×body2560valid
402.0ms972×body640valid
402.0ms4132×body80valid
184.0ms578×body320valid
73.0ms314×body160valid