Details

Time bar (total: 4.5s)

sample91.0ms

Algorithm
intervals
Results
33.0ms26×body2560valid
21.0ms37×body1280valid
11.0ms32×body640valid
10.0ms134×body80valid
4.0ms18×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: 34.9b

localize10.0ms

Local error

Found 3 expressions with local error:

6.7b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
28.2b
(sin (/ x (* y 2.0)))
28.3b
(tan (/ x (* y 2.0)))

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

series76.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune195.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 25.7b

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

prune33.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 25.7b

localize11.0ms

Local error

Found 4 expressions with local error:

6.7b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
28.1b
(cos (/ x (* y 2.0)))
28.2b
(sin (/ x (* y 2.0)))
28.2b
(sin (/ x (* y 2.0)))

rewrite43.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:
29.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
5.0ms
(cos (/ x (* y 2.0)))
4.0ms
(sin (/ x (* y 2.0)))
5.0ms
(sin (/ x (* y 2.0)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
9.0ms
(cos (/ x (* y 2.0)))
7.0ms
(sin (/ x (* y 2.0)))
7.0ms
(sin (/ x (* y 2.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0147493
1478347
22436345
35001339

prune165.0ms

Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 25.7b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 2 (cos (/ x (* y 2.0))))
0.3b
(log (pow (exp (/ 2 (cos (/ x (* y 2.0))))) 1/2))
0.5b
(exp (/ 2 (cos (/ x (* y 2.0)))))
28.1b
(cos (/ x (* y 2.0)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
13×exp-prod
add-exp-log log-prod
add-cbrt-cube
add-log-exp
pow1
unpow-prod-down rem-log-exp associate-/r* associate-/l*
div-inv
cbrt-undiv pow-to-exp frac-2neg div-exp pow-exp clear-num log-pow rem-exp-log sqr-pow
Counts
4 → 73
Calls
4 calls:
5.0ms
(/ 2 (cos (/ x (* y 2.0))))
7.0ms
(log (pow (exp (/ 2 (cos (/ x (* y 2.0))))) 1/2))
9.0ms
(exp (/ 2 (cos (/ x (* y 2.0)))))
5.0ms
(cos (/ x (* y 2.0)))

series163.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ 2 (cos (/ x (* y 2.0))))
87.0ms
(log (pow (exp (/ 2 (cos (/ x (* y 2.0))))) 1/2))
43.0ms
(exp (/ 2 (cos (/ x (* y 2.0)))))
11.0ms
(cos (/ x (* y 2.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0211635
1649548
22346537
35001536

prune278.0ms

Pruning

25 alts after pruning (24 fresh and 1 done)

Merged error: 25.6b

regimes339.0ms

Accuracy

0% (2.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0159
1159

end0.0ms

sample2.8s

Algorithm
intervals
Results
860.0ms1378×body1280valid
822.0ms633×body2560valid
360.0ms1015×body640valid
307.0ms4089×body80valid
142.0ms577×body320valid
64.0ms308×body160valid