Details

Time bar (total: 4.6s)

sample106.0ms

Algorithm
intervals
Results
35.0ms28×body2560valid
33.0ms56×body1280valid
14.0ms32×body640valid
8.0ms114×body80valid
4.0ms15×body320valid
2.0ms11×body160valid

simplify5.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: 37.5b

localize10.0ms

Local error

Found 3 expressions with local error:

5.3b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
32.1b
(sin (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))

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

series84.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0146485
1433441
21789441
35001441

prune195.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 29.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 (1.0ms)

IterNodesCost
000

prune34.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 29.8b

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(expm1 (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))))
5.3b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
32.1b
(sin (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))

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

series162.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(expm1 (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))))
36.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
8.0ms
(sin (/ x (* y 2.0)))
41.0ms
(tan (/ x (* y 2.0)))

simplify60.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0178614
1530553
22057551
35001551

prune257.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 29.8b

localize14.0ms

Local error

Found 4 expressions with local error:

0.7b
(log1p (expm1 (tan (/ x (* y 2.0)))))
5.3b
(/ (log1p (expm1 (tan (/ x (* y 2.0))))) (sin (/ x (* y 2.0))))
32.1b
(sin (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))

rewrite7.0ms

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

series193.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(log1p (expm1 (tan (/ x (* y 2.0)))))
97.0ms
(/ (log1p (expm1 (tan (/ x (* y 2.0))))) (sin (/ x (* y 2.0))))
8.0ms
(sin (/ x (* y 2.0)))
40.0ms
(tan (/ x (* y 2.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0157605
1415531
21749518
35001512

prune200.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 29.8b

regimes374.0ms

Accuracy

40.2% (1.5b remaining)

Error of 27.1b against oracle of 25.7b and baseline of 28.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01818
11818

end0.0ms

sample2.7s

Algorithm
intervals
Results
871.0ms675×body2560valid
811.0ms1317×body1280valid
337.0ms948×body640valid
335.0ms4167×body80valid
144.0ms579×body320valid
60.0ms314×body160valid