Details

Time bar (total: 8.9s)

analyze452.0ms (5.1%)

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)

sample84.0ms (0.9%)

Algorithm
intervals
Results
20.0ms168×body128valid
18.0ms31×body2048valid
16.0ms21×body4096valid
8.0ms18×body1024valid
4.0ms13×body512valid
1.0msbody256valid
Compiler

Compiled 47 to 44 computations (6.4% saved)

simplify73.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
0497033
1497033

prune9.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 65 to 54 computations (16.9% saved)

localize15.0ms (0.2%)

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)
1.8b
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
28.4b
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))

rewrite292.0ms (3.3%)

Algorithm
rewrite-expression-head
Error
31.3b
Rules
25×add-sqr-sqrt_binary64_2828 *-un-lft-identity_binary64_2806
18×add-cube-cbrt_binary64_2841
add-log-exp_binary64_2845 cancel-sign-sub-inv_binary64_2772 times-frac_binary64_2812
add-exp-log_binary64_2844 sqrt-prod_binary64_2822
pow1_binary64_2867 add-cbrt-cube_binary64_2842 sqrt-div_binary64_2823
unpow-prod-down_binary64_2885
frac-sub_binary64_2815 distribute-lft-out--_binary64_2758 associate--l+_binary64_2743
flip3-+_binary64_2809 flip-+_binary64_2780 diff-log_binary64_2898 flip3--_binary64_2810 flip--_binary64_2781 difference-of-squares_binary64_2775 pow-unpow_binary64_2883 associate-/l*_binary64_2751 associate-/r*_binary64_2750
sub-neg_binary64_2799
pow1/2_binary64_2886 sqrt-pow1_binary64_2824 rem-sqrt-square_binary64_2819 associate--l-_binary64_2744 pow-pow_binary64_2878 pow-to-exp_binary64_2875 pow-exp_binary64_2874 unpow2_binary64_2871 sqr-pow_binary64_2778 div-exp_binary64_2857 cbrt-undiv_binary64_2840 frac-2neg_binary64_2817 clear-num_binary64_2805 div-inv_binary64_2803
Counts
4 → 93
Calls

4 calls:

19.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
7.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))
6.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))) B)) PI.f64)
5.0ms
(pow.f64 (-.f64 A C) 2)
Compiler

Compiled 3294 to 1614 computations (51% saved)

series1.4s (15.7%)

Error
8.8b
Counts
4 → 76
Calls

4 calls:

433.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B)))
431.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (*.f64 B B))))
274.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 5809 to 4413 computations (24% saved)

simplify91.0ms (1%)

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
050604741

prune310.0ms (3.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1618169
Fresh101
Picked101
Done000
Total1638171
Error
8.8b
Counts
171 → 8
Compiler

Compiled 5005 to 2388 computations (52.3% saved)

localize9.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)

rewrite148.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
8.8b
Rules
50×*-un-lft-identity_binary64_2806
35×add-sqr-sqrt_binary64_2828
34×times-frac_binary64_2812
30×add-cube-cbrt_binary64_2841
13×add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842 associate-*r*_binary64_2746
associate-/l*_binary64_2751 distribute-lft-out_binary64_2757
pow1_binary64_2867 associate-/r*_binary64_2750
add-log-exp_binary64_2845 distribute-lft-out--_binary64_2758
div-exp_binary64_2857 cbrt-undiv_binary64_2840 div-inv_binary64_2803 associate-*l*_binary64_2747
frac-2neg_binary64_2817 clear-num_binary64_2805 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 unswap-sqr_binary64_2774 associate-/l/_binary64_2753
pow-prod-down_binary64_2877 associate-*r/_binary64_2748 *-commutative_binary64_2737 associate-+r-_binary64_2740 div-sub_binary64_2811 flip3-+_binary64_2809 flip-+_binary64_2780
Counts
4 → 104
Calls

4 calls:

9.0ms
(/.f64 (+.f64 B (-.f64 C A)) B)
7.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64))
7.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)

series659.0ms (7.4%)

Error
8.8b
Counts
4 → 45
Calls

4 calls:

210.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64))
200.0ms
(/.f64 (+.f64 B (-.f64 C A)) B)
160.0ms
(/.f64 (atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B)) PI.f64)
55.0ms
(atan.f64 (/.f64 (+.f64 B (-.f64 C A)) B))
Compiler

Compiled 1506 to 1089 computations (27.7% saved)

simplify59.0ms (0.7%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
052032724

prune141.0ms (1.6%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1454149
Fresh167
Picked011
Done000
Total14611157
Error
8.8b
Counts
157 → 11
Compiler

Compiled 2730 to 809 computations (70.4% saved)

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.0b
(cbrt.f64 PI.f64)
1.0b
(cbrt.f64 PI.f64)
1.0b
(cbrt.f64 PI.f64)
1.0b
(*.f64 (cbrt.f64 PI.f64) (cbrt.f64 PI.f64))

rewrite137.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
8.8b
Rules
25×cbrt-prod_binary64_2837
23×add-sqr-sqrt_binary64_2828
15×add-cube-cbrt_binary64_2841 *-un-lft-identity_binary64_2806
11×pow1_binary64_2867
pow1/3_binary64_2888
add-exp-log_binary64_2844 swap-sqr_binary64_2773 associate-*l*_binary64_2747 associate-*r*_binary64_2746
add-log-exp_binary64_2845 add-cbrt-cube_binary64_2842 unswap-sqr_binary64_2774
pow-prod-down_binary64_2877 pow-prod-up_binary64_2876 pow-sqr_binary64_2779
pow2_binary64_2887 pow-plus_binary64_2869 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 *-commutative_binary64_2737
Counts
4 → 73
Calls

4 calls:

6.0ms
(*.f64 (cbrt.f64 PI.f64) (cbrt.f64 PI.f64))
1.0ms
(cbrt.f64 PI.f64)
1.0ms
(cbrt.f64 PI.f64)
1.0ms
(cbrt.f64 PI.f64)
Compiler

Compiled 3276 to 457 computations (86.1% saved)

series1.0ms (0%)

Error
8.8b
Counts
4 → 0
Calls

4 calls:

0.0ms
(*.f64 (cbrt.f64 PI.f64) (cbrt.f64 PI.f64))
0.0ms
(cbrt.f64 PI.f64)
0.0ms
(cbrt.f64 PI.f64)
0.0ms
(cbrt.f64 PI.f64)
Compiler

Compiled 0 to 0 computations (0% saved)

simplify70.0ms (0.8%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05078604

prune139.0ms (1.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New72173
Fresh189
Picked101
Done011
Total741084
Error
8.8b
Counts
84 → 10
Compiler

Compiled 3272 to 571 computations (82.5% saved)

localize26.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.0b
(sqrt.f64 PI.f64)
1.0b
(sqrt.f64 PI.f64)
1.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 PI.f64)) (cbrt.f64 (sqrt.f64 PI.f64))) (*.f64 (cbrt.f64 (sqrt.f64 PI.f64)) (cbrt.f64 (sqrt.f64 PI.f64))))
1.0b
(cbrt.f64 PI.f64)

rewrite228.0ms (2.6%)

Algorithm
rewrite-expression-head
Error
8.8b
Rules
117×pow1_binary64_2867
49×pow-prod-up_binary64_2876
45×pow1/3_binary64_2888
33×pow-sqr_binary64_2779
32×pow-prod-down_binary64_2877
18×pow-plus_binary64_2869
16×add-exp-log_binary64_2844
13×pow2_binary64_2887
add-sqr-sqrt_binary64_2828
add-cbrt-cube_binary64_2842 prod-exp_binary64_2855 cbrt-unprod_binary64_2839
add-cube-cbrt_binary64_2841 *-un-lft-identity_binary64_2806
sqrt-prod_binary64_2822
add-log-exp_binary64_2845
cbrt-prod_binary64_2837
pow1/2_binary64_2886 sqrt-pow1_binary64_2824 rem-sqrt-square_binary64_2819
unswap-sqr_binary64_2774 swap-sqr_binary64_2773 associate-*l*_binary64_2747 associate-*r*_binary64_2746 *-commutative_binary64_2737
Counts
4 → 111
Calls

4 calls:

17.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 PI.f64)) (cbrt.f64 (sqrt.f64 PI.f64))) (*.f64 (cbrt.f64 (sqrt.f64 PI.f64)) (cbrt.f64 (sqrt.f64 PI.f64))))
1.0ms
(sqrt.f64 PI.f64)
1.0ms
(sqrt.f64 PI.f64)
1.0ms
(cbrt.f64 PI.f64)
Compiler

Compiled 5624 to 898 computations (84% saved)

series1.0ms (0%)

Error
8.8b
Counts
4 → 0
Calls

4 calls:

0.0ms
(cbrt.f64 PI.f64)
0.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 PI.f64)) (cbrt.f64 (sqrt.f64 PI.f64))) (*.f64 (cbrt.f64 (sqrt.f64 PI.f64)) (cbrt.f64 (sqrt.f64 PI.f64))))
0.0ms
(sqrt.f64 PI.f64)
0.0ms
(sqrt.f64 PI.f64)
Compiler

Compiled 0 to 0 computations (0% saved)

simplify74.0ms (0.8%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04836473
14836473

prune176.0ms (2%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1101111
Fresh088
Picked101
Done011
Total11110121
Error
8.8b
Counts
121 → 10
Compiler

Compiled 5019 to 739 computations (85.3% saved)

regimes1.6s (18.2%)

Accuracy

Total 11.6b remaining (62.8%)

Threshold costs 0b (0%)

Compiler

Compiled 16845 to 12309 computations (26.9% saved)

bsearch5.0ms (0.1%)

Compiler

Compiled 18 to 15 computations (16.7% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
082124
182124

end4.0ms (0%)

Compiler

Compiled 80 to 53 computations (33.8% saved)

sample2.7s (29.8%)

Algorithm
intervals
Results
707.0ms882×body4096valid
558.0ms5384×body128valid
517.0ms878×body2048valid
214.0ms481×body1024valid
87.0ms260×body512valid
24.0ms115×body256valid
Compiler

Compiled 254 to 194 computations (23.6% saved)

Profiling

Loading profile data...