Details

Time bar (total: 4.3s)

sample92.0ms

Algorithm
intervals
Results
31.0ms25×body2560valid
27.0ms46×body1280valid
10.0ms29×body640valid
9.0ms133×body80valid
3.0ms13×body320valid
2.0ms10×body160valid

simplify6.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.2b

localize10.0ms

Local error

Found 3 expressions with local error:

8.0b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
27.9b
(tan (/ x (* y 2.0)))
28.3b
(sin (/ x (* y 2.0)))

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

series89.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
42.0ms
(tan (/ x (* y 2.0)))
9.0ms
(sin (/ x (* y 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune179.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 25.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 (2.0ms)

IterNodesCost
000

prune29.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 25.8b

localize12.0ms

Local error

Found 4 expressions with local error:

8.0b
(/ (/ (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))) (sin (/ x (* y 2.0))))
28.2b
(cos (/ x (* y 2.0)))
28.3b
(sin (/ x (* y 2.0)))
28.3b
(sin (/ x (* y 2.0)))

rewrite19.0ms

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

series47.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03511606
114701336
250011259

prune296.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 25.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (cos (/ x (* y 2.0))))
28.2b
(cos (/ x (* y 2.0)))
28.2b
(cos (/ x (* y 2.0)))
28.2b
(cos (/ x (* y 2.0)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
1.0ms
(cbrt (cos (/ 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)))

series112.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(cbrt (cos (/ x (* y 2.0))))
10.0ms
(cos (/ x (* y 2.0)))
10.0ms
(cos (/ x (* y 2.0)))
11.0ms
(cos (/ x (* y 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 4 (51.0ms)

IterNodesCost
057240
1137210
2381208
31849208
45001207

prune147.0ms

Pruning

19 alts after pruning (18 fresh and 1 done)

Merged error: 25.6b

regimes388.0ms

Accuracy

0% (2.5b remaining)

Error of 28.1b against oracle of 25.6b and baseline of 28.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01918
11918

end0.0ms

sample2.6s

Algorithm
intervals
Results
828.0ms643×body2560valid
790.0ms1336×body1280valid
340.0ms942×body640valid
301.0ms4147×body80valid
150.0ms613×body320valid
58.0ms319×body160valid