Details

Time bar (total: 4.6s)

sample321.0ms

Algorithm
intervals
Results
30.0ms70×body1280valid
12.0ms148×body80valid
11.0ms38×body640valid
3.0ms16×body320valid
2.0ms15×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.2b
(/ 1.0 (tan B))
0.2b
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
tan-quot associate-/r/ fma-udef
Counts
3 → 69
Calls
3 calls:
17.0ms
(/ 1.0 (sin B))
4.0ms
(/ 1.0 (tan B))
3.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))

series166.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
113.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))

simplify60.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0246416
1694382
22127382
35002377

prune222.0ms

Filtered
78 candidates to 64 candidates (82.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New69978
Fresh000
Picked101
Done000
Total70979

Merged error: 0.0b

Counts
79 → 9

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.2b
(fma (- x) (* 1.0 (/ (cos B) (sin B))) (/ 1.0 (sin B)))
0.2b
(/ (cos B) (sin B))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
fma-udef
Counts
3 → 68
Calls
3 calls:
3.0ms
(/ 1.0 (sin B))
1.0ms
(fma (- x) (* 1.0 (/ (cos B) (sin B))) (/ 1.0 (sin B)))
4.0ms
(/ (cos B) (sin B))

series136.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ 1.0 (sin B))
96.0ms
(fma (- x) (* 1.0 (/ (cos B) (sin B))) (/ 1.0 (sin B)))
22.0ms
(/ (cos B) (sin B))

simplify59.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0241480
1721438
22196438
35001433

prune193.0ms

Filtered
77 candidates to 61 candidates (79.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New75277
Fresh178
Picked101
Done000
Total77986

Merged error: 0.0b

Counts
86 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (sin B))
0.2b
(* (/ 1.0 (sin B)) (cos B))
0.2b
(fma (- x) (* (/ 1.0 (sin B)) (cos B)) (/ 1.0 (sin B)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity times-frac
13×add-exp-log associate-*l* add-cbrt-cube
pow1 associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv div-exp associate-*r* div-inv
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
pow-prod-down associate-*l/ *-commutative fma-udef
Counts
4 → 102
Calls
4 calls:
4.0ms
(/ 1.0 (sin B))
3.0ms
(/ 1.0 (sin B))
6.0ms
(* (/ 1.0 (sin B)) (cos B))
1.0ms
(fma (- x) (* (/ 1.0 (sin B)) (cos B)) (/ 1.0 (sin B)))

series170.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ 1.0 (sin B))
18.0ms
(/ 1.0 (sin B))
38.0ms
(* (/ 1.0 (sin B)) (cos B))
96.0ms
(fma (- x) (* (/ 1.0 (sin B)) (cos B)) (/ 1.0 (sin B)))

simplify121.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0279660
11109594
24890592
35001591

prune272.0ms

Filtered
114 candidates to 91 candidates (79.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1131114
Fresh088
Picked011
Done000
Total11310123

Merged error: 0.0b

Counts
123 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tan B)) (cbrt (tan B)))
0.6b
(cbrt (tan B))
0.6b
(cbrt (tan B))
0.6b
(cbrt (tan B))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
tan-quot cbrt-div
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
7.0ms
(* (cbrt (tan B)) (cbrt (tan B)))
4.0ms
(cbrt (tan B))
2.0ms
(cbrt (tan B))
2.0ms
(cbrt (tan B))

series469.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(* (cbrt (tan B)) (cbrt (tan B)))
113.0ms
(cbrt (tan B))
110.0ms
(cbrt (tan B))
113.0ms
(cbrt (tan B))

simplify70.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0174531
1545493
22172461
35001457

prune257.0ms

Filtered
99 candidates to 73 candidates (73.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New99099
Fresh088
Picked011
Done011
Total9910109

Merged error: 0.0b

Counts
109 → 10

regimes83.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0108
1108

end0.0ms

sample1.8s

Algorithm
intervals
Results
753.0ms1749×body1280valid
389.0ms1429×body640valid
313.0ms4899×body80valid
140.0ms723×body320valid
49.0ms364×body160valid

Profiling

Loading profile data...