Details

Time bar (total: 4.3s)

sample104.0ms

Algorithm
intervals
Results
35.0ms28×body2560valid
33.0ms56×body1280valid
11.0ms32×body640valid
8.0ms114×body80valid
4.0ms15×body320valid
2.0ms11×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: 37.5b

localize15.0ms

Local error

Found 3 expressions with local error:

5.3b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
32.1b
(sin (/ x (* y 2.0)))
32.5b
(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)))

series82.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
7.0ms
(sin (/ x (* y 2.0)))
35.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

prune165.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 29.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

prune33.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 29.8b

localize14.0ms

Local error

Found 4 expressions with local error:

32.1b
(sin (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))

rewrite5.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
tan-quot
Counts
4 → 31
Calls
4 calls:
2.0ms
(sin (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(sin (/ x (* y 2.0)))
38.0ms
(tan (/ x (* y 2.0)))
35.0ms
(tan (/ x (* y 2.0)))
38.0ms
(tan (/ x (* y 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
056224
1123196
2434196
31952196
45001196

prune176.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 29.8b

localize18.0ms

Local error

Found 4 expressions with local error:

32.1b
(sin (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))
32.5b
(tan (/ x (* y 2.0)))

rewrite5.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
tan-quot
Counts
4 → 31
Calls
4 calls:
2.0ms
(sin (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))
1.0ms
(tan (/ x (* y 2.0)))

series115.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(sin (/ x (* y 2.0)))
34.0ms
(tan (/ x (* y 2.0)))
38.0ms
(tan (/ x (* y 2.0)))
35.0ms
(tan (/ x (* y 2.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
056224
1123196
2434196
31952196
45001196

prune158.0ms

Pruning

18 alts after pruning (16 fresh and 2 done)

Merged error: 29.8b

regimes336.0ms

Accuracy

39.7% (1.5b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01733
11733

end0.0ms

sample2.8s

Algorithm
intervals
Results
862.0ms675×body2560valid
777.0ms1317×body1280valid
481.0ms4167×body80valid
327.0ms948×body640valid
147.0ms579×body320valid
57.0ms314×body160valid