Details

Time bar (total: 11.8s)

analyze2.0s (16.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
0%99.9%0.1%5
0%99.9%0.1%6
0%93.6%6.4%7
0%93.6%6.4%8
0%91.3%8.7%9
0%86.6%13.4%10
0%85%15%11
0%82.3%17.7%12
0%79.9%20.1%13
0%78.8%21.2%14
Compiler

Compiled 21 to 15 computations (28.6% saved)

sample3.1s (26.2%)

Results
858.0ms5346×body128valid
719.0ms1163×body2048valid
383.0ms783×body1024valid
332.0ms385×body8192exit
306.0ms418×body4096valid
143.0ms364×body512valid
129.0ms905×body128invalid
53.0ms182×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify145.0ms (1.2%)

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
35.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
35.8b
(*.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)

localize10.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.6b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
24.7b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series166.0ms (1.4%)

Counts
3 → 60
Calls

3 calls:

72.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))))
43.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

rewrite13.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))))
2.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

simplify103.0ms (0.9%)

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

prune127.0ms (1.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15910169
Fresh000
Picked101
Done000
Total16010170
Error
7.0b
Counts
170 → 10
Alt Table
StatusErrorProgram
35.8b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
55.0b
(*.f64 -1/2 (/.f64 (+.f64 b (neg.f64 b)) a))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
46.8b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
46.5b
(*.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))
46.9b
(*.f64 -1/2 (/.f64 (*.f64 2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) a))
33.9b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
34.3b
(*.f64 -1/2 (*.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) (/.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.2b
(*.f64 -1/2 (cbrt.f64 (pow.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a) 3)))
Compiler

Compiled 4764 to 2886 computations (39.4% saved)

localize11.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)))))
14.7b
(sqrt.f64 (*.f64 a (*.f64 c -4)))

series730.0ms (6.2%)

Counts
4 → 42
Calls

4 calls:

370.0ms
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
198.0ms
(/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))
142.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
20.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)))))))
4.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)))))

simplify163.0ms (1.4%)

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

prune239.0ms (2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2856291
Fresh639
Picked101
Done000
Total2929301
Error
3.6b
Counts
301 → 9
Alt Table
StatusErrorProgram
33.9b
(*.f64 -1/2 (*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))))
33.9b
(*.f64 -1/2 (/.f64 1 (/.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))))
46.9b
(*.f64 -1/2 (/.f64 1 (/.f64 a (*.f64 2 b))))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.4b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))))
34.2b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 a (*.f64 c -4)))) (cbrt.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))))) (cbrt.f64 (sqrt.f64 (*.f64 a (*.f64 c -4))))))))))
46.5b
(*.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))
38.6b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
Compiler

Compiled 9075 to 6009 computations (33.8% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series567.0ms (4.8%)

Counts
2 → 28
Calls

2 calls:

370.0ms
(/.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))
198.0ms
(/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a)

rewrite23.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64
92×*-un-lft-identity_binary64
60×add-sqr-sqrt_binary64
60×add-cube-cbrt_binary64
19×associate-/r*_binary64
Counts
2 → 125
Calls

2 calls:

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

simplify108.0ms (0.9%)

Algorithm
egg-herbie
Rules
802×associate-/l*_binary64
758×associate-/r*_binary64
364×associate-/r/_binary64
345×fma-def_binary64
181×associate-/l/_binary64
Counts
153 → 212
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02105134
15284626
217644570
351614570

prune230.0ms (1.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2783281
Fresh268
Picked011
Done000
Total28010290
Error
3.6b
Counts
290 → 10
Alt Table
StatusErrorProgram
46.4b
(*.f64 -1/2 (/.f64 1 (/.f64 1 (/.f64 (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 -4 c))))) a))))
46.5b
(*.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.9b
(*.f64 -1/2 (*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))))
33.9b
(*.f64 -1/2 (/.f64 1 (/.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))))
46.9b
(*.f64 -1/2 (/.f64 1 (/.f64 a (*.f64 2 b))))
43.4b
(*.f64 -1/2 (/.f64 1 (fma.f64 (/.f64 (*.f64 a b) (*.f64 -4 (*.f64 a c))) -2 (*.f64 (/.f64 a b) -1/2))))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
38.6b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
34.3b
(*.f64 -1/2 (/.f64 1 (/.f64 1 (/.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) (/.f64 a (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 a c)))))))))))
Compiler

Compiled 9197 to 6252 computations (32% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -4 (*.f64 c a))
0.2b
(*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))))
0.7b
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))
14.7b
(sqrt.f64 (*.f64 -4 (*.f64 c a)))

series621.0ms (5.2%)

Counts
4 → 28
Calls

4 calls:

459.0ms
(*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))))
137.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))
20.0ms
(sqrt.f64 (*.f64 -4 (*.f64 c a)))
5.0ms
(*.f64 -4 (*.f64 c a))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
19×*-un-lft-identity_binary64
18×add-exp-log_binary64
17×pow1_binary64
16×associate-*l*_binary64
Counts
4 → 95
Calls

4 calls:

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

simplify112.0ms (0.9%)

Algorithm
egg-herbie
Rules
760×associate-/r*_binary64
447×fma-def_binary64
246×distribute-rgt-in_binary64
234×distribute-lft-in_binary64
157×associate-*r*_binary64
Counts
123 → 167
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02132765
15872488
218632447
349422447
449952447
549362447

prune445.0ms (3.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1661167
Fresh178
Picked011
Done011
Total16710177
Error
3.6b
Counts
177 → 10
Alt Table
StatusErrorProgram
46.4b
(*.f64 -1/2 (/.f64 1 (/.f64 1 (/.f64 (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 -4 c))))) a))))
46.5b
(*.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.9b
(*.f64 -1/2 (*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))))
33.9b
(*.f64 -1/2 (/.f64 1 (/.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) a))))
46.9b
(*.f64 -1/2 (*.f64 (/.f64 1 a) (*.f64 2 b)))
43.4b
(*.f64 -1/2 (/.f64 1 (fma.f64 (/.f64 (*.f64 a b) (*.f64 -4 (*.f64 a c))) -2 (*.f64 (/.f64 a b) -1/2))))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
38.6b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
34.3b
(*.f64 -1/2 (/.f64 1 (/.f64 1 (/.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) (/.f64 a (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 a c)))))))))))
Compiler

Compiled 4654 to 2971 computations (36.2% saved)

regimes2.6s (22.3%)

Accuracy

Total 7.1b remaining (70.4%)

Threshold costs 0b (0%)

Counts
166 → 3
Compiler

Compiled 17016 to 12118 computations (28.8% saved)

bsearch77.0ms (0.6%)

Steps
ItersRangePoint
5
4.4348519765763406e+80
8.989866643635864e+80
8.609944247882453e+80
9
-5.0836839403424875e-76
-4.330419631663822e-83
-2.177667226285847e-76
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02754
13454
23454

end158.0ms (1.3%)

Compiler

Compiled 296 to 214 computations (27.7% saved)

Profiling

Loading profile data...