Details

Time bar (total: 4.7s)

analyze264.0ms (5.6%)

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)

sample33.0ms (0.7%)

Algorithm
intervals
Results
20.0ms256×body128valid
2.0ms21×body128nan
Compiler

Compiled 33 to 35 computations (-6.1% saved)

simplify9.0ms (0.2%)

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)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.0b
(/.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 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
1.0b
(*.f64 PI.f64 2/3)

rewrite115.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
16×add-sqr-sqrt_binary64_3510
14×add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
times-frac_binary64_3494
add-exp-log_binary64_3526 add-cbrt-cube_binary64_3524
pow1_binary64_3549 add-log-exp_binary64_3527 div-sub_binary64_3493
associate-+r-_binary64_3422
associate-*l*_binary64_3429 associate-*r*_binary64_3428 distribute-frac-neg_binary64_3451 acos-neg_binary64_3671 acos-asin_binary64_3669 associate-/l*_binary64_3433 associate-/r*_binary64_3432
cos-diff_binary64_3625
pow-prod-down_binary64_3559 prod-exp_binary64_3537 cbrt-unprod_binary64_3521 unswap-sqr_binary64_3456 *-commutative_binary64_3419 sum-log_binary64_3579 flip3-+_binary64_3491 flip-+_binary64_3462 +-commutative_binary64_3418 cos-sum_binary64_3622 div-exp_binary64_3539 cbrt-undiv_binary64_3522 frac-2neg_binary64_3499 clear-num_binary64_3487 div-inv_binary64_3485
Counts
4 → 70
Calls

4 calls:

11.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)
4.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
Compiler

Compiled 1595 to 940 computations (41.1% saved)

series286.0ms (6%)

Error
1.0b
Counts
4 → 18
Calls

4 calls:

145.0ms
(cos.f64 (+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)))
76.0ms
(+.f64 (*.f64 PI.f64 2/3) (/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3))
50.0ms
(/.f64 (acos.f64 (/.f64 (neg.f64 g) h)) 3)
0.0ms
(*.f64 PI.f64 2/3)
Compiler

Compiled 810 to 742 computations (8.4% saved)

simplify94.0ms (2%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
051831544

prune91.0ms (1.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New85388
Fresh000
Picked101
Done000
Total86389
Error
1.0b
Counts
89 → 3
Compiler

Compiled 1716 to 1024 computations (40.3% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite51.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
10×add-cube-cbrt_binary64_3523 add-sqr-sqrt_binary64_3510 *-un-lft-identity_binary64_3488
times-frac_binary64_3494
add-exp-log_binary64_3526 add-cbrt-cube_binary64_3524
associate-/l*_binary64_3433 associate-/r*_binary64_3432
pow1_binary64_3549 add-log-exp_binary64_3527 acos-asin_binary64_3669 div-sub_binary64_3493
div-exp_binary64_3539 cbrt-undiv_binary64_3522 frac-2neg_binary64_3499 clear-num_binary64_3487 div-inv_binary64_3485 cos-diff_binary64_3625
Counts
2 → 36
Calls

2 calls:

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

Compiled 727 to 465 computations (36% saved)

series167.0ms (3.5%)

Error
1.0b
Counts
2 → 12
Calls

2 calls:

113.0ms
(cos.f64 (/.f64 (acos.f64 (/.f64 g h)) 3))
43.0ms
(/.f64 (acos.f64 (/.f64 g h)) 3)
Compiler

Compiled 432 to 388 computations (10.2% saved)

simplify139.0ms (2.9%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (127.0ms)

IterNodesCost
04749701
14749701

prune52.0ms (1.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New46248
Fresh202
Picked101
Done000
Total49251
Error
0b
Counts
51 → 2
Compiler

Compiled 839 to 555 computations (33.8% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite463.0ms (9.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
276×times-frac_binary64_3494
155×add-cube-cbrt_binary64_3523 add-sqr-sqrt_binary64_3510 *-un-lft-identity_binary64_3488
144×sqrt-prod_binary64_3504
25×associate-/l*_binary64_3433
12×associate-/r*_binary64_3432
10×add-exp-log_binary64_3526 add-cbrt-cube_binary64_3524
div-inv_binary64_3485
div-sub_binary64_3493
div-exp_binary64_3539 cbrt-undiv_binary64_3522
pow1_binary64_3549 add-log-exp_binary64_3527 acos-asin_binary64_3669
frac-2neg_binary64_3499 clear-num_binary64_3487
cos-diff_binary64_3625 associate-/l/_binary64_3435
Counts
3 → 224
Calls

3 calls:

14.0ms
(/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3))
11.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))
Compiler

Compiled 6762 to 4814 computations (28.8% saved)

series417.0ms (8.8%)

Error
0b
Counts
3 → 18
Calls

3 calls:

188.0ms
(cos.f64 (/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3)))
127.0ms
(/.f64 (/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3)) (sqrt.f64 3))
86.0ms
(/.f64 (acos.f64 (/.f64 g h)) (sqrt.f64 3))
Compiler

Compiled 828 to 760 computations (8.2% saved)

simplify128.0ms (2.7%)

Algorithm
egg-herbie
Counts
242 → 242
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049476209
149476209

prune337.0ms (7.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2420242
Fresh011
Picked011
Done000
Total2422244
Error
0b
Counts
244 → 2
Compiler

Compiled 5969 to 4009 computations (32.8% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite31.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
add-sqr-sqrt_binary64_3510
pow1_binary64_3549 add-exp-log_binary64_3526 add-cbrt-cube_binary64_3524 add-cube-cbrt_binary64_3523 *-un-lft-identity_binary64_3488
associate-*l*_binary64_3429 associate-*r*_binary64_3428
add-log-exp_binary64_3527
pow-prod-down_binary64_3559 prod-exp_binary64_3537 cbrt-unprod_binary64_3521 unswap-sqr_binary64_3456 *-commutative_binary64_3419
Counts
2 → 25
Calls

2 calls:

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

Compiled 469 to 304 computations (35.2% saved)

series157.0ms (3.3%)

Error
0b
Counts
2 → 12
Calls

2 calls:

105.0ms
(cos.f64 (*.f64 1/3 (acos.f64 (/.f64 g h))))
44.0ms
(*.f64 1/3 (acos.f64 (/.f64 g h)))
Compiler

Compiled 432 to 388 computations (10.2% saved)

simplify82.0ms (1.7%)

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
04872439
14872439

prune31.0ms (0.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New37037
Fresh000
Picked011
Done011
Total37239
Error
0b
Counts
39 → 2
Compiler

Compiled 571 to 382 computations (33.1% saved)

regimes371.0ms (7.8%)

Accuracy

Total 0.0b remaining (100%)

Threshold costs 0.0b (100%)

Compiler

Compiled 4259 to 3836 computations (9.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03723
13723

end0.0ms (0%)

sample1.4s (29%)

Algorithm
intervals
Results
645.0ms8000×body128valid
35.0ms560×body128nan
Compiler

Compiled 404 to 367 computations (9.2% saved)

Profiling

Loading profile data...