Details

Time bar (total: 8.7s)

analyze673.0ms (7.7%)

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
35.1%55%9.9%9
36.3%50.9%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.6s (29.9%)

Results
708.0ms5331×body128valid
568.0ms1131×body2048valid
392.0ms742×body1024valid
261.0ms437×body4096valid
143.0ms1108×body128invalid
124.0ms399×body512valid
48.0ms216×body256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify85.0ms (1%)

Algorithm
egg-herbie
Rules
518×div-sub_binary64
428×fma-neg_binary64
246×associate-/l*_binary64
205×fma-def_binary64
183×times-frac_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
12720
25420
311520
417920
529120
641720
752820
860220
985420
10180220
11104320
12102720
13103520
14104320
15104320
16110120
17113720
18113920
19115120
20104620

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
37.7b
Counts
2 → 1
Alt Table
StatusErrorProgram
37.7b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
Compiler

Compiled 48 to 30 computations (37.5% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
1.9b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
2.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
24.3b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series231.0ms (2.7%)

Counts
4 → 96
Calls

4 calls:

114.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
58.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
44.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
14.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite137.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt_binary64
80×*-un-lft-identity_binary64
61×prod-diff_binary64
60×add-cube-cbrt_binary64
41×sqrt-prod_binary64
Counts
4 → 176
Calls

4 calls:

13.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
9.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
3.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
3.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

simplify204.0ms (2.3%)

Algorithm
egg-herbie
Rules
819×fma-neg_binary64
295×cancel-sign-sub-inv_binary64
181×unswap-sqr_binary64
169×sub-neg_binary64
135×associate-*r*_binary64
Counts
272 → 292
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03177693
17796304
226825750
345845750
449745750

prune166.0ms (1.9%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New28111292
Fresh000
Picked101
Done000
Total28211293
Error
5.2b
Counts
293 → 11
Alt Table
StatusErrorProgram
48.0b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 a)) (sqrt.f64 a))
46.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
39.2b
(/.f64 (-.f64 (neg.f64 b_2) (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 c a)))))) a)
57.1b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
35.5b
(*.f64 -1/2 (/.f64 c b_2))
46.7b
(/.f64 (*.f64 -2 b_2) a)
37.4b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
37.9b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (cbrt.f64 a))
52.2b
(/.f64 (-.f64 (pow.f64 (neg.f64 b_2) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) 3)) (*.f64 a (fma.f64 b_2 b_2 (fma.f64 b_2 (neg.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (-.f64 (*.f64 b_2 b_2) (*.f64 c a))))))
51.9b
(exp.f64 (log.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
38.7b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
Compiler

Compiled 9120 to 2034 computations (77.7% saved)

localize3.0ms (0%)

prune10.0ms (0.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New000
Fresh01010
Picked011
Done000
Total01111
Error
5.2b
Counts
11 → 11
Alt Table
StatusErrorProgram
48.0b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 a)) (sqrt.f64 a))
46.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
39.2b
(/.f64 (-.f64 (neg.f64 b_2) (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 c a)))))) a)
57.1b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
35.5b
(*.f64 -1/2 (/.f64 c b_2))
46.7b
(/.f64 (*.f64 -2 b_2) a)
37.4b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
37.9b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (cbrt.f64 a))
52.2b
(/.f64 (-.f64 (pow.f64 (neg.f64 b_2) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) 3)) (*.f64 a (fma.f64 b_2 b_2 (fma.f64 b_2 (neg.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (-.f64 (*.f64 b_2 b_2) (*.f64 c a))))))
51.9b
(exp.f64 (log.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
38.7b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
Compiler

Compiled 388 to 234 computations (39.7% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
1.2b
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
13.6b
(sqrt.f64 (neg.f64 (*.f64 c a)))

series467.0ms (5.4%)

Counts
3 → 28
Calls

3 calls:

242.0ms
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
207.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
18.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite28.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64
49×add-sqr-sqrt_binary64
38×add-cube-cbrt_binary64
30×prod-diff_binary64
18×times-frac_binary64
Counts
3 → 123
Calls

3 calls:

11.0ms
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
6.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
2.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

simplify139.0ms (1.6%)

Algorithm
egg-herbie
Rules
526×fma-def_binary64
451×fma-neg_binary64
296×div-sub_binary64
232×cancel-sign-sub-inv_binary64
159×distribute-rgt-in_binary64
Counts
151 → 172
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02604852
15993789
219233346
343163342
448973342

prune92.0ms (1.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1693172
Fresh459
Picked011
Done011
Total17310183
Error
0.2b
Counts
183 → 10
Alt Table
StatusErrorProgram
48.0b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 a)) (sqrt.f64 a))
46.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
37.4b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
37.9b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (cbrt.f64 a))
52.2b
(/.f64 (-.f64 (pow.f64 (neg.f64 b_2) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) 3)) (*.f64 a (fma.f64 b_2 b_2 (fma.f64 b_2 (neg.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (-.f64 (*.f64 b_2 b_2) (*.f64 c a))))))
46.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
51.8b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
37.6b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))) b_2)) a)
38.7b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
35.5b
(*.f64 -1/2 (/.f64 c b_2))
Compiler

Compiled 5450 to 1314 computations (75.9% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))
0.2b
(*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))))
1.2b
(-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))) b_2))
16.6b
(cbrt.f64 (neg.f64 (*.f64 c a)))

series2.1s (24.3%)

Counts
4 → 108
Calls

4 calls:

756.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))) b_2))
469.0ms
(*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))))
451.0ms
(cbrt.f64 (neg.f64 (*.f64 c a)))
436.0ms
(sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))

rewrite39.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt_binary64
40×*-un-lft-identity_binary64
38×cbrt-prod_binary64
36×add-cube-cbrt_binary64
30×prod-diff_binary64
Counts
4 → 157
Calls

4 calls:

10.0ms
(*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))))
5.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))) b_2))
2.0ms
(sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))
1.0ms
(cbrt.f64 (neg.f64 (*.f64 c a)))

simplify217.0ms (2.5%)

Algorithm
egg-herbie
Rules
934×times-frac_binary64
615×fma-def_binary64
450×fma-neg_binary64
211×associate-*l*_binary64
204×associate-*r*_binary64
Counts
265 → 276
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036910035
18267446
221676243
347926243
449706243

prune171.0ms (2%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New3100310
Fresh077
Picked011
Done022
Total31010320
Error
0.2b
Counts
320 → 10
Alt Table
StatusErrorProgram
48.0b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 a)) (sqrt.f64 a))
46.7b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
37.4b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
37.9b
(/.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (cbrt.f64 a))
52.2b
(/.f64 (-.f64 (pow.f64 (neg.f64 b_2) 3) (pow.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) 3)) (*.f64 a (fma.f64 b_2 b_2 (fma.f64 b_2 (neg.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (-.f64 (*.f64 b_2 b_2) (*.f64 c a))))))
46.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
51.8b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
37.6b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))) b_2)) a)
38.7b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
35.5b
(*.f64 -1/2 (/.f64 c b_2))
Compiler

Compiled 11097 to 2952 computations (73.4% saved)

regimes1.1s (12.5%)

Accuracy

Total 10.4b remaining (97.9%)

Threshold costs 0b (0%)

Counts
66 → 3
Compiler

Compiled 5747 to 3245 computations (43.5% saved)

bsearch72.0ms (0.8%)

Steps
ItersRangePoint
6
1.07416270065108e+33
1.608110291590463e+34
1.5765221083297083e+34
9
-1.2673641327254137e-109
-1.6452565235323379e-115
-4.3712533615696105e-110
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02756
14256
26156
37856
48856
59156
69156

end135.0ms (1.6%)

Compiler

Compiled 273 to 168 computations (38.5% saved)

Profiling

Loading profile data...