Details

Time bar (total: 9.5s)

analyze634.0ms (6.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.4s (25.2%)

Results
661.0ms5353×body128valid
547.0ms1182×body2048valid
274.0ms726×body1024valid
212.0ms385×body4096valid
211.0ms1036×body128invalid
110.0ms386×body512valid
45.0ms224×body256valid
Compiler

Compiled 50 to 32 computations (36% saved)

simplify86.0ms (0.9%)

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
36.9b
Counts
2 → 1
Alt Table
StatusErrorProgram
36.9b
(/.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.4b
(-.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))
27.7b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series531.0ms (5.6%)

Counts
4 → 96
Calls

4 calls:

331.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
110.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
81.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
8.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

rewrite42.0ms (0.4%)

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:

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

simplify273.0ms (2.9%)

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

prune229.0ms (2.4%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New28210292
Fresh000
Picked101
Done000
Total28310293
Error
6.9b
Counts
293 → 10
Alt Table
StatusErrorProgram
36.9b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
45.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
45.6b
(/.f64 (*.f64 -2 b_2) a)
55.3b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
47.2b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)) (sqrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
51.2b
(*.f64 (+.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 (neg.f64 b_2))) (/.f64 (-.f64 (sqrt.f64 (neg.f64 b_2)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
37.2b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
39.9b
(*.f64 -1/2 (/.f64 c b_2))
37.9b
(/.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)
33.2b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
Compiler

Compiled 9078 to 1990 computations (78.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)
0.1b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
0.5b
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
13.9b
(sqrt.f64 (neg.f64 (*.f64 c a)))

series564.0ms (6%)

Counts
4 → 42
Calls

4 calls:

280.0ms
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
154.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
112.0ms
(hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)
18.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity_binary64
50×add-sqr-sqrt_binary64
39×add-cube-cbrt_binary64
30×prod-diff_binary64
18×times-frac_binary64
Counts
4 → 133
Calls

4 calls:

7.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))
1.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))
0.0ms
(hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)

simplify152.0ms (1.6%)

Algorithm
egg-herbie
Rules
659×fma-def_binary64
455×fma-neg_binary64
305×div-sub_binary64
286×cancel-sign-sub-inv_binary64
176×sub-neg_binary64
Counts
175 → 206
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02825364
16654289
221443828
344393824
450013824

prune116.0ms (1.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2024206
Fresh369
Picked011
Done000
Total20511216
Error
0.0b
Counts
216 → 11
Alt Table
StatusErrorProgram
37.2b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
54.5b
(*.f64 1/2 (/.f64 (pow.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) 2) (*.f64 a b_2)))
36.9b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
45.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
47.2b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)) (sqrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
51.2b
(*.f64 (+.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 (neg.f64 b_2))) (/.f64 (-.f64 (sqrt.f64 (neg.f64 b_2)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
39.9b
(*.f64 -1/2 (/.f64 c b_2))
44.9b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
47.0b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
33.4b
(/.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)
33.2b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
Compiler

Compiled 6291 to 1617 computations (74.3% saved)

localize13.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)))))
0.5b
(-.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.8b
(cbrt.f64 (neg.f64 (*.f64 c a)))

series1.9s (20.2%)

Counts
4 → 108
Calls

4 calls:

694.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))
434.0ms
(*.f64 (fabs.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))) (sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a)))))
394.0ms
(cbrt.f64 (neg.f64 (*.f64 c a)))
393.0ms
(sqrt.f64 (cbrt.f64 (neg.f64 (*.f64 c a))))

rewrite33.0ms (0.3%)

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:

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

simplify200.0ms (2.1%)

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

prune222.0ms (2.3%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New3100310
Fresh099
Picked011
Done011
Total31011321
Error
0.0b
Counts
321 → 11
Alt Table
StatusErrorProgram
37.2b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
54.5b
(*.f64 1/2 (/.f64 (pow.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) 2) (*.f64 a b_2)))
36.9b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
45.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
47.2b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)) (sqrt.f64 (/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)))
51.2b
(*.f64 (+.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (sqrt.f64 (neg.f64 b_2))) (/.f64 (-.f64 (sqrt.f64 (neg.f64 b_2)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
39.9b
(*.f64 -1/2 (/.f64 c b_2))
44.9b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
47.0b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
33.4b
(/.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)
33.2b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
Compiler

Compiled 11274 to 3051 computations (72.9% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
1.4b
(-.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))
27.7b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series86.0ms (0.9%)

Counts
1 → 20
Calls

1 calls:

85.0ms
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
14×*-un-lft-identity_binary64
13×associate-*r*_binary64
11×times-frac_binary64
10×add-exp-log_binary64
Counts
1 → 46
Calls

1 calls:

12.0ms
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))

simplify76.0ms (0.8%)

Algorithm
egg-herbie
Rules
740×times-frac_binary64
400×fma-neg_binary64
392×associate-/l*_binary64
309×fma-def_binary64
212×distribute-rgt-in_binary64
Counts
66 → 94
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01481869
13981694
213271613
349871613
452151613

prune141.0ms (1.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2981299
Fresh448
Picked011
Done202
Total3046310
Error
0.0b
Counts
310 → 6
Alt Table
StatusErrorProgram
36.9b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
45.8b
(fma.f64 1/2 (/.f64 c b_2) (*.f64 -2 (/.f64 b_2 a)))
33.2b
(/.f64 (/.f64 (*.f64 c a) a) (+.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
39.9b
(*.f64 -1/2 (/.f64 c b_2))
44.9b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
47.0b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
Compiler

Compiled 9325 to 2488 computations (73.3% saved)

regimes1.5s (16%)

Accuracy

Total 10.5b remaining (99%)

Threshold costs 0b (0%)

Counts
111 → 3
Compiler

Compiled 9108 to 5314 computations (41.7% saved)

bsearch80.0ms (0.8%)

Steps
ItersRangePoint
6
2.8151888881011815e+62
3.4279919876657144e+63
3.333556626530765e+63
10
-2.333067483298202e-14
-1.6891120434072655e-25
-1.707796379979102e-25
Compiler

Compiled 4 to 3 computations (25% saved)

simplify6.0ms (0.1%)

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

end88.0ms (0.9%)

Compiler

Compiled 173 to 111 computations (35.8% saved)

Profiling

Loading profile data...