Details

Time bar (total: 4.7s)

sample98.0ms

Algorithm
intervals
Results
34.0ms51×body1280valid
18.0ms14×body2560valid
15.0ms36×body640valid
11.0ms124×body80valid
7.0ms22×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: 36.4b

localize10.0ms

Local error

Found 3 expressions with local error:

6.5b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
29.9b
(sin (/ x (* y 2.0)))
30.1b
(tan (/ x (* y 2.0)))

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

series86.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune167.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 27.8b

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

prune34.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 27.8b

localize11.0ms

Local error

Found 4 expressions with local error:

6.5b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
29.7b
(cos (/ x (* y 2.0)))
29.9b
(sin (/ x (* y 2.0)))
29.9b
(sin (/ 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
(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))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
11.0ms
(cos (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0147493
1478347
22436345
35001339

prune167.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 27.8b

localize18.0ms

Local error

Found 4 expressions with local error:

29.7b
(cos (/ x (* y 2.0)))
29.7b
(cos (/ x (* y 2.0)))
29.9b
(sin (/ x (* y 2.0)))
29.9b
(sin (/ 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
(cos (/ 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)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(cos (/ 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)))

simplify45.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
053188
1114160
2315160
31342160
45001160

prune131.0ms

Pruning

25 alts after pruning (24 fresh and 1 done)

Merged error: 27.7b

regimes528.0ms

Accuracy

42.1% (1.5b remaining)

Error of 27.4b against oracle of 25.8b and baseline of 28.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02136
12136

end0.0ms

sample3.1s

Algorithm
intervals
Results
950.0ms1368×body1280valid
880.0ms636×body2560valid
422.0ms972×body640valid
404.0ms4132×body80valid
185.0ms578×body320valid
83.0ms314×body160valid