Details

Time bar (total: 6.3s)

analyze33.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
12.5%12.5%75%2
12.5%12.5%75%3
18.7%6.2%75%4
21.8%3.1%75%5
23.4%1.6%75%6
23.4%1.6%75%7
24.2%0.8%75%8
24.2%0.8%75%9
24.6%0.4%75%10
24.6%0.4%75%11
24.8%0.2%75%12
24.8%0.2%75%13
24.9%0.1%75%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample79.0ms (1.3%)

Algorithm
intervals
Results
25.0ms52×body1024valid
16.0ms150×body128valid
14.0ms43×body512valid
7.0ms256×pre128true
3.0ms11×body256valid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify121.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02417
12417

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.2b
Counts
2 → 1
Compiler

Compiled 22 to 18 computations (18.2% saved)

localize13.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
0.1b
(*.f64 e (cos.f64 v))
0.1b
(*.f64 e (sin.f64 v))

rewrite18.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64_100
12×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
pow1_binary64_139
associate-*l*_binary64_19 associate-*r*_binary64_18
add-log-exp_binary64_117 cbrt-unprod_binary64_111 prod-exp_binary64_127 times-frac_binary64_84 associate-/r*_binary64_22
*-commutative_binary64_9 cbrt-undiv_binary64_112 div-exp_binary64_129 pow-prod-down_binary64_149 unswap-sqr_binary64_46 associate-/r/_binary64_24
flip-+_binary64_52 frac-2neg_binary64_89 div-inv_binary64_75 associate-/l*_binary64_23 clear-num_binary64_77 flip3-+_binary64_81
Counts
3 → 59
Calls

3 calls:

6.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
4.0ms
(*.f64 e (sin.f64 v))
4.0ms
(*.f64 e (cos.f64 v))

series217.0ms (3.5%)

Counts
3 → 9
Calls

3 calls:

136.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
43.0ms
(*.f64 e (sin.f64 v))
37.0ms
(*.f64 e (cos.f64 v))

simplify131.0ms (2.1%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (108.0ms)

IterNodesCost
04947920
14947920

prune112.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh000
Picked101
Done000
Total60969
Error
0.0b
Counts
69 → 9
Compiler

Compiled 1222 to 505 computations (58.7% saved)

localize26.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 e (cos.f64 v))
0.1b
(*.f64 e (pow.f64 (cos.f64 v) 2))
0.1b
(*.f64 e (sin.f64 v))
0.2b
(pow.f64 (cos.f64 v) 2)

rewrite48.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_100
14×associate-*r*_binary64_18 add-exp-log_binary64_116
13×add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
10×add-cbrt-cube_binary64_114
associate-*l*_binary64_19 pow1_binary64_139
unpow-prod-down_binary64_157
unswap-sqr_binary64_46
prod-exp_binary64_127
add-log-exp_binary64_117
*-commutative_binary64_9 cbrt-unprod_binary64_111 unpow2_binary64_143 sqr-pow_binary64_50 pow-unpow_binary64_155
pow-exp_binary64_146 pow-to-exp_binary64_147 pow-prod-down_binary64_149
pow-pow_binary64_150
Counts
4 → 81
Calls

4 calls:

12.0ms
(*.f64 e (pow.f64 (cos.f64 v) 2))
9.0ms
(*.f64 e (sin.f64 v))
8.0ms
(*.f64 e (cos.f64 v))
5.0ms
(pow.f64 (cos.f64 v) 2)

series128.0ms (2%)

Counts
4 → 12
Calls

4 calls:

39.0ms
(*.f64 e (pow.f64 (cos.f64 v) 2))
34.0ms
(*.f64 e (sin.f64 v))
29.0ms
(*.f64 e (cos.f64 v))
25.0ms
(pow.f64 (cos.f64 v) 2)

simplify116.0ms (1.9%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
04937793
14937793

prune159.0ms (2.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh088
Picked011
Done000
Total939102
Error
0.0b
Counts
102 → 9
Compiler

Compiled 2471 to 1167 computations (52.8% saved)

localize17.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 e (cos.f64 v))
0.1b
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
0.2b
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))

rewrite42.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64_84
57×add-sqr-sqrt_binary64_100
55×add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
16×associate-/r*_binary64_22
12×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
div-inv_binary64_75 associate-/l*_binary64_23
pow1_binary64_139
cbrt-undiv_binary64_112 div-exp_binary64_129
associate-*l*_binary64_19 add-log-exp_binary64_117 associate-*r*_binary64_18
frac-2neg_binary64_89 clear-num_binary64_77 associate-/l/_binary64_25
*-commutative_binary64_9 cbrt-unprod_binary64_111 prod-exp_binary64_127 flip-+_binary64_52 pow-prod-down_binary64_149 unswap-sqr_binary64_46 associate-/r/_binary64_24 flip3-+_binary64_81
Counts
3 → 117
Calls

3 calls:

13.0ms
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))
11.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
8.0ms
(*.f64 e (cos.f64 v))

series281.0ms (4.5%)

Counts
3 → 9
Calls

3 calls:

123.0ms
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))
106.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
52.0ms
(*.f64 e (cos.f64 v))

simplify91.0ms (1.5%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049543222
149543222

prune156.0ms (2.5%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1224126
Fresh437
Picked011
Done011
Total1269135
Error
0b
Counts
135 → 9
Compiler

Compiled 2760 to 1142 computations (58.6% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 e (cos.f64 v))
0.2b
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e)))
0.2b
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e))))
0.3b
(*.f64 (sin.f64 v) (sqrt.f64 e))

rewrite82.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64_84
47×add-sqr-sqrt_binary64_100
41×add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
28×sqrt-prod_binary64_94
22×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
div-inv_binary64_75 associate-*r*_binary64_18 associate-/l*_binary64_23
associate-/r*_binary64_22 pow1_binary64_139
cbrt-undiv_binary64_112 div-exp_binary64_129
associate-*l*_binary64_19
add-log-exp_binary64_117 cbrt-unprod_binary64_111 prod-exp_binary64_127
unswap-sqr_binary64_46
*-commutative_binary64_9 frac-2neg_binary64_89 pow-prod-down_binary64_149 clear-num_binary64_77 associate-/l/_binary64_25
flip-+_binary64_52 associate-/r/_binary64_24 flip3-+_binary64_81
Counts
4 → 135
Calls

4 calls:

21.0ms
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e))))
16.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e)))
11.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
8.0ms
(*.f64 e (cos.f64 v))

series368.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

171.0ms
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e))))
106.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e)))
61.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
30.0ms
(*.f64 e (cos.f64 v))

simplify170.0ms (2.7%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (122.0ms)

IterNodesCost
049543907
149543907

prune216.0ms (3.4%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1461147
Fresh156
Picked011
Done022
Total1479156
Error
0b
Counts
156 → 9
Compiler

Compiled 3400 to 1224 computations (64% saved)

regimes307.0ms (4.9%)

Accuracy

Total 0.1b remaining (94.2%)

Threshold costs 0.1b (94.2%)

Compiler

Compiled 2146 to 1430 computations (33.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01417
11417

end0.0ms (0%)

sample3.3s (52.8%)

Algorithm
intervals
Results
886.0ms2016×body1024valid
483.0ms4520×body128valid
308.0ms981×body512valid
217.0ms8000×pre128true
97.0ms480×body256valid
2.0msbody2048valid
Compiler

Compiled 717 to 478 computations (33.3% saved)

Profiling

Loading profile data...