Details

Time bar (total: 7.7s)

analyze668.0ms (8.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)

sample2.4s (31.4%)

Results
691.0ms5273×body128valid
658.0ms1228×body2048valid
330.0ms761×body1024valid
283.0ms430×body4096valid
143.0ms1064×body128invalid
120.0ms363×body512valid
44.0ms201×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify125.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
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
Stop Event
node limit
Counts
1 → 2

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
34.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
34.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)

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

series109.0ms (1.4%)

Counts
4 → 96
Calls

4 calls:

42.0ms
(/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a)
30.0ms
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
27.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
9.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite63.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
963×prod-diff_binary64
209×log1p-udef_binary64
119×egg-rr
118×add-sqr-sqrt_binary64
113×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01159
123559
2294459
3502159
Stop Event
node limit
Counts
4 → 119
Calls

4 calls:

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

simplify74.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
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01072081
13511997
211691913
348961913
449931913
Stop Event
node limit
Counts
215 → 190

prune143.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1819190
Fresh000
Picked101
Done000
Total1829191
Error
5.3b
Counts
191 → 9
Alt Table
StatusErrorProgram
42.4b
(*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1 (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
36.9b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
34.8b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) -1))
49.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
48.7b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
34.9b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
48.7b
(*.f64 -1/2 (*.f64 2 (/.f64 b a)))
35.0b
(*.f64 -1/2 (*.f64 (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) 1) (/.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) a)))
49.3b
(*.f64 -1/2 (*.f64 (/.f64 1 (sqrt.f64 a)) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 a))))
Compiler

Compiled 4877 to 2932 computations (39.9% saved)

localize10.0ms (0.1%)

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.1b
(pow.f64 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) -1)
0.3b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
23.7b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series1.0s (13.5%)

Counts
2 → 40
Calls

2 calls:

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

rewrite107.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
963×prod-diff_binary64
136×add-sqr-sqrt_binary64
130×log1p-expm1-u_binary64
130×expm1-log1p-u_binary64
127×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01341
127638
2330538
3498138
Stop Event
node limit
Counts
2 → 80
Calls

2 calls:

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

simplify84.0ms (1.1%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
0951240
13181192
211131138
349051138
450471138
Stop Event
node limit
Counts
120 → 124

prune246.0ms (3.2%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2223225
Fresh268
Picked011
Done000
Total22410234
Error
5.2b
Counts
234 → 10
Alt Table
StatusErrorProgram
42.4b
(*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1 (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
36.9b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
34.8b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) -1))
49.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
48.7b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
37.3b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (pow.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 1/4) 2))) -1))
34.9b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
48.8b
(*.f64 -1/2 (pow.f64 (*.f64 1/2 (/.f64 a b)) -1))
48.7b
(*.f64 -1/2 (*.f64 2 (/.f64 b a)))
36.9b
(*.f64 -1/2 (pow.f64 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b))) -1))
Compiler

Compiled 6158 to 3823 computations (37.9% saved)

localize12.0ms (0.2%)

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

series46.0ms (0.6%)

Counts
1 → 20
Calls

1 calls:

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

rewrite50.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
954×prod-diff_binary64
227×log1p-udef_binary64
132×add-sqr-sqrt_binary64
125×log1p-expm1-u_binary64
125×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01319
127119
2318119
3523219
Stop Event
node limit
Counts
1 → 42
Calls

1 calls:

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

simplify42.0ms (0.5%)

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
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
057567
1195555
2629529
33169529
45154529
Stop Event
node limit
Counts
62 → 65

prune141.0ms (1.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2000200
Fresh088
Picked011
Done011
Total20010210
Error
5.2b
Counts
210 → 10
Alt Table
StatusErrorProgram
42.4b
(*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1 (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
36.9b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
34.8b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) -1))
49.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
48.7b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
37.3b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (pow.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 1/4) 2))) -1))
34.9b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
48.8b
(*.f64 -1/2 (pow.f64 (*.f64 1/2 (/.f64 a b)) -1))
48.7b
(*.f64 -1/2 (*.f64 2 (/.f64 b a)))
36.9b
(*.f64 -1/2 (pow.f64 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b))) -1))
Compiler

Compiled 5378 to 3317 computations (38.3% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
0.0b
(*.f64 2 (/.f64 c b))

series14.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

7.0ms
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
6.0ms
(*.f64 2 (/.f64 c b))

rewrite39.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
699×log1p-expm1-u_binary64
699×expm1-log1p-u_binary64
134×expm1-udef_binary64
134×log1p-udef_binary64
111×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0814
117111
2183911
3490611
Stop Event
node limit
Counts
2 → 57
Calls

2 calls:

38.0ms
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
38.0ms
(*.f64 2 (/.f64 c b))

simplify13.0ms (0.2%)

Algorithm
egg-herbie
Rules
14×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
fma-neg_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06144
110144
216144
322144
428144
534144
639144
744144
852144
949144
1040144
Stop Event
saturated
Counts
81 → 58

prune38.0ms (0.5%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New56258
Fresh077
Picked011
Done022
Total561268
Error
5.2b
Counts
68 → 12
Alt Table
StatusErrorProgram
42.4b
(*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1 (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
36.9b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
34.8b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) -1))
49.0b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
48.7b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
37.3b
(*.f64 -1/2 (pow.f64 (/.f64 a (+.f64 b (pow.f64 (pow.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) 1/4) 2))) -1))
34.9b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
55.6b
(pow.f64 (pow.f64 (/.f64 c b) 3) 1/3)
48.8b
(*.f64 -1/2 (pow.f64 (*.f64 1/2 (/.f64 a b)) -1))
48.7b
(*.f64 -1/2 (*.f64 2 (/.f64 b a)))
36.9b
(*.f64 -1/2 (pow.f64 (*.f64 1/2 (-.f64 (/.f64 b c) (/.f64 a b))) -1))
51.5b
(*.f64 -1/2 (pow.f64 (pow.f64 (*.f64 2 (/.f64 c b)) 3) 1/3))
Compiler

Compiled 627 to 393 computations (37.3% saved)

regimes2.0s (25.8%)

Accuracy

Total 4.1b remaining (42.9%)

Threshold costs 0b (0%)

Counts
133 → 3
Compiler

Compiled 10832 to 7454 computations (31.2% saved)

bsearch70.0ms (0.9%)

Steps
ItersRangePoint
9
9.01997338348866e+138
6.498360735467026e+146
1.543614676518798e+140
6
-1.3789039591403066e-57
-2.5130832043425794e-58
-5.518100183308216e-58
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.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
03056
14256
24756
35056
45156
55056
Stop Event
saturated

end154.0ms (2%)

Compiler

Compiled 274 to 193 computations (29.6% saved)

Profiling

Loading profile data...