Details

Time bar (total: 4.1s)

sample90.0ms

Algorithm
intervals
Results
29.0ms23×body2560valid
27.0ms43×body1280valid
9.0ms134×body80valid
8.0ms23×body640valid
6.0ms23×body320valid
2.0ms10×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: 36.3b

localize9.0ms

Local error

Found 3 expressions with local error:

8.7b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
27.3b
(sin (/ x (* y 2.0)))
27.9b
(tan (/ 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 associate-/r* associate-/l* add-log-exp
tan-quot
cbrt-undiv frac-2neg div-exp clear-num div-inv associate-/l/
Counts
3 → 43
Calls
3 calls:
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)))

series84.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune161.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 25.1b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune28.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 25.1b

localize11.0ms

Local error

Found 4 expressions with local error:

8.6b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
27.3b
(sin (/ x (* y 2.0)))
27.3b
(sin (/ x (* y 2.0)))
27.6b
(cos (/ x (* y 2.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-log-exp
times-frac associate-/l*
cbrt-undiv div-exp
frac-2neg prod-exp clear-num associate-/r* associate-/r/ sin-cos-mult cbrt-unprod div-inv
Counts
4 → 43
Calls
4 calls:
9.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(cos (/ x (* y 2.0)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
8.0ms
(sin (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))
13.0ms
(cos (/ x (* y 2.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0147493
1478347
22436345
35001339

prune174.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 25.0b

localize16.0ms

Local error

Found 4 expressions with local error:

27.3b
(sin (/ x (* y 2.0)))
27.6b
(cos (/ x (* y 2.0)))
27.6b
(cos (/ x (* y 2.0)))
27.6b
(cos (/ x (* y 2.0)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
2.0ms
(sin (/ x (* y 2.0)))
2.0ms
(cos (/ x (* y 2.0)))
2.0ms
(cos (/ x (* y 2.0)))
2.0ms
(cos (/ x (* y 2.0)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(sin (/ x (* y 2.0)))
12.0ms
(cos (/ x (* y 2.0)))
10.0ms
(cos (/ x (* y 2.0)))
11.0ms
(cos (/ x (* y 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
053194
1114166
2315166
31342166
45001166

prune143.0ms

Pruning

19 alts after pruning (17 fresh and 2 done)

Merged error: 24.9b

regimes316.0ms

Accuracy

0% (2.6b remaining)

Error of 28.8b against oracle of 26.1b and baseline of 28.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010

end0.0ms

sample2.7s

Algorithm
intervals
Results
895.0ms690×body2560valid
828.0ms1381×body1280valid
342.0ms984×body640valid
290.0ms4076×body80valid
139.0ms569×body320valid
54.0ms300×body160valid