Details

Time bar (total: 3.1s)

analyze267.0ms (8.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09446
19446
022
122
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
25%68.7%6.3%5
25%65.6%9.5%6
37.5%39%23.5%7
37.5%36.7%25.9%8
43.7%20.7%35.6%9
43.7%19.3%37%10
46.8%10.6%42.5%11
46.8%9.9%43.3%12
48.4%5.4%46.2%13
48.4%5%46.6%14
Compiler

Compiled 17 to 17 computations (0% saved)

sample31.0ms (1%)

Algorithm
intervals
Results
20.0ms256×body128valid
1.0ms18×body128nan
Compiler

Compiled 33 to 35 computations (-6.1% saved)

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
05423
15423

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
1.0b
Counts
2 → 1
Compiler

Compiled 28 to 28 computations (0% saved)

localize16.0ms (0.5%)

Local error

Found 4 expressions with local error:

1.0b
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
1.0b
(+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
1.0b
(cos.f64 (+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
1.0b
(*.f64 PI.f64 2/3)

rewrite27.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64_3169
14×*-un-lft-identity_binary64_3147 add-cube-cbrt_binary64_3182
times-frac_binary64_3153
add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183
pow1_binary64_3208 div-sub_binary64_3152 add-log-exp_binary64_3186
associate-+r-_binary64_3081
acos-asin_binary64_3328 distribute-frac-neg_binary64_3110 acos-neg_binary64_3330 associate-*r*_binary64_3087 associate-/r*_binary64_3091 associate-/l*_binary64_3092 associate-*l*_binary64_3088
cos-diff_binary64_3284
*-commutative_binary64_3078 cos-sum_binary64_3281 unswap-sqr_binary64_3115 clear-num_binary64_3146 flip-+_binary64_3121 pow-prod-down_binary64_3218 frac-2neg_binary64_3158 flip3-+_binary64_3150 +-commutative_binary64_3077 prod-exp_binary64_3196 cbrt-undiv_binary64_3181 cbrt-unprod_binary64_3180 div-exp_binary64_3198 div-inv_binary64_3144 sum-log_binary64_3238
Counts
4 → 70
Calls

4 calls:

7.0ms
(cos.f64 (+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
7.0ms
(+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
4.0ms
(*.f64 PI.f64 2/3)
3.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)

series107.0ms (3.5%)

Counts
4 → 10
Calls

4 calls:

70.0ms
(cos.f64 (+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
23.0ms
(+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
13.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
0.0ms
(*.f64 PI.f64 2/3)

simplify104.0ms (3.4%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
051851420

prune84.0ms (2.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New78280
Fresh000
Picked011
Done000
Total78381
Error
0.9b
Counts
81 → 3
Compiler

Compiled 1593 to 943 computations (40.8% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))
0.9b
(/.f64 (acos.f64 (/.f64 g h)) 3)

rewrite9.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_3147 add-sqr-sqrt_binary64_3169 add-cube-cbrt_binary64_3182
times-frac_binary64_3153
add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183
associate-/r*_binary64_3091 associate-/l*_binary64_3092
acos-asin_binary64_3328 pow1_binary64_3208 div-sub_binary64_3152 add-log-exp_binary64_3186
clear-num_binary64_3146 frac-2neg_binary64_3158 cos-diff_binary64_3284 cbrt-undiv_binary64_3181 div-exp_binary64_3198 div-inv_binary64_3144
Counts
2 → 36
Calls

2 calls:

3.0ms
(/.f64 (acos.f64 (/.f64 g h)) 3)
3.0ms
(cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))

series58.0ms (1.9%)

Counts
2 → 6
Calls

2 calls:

46.0ms
(cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))
12.0ms
(/.f64 (acos.f64 (/.f64 g h)) 3)

simplify144.0ms (4.7%)

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (133.0ms)

IterNodesCost
04749641
14749641

prune46.0ms (1.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New40242
Fresh101
Picked101
Done101
Total43245
Error
0b
Counts
45 → 2
Compiler

Compiled 767 to 507 computations (33.9% saved)

localize12.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.0b
(cos.f64 (/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3)))
0.0b
(/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3))
0.0b
(/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3))

rewrite57.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
276×times-frac_binary64_3153
155×*-un-lft-identity_binary64_3147 add-sqr-sqrt_binary64_3169 add-cube-cbrt_binary64_3182
144×sqrt-prod_binary64_3163
25×associate-/l*_binary64_3092
12×associate-/r*_binary64_3091
10×add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183
div-inv_binary64_3144
div-sub_binary64_3152
cbrt-undiv_binary64_3181 div-exp_binary64_3198
acos-asin_binary64_3328 pow1_binary64_3208 add-log-exp_binary64_3186
clear-num_binary64_3146 frac-2neg_binary64_3158
associate-/l/_binary64_3094 cos-diff_binary64_3284
Counts
3 → 224
Calls

3 calls:

12.0ms
(/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3))
12.0ms
(cos.f64 (/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3)))
5.0ms
(/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3))

series150.0ms (4.9%)

Counts
3 → 9
Calls

3 calls:

80.0ms
(cos.f64 (/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3)))
45.0ms
(/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3))
25.0ms
(/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3))

simplify134.0ms (4.4%)

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049476116
149476116

prune326.0ms (10.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2330233
Fresh011
Picked011
Done000
Total2332235
Error
0b
Counts
235 → 2
Compiler

Compiled 5849 to 3927 computations (32.9% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(cos.f64 (*.f64 (acos.f64 (/.f64 g h)) 1/3))
1.0b
(*.f64 (acos.f64 (/.f64 g h)) 1/3)

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_3169
*-un-lft-identity_binary64_3147 add-exp-log_binary64_3185 add-cbrt-cube_binary64_3183 pow1_binary64_3208 add-cube-cbrt_binary64_3182
associate-*r*_binary64_3087 associate-*l*_binary64_3088
add-log-exp_binary64_3186
*-commutative_binary64_3078 unswap-sqr_binary64_3115 pow-prod-down_binary64_3218 prod-exp_binary64_3196 cbrt-unprod_binary64_3180
Counts
2 → 25
Calls

2 calls:

4.0ms
(*.f64 (acos.f64 (/.f64 g h)) 1/3)
3.0ms
(cos.f64 (*.f64 (acos.f64 (/.f64 g h)) 1/3))

series55.0ms (1.8%)

Counts
2 → 6
Calls

2 calls:

42.0ms
(cos.f64 (*.f64 (acos.f64 (/.f64 g h)) 1/3))
13.0ms
(*.f64 (acos.f64 (/.f64 g h)) 1/3)

simplify53.0ms (1.7%)

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04776379
14776379

prune25.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done011
Total31233
Error
0b
Counts
33 → 2
Compiler

Compiled 499 to 334 computations (33.1% saved)

regimes221.0ms (7.2%)

Accuracy

Total 0.0b remaining (99.1%)

Threshold costs 0.0b (99.1%)

Compiler

Compiled 1737 to 1745 computations (-0.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03723
13723

end0.0ms (0%)

sample1.1s (36.2%)

Algorithm
intervals
Results
641.0ms8000×body128valid
37.0ms566×body128nan
Compiler

Compiled 182 to 184 computations (-1.1% saved)

Profiling

Loading profile data...