Details

Time bar (total: 11.7s)

analyze1.6s (13.5%)

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)

sample90.0ms (0.8%)

Algorithm
intervals
Results
27.0ms45×body2048valid
17.0ms159×body128valid
11.0ms26×body1024valid
9.0ms14×body4096valid
3.0ms31×body128nan
2.0msbody512valid
1.0msbody128invalid
1.0msbody256valid
Compiler

Compiled 36 to 24 computations (33.3% saved)

simplify110.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

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
35.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
35.1b
(/.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)

localize17.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)
0.4b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
0.6b
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
23.2b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite86.0ms (0.7%)

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:

22.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
19.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
7.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
7.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

series420.0ms (3.6%)

Counts
4 → 96
Calls

4 calls:

158.0ms
(-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
140.0ms
(/.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) a)
76.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
45.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

simplify544.0ms (4.6%)

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 → 521
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03178791
17796792
226825750
345845750
449745750

prune307.0ms (2.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New5138521
Fresh000
Picked101
Done000
Total5148522
Error
4.1b
Counts
522 → 8
Alt Table
StatusErrorProgram
35.2b
(*.f64 (-.f64 (neg.f64 b_2) (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (/.f64 1 a))
38.6b
(*.f64 -1/2 (/.f64 c b_2))
44.7b
(/.f64 (*.f64 -2 b_2) a)
37.5b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
56.4b
(/.f64 (-.f64 (neg.f64 b_2) (neg.f64 b_2)) a)
32.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
33.0b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) (/.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
36.5b
(/.f64 (-.f64 (neg.f64 b_2) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))) (cbrt.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) (cbrt.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))) a)
Compiler

Compiled 8983 to 1942 computations (78.4% saved)

localize17.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)
0.2b
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
11.4b
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite49.0ms (0.4%)

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:

15.0ms
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
11.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
4.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

series674.0ms (5.7%)

Counts
3 → 28
Calls

3 calls:

360.0ms
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
282.0ms
(-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))
31.0ms
(sqrt.f64 (neg.f64 (*.f64 c a)))

simplify258.0ms (2.2%)

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 → 236
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02604852
15993789
219233346
343163342
448973342

prune247.0ms (2.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2333236
Fresh347
Picked011
Done000
Total2368244
Error
0.1b
Counts
244 → 8
Alt Table
StatusErrorProgram
47.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
32.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
38.6b
(*.f64 -1/2 (/.f64 c b_2))
32.6b
(*.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (/.f64 1 a))
44.7b
(/.f64 (*.f64 -2 b_2) a)
37.5b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
46.4b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
33.0b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) (/.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
Compiler

Compiled 5344 to 1242 computations (76.8% saved)

localize55.0ms (0.5%)

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

rewrite29.0ms (0.2%)

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

1 calls:

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

series435.0ms (3.7%)

Counts
1 → 14
Calls

1 calls:

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

simplify137.0ms (1.2%)

Algorithm
egg-herbie
Rules
733×times-frac_binary64
469×fma-neg_binary64
382×associate-/l*_binary64
255×fma-def_binary64
192×distribute-rgt-in_binary64
Counts
59 → 111
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01461762
13931575
212401558
346981558
450121558

prune200.0ms (1.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2621263
Fresh066
Picked011
Done011
Total2629271
Error
0.0b
Counts
271 → 9
Alt Table
StatusErrorProgram
47.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
32.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
38.6b
(*.f64 -1/2 (/.f64 c b_2))
46.4b
(*.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) (/.f64 1 a))
32.6b
(*.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (/.f64 1 a))
44.7b
(/.f64 (*.f64 -2 b_2) a)
37.5b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
46.4b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
33.0b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) (/.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
Compiler

Compiled 6111 to 1690 computations (72.3% saved)

localize26.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))
11.4b
(sqrt.f64 (neg.f64 (*.f64 c a)))
11.4b
(sqrt.f64 (neg.f64 (*.f64 c a)))
11.4b
(sqrt.f64 (neg.f64 (*.f64 c a)))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
cbrt-prod_binary64
add-sqr-sqrt_binary64
distribute-lft-out--_binary64
cbrt-div_binary64
Counts
1 → 18
Calls

1 calls:

7.0ms
(cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))

series1.6s (13.5%)

Counts
1 → 14
Calls

1 calls:

1.6s
(cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))

simplify134.0ms (1.1%)

Algorithm
egg-herbie
Rules
576×associate-*l*_binary64
456×associate-/r*_binary64
424×associate-/l*_binary64
280×fma-def_binary64
209×fma-neg_binary64
Counts
32 → 52
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01401529
13801406
211491300
348971300
449701300

prune117.0ms (1%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New3600360
Fresh066
Picked011
Done022
Total3609369
Error
0.0b
Counts
369 → 9
Alt Table
StatusErrorProgram
47.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (neg.f64 a))) b_2)) a)
32.5b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) a)
38.6b
(*.f64 -1/2 (/.f64 c b_2))
46.4b
(*.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) (/.f64 1 a))
32.6b
(*.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)) (/.f64 1 a))
44.7b
(/.f64 (*.f64 -2 b_2) a)
37.5b
(/.f64 (/.f64 (*.f64 c a) (-.f64 (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2) b_2)) a)
46.4b
(/.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (*.f64 (sqrt.f64 (neg.f64 c)) (sqrt.f64 a)) b_2)) a)
33.0b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2)))) (/.f64 (cbrt.f64 (-.f64 (neg.f64 b_2) (hypot.f64 (sqrt.f64 (neg.f64 (*.f64 c a))) b_2))) a))
Compiler

Compiled 5319 to 1344 computations (74.7% saved)

regimes1.8s (15.7%)

Accuracy

Total 10.4b remaining (97.5%)

Threshold costs 0b (0%)

Compiler

Compiled 7660 to 4020 computations (47.5% saved)

bsearch114.0ms (1%)

Steps
ItersRangePoint
9
3.586437907391441e+43
1.9202886616587692e+49
1.8985554710420717e+49
10
-3.50355082705793e-94
-3.3267235029611844e-107
-4.195208749600831e-95
Compiler

Compiled 4 to 3 computations (25% saved)

simplify14.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02746
14346
25846
37346
48646
58946
69046
78746

end1.0ms (0%)

Compiler

Compiled 34 to 22 computations (35.3% saved)

sample2.6s (22.4%)

Algorithm
intervals
Results
579.0ms1136×body2048valid
533.0ms5245×body128valid
306.0ms729×body1024valid
252.0ms396×body4096valid
98.0ms326×body512valid
77.0ms806×body128nan
35.0ms168×body256valid
25.0ms260×body128invalid
Compiler

Compiled 210 to 128 computations (39% saved)

Profiling

Loading profile data...