Details

Time bar (total: 3.9s)

sample82.0ms

Algorithm
intervals
Results
27.0ms56×body1280valid
18.0ms19×body2560valid
12.0ms26×body640valid
8.0ms125×body80valid
4.0ms17×body320valid
2.0ms13×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117
1137
2137

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.8b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

6.0b
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
29.5b
(sin (/ x (* y 2.0)))
30.0b
(tan (/ 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
(sin (/ x (* y 2.0)))
2.0ms
(tan (/ x (* y 2.0)))

series32.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(/ (tan (/ x (* y 2.0))) (sin (/ x (* y 2.0))))
3.0ms
(sin (/ x (* y 2.0)))
13.0ms
(tan (/ x (* y 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0138457
1421413
21751413
35002413

prune172.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New381452
Fresh000
Picked101
Done000
Total391453

Merged error: 27.7b

Counts
53 → 14

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

prune51.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01313
Picked011
Done000
Total01414

Merged error: 27.7b

Counts
14 → 14

localize11.0ms

Local error

Found 4 expressions with local error:

6.0b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (cos (/ x (* y 2.0)))))
29.1b
(cos (/ x (* y 2.0)))
29.5b
(sin (/ x (* y 2.0)))
29.5b
(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)))

series18.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
(cos (/ x (* y 2.0)))
3.0ms
(sin (/ x (* y 2.0)))
3.0ms
(sin (/ x (* y 2.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0147493
1478347
22436345
35001339

prune173.0ms

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

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New451055
Fresh5712
Picked101
Done011
Total511869

Merged error: 27.7b

Counts
69 → 18

localize14.0ms

Local error

Found 4 expressions with local error:

6.0b
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (log (exp (cos (/ x (* y 2.0)))))))
29.1b
(cos (/ x (* y 2.0)))
29.5b
(sin (/ x (* y 2.0)))
29.5b
(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* cbrt-unprod div-inv
Counts
4 → 42
Calls
4 calls:
8.0ms
(/ (sin (/ x (* y 2.0))) (* (sin (/ x (* y 2.0))) (log (exp (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)))

series18.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0142520
1456348
22261344
35001336

prune115.0ms

Filtered
45 candidates to 54 candidates (-20.0%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New46854
Fresh41216
Picked101
Done011
Total512172

Merged error: 27.7b

Counts
72 → 21

regimes649.0ms

Accuracy

41% (1.5b remaining)

Error of 27.2b against oracle of 25.8b and baseline of 28.2b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01616
11616

end0.0ms

sample2.3s

Algorithm
intervals
Results
655.0ms1345×body1280valid
622.0ms654×body2560valid
322.0ms1022×body640valid
286.0ms4138×body80valid
125.0ms538×body320valid
56.0ms303×body160valid

Profiling

Loading profile data...