Details

Time bar (total: 4.5s)

sample95.0ms

Algorithm
intervals
Results
30.0ms47×body1280valid
29.0ms24×body2560valid
9.0ms28×body640valid
8.0ms119×body80valid
6.0ms25×body320valid
2.0ms13×body160valid

simplify5.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: 39.4b

localize10.0ms

Local error

Found 3 expressions with local error:

8.4b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
30.8b
(sin (/ x (* y 2.0)))
31.3b
(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:
5.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)))

series83.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)))
39.0ms
(tan (/ x (* y 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21765413
35001413

prune190.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 28.4b

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

prune33.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 28.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))) 3)
8.4b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
30.8b
(sin (/ x (* y 2.0)))
31.3b
(tan (/ x (* y 2.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
13×unpow-prod-down cube-prod
add-exp-log add-cbrt-cube
pow1
add-log-exp
pow-unpow associate-/r* div-inv associate-/l*
tan-quot cbrt-undiv div-exp pow-exp rem-cube-cbrt
cube-div cube-mult pow-to-exp pow-pow frac-2neg unpow3 clear-num associate-/l/ sqr-pow
Counts
4 → 89
Calls
4 calls:
5.0ms
(pow (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))) 3)
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)))

series139.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(pow (/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0)))) 3)
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
101 → 101
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03371072
11554977
25001968

prune314.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 28.4b

localize14.0ms

Local error

Found 4 expressions with local error:

8.4b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
30.8b
(sin (/ x (* y 2.0)))
30.8b
(sin (/ x (* y 2.0)))
31.0b
(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:
10.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)))))
10.0ms
(sin (/ x (* y 2.0)))
8.0ms
(sin (/ x (* y 2.0)))
10.0ms
(cos (/ x (* y 2.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0147493
1478347
22436345
35001339

prune167.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 28.4b

regimes462.0ms

Accuracy

35.6% (1.5b remaining)

Error of 27.9b against oracle of 26.3b and baseline of 28.7b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02222
12222

end0.0ms

sample2.7s

Algorithm
intervals
Results
872.0ms677×body2560valid
837.0ms1394×body1280valid
346.0ms980×body640valid
303.0ms4077×body80valid
135.0ms569×body320valid
54.0ms303×body160valid