Details

Time bar (total: 26.4s)

analyze3.0s (11.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04978427
14978427
044
144
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%98.2%1.8%7
0%92%8%8
0%91.2%8.8%9
0.4%89.3%10.3%10
7.1%79.2%13.6%11
11.9%70.2%17.9%12
13.8%67.4%18.7%13
16.6%63.3%20.1%14
Symmetry

(sort A C)

Compiler

Compiled 41 to 33 computations (19.5% saved)

sample167.0ms (0.6%)

Algorithm
intervals
Results
28.0ms188×body128valid
20.0ms25×body2048nan
19.0ms31×body1024nan
18.0ms23×body2048valid
13.0ms18×body512valid
12.0ms19×body1024valid
9.0ms64×body128nan
8.0ms18×body512nan
5.0ms16×body256nan
2.0msbody256valid
Compiler

Compiled 81 to 69 computations (14.8% saved)

simplify50.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0539061

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
48.5b
Counts
2 → 1
Compiler

Compiled 80 to 59 computations (26.3% saved)

localize27.0ms (0.1%)

Local error

Found 4 expressions with local error:

5.8b
(*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)
11.3b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
21.9b
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
33.7b
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))

rewrite907.0ms (3.4%)

Algorithm
rewrite-expression-head
Error
48.1b
Rules
66×sqrt-div_binary64_2823
40×associate-*r/_binary64_2748
39×*-un-lft-identity_binary64_2806
36×times-frac_binary64_2812
35×add-sqr-sqrt_binary64_2828
34×associate-*l/_binary64_2749
32×add-cube-cbrt_binary64_2841
25×flip3-+_binary64_2809 flip-+_binary64_2780
24×frac-sub_binary64_2815 frac-times_binary64_2816
22×flip3--_binary64_2810 flip--_binary64_2781
20×distribute-neg-frac_binary64_2770 associate-/l/_binary64_2753
17×pow1_binary64_2867
16×distribute-rgt-neg-in_binary64_2764 distribute-lft-neg-in_binary64_2763
15×sqrt-prod_binary64_2822
12×associate-/l*_binary64_2751
add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842
pow-prod-down_binary64_2877
sqrt-pow1_binary64_2824
add-log-exp_binary64_2845 unpow-prod-down_binary64_2885 neg-mul-1_binary64_2802
distribute-lft-out_binary64_2757 associate-/r*_binary64_2750 associate-*l*_binary64_2747 associate-*r*_binary64_2746
pow1/2_binary64_2886 associate-/r/_binary64_2752
distribute-lft-out--_binary64_2758 rem-sqrt-square_binary64_2819 div-exp_binary64_2857 cbrt-undiv_binary64_2840 frac-2neg_binary64_2817 neg-sub0_binary64_2801 div-sub_binary64_2811 clear-num_binary64_2805 div-inv_binary64_2803 distribute-frac-neg_binary64_2769 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 unswap-sqr_binary64_2774 *-commutative_binary64_2737
Counts
4 → 158
Calls

4 calls:

33.0ms
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
18.0ms
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
12.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))
9.0ms
(*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)
Compiler

Compiled 11275 to 7235 computations (35.8% saved)

series6.5s (24.6%)

Error
29.3b
Counts
4 → 75
Calls

4 calls:

3.2s
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))
2.3s
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (*.f64 2 (*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)) (-.f64 (+.f64 A C) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))))) (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)))
439.0ms
(*.f64 (-.f64 (pow.f64 B 2) (*.f64 (*.f64 4 A) C)) F)
370.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))
Compiler

Compiled 13308 to 9984 computations (25% saved)

simplify141.0ms (0.5%)

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
0497114078
1497114078

prune746.0ms (2.8%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New21716233
Fresh000
Picked101
Done000
Total21816234
Error
29.2b
Counts
234 → 16
Compiler

Compiled 12963 to 6906 computations (46.7% saved)

localize8.0ms (0%)

Local error

Found 2 expressions with local error:

0.4b
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))
12.2b
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))

rewrite68.0ms (0.3%)

Algorithm
rewrite-expression-head
Error
26.4b
Rules
12×pow1_binary64_2867
add-sqr-sqrt_binary64_2828
pow-prod-down_binary64_2877 sqrt-pow1_binary64_2824 sqrt-prod_binary64_2822 associate-*l*_binary64_2747
add-cube-cbrt_binary64_2841 *-un-lft-identity_binary64_2806
add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842 associate-*r*_binary64_2746
pow1/2_binary64_2886 associate-*r/_binary64_2748
add-log-exp_binary64_2845 sqrt-div_binary64_2823 unswap-sqr_binary64_2774
prod-exp_binary64_2855 cbrt-unprod_binary64_2839 sqrt-unprod_binary64_2826 *-commutative_binary64_2737
Counts
2 → 40
Calls

2 calls:

9.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))
4.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))
Compiler

Compiled 553 to 408 computations (26.2% saved)

series157.0ms (0.6%)

Error
29.2b
Counts
2 → 12
Calls

2 calls:

92.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 -1/2 (/.f64 F C))))
65.0ms
(sqrt.f64 (*.f64 -1/2 (/.f64 F C)))
Compiler

Compiled 382 to 406 computations (-6.3% saved)

simplify107.0ms (0.4%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
04850676
14850676

prune90.0ms (0.3%)

Pruning

24 alts after pruning (23 fresh and 1 done)

PrunedKeptTotal
New44852
Fresh01515
Picked011
Done000
Total442468
Error
26.4b
Counts
68 → 24
Compiler

Compiled 1318 to 964 computations (26.9% saved)

localize9.0ms (0%)

Local error

Found 2 expressions with local error:

0.2b
(/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 F -1/2))) (sqrt.f64 C))
0.4b
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 F -1/2)))

rewrite96.0ms (0.4%)

Algorithm
rewrite-expression-head
Error
26.4b
Rules
13×add-sqr-sqrt_binary64_2828
11×sqrt-prod_binary64_2822
pow1_binary64_2867 add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842 add-cube-cbrt_binary64_2841 *-un-lft-identity_binary64_2806
associate-*l*_binary64_2747 times-frac_binary64_2812 associate-/r*_binary64_2750
pow-prod-down_binary64_2877
sqrt-pow1_binary64_2824 associate-*r*_binary64_2746
pow1/2_binary64_2886 prod-exp_binary64_2855 add-log-exp_binary64_2845 cbrt-unprod_binary64_2839 sqrt-unprod_binary64_2826 unswap-sqr_binary64_2774 div-exp_binary64_2857 cbrt-undiv_binary64_2840
*-commutative_binary64_2737 sqrt-undiv_binary64_2827 frac-2neg_binary64_2817 clear-num_binary64_2805 div-inv_binary64_2803 associate-/l*_binary64_2751
Counts
2 → 55
Calls

2 calls:

9.0ms
(/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 F -1/2))) (sqrt.f64 C))
8.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 F -1/2)))
Compiler

Compiled 843 to 633 computations (24.9% saved)

series147.0ms (0.6%)

Error
26.4b
Counts
2 → 9
Calls

2 calls:

109.0ms
(/.f64 (*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 F -1/2))) (sqrt.f64 C))
37.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (*.f64 F -1/2)))
Compiler

Compiled 306 to 330 computations (-7.8% saved)

simplify79.0ms (0.3%)

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
05152969

prune179.0ms (0.7%)

Pruning

24 alts after pruning (23 fresh and 1 done)

PrunedKeptTotal
New58664
Fresh51722
Picked101
Done011
Total642488
Error
26.4b
Counts
88 → 24
Compiler

Compiled 1460 to 1074 computations (26.4% saved)

localize15.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C))

rewrite197.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
26.4b
Rules
112×sqrt-prod_binary64_2822
78×times-frac_binary64_2812
57×add-cube-cbrt_binary64_2841 add-sqr-sqrt_binary64_2828 *-un-lft-identity_binary64_2806
21×distribute-rgt-neg-in_binary64_2764 distribute-lft-neg-in_binary64_2763
13×associate-/l*_binary64_2751
neg-mul-1_binary64_2802
associate-/r*_binary64_2750
add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842
pow1_binary64_2867 div-exp_binary64_2857 add-log-exp_binary64_2845 cbrt-undiv_binary64_2840 sqrt-undiv_binary64_2827 frac-2neg_binary64_2817 clear-num_binary64_2805 div-inv_binary64_2803
Counts
1 → 110
Calls

1 calls:

14.0ms
(/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C))
Compiler

Compiled 1353 to 406 computations (70% saved)

series109.0ms (0.4%)

Error
26.4b
Counts
1 → 6
Calls

1 calls:

108.0ms
(/.f64 (sqrt.f64 (neg.f64 F)) (sqrt.f64 C))
Compiler

Compiled 144 to 152 computations (-5.6% saved)

simplify205.0ms (0.8%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (154.0ms)

IterNodesCost
047132256
147132256

prune120.0ms (0.5%)

Pruning

28 alts after pruning (26 fresh and 2 done)

PrunedKeptTotal
New1106116
Fresh22022
Picked011
Done011
Total11228140
Error
26.4b
Counts
140 → 28
Compiler

Compiled 911 to 259 computations (71.6% saved)

regimes6.5s (24.6%)

Accuracy

Total 4.3b remaining (13.9%)

Threshold costs 0b (0%)

Compiler

Compiled 41785 to 32289 computations (22.7% saved)

bsearch16.0ms (0.1%)

Compiler

Compiled 40 to 32 computations (20% saved)

simplify22.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
0646430
1646430

end47.0ms (0.2%)

Compiler

Compiled 831 to 558 computations (32.9% saved)

sample6.7s (25.4%)

Algorithm
intervals
Results
958.0ms5578×body128valid
797.0ms820×body1024valid
600.0ms878×body1024nan
592.0ms652×body2048valid
530.0ms599×body2048nan
405.0ms2402×body128nan
315.0ms597×body512valid
306.0ms607×body512nan
120.0ms328×body256nan
115.0ms352×body256valid
1.0msbody4096valid
Compiler

Compiled 1260 to 924 computations (26.7% saved)

Profiling

Loading profile data...