Details

Time bar (total: 4.4s)

analyze116.0ms (2.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04334
14334
022
122
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)

sample53.0ms (1.2%)

Algorithm
intervals
Results
20.0ms70×body1024valid
9.0ms135×body128valid
7.0ms36×body512valid
5.0ms256×pre128true
2.0ms15×body256valid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify12.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
02417
12417

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

rewrite19.0ms (0.4%)

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:

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

series157.0ms (3.6%)

Counts
3 → 9
Calls

3 calls:

88.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
39.0ms
(*.f64 e (sin.f64 v))
30.0ms
(*.f64 e (cos.f64 v))

simplify88.0ms (2%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
04947920
14947920

prune68.0ms (1.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh000
Picked101
Done000
Total62769
Error
0.0b
Counts
69 → 7
Compiler

Compiled 1205 to 483 computations (59.9% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 e (cos.f64 v))
0.1b
(*.f64 e (sin.f64 v))
0.1b
(*.f64 e (pow.f64 (cos.f64 v) 2))
0.3b
(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)

series121.0ms (2.8%)

Counts
4 → 12
Calls

4 calls:

42.0ms
(*.f64 e (pow.f64 (cos.f64 v) 2))
36.0ms
(*.f64 e (cos.f64 v))
29.0ms
(*.f64 e (sin.f64 v))
14.0ms
(pow.f64 (cos.f64 v) 2)

simplify79.0ms (1.8%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
04937793
14937793

prune104.0ms (2.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh066
Picked011
Done000
Total937100
Error
0.0b
Counts
100 → 7
Compiler

Compiled 2454 to 1145 computations (53.3% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 e (cos.f64 v))
0.2b
(/.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)))

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

series196.0ms (4.5%)

Counts
3 → 9
Calls

3 calls:

92.0ms
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))
76.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
27.0ms
(*.f64 e (cos.f64 v))

simplify91.0ms (2.1%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049543222
149543222

prune122.0ms (2.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1233126
Fresh235
Picked011
Done011
Total1258133
Error
0.0b
Counts
133 → 8
Compiler

Compiled 2733 to 1127 computations (58.8% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite39.0ms (0.9%)

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

4 calls:

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

series299.0ms (6.9%)

Counts
4 → 12
Calls

4 calls:

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

simplify109.0ms (2.5%)

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
050602891

prune131.0ms (3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1343137
Fresh145
Picked011
Done022
Total13510145
Error
0b
Counts
145 → 10
Compiler

Compiled 3173 to 1181 computations (62.8% saved)

regimes215.0ms (4.9%)

Accuracy

Total 0.1b remaining (96.1%)

Threshold costs 0.1b (96.1%)

Compiler

Compiled 2201 to 1514 computations (31.2% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07534
17534

end0.0ms (0%)

sample2.2s (51.3%)

Algorithm
intervals
Results
589.0ms2045×body1024valid
304.0ms4473×body128valid
206.0ms978×body512valid
158.0ms8000×pre128true
68.0ms499×body256valid
3.0msbody2048valid
Compiler

Compiled 762 to 526 computations (31% saved)

Profiling

Loading profile data...