Details

Time bar (total: 4.6s)

sample90.0ms

Algorithm
intervals
Results
32.0ms26×body2560valid
21.0ms37×body1280valid
11.0ms32×body640valid
9.0ms134×body80valid
4.0ms18×body320valid
2.0msbody160valid

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: 34.9b

localize10.0ms

Local error

Found 3 expressions with local error:

6.7b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
28.2b
(sin (/ x (* y 2.0)))
28.3b
(tan (/ x (* y 2.0)))

rewrite24.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:
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)))

series76.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
7.0ms
(sin (/ x (* y 2.0)))
34.0ms
(tan (/ x (* y 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0146485
1433441
21789441
35001441

prune199.0ms

Pruning

16 alts after pruning (16 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

prune32.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 25.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
6.8b
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
28.2b
(sin (/ x (* y 2.0)))
28.3b
(tan (/ x (* y 2.0)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
87×times-frac
55×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log associate-/r*
11×add-cbrt-cube
div-exp
tan-quot associate-/r/ div-inv associate-/l*
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-flip inv-pow
Counts
4 → 131
Calls
4 calls:
17.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
26.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
5.0ms
(sin (/ x (* y 2.0)))
4.0ms
(tan (/ x (* y 2.0)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
33.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
8.0ms
(sin (/ x (* y 2.0)))
39.0ms
(tan (/ x (* y 2.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
03851670
120051518
250021443

prune303.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 25.6b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(log (exp (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))))
6.8b
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
28.2b
(sin (/ x (* y 2.0)))
28.3b
(tan (/ x (* y 2.0)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
15×log-pow
14×exp-prod
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
tan-quot log-prod associate-/r* associate-/l*
associate-/r/ div-inv
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num
Counts
4 → 77
Calls
4 calls:
28.0ms
(log (exp (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))))
26.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
5.0ms
(sin (/ x (* y 2.0)))
3.0ms
(tan (/ x (* y 2.0)))

series115.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(log (exp (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))))
33.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
8.0ms
(sin (/ x (* y 2.0)))
39.0ms
(tan (/ x (* y 2.0)))

simplify88.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0194763
1532694
22364694
35001694

prune259.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 25.6b

regimes300.0ms

Accuracy

21.4% (2.0b remaining)

Error of 28.1b against oracle of 26.1b and baseline of 28.6b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02733
12733

end0.0ms

sample2.7s

Algorithm
intervals
Results
817.0ms1378×body1280valid
804.0ms633×body2560valid
345.0ms1015×body640valid
283.0ms4089×body80valid
139.0ms577×body320valid
60.0ms308×body160valid