Details

Time bar (total: 8.1s)

analyze925.0ms (11.4%)

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.5s (30.6%)

Results
775.0ms5364×body128valid
657.0ms1169×body2048valid
323.0ms775×body1024valid
253.0ms414×body4096valid
135.0ms1010×body128invalid
110.0ms341×body512valid
50.0ms193×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify155.0ms (1.9%)

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.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
32.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 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.1b
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
1.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.2b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series172.0ms (2.1%)

Counts
4 → 96
Calls

4 calls:

75.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
46.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
40.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
10.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite249.0ms (3.1%)

Algorithm
egg-rewrite
Rules
50×egg
49×egg
46×egg
23×egg
Counts
4 → 168
Calls

4 calls:

89.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
63.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
48.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
44.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
117813
2191313
3506713
01016
120916
2246916
3477815
4494015
01119
123519
2294419
3502119
0811
115911
2172311
3531411

simplify81.0ms (1%)

Algorithm
egg-herbie
Rules
780×times-frac_binary64
480×associate-/l*_binary64
434×associate-/r*_binary64
344×fma-def_binary64
209×fma-neg_binary64
Counts
264 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01072081
13511997
211691913
348961913
449931913

prune170.0ms (2.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2299238
Fresh000
Picked101
Done000
Total2309239
Error
4.5b
Counts
239 → 9
Alt Table
StatusErrorProgram
34.8b
(*.f64 -1/2 (/.f64 (exp.f64 (log.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) a))
46.8b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))) a))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
44.9b
(*.f64 -1/2 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (*.f64 a (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
47.6b
(*.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.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
Compiler

Compiled 5835 to 3551 computations (39.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (*.f64 c -4) a (*.f64 b b))
0.1b
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))) a)
1.7b
(+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b))))
21.2b
(sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))

series165.0ms (2%)

Counts
4 → 96
Calls

4 calls:

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

rewrite249.0ms (3.1%)

Algorithm
egg-rewrite
Rules
50×egg
49×egg
46×egg
23×egg
Counts
4 → 168
Calls

4 calls:

90.0ms
(+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b))))
62.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))) a)
49.0ms
(sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))
45.0ms
(fma.f64 (*.f64 c -4) a (*.f64 b b))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
117813
2191313
3506713
01016
120916
2246916
3477815
4493715
01119
123519
2294419
3502019
0811
115911
2172311
3531411

simplify82.0ms (1%)

Algorithm
egg-herbie
Rules
780×times-frac_binary64
480×associate-/l*_binary64
434×associate-/r*_binary64
344×fma-def_binary64
209×fma-neg_binary64
Counts
264 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01072081
13511997
211691913
348961913
449931913

prune161.0ms (2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2380238
Fresh088
Picked011
Done000
Total2389247
Error
4.5b
Counts
247 → 9
Alt Table
StatusErrorProgram
34.8b
(*.f64 -1/2 (/.f64 (exp.f64 (log.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) a))
46.8b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))) a))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
44.9b
(*.f64 -1/2 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (*.f64 a (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
47.6b
(*.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.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
Compiler

Compiled 5817 to 3538 computations (39.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.2b
(*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a))
1.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.2b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series69.0ms (0.8%)

Counts
1 → 20
Calls

1 calls:

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

rewrite75.0ms (0.9%)

Algorithm
egg-rewrite
Rules
67×egg
Counts
1 → 67
Calls

1 calls:

73.0ms
(*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01319
127119
2318119
3523219

simplify52.0ms (0.6%)

Algorithm
egg-herbie
Rules
751×cancel-sign-sub-inv_binary64
371×times-frac_binary64
351×unswap-sqr_binary64
285×fma-neg_binary64
236×associate-*r*_binary64
Counts
87 → 89
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
057567
1195555
2629529
33169529
45154529

prune180.0ms (2.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2542256
Fresh257
Picked011
Done011
Total2569265
Error
4.5b
Counts
265 → 9
Alt Table
StatusErrorProgram
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 a)))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))) a))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
44.9b
(*.f64 -1/2 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (*.f64 a (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
47.6b
(*.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.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
34.8b
(*.f64 -1/2 (*.f64 (exp.f64 (log.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) (/.f64 1 a)))
Compiler

Compiled 6638 to 4150 computations (37.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
0.2b
(/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
1.7b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
21.2b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series276.0ms (3.4%)

Counts
2 → 40
Calls

2 calls:

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

rewrite139.0ms (1.7%)

Algorithm
egg-rewrite
Rules
61×egg
45×egg
Counts
2 → 106
Calls

2 calls:

73.0ms
(/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
63.0ms
(/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01322
127619
2335319
3503419
01119
123519
2293819
3501519

simplify69.0ms (0.9%)

Algorithm
egg-herbie
Rules
860×times-frac_binary64
520×associate-/l*_binary64
485×associate-/r*_binary64
256×fma-def_binary64
233×fma-neg_binary64
Counts
146 → 149
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0951240
13181192
211131138
349051138
450471138

prune188.0ms (2.3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New2582260
Fresh156
Picked011
Done022
Total25910269
Error
4.3b
Counts
269 → 10
Alt Table
StatusErrorProgram
44.9b
(*.f64 -1/2 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (*.f64 a (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
38.2b
(*.f64 -1/2 (/.f64 1 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b)))))
46.9b
(*.f64 -1/2 (*.f64 (+.f64 b b) (/.f64 1 a)))
32.9b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 (*.f64 c -4) a (*.f64 b b)))) a))
33.0b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
38.7b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
50.6b
(*.f64 -1/2 (exp.f64 (-.f64 (log.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (log.f64 a))))
33.0b
(*.f64 -1/2 (/.f64 1 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))))
34.8b
(*.f64 -1/2 (*.f64 (exp.f64 (log.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))))) (/.f64 1 a)))
Compiler

Compiled 6785 to 4253 computations (37.3% saved)

regimes2.0s (24.1%)

Accuracy

Total 5.3b remaining (49.2%)

Threshold costs 0b (0%)

Counts
141 → 3
Compiler

Compiled 12300 to 8642 computations (29.7% saved)

bsearch48.0ms (0.6%)

Steps
ItersRangePoint
6
3.8657611513446867e+90
2.928767619032365e+91
2.818024375880192e+91
5
-1.1401732337828577e-138
-2.8577058786826562e-139
-1.1192253259106201e-138
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0.1%)

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
03263
14363
24963
35363
45663
55763
65663

end136.0ms (1.7%)

Compiler

Compiled 275 to 191 computations (30.5% saved)

Profiling

Loading profile data...