Details

Time bar (total: 6.4s)

analyze665.0ms (10.4%)

Algorithm
search
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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
18.7%76.5%4.8%7
28.1%66.3%5.6%8
34.7%55.4%9.9%9
36.1%51.1%12.8%10
42.1%42.4%15.5%11
47.5%33.8%18.7%12
48.8%30.7%20.6%13
51.8%25.6%22.5%14
Compiler

Compiled 17 to 11 computations (35.3% saved)

sample2.4s (37.8%)

Results
655.0ms5394×body128valid
629.0ms1149×body2048valid
296.0ms775×body1024valid
223.0ms399×body4096valid
120.0ms1055×body128invalid
100.0ms349×body512valid
38.0ms190×body256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify84.0ms (1.3%)

Algorithm
egg-herbie
Rules
808×fma-neg_binary64
379×associate-/l*_binary64
361×div-sub_binary64
341×fma-def_binary64
224×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01120
12318
23918
36918
410718
517818
627918
738218
854718
958718
1085518
11124718
12111718
13103518
14104318
15105118
16107718
17109318
18112918
19113118
20114318
21105018

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
34.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
34.6b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
Compiler

Compiled 58 to 30 computations (48.3% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
0.6b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.9b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
22.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series116.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

49.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
33.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
26.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
8.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite284.0ms (4.5%)

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64
31×add-cube-cbrt_binary64
20×sqrt-prod_binary64
19×prod-diff_binary64
Counts
4 → 120
Calls

4 calls:

262.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
8.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
3.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
3.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

simplify317.0ms (5%)

Algorithm
egg-herbie
Rules
682×fma-neg_binary64
364×cancel-sign-sub-inv_binary64
248×distribute-rgt-neg-in_binary64
220×distribute-lft-neg-in_binary64
172×distribute-rgt-in_binary64
Counts
216 → 237
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02725492
16834712
224844515
345214514
449154514
549904514
650004514
749994514
849324514

prune160.0ms (2.5%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New22512237
Fresh000
Picked011
Done000
Total22513238
Error
6.5b
Counts
238 → 13
Alt Table
StatusErrorProgram
34.4b
(*.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a))
43.9b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
48.5b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
48.6b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
35.1b
(/.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (cbrt.f64 a))
44.5b
(fma.f64 -1/2 (/.f64 c b_2) (*.f64 (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b_2 3)) -1/8))
34.3b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
39.4b
(*.f64 -1/2 (/.f64 c b_2))
43.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 c a (*.f64 b_2 b_2))) (+.f64 b_2 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a)
48.3b
(/.f64 (*.f64 -2 b_2) a)
35.1b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (cbrt.f64 a)))
34.6b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
48.2b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a) 3))
Compiler

Compiled 6006 to 1749 computations (70.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))
0.2b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
0.7b
(-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)
10.8b
(sqrt.f64 (neg.f64 (*.f64 c a)))

series560.0ms (8.8%)

Counts
4 → 36
Calls

4 calls:

233.0ms
(/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))
186.0ms
(-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)
128.0ms
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
12.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite36.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
138×times-frac_binary64
116×add-sqr-sqrt_binary64
115×*-un-lft-identity_binary64
81×add-cube-cbrt_binary64
26×associate-/r*_binary64
Counts
4 → 197
Calls

4 calls:

7.0ms
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)))
5.0ms
(/.f64 a (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2))
3.0ms
(-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)
1.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

simplify192.0ms (3%)

Algorithm
egg-herbie
Rules
726×fma-def_binary64
384×cancel-sign-sub-inv_binary64
289×fma-neg_binary64
216×div-sub_binary64
164×distribute-neg-frac_binary64
Counts
233 → 300
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03157449
17196508
226046286
347446282
450146282

prune184.0ms (2.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2973300
Fresh4711
Picked101
Done011
Total30211313
Error
0.2b
Counts
313 → 11
Alt Table
StatusErrorProgram
39.4b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (*.f64 2 (/.f64 b_2 (neg.f64 c)))))
35.1b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (cbrt.f64 a)))
48.5b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
48.6b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
39.4b
(*.f64 -1/2 (/.f64 c b_2))
46.5b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2) b_2)))
43.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 c a (*.f64 b_2 b_2))) (+.f64 b_2 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a)
43.9b
(/.f64 (*.f64 -1/2 (/.f64 (*.f64 c a) b_2)) a)
34.6b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
48.2b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a) 3))
44.8b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2)))
Compiler

Compiled 8510 to 2445 computations (71.3% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 a)
0.6b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.9b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
22.6b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series34.0ms (0.5%)

Counts
1 → 12
Calls

1 calls:

34.0ms
(cbrt.f64 a)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
1 → 13
Calls

1 calls:

1.0ms
(cbrt.f64 a)

simplify62.0ms (1%)

Algorithm
egg-herbie
Rules
610×associate-/l/_binary64
374×log-prod_binary64
316×distribute-rgt-neg-in_binary64
314×distribute-lft-neg-in_binary64
287×*-commutative_binary64
Counts
25 → 18
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
024141
138137
286137
3208137
4626133
51904133
62565133
73552133
84861133

prune113.0ms (1.8%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2051206
Fresh189
Picked011
Done011
Total20611217
Error
0.2b
Counts
217 → 11
Alt Table
StatusErrorProgram
39.4b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (*.f64 2 (/.f64 b_2 (neg.f64 c)))))
35.1b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (cbrt.f64 a)))
47.5b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (fma.f64 (/.f64 (*.f64 c a) b_2) -1/2 (*.f64 (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b_2 3)) -1/8)) (cbrt.f64 a)))
48.5b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
48.6b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
39.4b
(*.f64 -1/2 (/.f64 c b_2))
46.5b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2) b_2)))
43.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 c a (*.f64 b_2 b_2))) (+.f64 b_2 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a)
34.6b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
48.2b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a) 3))
44.8b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2)))
Compiler

Compiled 6606 to 2083 computations (68.5% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -1/2 (/.f64 c b_2))

series7.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

7.0ms
(*.f64 -1/2 (/.f64 c b_2))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×associate-*r*_binary64
10×times-frac_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 34
Calls

1 calls:

5.0ms
(*.f64 -1/2 (/.f64 c b_2))

simplify114.0ms (1.8%)

Algorithm
egg-herbie
Rules
907×associate-/l/_binary64
791×times-frac_binary64
407×associate-/l*_binary64
344×pow-sqr_binary64
338×associate-*l/_binary64
Counts
34 → 40
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
072381
1156345
2390345
3850345
41897345
52021345
62193345
72428345
82951345
93248345
104846345
114925345
125000345
134931345

prune25.0ms (0.4%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New39140
Fresh088
Picked101
Done022
Total401151
Error
0.2b
Counts
51 → 11
Alt Table
StatusErrorProgram
39.4b
(/.f64 1 (fma.f64 1/2 (/.f64 a b_2) (*.f64 2 (/.f64 b_2 (neg.f64 c)))))
35.1b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) (cbrt.f64 a)))
47.5b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (fma.f64 (/.f64 (*.f64 c a) b_2) -1/2 (*.f64 (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b_2 3)) -1/8)) (cbrt.f64 a)))
48.5b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a)))
48.6b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
43.3b
(/.f64 (/.f64 (-.f64 (*.f64 b_2 b_2) (fma.f64 c a (*.f64 b_2 b_2))) (+.f64 b_2 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a)
34.6b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
39.3b
(/.f64 (*.f64 -1/2 c) b_2)
48.2b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2) a) 3))
46.5b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2) b_2)))
44.8b
(/.f64 1 (/.f64 a (-.f64 (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2) b_2)))
Compiler

Compiled 666 to 359 computations (46.1% saved)

regimes737.0ms (11.6%)

Accuracy

Total 10.2b remaining (98.8%)

Threshold costs 0b (0%)

Counts
88 → 3
Compiler

Compiled 7356 to 4138 computations (43.7% saved)

bsearch78.0ms (1.2%)

Steps
ItersRangePoint
8
4.711838323479284e-51
5.766566898698519e-48
2.8943632832812116e-49
9
-3.065242740965835e+70
-7.868367830038492e+64
-1.24070021974044e+69
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02651
13651
24951
35751
46251
56351
66351

end143.0ms (2.2%)

Compiler

Compiled 290 to 177 computations (39% saved)

Profiling

Loading profile data...