Details

Time bar (total: 5.4s)

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

sample53.0ms (1%)

Algorithm
intervals
Results
16.0ms55×body1024valid
11.0ms150×body128valid
6.0ms27×body512valid
5.0ms256×pre128true
4.0ms24×body256valid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify103.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02417
12417

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 22 to 18 computations (18.2% saved)

localize9.0ms (0.2%)

Local error

Found 6 expressions with local error:

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

rewrite19.0ms (0.3%)

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

6 calls:

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

series268.0ms (5%)

Counts
3 → 23
Calls

3 calls:

138.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
68.0ms
(*.f64 e (sin.f64 v))
62.0ms
(*.f64 e (cos.f64 v))
Compiler

Compiled 585 to 460 computations (21.4% saved)

simplify88.0ms (1.6%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049541070
149541070

prune101.0ms (1.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh000
Picked101
Done000
Total74983
Error
0.0b
Counts
83 → 9
Compiler

Compiled 1379 to 560 computations (59.4% saved)

localize13.0ms (0.2%)

Local error

Found 8 expressions with local error:

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

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity_binary64_1101
15×add-sqr-sqrt_binary64_1123
13×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
11×pow1_binary64_1162 add-cube-cbrt_binary64_1136
associate-*r*_binary64_1041 associate-*l*_binary64_1042
add-log-exp_binary64_1140 times-frac_binary64_1107 log-pow_binary64_1190 associate-/r*_binary64_1045
distribute-lft-out_binary64_1052
cbrt-unprod_binary64_1134 prod-exp_binary64_1150 log-prod_binary64_1187
*-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 rem-log-exp_binary64_1142 clear-num_binary64_1100 exp-prod_binary64_1153 flip3-+_binary64_1104 div-inv_binary64_1098 associate-/l*_binary64_1046 flip-+_binary64_1075 exp-to-pow_binary64_1163
Counts
4 → 77
Calls

8 calls:

8.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (log.f64 (exp.f64 (*.f64 e (cos.f64 v))))))
4.0ms
(*.f64 e (cos.f64 v))
4.0ms
(*.f64 e (sin.f64 v))
2.0ms
(log.f64 (exp.f64 (*.f64 e (cos.f64 v))))
0.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (log.f64 (exp.f64 (*.f64 e (cos.f64 v))))))

series631.0ms (11.6%)

Counts
4 → 29
Calls

4 calls:

325.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (log.f64 (exp.f64 (*.f64 e (cos.f64 v))))))
179.0ms
(log.f64 (exp.f64 (*.f64 e (cos.f64 v))))
69.0ms
(*.f64 e (sin.f64 v))
57.0ms
(*.f64 e (cos.f64 v))
Compiler

Compiled 829 to 668 computations (19.4% saved)

simplify91.0ms (1.7%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049531290
149531290

prune80.0ms (1.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh088
Picked011
Done000
Total1069115
Error
0.0b
Counts
115 → 9
Compiler

Compiled 1821 to 686 computations (62.3% saved)

localize9.0ms (0.2%)

Local error

Found 6 expressions with local error:

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

rewrite35.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

6 calls:

10.0ms
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v))
9.0ms
(/.f64 e (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v)))
4.0ms
(*.f64 e (cos.f64 v))
0.0ms
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v))
0.0ms
(/.f64 e (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v)))

series359.0ms (6.6%)

Counts
3 → 26
Calls

3 calls:

157.0ms
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v))
137.0ms
(/.f64 e (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v)))
64.0ms
(*.f64 e (cos.f64 v))
Compiler

Compiled 632 to 489 computations (22.6% saved)

simplify77.0ms (1.4%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050503434

prune153.0ms (2.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1412143
Fresh167
Picked011
Done101
Total1439152
Error
0.0b
Counts
152 → 9
Compiler

Compiled 2934 to 1221 computations (58.4% saved)

localize9.0ms (0.2%)

Local error

Found 6 expressions with local error:

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

rewrite26.0ms (0.5%)

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

6 calls:

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

series287.0ms (5.3%)

Counts
3 → 25
Calls

3 calls:

137.0ms
(*.f64 (/.f64 e (+.f64 (*.f64 e (cos.f64 v)) 1)) (sin.f64 v))
83.0ms
(/.f64 e (+.f64 (*.f64 e (cos.f64 v)) 1))
66.0ms
(*.f64 e (cos.f64 v))
Compiler

Compiled 607 to 480 computations (20.9% saved)

simplify67.0ms (1.2%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
051451774

prune86.0ms (1.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1042106
Fresh257
Picked101
Done011
Total1078115
Error
0.0b
Counts
115 → 8
Compiler

Compiled 1810 to 770 computations (57.5% saved)

simplify14.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0216794
1216794

regimes172.0ms (3.2%)

Compiler

Compiled 1544 to 1151 computations (25.5% saved)

bsearch0.0ms (0%)

regimes39.0ms (0.7%)

Compiler

Compiled 190 to 176 computations (7.4% saved)

bsearch0.0ms (0%)

regimes36.0ms (0.7%)

Compiler

Compiled 146 to 142 computations (2.7% saved)

bsearch0.0ms (0%)

regimes32.0ms (0.6%)

Compiler

Compiled 124 to 124 computations (0% saved)

bsearch0.0ms (0%)

regimes30.0ms (0.5%)

Compiler

Compiled 108 to 110 computations (-1.9% saved)

bsearch0.0ms (0%)

regimes28.0ms (0.5%)

Compiler

Compiled 92 to 96 computations (-4.3% saved)

bsearch0.0ms (0%)

regimes21.0ms (0.4%)

Compiler

Compiled 72 to 76 computations (-5.6% saved)

bsearch0.0ms (0%)

regimes21.0ms (0.4%)

Compiler

Compiled 38 to 50 computations (-31.6% saved)

bsearch0.0ms (0%)

regimes18.0ms (0.3%)

Accuracy

Total 0.1b remaining (91.1%)

Threshold costs 0.1b (91.1%)

Compiler

Compiled 10 to 26 computations (-160% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 79 to 70 computations (11.4% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
042118
142118

end0.0ms (0%)

sample2.4s (44.1%)

Algorithm
intervals
Results
612.0ms1979×body1024valid
345.0ms4464×body128valid
240.0ms1045×body512valid
163.0ms8000×pre128true
77.0ms504×body256valid
4.0msbody2048valid
Compiler

Compiled 600 to 459 computations (23.5% saved)

Pareto

0.6932377464232875

Profiling

Loading profile data...