Details

Time bar (total: 4.6s)

sample89.0ms

Algorithm
intervals
Results
26.0ms42×body1280valid
23.0ms17×body2560valid
14.0ms142×body80valid
11.0ms32×body640valid
5.0ms20×body320valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0117
1137
2137

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.9b

localize10.0ms

Local error

Found 3 expressions with local error:

10.6b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
26.3b
(tan (/ x (* y 2.0)))
26.5b
(sin (/ 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))))
1.0ms
(tan (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))

series82.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0146485
1433441
21789441
35001441

prune185.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

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

IterNodesCost
000

prune29.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 23.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
10.6b
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
26.3b
(tan (/ x (* y 2.0)))
26.5b
(sin (/ x (* y 2.0)))

rewrite23.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:
7.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
8.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
1.0ms
(tan (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1 (/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0)))))
32.0ms
(/ (sin (/ x (* y 2.0))) (tan (/ x (* y 2.0))))
34.0ms
(tan (/ x (* y 2.0)))
10.0ms
(sin (/ x (* y 2.0)))

simplify59.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03851670
120051518
250021443

prune277.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 23.6b

localize9.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ 1 (- 1 (* 0.125 (/ (pow x 2) (pow y 2)))))
14.7b
(/ (pow x 2) (pow y 2))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
73×times-frac
54×unpow-prod-down
46×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×add-exp-log unpow2 sqr-pow
11×div-exp associate-/r* associate-/l*
pow-to-exp pow-exp add-cbrt-cube
pow1
cbrt-undiv expm1-log1p-u frac-2neg clear-num associate-/r/ log1p-expm1-u div-inv add-log-exp
rec-exp flip3-- pow-flip 1-exp flip-- inv-pow
Counts
2 → 137
Calls
2 calls:
4.0ms
(/ 1 (- 1 (* 0.125 (/ (pow x 2) (pow y 2)))))
6.0ms
(/ (pow x 2) (pow y 2))

series83.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(/ 1 (- 1 (* 0.125 (/ (pow x 2) (pow y 2)))))
30.0ms
(/ (pow x 2) (pow y 2))

simplify53.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0375983
11756816
25002802

prune220.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 23.6b

regimes293.0ms

Accuracy

32.7% (1.7b remaining)

Error of 27.4b against oracle of 25.7b and baseline of 28.2b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02017
12017

end0.0ms

sample2.9s

Algorithm
intervals
Results
880.0ms663×body2560valid
844.0ms1348×body1280valid
424.0ms4133×body80valid
367.0ms956×body640valid
164.0ms577×body320valid
72.0ms323×body160valid