Details

Time bar (total: 3.8s)

sample68.0ms

Algorithm
intervals
Results
19.0ms22×body2560valid
19.0ms44×body1280valid
7.0ms133×body80valid
7.0ms27×body640valid
4.0ms22×body320valid
1.0msbody160valid

simplify7.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: 35.3b

localize15.0ms

Local error

Found 3 expressions with local error:

7.0b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
28.0b
(sin (/ x (* y 2.0)))
28.6b
(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 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:
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)))

series93.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0146485
1433441
21789441
35001441

prune208.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 25.7b

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

prune30.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 25.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(expm1 (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))))
7.0b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
28.0b
(sin (/ x (* y 2.0)))
28.6b
(tan (/ x (* y 2.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
log1p-expm1-u
pow1 expm1-log1p-u add-log-exp
associate-/r* associate-/l*
tan-quot
cbrt-undiv expm1-log1p frac-2neg div-exp clear-num div-inv associate-/l/ expm1-udef
Counts
4 → 60
Calls
4 calls:
1.0ms
(expm1 (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))))
6.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
2.0ms
(sin (/ x (* y 2.0)))
3.0ms
(tan (/ x (* y 2.0)))

series174.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(expm1 (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))))
41.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
9.0ms
(sin (/ x (* y 2.0)))
40.0ms
(tan (/ x (* y 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0178614
1530553
22057551
35001551

prune262.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 25.7b

localize26.0ms

Local error

Found 4 expressions with local error:

28.0b
(sin (/ x (* y 2.0)))
28.6b
(tan (/ x (* y 2.0)))
28.6b
(tan (/ x (* y 2.0)))
28.6b
(tan (/ x (* y 2.0)))

rewrite10.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
tan-quot
Counts
4 → 39
Calls
4 calls:
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(tan (/ x (* y 2.0)))
2.0ms
(tan (/ x (* y 2.0)))
2.0ms
(tan (/ x (* y 2.0)))

series134.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(sin (/ x (* y 2.0)))
40.0ms
(tan (/ x (* y 2.0)))
44.0ms
(tan (/ x (* y 2.0)))
40.0ms
(tan (/ x (* y 2.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
061250
1131222
2445222
31995222
45001222

prune247.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 25.7b

regimes360.0ms

Accuracy

0% (2.5b remaining)

Error of 28.4b against oracle of 25.9b and baseline of 28.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample2.0s

Algorithm
intervals
Results
578.0ms640×body2560valid
558.0ms1314×body1280valid
258.0ms1010×body640valid
230.0ms4132×body80valid
112.0ms574×body320valid
46.0ms330×body160valid