Details

Time bar (total: 4.0s)

sample75.0ms

Algorithm
intervals
Results
19.0ms40×body1280valid
18.0ms19×body2560valid
11.0ms37×body640valid
10.0ms134×body80valid
4.0ms17×body320valid
1.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01313
11313

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

6.2b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
27.2b
(tan (/ x (* y 2.0)))
27.2b
(sin (/ x (* y 2.0)))

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

series38.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
14.0ms
(tan (/ x (* y 2.0)))
4.0ms
(sin (/ x (* y 2.0)))

simplify37.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05037733

prune183.0ms

Filtered
44 candidates to 52 candidates (-18.2%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New371552
Fresh000
Picked101
Done000
Total381553

Merged error: 25.8b

Counts
53 → 15

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

prune57.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01414
Picked011
Done000
Total01515

Merged error: 25.8b

Counts
15 → 15

localize10.0ms

Local error

Found 4 expressions with local error:

6.3b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
27.2b
(sin (/ x (* y 2.0)))
27.2b
(sin (/ x (* y 2.0)))
27.6b
(cos (/ x (* y 2.0)))

rewrite14.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:
7.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)))

series19.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
4.0ms
(sin (/ x (* y 2.0)))
3.0ms
(sin (/ x (* y 2.0)))
5.0ms
(cos (/ x (* y 2.0)))

simplify78.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
04681542
14681542

prune190.0ms

Filtered
45 candidates to 55 candidates (-22.2%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New451055
Fresh4913
Picked101
Done011
Total502070

Merged error: 25.8b

Counts
70 → 20

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (/ 1 (cos (/ x (* y 2.0))))) (cbrt (/ 1 (cos (/ x (* y 2.0))))))
27.6b
(cos (/ x (* y 2.0)))
27.6b
(cos (/ x (* y 2.0)))
27.6b
(cos (/ x (* y 2.0)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
80×cbrt-prod
76×add-sqr-sqrt
52×times-frac
46×*-un-lft-identity
36×add-cube-cbrt
18×swap-sqr
16×associate-*r* associate-*l* unswap-sqr
11×pow1
add-exp-log pow1/3 div-inv
cbrt-div add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 108
Calls
4 calls:
13.0ms
(* (cbrt (/ 1 (cos (/ x (* y 2.0))))) (cbrt (/ 1 (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)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (cbrt (/ 1 (cos (/ x (* y 2.0))))) (cbrt (/ 1 (cos (/ x (* y 2.0))))))
4.0ms
(cos (/ x (* y 2.0)))
4.0ms
(cos (/ x (* y 2.0)))
5.0ms
(cos (/ x (* y 2.0)))

simplify55.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049442077
149442077

prune276.0ms

Filtered
74 candidates to 120 candidates (-62.2%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1128120
Fresh81018
Picked101
Done011
Total12119140

Merged error: 25.6b

Counts
140 → 19

regimes494.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
02369
12369

end0.0ms

sample2.3s

Algorithm
intervals
Results
694.0ms1385×body1280valid
570.0ms581×body2560valid
313.0ms1020×body640valid
298.0ms4150×body80valid
131.0ms571×body320valid
50.0ms293×body160valid

Profiling

Loading profile data...