Details

Time bar (total: 16.9s)

analyze475.0ms (2.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04999132
14999132
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
49.9%49.9%0.1%3
49.9%49.9%0.1%4
49.9%49.9%0.1%5
74.9%25%0.1%6
74.9%25%0.1%7
74.9%25%0.1%8
87.4%12.5%0.1%9
87.4%12.5%0.1%10
87.4%12.5%0.1%11
93.6%6.2%0.1%12
93.6%6.2%0.1%13
93.6%6.2%0.1%14
Compiler

Compiled 24 to 21 computations (12.5% saved)

sample88.0ms (0.5%)

Algorithm
intervals
Results
31.0ms35×body4096valid
20.0ms182×body128valid
15.0ms20×body2048valid
6.0ms12×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 47 to 44 computations (6.4% saved)

simplify93.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
0497033
1497033

prune7.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 42 to 34 computations (19% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))) B)) PI.f64)
0.0b
(pow.f64 (-.f64 A C) 2)
0.5b
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
37.0b
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))

rewrite273.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
29.5b
Rules
25×add-sqr-sqrt_binary64_4533 *-un-lft-identity_binary64_4511
18×add-cube-cbrt_binary64_4546
add-log-exp_binary64_4550 cancel-sign-sub-inv_binary64_4477 times-frac_binary64_4517
add-exp-log_binary64_4549 sqrt-prod_binary64_4527
pow1_binary64_4572 add-cbrt-cube_binary64_4547 sqrt-div_binary64_4528
unpow-prod-down_binary64_4590
frac-sub_binary64_4520 distribute-lft-out--_binary64_4463 associate--l+_binary64_4448
flip3-+_binary64_4514 flip-+_binary64_4485 diff-log_binary64_4603 flip3--_binary64_4515 flip--_binary64_4486 difference-of-squares_binary64_4480 pow-unpow_binary64_4588 associate-/l*_binary64_4456 associate-/r*_binary64_4455
sub-neg_binary64_4504
pow1/2_binary64_4591 sqrt-pow1_binary64_4529 rem-sqrt-square_binary64_4524 associate--l-_binary64_4449 pow-pow_binary64_4583 pow-to-exp_binary64_4580 pow-exp_binary64_4579 unpow2_binary64_4576 sqr-pow_binary64_4483 div-exp_binary64_4562 cbrt-undiv_binary64_4545 frac-2neg_binary64_4522 clear-num_binary64_4510 div-inv_binary64_4508
Counts
4 → 93
Calls

4 calls:

20.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
16.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))) B)) PI.f64)
10.0ms
(pow.f64 (-.f64 A C) 2)
7.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))
Compiler

Compiled 3294 to 1614 computations (51% saved)

series1.2s (7.4%)

Error
6.1b
Counts
4 → 74
Calls

4 calls:

428.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))
404.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
215.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))) B)) PI.f64)
33.0ms
(pow.f64 (-.f64 A C) 2)
Compiler

Compiled 6033 to 4599 computations (23.8% saved)

simplify78.0ms (0.5%)

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050815063

prune317.0ms (1.9%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New15512167
Fresh000
Picked101
Done000
Total15612168
Error
6.0b
Counts
168 → 12
Compiler

Compiled 5360 to 2545 computations (52.5% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (-.f64 A C) 2)
0.0b
(/.f64 1 (/.f64 PI.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))) B))))
0.5b
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2))))
37.0b
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))

rewrite363.0ms (2.1%)

Algorithm
rewrite-expression-head
Error
6.0b
Rules
75×times-frac_binary64_4517
59×add-sqr-sqrt_binary64_4533 *-un-lft-identity_binary64_4511
52×add-cube-cbrt_binary64_4546
16×add-exp-log_binary64_4549
13×associate-/r*_binary64_4455
add-log-exp_binary64_4550 add-cbrt-cube_binary64_4547 cancel-sign-sub-inv_binary64_4477
pow1_binary64_4572 sqrt-prod_binary64_4527 div-exp_binary64_4562
sqrt-div_binary64_4528
div-inv_binary64_4508 unpow-prod-down_binary64_4590
frac-sub_binary64_4520 distribute-lft-out--_binary64_4463 associate--l+_binary64_4448
flip3-+_binary64_4514 flip-+_binary64_4485 diff-log_binary64_4603 flip3--_binary64_4515 flip--_binary64_4486 difference-of-squares_binary64_4480 cbrt-undiv_binary64_4545 associate-/l*_binary64_4456 pow-unpow_binary64_4588
sub-neg_binary64_4504 1-exp_binary64_4555 rec-exp_binary64_4561
pow1/2_binary64_4591 sqrt-pow1_binary64_4529 rem-sqrt-square_binary64_4524 associate--l-_binary64_4449 inv-pow_binary64_4596 pow-flip_binary64_4585 frac-2neg_binary64_4522 clear-num_binary64_4510 associate-/r/_binary64_4457 pow-pow_binary64_4583 pow-to-exp_binary64_4580 pow-exp_binary64_4579 unpow2_binary64_4576 sqr-pow_binary64_4483
Counts
4 → 142
Calls

4 calls:

26.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2))))
13.0ms
(pow.f64 (-.f64 A C) 2)
12.0ms
(/.f64 1 (/.f64 PI.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))) B))))
9.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
Compiler

Compiled 5729 to 3042 computations (46.9% saved)

series1.3s (7.6%)

Error
6.0b
Counts
4 → 74
Calls

4 calls:

477.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2))))
426.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
217.0ms
(/.f64 1 (/.f64 PI.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))) B))))
34.0ms
(pow.f64 (-.f64 A C) 2)
Compiler

Compiled 6327 to 4893 computations (22.7% saved)

simplify124.0ms (0.7%)

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
051777712

prune390.0ms (2.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2142216
Fresh2911
Picked011
Done000
Total21612228
Error
6.0b
Counts
228 → 12
Compiler

Compiled 7651 to 3857 computations (49.6% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B))
0.0b
(/.f64 (+.f64 B (-.f64 C A)) B)
0.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64))
0.0b
(/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64)

rewrite139.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
6.0b
Rules
50×*-un-lft-identity_binary64_4511
35×add-sqr-sqrt_binary64_4533
34×times-frac_binary64_4517
30×add-cube-cbrt_binary64_4546
13×add-exp-log_binary64_4549 add-cbrt-cube_binary64_4547 associate-*r*_binary64_4451
associate-/l*_binary64_4456 distribute-lft-out_binary64_4462
pow1_binary64_4572 associate-/r*_binary64_4455
add-log-exp_binary64_4550 distribute-lft-out--_binary64_4463
div-exp_binary64_4562 cbrt-undiv_binary64_4545 div-inv_binary64_4508 associate-*l*_binary64_4452
frac-2neg_binary64_4522 clear-num_binary64_4510 prod-exp_binary64_4560 cbrt-unprod_binary64_4544 unswap-sqr_binary64_4479 associate-/l/_binary64_4458
pow-prod-down_binary64_4582 associate-*r/_binary64_4453 *-commutative_binary64_4442 associate-+r-_binary64_4445 div-sub_binary64_4516 flip3-+_binary64_4514 flip-+_binary64_4485
Counts
4 → 104
Calls

4 calls:

9.0ms
(/.f64 (+.f64 B (-.f64 C A)) B)
8.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64))
6.0ms
(atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B))
5.0ms
(/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64)
Compiler

Compiled 2280 to 617 computations (72.9% saved)

series726.0ms (4.3%)

Error
6.0b
Counts
4 → 45
Calls

4 calls:

337.0ms
(/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64)
175.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64))
144.0ms
(/.f64 (+.f64 B (-.f64 C A)) B)
43.0ms
(atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B))
Compiler

Compiled 1506 to 1089 computations (27.7% saved)

simplify81.0ms (0.5%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
052032724

prune163.0ms (1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1463149
Fresh1910
Picked101
Done011
Total14813161
Error
6.0b
Counts
161 → 13
Compiler

Compiled 2895 to 910 computations (68.6% saved)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64))
0.0b
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64)
0.0b
(/.f64 (-.f64 (-.f64 C A) B) B)

rewrite169.0ms (1%)

Algorithm
rewrite-expression-head
Error
6.0b
Rules
50×*-un-lft-identity_binary64_4511
43×add-sqr-sqrt_binary64_4533
37×times-frac_binary64_4517
30×add-cube-cbrt_binary64_4546
13×associate-*r*_binary64_4451
12×add-exp-log_binary64_4549 add-cbrt-cube_binary64_4547 distribute-lft-out--_binary64_4463
associate-/l*_binary64_4456
associate-/r*_binary64_4455
pow1_binary64_4572
difference-of-squares_binary64_4480
div-exp_binary64_4562 add-log-exp_binary64_4550 cbrt-undiv_binary64_4545 div-inv_binary64_4508 associate-*l*_binary64_4452
frac-2neg_binary64_4522 clear-num_binary64_4510 associate-/l/_binary64_4458 prod-exp_binary64_4560 cbrt-unprod_binary64_4544 unswap-sqr_binary64_4479
div-sub_binary64_4516 flip3--_binary64_4515 flip--_binary64_4486 pow-prod-down_binary64_4582 associate-*r/_binary64_4453 *-commutative_binary64_4442
Counts
3 → 101
Calls

3 calls:

14.0ms
(/.f64 (-.f64 (-.f64 C A) B) B)
9.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64))
5.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64)
Compiler

Compiled 2238 to 616 computations (72.5% saved)

series473.0ms (2.8%)

Error
6.0b
Counts
3 → 36
Calls

3 calls:

172.0ms
(/.f64 (-.f64 (-.f64 C A) B) B)
160.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64))
106.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64)
Compiler

Compiled 1198 to 895 computations (25.3% saved)

simplify90.0ms (0.5%)

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
052752604

prune142.0ms (0.8%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1343137
Fresh11011
Picked101
Done011
Total13614150
Error
6.0b
Counts
150 → 14
Compiler

Compiled 2449 to 1109 computations (54.7% saved)

regimes3.3s (19.4%)

Accuracy

Total 12.5b remaining (66.4%)

Threshold costs 0b (0%)

Compiler

Compiled 27525 to 19878 computations (27.8% saved)

bsearch8.0ms (0%)

Compiler

Compiled 18 to 15 computations (16.7% saved)

simplify7.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
095169
195169

end0.0ms (0%)

sample6.8s (40.3%)

Algorithm
intervals
Results
888.0ms904×body4096valid
678.0ms5331×body128valid
645.0ms888×body2048valid
292.0ms521×body1024valid
84.0ms219×body512valid
40.0ms137×body256valid
Compiler

Compiled 3998 to 2861 computations (28.4% saved)

Profiling

Loading profile data...