Details

Time bar (total: 9.1s)

analyze594.0ms (6.6%)

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
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14
Compiler

Compiled 21 to 15 computations (28.6% saved)

sample205.0ms (2.3%)

Algorithm
intervals
Results
15.0ms45×body2048valid
11.0ms159×body128valid
6.0ms26×body1024valid
4.0ms10×body4096valid
3.0ms12×body128invalid
2.0ms11×body512valid
1.0ms17×body128nan
1.0msbody256valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify142.0ms (1.6%)

Algorithm
egg-herbie
Rules
2079×fma-neg_binary64
1006×fma-def_binary64
919×div-sub_binary64
626×distribute-rgt-in_binary64
435×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01526
13824
29524
322722
435722
561422
6110322
7137322
8163622
9233022
10318722
11288022
12282722
13289622
14292222
15379722
16482422
17524022

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
32.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
32.7b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))
Compiler

Compiled 71 to 46 computations (35.2% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
1.4b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
20.4b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series570.0ms (6.3%)

Counts
3 → 60
Calls

3 calls:

449.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
70.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
50.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×times-frac_binary64
distribute-lft-out_binary64
Counts
3 → 67
Calls

3 calls:

4.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
3.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
1.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

simplify100.0ms (1.1%)

Algorithm
egg-herbie
Rules
820×times-frac_binary64
539×associate-/l*_binary64
458×fma-def_binary64
246×fma-neg_binary64
189×cancel-sign-sub-inv_binary64
Counts
127 → 169
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01883311
15103170
215343008
348403008
449543008

prune162.0ms (1.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1618169
Fresh000
Picked101
Done000
Total1628170
Error
4.3b
Counts
170 → 8
Alt Table
StatusErrorProgram
41.9b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) a))
33.0b
(*.f64 -1/2 (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
32.8b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
31.1b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
48.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
43.5b
(*.f64 -1/2 (*.f64 2 (fma.f64 (/.f64 (*.f64 c c) (pow.f64 b 3)) a (/.f64 c b))))
38.1b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
50.0b
(*.f64 -1/2 (cbrt.f64 (*.f64 (*.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))))
Compiler

Compiled 4736 to 2852 computations (39.8% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
0.1b
(/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))
0.7b
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
12.1b
(sqrt.f64 (*.f64 a (*.f64 c -4)))

series766.0ms (8.5%)

Counts
4 → 42
Calls

4 calls:

407.0ms
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
193.0ms
(/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))
144.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
22.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))

rewrite31.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
114×times-frac_binary64
99×*-un-lft-identity_binary64
65×add-sqr-sqrt_binary64
65×add-cube-cbrt_binary64
22×associate-/r*_binary64
Counts
4 → 164
Calls

4 calls:

6.0ms
(/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))
3.0ms
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
3.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))
2.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))

simplify172.0ms (1.9%)

Algorithm
egg-herbie
Rules
500×associate-*l/_binary64
496×fma-def_binary64
478×fma-neg_binary64
422×associate-/r/_binary64
308×cancel-sign-sub-inv_binary64
Counts
206 → 291
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02616330
16445816
221635690
349385684
451875684

prune238.0ms (2.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2874291
Fresh347
Picked011
Done000
Total2909299
Error
2.2b
Counts
299 → 9
Alt Table
StatusErrorProgram
41.9b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) a))
31.0b
(*.f64 -1/2 (*.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a)))
48.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
45.8b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))))
38.1b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
38.0b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
33.0b
(*.f64 -1/2 (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
47.2b
(*.f64 -1/2 (cbrt.f64 (pow.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a) 3)))
31.1b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
Compiler

Compiled 9052 to 5981 computations (33.9% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -4 (*.f64 c a))
0.1b
(/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a)
0.7b
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))
12.1b
(sqrt.f64 (*.f64 -4 (*.f64 c a)))

series387.0ms (4.3%)

Counts
4 → 28
Calls

4 calls:

199.0ms
(/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a)
163.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))
19.0ms
(sqrt.f64 (*.f64 -4 (*.f64 c a)))
5.0ms
(*.f64 -4 (*.f64 c a))

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
15×add-cube-cbrt_binary64
15×pow1_binary64
12×times-frac_binary64
Counts
4 → 86
Calls

4 calls:

4.0ms
(/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a)
4.0ms
(*.f64 -4 (*.f64 c a))
3.0ms
(sqrt.f64 (*.f64 -4 (*.f64 c a)))
2.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))

simplify69.0ms (0.8%)

Algorithm
egg-herbie
Rules
777×associate-*l*_binary64
692×associate-/r*_binary64
333×fma-def_binary64
238×associate-*r/_binary64
226×associate-*l/_binary64
Counts
114 → 130
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02012620
15062410
215722364
350362364

prune110.0ms (1.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1300130
Fresh077
Picked011
Done011
Total1309139
Error
2.2b
Counts
139 → 9
Alt Table
StatusErrorProgram
41.9b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) a))
31.0b
(*.f64 -1/2 (*.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a)))
48.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
45.8b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))))
38.1b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
38.0b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
33.0b
(*.f64 -1/2 (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
47.2b
(*.f64 -1/2 (cbrt.f64 (pow.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a) 3)))
31.1b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
Compiler

Compiled 3896 to 2507 computations (35.7% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
0.2b
(/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
1.4b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
20.4b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series707.0ms (7.8%)

Counts
2 → 32
Calls

2 calls:

639.0ms
(/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
68.0ms
(/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))

rewrite86.0ms (1%)

Algorithm
rewrite-expression-head
Rules
378×times-frac_binary64
298×*-un-lft-identity_binary64
224×sqrt-prod_binary64
186×add-sqr-sqrt_binary64
186×add-cube-cbrt_binary64
Counts
2 → 289
Calls

2 calls:

14.0ms
(/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
5.0ms
(/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))

simplify527.0ms (5.8%)

Algorithm
egg-herbie
Rules
596×fma-def_binary64
311×fma-neg_binary64
260×associate-/r/_binary64
245×associate-/l/_binary64
213×cancel-sign-sub-inv_binary64
Counts
321 → 349
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
038721192
193418842
2317316705
3468516265
4498116265
5494616265

prune550.0ms (6.1%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New5321533
Fresh156
Picked011
Done022
Total5339542
Error
2.2b
Counts
542 → 9
Alt Table
StatusErrorProgram
41.9b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) a))
31.0b
(*.f64 -1/2 (*.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))) a)))
48.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
45.8b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))))
38.1b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
38.0b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
33.0b
(*.f64 -1/2 (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (/.f64 a (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))))
42.7b
(*.f64 -1/2 (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (*.f64 a (sqrt.f64 (/.f64 1 (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
31.1b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
Compiler

Compiled 25076 to 14975 computations (40.3% saved)

regimes1.9s (20.8%)

Accuracy

Total 7.0b remaining (70.3%)

Threshold costs 0b (0%)

Counts
124 → 3
Compiler

Compiled 12476 to 8634 computations (30.8% saved)

bsearch71.0ms (0.8%)

Steps
ItersRangePoint
8
3.3995058031280872e+87
7.243765641083012e+90
6.451056025612858e+90
10
-4.16103480341049e-95
-4.279334544435657e-106
-3.255073772856574e-95
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02958
14758
26058
37958
49158
59958
610258
710158

end1.0ms (0%)

Compiler

Compiled 42 to 29 computations (31% saved)

sample1.6s (17.8%)

Algorithm
intervals
Results
357.0ms1142×body2048valid
347.0ms5202×body128valid
171.0ms707×body1024valid
154.0ms399×body4096valid
69.0ms380×body512valid
42.0ms687×body128nan
25.0ms391×body128invalid
22.0ms170×body256valid
Compiler

Compiled 254 to 179 computations (29.5% saved)

Profiling

Loading profile data...