Details

Time bar (total: 8.5s)

analyze386.0ms (4.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
50%26.5%23.5%13
50%26.5%23.5%14
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample84.0ms (1%)

Algorithm
intervals
Results
26.0ms64×body1024valid
15.0ms66×body1024invalid
9.0ms147×body128valid
7.0ms28×body512invalid
5.0ms29×body512valid
2.0ms22×body256invalid
2.0ms16×body256valid
1.0ms19×body128invalid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify274.0ms (3.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (169.0ms)

IterNodesCost
0529018

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 22 to 20 computations (9.1% saved)

localize13.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite75.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
pow1_binary64_1162 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 *-un-lft-identity_binary64_1101
add-log-exp_binary64_1140 associate-*r*_binary64_1041
pow-prod-down_binary64_1172 prod-exp_binary64_1150 add-cube-cbrt_binary64_1136 cbrt-unprod_binary64_1134 add-sqr-sqrt_binary64_1123
flip3-+_binary64_1104 associate-*r/_binary64_1043 flip-+_binary64_1075 distribute-lft-out_binary64_1052
distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050 associate-*l*_binary64_1042 *-commutative_binary64_1032 sum-log_binary64_1192 +-commutative_binary64_1031
Counts
2 → 35
Calls

2 calls:

16.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
10.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 692 to 227 computations (67.2% saved)

series236.0ms (2.8%)

Error
0.0b
Counts
2 → 18
Calls

2 calls:

162.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
42.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 740 to 530 computations (28.4% saved)

simplify97.0ms (1.1%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
04922964
14922964

prune54.0ms (0.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50353
Fresh000
Picked011
Done000
Total50454
Error
0b
Counts
54 → 4
Compiler

Compiled 879 to 361 computations (58.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
0.0b
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))
0.3b
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)) 3)))
0.4b
(pow.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)) 3)

rewrite128.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
11×*-un-lft-identity_binary64_1101
add-sqr-sqrt_binary64_1123 pow1_binary64_1162 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
add-cube-cbrt_binary64_1136
add-log-exp_binary64_1140 associate-*l/_binary64_1044
associate-*l*_binary64_1042
flip3-+_binary64_1104 cube-div_binary64_1130 flip-+_binary64_1075
pow-unpow_binary64_1178 associate-*r*_binary64_1041
pow-prod-down_binary64_1172 pow-pow_binary64_1173 prod-exp_binary64_1150 pow-exp_binary64_1169 rem-cube-cbrt_binary64_1124 cbrt-unprod_binary64_1134 associate-*r/_binary64_1043 cbrt-div_binary64_1133 cosh-undef_binary64_1295 distribute-lft-out_binary64_1052
unpow-prod-down_binary64_1180 pow-to-exp_binary64_1170 unpow3_binary64_1167 cube-mult_binary64_1131 cube-prod_binary64_1129 sqr-pow_binary64_1073 pow1/3_binary64_1183 cbrt-prod_binary64_1132 unswap-sqr_binary64_1069 *-commutative_binary64_1032 sum-log_binary64_1192 +-commutative_binary64_1031
Counts
4 → 70
Calls

4 calls:

14.0ms
(pow.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)) 3)
13.0ms
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))
8.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)) 3)))
5.0ms
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
Compiler

Compiled 1627 to 596 computations (63.4% saved)

series920.0ms (10.8%)

Error
0b
Counts
4 → 42
Calls

4 calls:

464.0ms
(pow.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)) 3)
185.0ms
(cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)) 3)))
167.0ms
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re))
40.0ms
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
Compiler

Compiled 2720 to 1937 computations (28.8% saved)

simplify106.0ms (1.2%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049792714
149792714

prune148.0ms (1.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh022
Picked011
Done011
Total1124116
Error
0b
Counts
116 → 4
Compiler

Compiled 2486 to 1128 computations (54.6% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
0.0b
(exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
0.1b
(pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (cos.f64 re))
0.6b
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (cos.f64 re)))

rewrite106.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
18×*-un-lft-identity_binary64_1101
14×unpow-prod-down_binary64_1180
12×add-cube-cbrt_binary64_1136 add-sqr-sqrt_binary64_1123
11×log-prod_binary64_1187
10×exp-prod_binary64_1153
add-log-exp_binary64_1140
sqrt-prod_binary64_1117 pow-pow_binary64_1173
add-exp-log_binary64_1139
pow1_binary64_1162 sqrt-pow1_binary64_1119
add-cbrt-cube_binary64_1137
exp-sum_binary64_1147 rem-log-exp_binary64_1142 pow-unpow_binary64_1178 cosh-undef_binary64_1295 distribute-lft-out_binary64_1052
sqr-pow_binary64_1073 pow-to-exp_binary64_1170 pow-exp_binary64_1169 sum-log_binary64_1192 rem-exp-log_binary64_1141
log-pow_binary64_1190 pow1/2_binary64_1181 sqrt-pow2_binary64_1120 flip3-+_binary64_1104 flip-+_binary64_1075 +-commutative_binary64_1031
Counts
4 → 79
Calls

4 calls:

10.0ms
(pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (cos.f64 re))
7.0ms
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (cos.f64 re)))
6.0ms
(exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
5.0ms
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
Compiler

Compiled 1604 to 343 computations (78.6% saved)

series1.3s (15%)

Error
0b
Counts
4 → 36
Calls

4 calls:

675.0ms
(log.f64 (pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (cos.f64 re)))
457.0ms
(pow.f64 (sqrt.f64 (exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (cos.f64 re))
45.0ms
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
40.0ms
(exp.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
Compiler

Compiled 2192 to 1285 computations (41.4% saved)

simplify106.0ms (1.2%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049462833
149462833

prune117.0ms (1.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1150115
Fresh011
Picked011
Done022
Total1154119
Error
0b
Counts
119 → 4
Compiler

Compiled 2264 to 648 computations (71.4% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (exp.f64 im) 2)
0.0b
(pow.f64 (exp.f64 im) -2)
6.0b
(-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))
6.0b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite170.0ms (2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
29×add-sqr-sqrt_binary64_1123
17×*-un-lft-identity_binary64_1101
16×unpow-prod-down_binary64_1180
13×add-cube-cbrt_binary64_1136 difference-of-squares_binary64_1070
11×cancel-sign-sub-inv_binary64_1067
10×sqr-pow_binary64_1073
add-log-exp_binary64_1140 pow-pow_binary64_1173
pow1_binary64_1162 pow-unpow_binary64_1178 exp-prod_binary64_1153
unpow2_binary64_1166
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
diff-log_binary64_1193 flip3--_binary64_1105 sub-neg_binary64_1094 flip--_binary64_1076 distribute-lft-out--_binary64_1053 pow-to-exp_binary64_1170 pow-exp_binary64_1169
Counts
4 → 89
Calls

4 calls:

9.0ms
(-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))
6.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
3.0ms
(pow.f64 (exp.f64 im) 2)
3.0ms
(pow.f64 (exp.f64 im) -2)
Compiler

Compiled 2544 to 1228 computations (51.7% saved)

series269.0ms (3.1%)

Error
0b
Counts
4 → 24
Calls

4 calls:

104.0ms
(-.f64 (pow.f64 (exp.f64 im) -2) (pow.f64 (exp.f64 im) 2))
53.0ms
(pow.f64 (exp.f64 im) -2)
42.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
41.0ms
(pow.f64 (exp.f64 im) 2)
Compiler

Compiled 1359 to 957 computations (29.6% saved)

simplify96.0ms (1.1%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
051691367

prune130.0ms (1.5%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done033
Total1134117
Error
0b
Counts
117 → 4
Compiler

Compiled 2782 to 1223 computations (56% saved)

regimes375.0ms (4.4%)

Accuracy

Total 0.0b remaining (91.7%)

Threshold costs 0.0b (91.7%)

Compiler

Compiled 2876 to 2174 computations (24.4% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02326
12326

end0.0ms (0%)

sample3.3s (38.9%)

Algorithm
intervals
Results
826.0ms1962×body1024valid
537.0ms2037×body1024invalid
295.0ms4557×body128valid
218.0ms987×body512valid
201.0ms1040×body512invalid
70.0ms487×body256valid
65.0ms471×body256invalid
56.0ms712×body128invalid
7.0msbody2048valid
Compiler

Compiled 452 to 347 computations (23.2% saved)

Profiling

Loading profile data...