Details

Time bar (total: 4.8s)

sample88.0ms

Algorithm
intervals
Results
28.0ms19×body2560valid
21.0ms35×body1280valid
11.0ms146×body80valid
10.0ms29×body640valid
4.0ms18×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: 31.9b

localize10.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)))

rewrite22.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:
12.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)))

series104.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0146485
1433441
21789441
35001441

prune206.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 22.5b

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

prune33.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 22.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.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:
19.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
28.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)))

series145.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
46.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
11.0ms
(sin (/ x (* y 2.0)))
43.0ms
(tan (/ x (* y 2.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
03851670
120051518
250021443

prune344.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 22.4b

localize16.0ms

Local error

Found 4 expressions with local error:

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

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

series145.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sin (/ x (* y 2.0)))
43.0ms
(tan (/ x (* y 2.0)))
47.0ms
(tan (/ x (* y 2.0)))
44.0ms
(tan (/ x (* y 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
061250
1131222
2445222
31995222
45001222

prune209.0ms

Pruning

19 alts after pruning (17 fresh and 2 done)

Merged error: 22.3b

regimes397.0ms

Accuracy

40.5% (1.5b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02134
12134

end0.0ms

sample2.8s

Algorithm
intervals
Results
830.0ms1363×body1280valid
826.0ms627×body2560valid
378.0ms1009×body640valid
313.0ms4123×body80valid
148.0ms576×body320valid
56.0ms302×body160valid