Details

Time bar (total: 4.3s)

analyze18.0ms (0.4%)

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)

sample56.0ms (1.3%)

Algorithm
intervals
Results
16.0ms52×body1024valid
15.0ms43×body512valid
10.0ms150×body128valid
5.0ms256×pre128true
2.0ms11×body256valid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify100.0ms (2.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02417
12417

prune2.0ms (0.1%)

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)

localize9.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))

rewrite25.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64_1123
12×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
*-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
pow1_binary64_1162
associate-*r*_binary64_1041 associate-*l*_binary64_1042
cbrt-unprod_binary64_1134 add-log-exp_binary64_1140 prod-exp_binary64_1150 times-frac_binary64_1107 associate-/r*_binary64_1045
*-commutative_binary64_1032 associate-/r/_binary64_1047 pow-prod-down_binary64_1172 div-exp_binary64_1152 cbrt-undiv_binary64_1135 unswap-sqr_binary64_1069
frac-2neg_binary64_1112 clear-num_binary64_1100 flip3-+_binary64_1104 div-inv_binary64_1098 associate-/l*_binary64_1046 flip-+_binary64_1075
Counts
3 → 59
Calls

3 calls:

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

series153.0ms (3.6%)

Counts
3 → 9
Calls

3 calls:

88.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
37.0ms
(*.f64 e (sin.f64 v))
28.0ms
(*.f64 e (cos.f64 v))

simplify83.0ms (1.9%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
04947920
14947920

prune70.0ms (1.6%)

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)

localize15.0ms (0.3%)

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)

rewrite24.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_1123
14×add-exp-log_binary64_1139 associate-*r*_binary64_1041
13×*-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
10×add-cbrt-cube_binary64_1137
pow1_binary64_1162 associate-*l*_binary64_1042
unpow-prod-down_binary64_1180
unswap-sqr_binary64_1069
prod-exp_binary64_1150
add-log-exp_binary64_1140
*-commutative_binary64_1032 cbrt-unprod_binary64_1134 pow-unpow_binary64_1178 sqr-pow_binary64_1073 unpow2_binary64_1166
pow-exp_binary64_1169 pow-prod-down_binary64_1172 pow-to-exp_binary64_1170
pow-pow_binary64_1173
Counts
4 → 81
Calls

4 calls:

6.0ms
(*.f64 e (pow.f64 (cos.f64 v) 2))
4.0ms
(*.f64 e (sin.f64 v))
4.0ms
(*.f64 e (cos.f64 v))
3.0ms
(pow.f64 (cos.f64 v) 2)

series114.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

41.0ms
(*.f64 e (pow.f64 (cos.f64 v) 2))
30.0ms
(*.f64 e (sin.f64 v))
29.0ms
(*.f64 e (cos.f64 v))
13.0ms
(pow.f64 (cos.f64 v) 2)

simplify74.0ms (1.7%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
04937793
14937793

prune102.0ms (2.4%)

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)

localize8.0ms (0.2%)

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)))

rewrite27.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64_1107
57×add-sqr-sqrt_binary64_1123
55×*-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
16×associate-/r*_binary64_1045
12×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
div-inv_binary64_1098 associate-/l*_binary64_1046
pow1_binary64_1162
div-exp_binary64_1152 cbrt-undiv_binary64_1135
add-log-exp_binary64_1140 associate-*r*_binary64_1041 associate-*l*_binary64_1042
frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l/_binary64_1048
*-commutative_binary64_1032 cbrt-unprod_binary64_1134 prod-exp_binary64_1150 flip3-+_binary64_1104 associate-/r/_binary64_1047 pow-prod-down_binary64_1172 flip-+_binary64_1075 unswap-sqr_binary64_1069
Counts
3 → 117
Calls

3 calls:

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

series191.0ms (4.5%)

Counts
3 → 9
Calls

3 calls:

90.0ms
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))
73.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
27.0ms
(*.f64 e (cos.f64 v))

simplify87.0ms (2%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049543222
149543222

prune125.0ms (2.9%)

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)

localize13.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))

rewrite41.0ms (1%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64_1107
47×add-sqr-sqrt_binary64_1123
41×*-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
28×sqrt-prod_binary64_1117
22×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
div-inv_binary64_1098 associate-/l*_binary64_1046 associate-*r*_binary64_1041
pow1_binary64_1162 associate-/r*_binary64_1045
div-exp_binary64_1152 cbrt-undiv_binary64_1135
associate-*l*_binary64_1042
cbrt-unprod_binary64_1134 add-log-exp_binary64_1140 prod-exp_binary64_1150
unswap-sqr_binary64_1069
*-commutative_binary64_1032 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l/_binary64_1048 pow-prod-down_binary64_1172
flip3-+_binary64_1104 associate-/r/_binary64_1047 flip-+_binary64_1075
Counts
4 → 135
Calls

4 calls:

10.0ms
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e))))
8.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e)))
6.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
5.0ms
(*.f64 e (cos.f64 v))

series302.0ms (7.1%)

Counts
4 → 12
Calls

4 calls:

125.0ms
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e))))
103.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (*.f64 (sin.f64 v) (sqrt.f64 e)))
46.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
28.0ms
(*.f64 e (cos.f64 v))

simplify123.0ms (2.9%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
049543907
149543907

prune136.0ms (3.2%)

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)

regimes200.0ms (4.7%)

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%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01417
11417

end0.0ms (0%)

sample2.2s (51%)

Algorithm
intervals
Results
591.0ms2016×body1024valid
322.0ms4520×body128valid
205.0ms981×body512valid
162.0ms8000×pre128true
66.0ms480×body256valid
2.0msbody2048valid
Compiler

Compiled 717 to 478 computations (33.3% saved)

Profiling

Loading profile data...