Details

Time bar (total: 10.8s)

analyze676.0ms (6.3%)

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)

sample2.4s (22.7%)

Results
735.0ms5345×body128valid
651.0ms1199×body2048valid
328.0ms762×body1024valid
251.0ms394×body4096valid
142.0ms1057×body128invalid
127.0ms365×body512valid
44.0ms191×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify142.0ms (1.3%)

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
34.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
34.9b
(*.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.8b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
22.4b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series162.0ms (1.5%)

Counts
3 → 60
Calls

3 calls:

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

rewrite18.0ms (0.2%)

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:

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

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

prune134.0ms (1.2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15910169
Fresh000
Picked101
Done000
Total16010170
Error
6.1b
Counts
170 → 10
Alt Table
StatusErrorProgram
45.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
31.3b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
49.1b
(*.f64 -1/2 (*.f64 (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))))
38.6b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
45.6b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
51.2b
(*.f64 -1/2 (exp.f64 (-.f64 (log.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (log.f64 a))))
46.1b
(*.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.1b
(*.f64 -1/2 (/.f64 (exp.f64 (log.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) a))
31.4b
(*.f64 -1/2 (*.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) (/.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) a)))
35.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
Compiler

Compiled 4776 to 2894 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.5b
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
15.9b
(sqrt.f64 (*.f64 a (*.f64 c -4)))

series1.1s (10.1%)

Counts
4 → 42
Calls

4 calls:

475.0ms
(/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))
471.0ms
(/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))
131.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))
19.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))

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

simplify163.0ms (1.5%)

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

prune260.0ms (2.4%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2865291
Fresh459
Picked101
Done000
Total29110301
Error
2.2b
Counts
301 → 10
Alt Table
StatusErrorProgram
45.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
31.3b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))))
49.1b
(*.f64 -1/2 (*.f64 (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))))
46.2b
(*.f64 -1/2 (*.f64 (/.f64 1 (/.f64 a (-.f64 (*.f64 b b) (*.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))) (/.f64 1 (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
31.1b
(*.f64 -1/2 (*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))))
38.6b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
45.6b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.1b
(*.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.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))))
38.3b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
Compiler

Compiled 9153 to 6051 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.2b
(*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))))
0.5b
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))
15.9b
(sqrt.f64 (*.f64 -4 (*.f64 c a)))

series356.0ms (3.3%)

Counts
4 → 28
Calls

4 calls:

193.0ms
(*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a))))))
138.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))

rewrite21.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))))))
5.0ms
(*.f64 -4 (*.f64 c a))
2.0ms
(sqrt.f64 (*.f64 -4 (*.f64 c a)))
2.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))

simplify107.0ms (1%)

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

prune142.0ms (1.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1670167
Fresh099
Picked011
Done000
Total16710177
Error
2.2b
Counts
177 → 10
Alt Table
StatusErrorProgram
45.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
31.3b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))))
49.1b
(*.f64 -1/2 (*.f64 (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))))
46.2b
(*.f64 -1/2 (*.f64 (/.f64 1 (/.f64 a (-.f64 (*.f64 b b) (*.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))) (/.f64 1 (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
31.1b
(*.f64 -1/2 (*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))))
38.6b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
45.6b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.1b
(*.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.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))))
38.3b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
Compiler

Compiled 4859 to 3107 computations (36.1% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series1.1s (10.2%)

Counts
2 → 28
Calls

2 calls:

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

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity_binary64
27×add-sqr-sqrt_binary64
26×times-frac_binary64
20×add-cube-cbrt_binary64
18×associate-*r*_binary64
Counts
2 → 82
Calls

2 calls:

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

simplify91.0ms (0.8%)

Algorithm
egg-herbie
Rules
572×associate-/l*_binary64
523×associate-/r*_binary64
483×fma-neg_binary64
385×associate-*l*_binary64
271×fma-def_binary64
Counts
110 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01743001
14652662
214742628
348512624
451082624

prune248.0ms (2.3%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2291230
Fresh088
Picked011
Done011
Total22911240
Error
2.2b
Counts
240 → 11
Alt Table
StatusErrorProgram
45.5b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
31.3b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))))
49.1b
(*.f64 -1/2 (*.f64 (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)) (sqrt.f64 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))))
46.0b
(*.f64 -1/2 (/.f64 1 (*.f64 a (/.f64 1 (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 -4 c)))))))))
45.6b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
46.2b
(*.f64 -1/2 (*.f64 (/.f64 1 (/.f64 a (-.f64 (*.f64 b b) (*.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))) (/.f64 1 (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))))
31.1b
(*.f64 -1/2 (*.f64 (/.f64 1 a) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 -4 (*.f64 c a)))))))
38.6b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
46.1b
(*.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.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 a) (sqrt.f64 (*.f64 c -4))))))))
38.3b
(*.f64 -1/2 (/.f64 1 (fma.f64 -1/2 (/.f64 a b) (*.f64 (/.f64 b (*.f64 -4 c)) -2))))
Compiler

Compiled 7102 to 4922 computations (30.7% saved)

regimes3.2s (29.6%)

Accuracy

Total 7.5b remaining (70.2%)

Threshold costs 0b (0%)

Counts
230 → 3
Compiler

Compiled 23348 to 16722 computations (28.4% saved)

bsearch82.0ms (0.8%)

Steps
ItersRangePoint
7
9.220427097593508e+87
5.967502722357334e+89
5.847885655853759e+89
8
-2.249005245629534e-55
-3.5022497682459474e-59
-1.2017854710556e-58
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03060
14260
24860
35260
45560
55660
65560

end165.0ms (1.5%)

Compiler

Compiled 330 to 229 computations (30.6% saved)

Profiling

Loading profile data...