Details

Time bar (total: 13.2s)

analyze860.0ms (6.5%)

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%0
0%99.9%0.1%1
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%2
49.9%49.9%0.1%3
49.9%49.9%0.1%3
49.9%49.9%0.1%4
49.9%49.9%0.1%4
49.9%49.9%0.1%5
49.9%49.9%0.1%5
74.9%25%0.1%6
74.9%25%0.1%6
74.9%25%0.1%7
74.9%25%0.1%7
74.9%25%0.1%8
74.9%25%0.1%8
87.4%12.5%0.1%9
87.4%12.5%0.1%9
87.4%12.5%0.1%10
87.4%12.5%0.1%10
87.4%12.5%0.1%11
87.4%12.5%0.1%11
93.6%6.2%0.1%12
93.6%6.2%0.1%12
93.6%6.2%0.1%13
93.6%6.2%0.1%13
93.6%6.2%0.1%14
93.6%6.2%0.1%14
Compiler

Compiled 48 to 42 computations (12.5% saved)

sample379.0ms (2.9%)

Algorithm
intervals
Results
47.0ms60×body4096valid
36.0ms359×body128valid
30.0ms53×body2048valid
10.0ms23×body1024valid
3.0ms10×body512valid
1.0msbody256valid
Compiler

Compiled 6215 to 6212 computations (0% saved)

simplify76.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0497033
1497033

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
30.2b
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.3b
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
33.4b
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))

rewrite225.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
30.1b
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:

16.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))
5.0ms
(pow.f64 (-.f64 A C) 2)
5.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))) B)) PI.f64)
Compiler

Compiled 3294 to 1614 computations (51% saved)

series1.5s (11.2%)

Error
6.5b
Counts
4 → 79
Calls

4 calls:

487.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
453.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))
290.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))) B)) PI.f64)
99.0ms
(pow.f64 (-.f64 A C) 2)
Compiler

Compiled 6103 to 4627 computations (24.2% saved)

simplify93.0ms (0.7%)

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050175062

prune285.0ms (2.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1639172
Fresh000
Picked101
Done000
Total1649173
Error
6.5b
Counts
173 → 9
Compiler

Compiled 5329 to 2518 computations (52.7% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite159.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
6.5b
Rules
51×*-un-lft-identity_binary64_4511
44×add-sqr-sqrt_binary64_4533
37×times-frac_binary64_4517
31×add-cube-cbrt_binary64_4546
13×add-exp-log_binary64_4549 add-cbrt-cube_binary64_4547 associate-*r*_binary64_4451
12×distribute-lft-out--_binary64_4463
associate-/l*_binary64_4456
pow1_binary64_4572 associate-/r*_binary64_4455
add-log-exp_binary64_4550 difference-of-squares_binary64_4480
div-exp_binary64_4562 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
4 → 108
Calls

4 calls:

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

Compiled 2381 to 647 computations (72.8% saved)

series662.0ms (5%)

Error
6.5b
Counts
4 → 45
Calls

4 calls:

215.0ms
(/.f64 (-.f64 (-.f64 C A) B) B)
202.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64))
152.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B)) PI.f64)
59.0ms
(atan.f64 (/.f64 (-.f64 (-.f64 C A) B) B))
Compiler

Compiled 1528 to 1119 computations (26.8% saved)

simplify78.0ms (0.6%)

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
052762827

prune156.0ms (1.2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1503153
Fresh178
Picked101
Done000
Total15210162
Error
6.5b
Counts
162 → 10
Compiler

Compiled 2892 to 886 computations (69.4% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite124.0ms (0.9%)

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

4 calls:

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

Compiled 1809 to 603 computations (66.7% saved)

series637.0ms (4.8%)

Error
6.5b
Counts
4 → 45
Calls

4 calls:

219.0ms
(/.f64 (*.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A B)) B)) 180) PI.f64)
209.0ms
(/.f64 (-.f64 C (+.f64 A B)) B)
122.0ms
(*.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A B)) B)) 180)
55.0ms
(atan.f64 (/.f64 (-.f64 C (+.f64 A B)) B))
Compiler

Compiled 1528 to 1136 computations (25.7% saved)

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050082172

prune122.0ms (0.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1321133
Fresh189
Picked011
Done000
Total13310143
Error
6.5b
Counts
143 → 10
Compiler

Compiled 2304 to 825 computations (64.2% saved)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite158.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
6.5b
Rules
93×times-frac_binary64_4517
76×*-un-lft-identity_binary64_4511
64×add-sqr-sqrt_binary64_4533
56×add-cube-cbrt_binary64_4546
16×associate-/r*_binary64_4455
10×add-exp-log_binary64_4549 add-cbrt-cube_binary64_4547
associate-/l*_binary64_4456
distribute-lft-out--_binary64_4463
div-inv_binary64_4508
div-exp_binary64_4562 cbrt-undiv_binary64_4545 difference-of-squares_binary64_4480 distribute-lft-out_binary64_4462
pow1_binary64_4572 add-log-exp_binary64_4550
frac-2neg_binary64_4522 clear-num_binary64_4510 associate-/l/_binary64_4458
div-sub_binary64_4516 flip3--_binary64_4515 flip--_binary64_4486 associate-/r/_binary64_4457
Counts
3 → 119
Calls

3 calls:

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

Compiled 2868 to 959 computations (66.6% saved)

series530.0ms (4%)

Error
6.5b
Counts
3 → 36
Calls

3 calls:

226.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A B)) B)) (/.f64 PI.f64 180))
224.0ms
(/.f64 (-.f64 C (+.f64 A B)) B)
55.0ms
(atan.f64 (/.f64 (-.f64 C (+.f64 A B)) B))
Compiler

Compiled 1198 to 904 computations (24.5% saved)

simplify89.0ms (0.7%)

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049763756
149763756

prune176.0ms (1.3%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh088
Picked011
Done011
Total15510165
Error
6.5b
Counts
165 → 10
Compiler

Compiled 3053 to 1521 computations (50.2% saved)

regimes2.1s (15.8%)

Accuracy

Total 12.3b remaining (65.7%)

Threshold costs 0b (0%)

Compiler

Compiled 18989 to 14242 computations (25% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 18 to 15 computations (16.7% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
096124
196124

end0.0ms (0%)

sample4.7s (35.7%)

Algorithm
intervals
Results
718.0ms884×body4096valid
555.0ms5365×body128valid
514.0ms883×body2048valid
217.0ms480×body1024valid
78.0ms246×body512valid
30.0ms142×body256valid
Compiler

Compiled 2753 to 2056 computations (25.3% saved)

Profiling

Loading profile data...