Details

Time bar (total: 7.1s)

analyze690.0ms (9.7%)

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)

sample3.1s (43.3%)

Results
780.0ms5330×body128valid
702.0ms1204×body2048valid
426.0ms180×body256valid
370.0ms422×body4096valid
354.0ms769×body1024valid
154.0ms1105×body128invalid
129.0ms351×body512valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify146.0ms (2.1%)

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

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
32.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
32.5b
(*.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 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.9b
(+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
18.7b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series201.0ms (2.8%)

Counts
4 → 96
Calls

4 calls:

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

rewrite17.0ms (0.2%)

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

4 calls:

8.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)))
0.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

simplify99.0ms (1.4%)

Algorithm
egg-herbie
Rules
834×times-frac_binary64
539×associate-/l*_binary64
468×fma-def_binary64
198×cancel-sign-sub-inv_binary64
125×associate-/r/_binary64
Counts
173 → 193
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01973876
15213658
215783494
350113494

prune156.0ms (2.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New18310193
Fresh000
Picked011
Done000
Total18311194
Error
5.0b
Counts
194 → 11
Alt Table
StatusErrorProgram
38.4b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.0b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
34.6b
(*.f64 -1/2 (/.f64 (+.f64 b (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))) (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))) a))
32.5b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))
33.6b
(*.f64 -1/2 (*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 a))))
32.6b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
48.1b
(*.f64 -1/2 (cbrt.f64 (pow.f64 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))) a) 3)))
43.3b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 b b (*.f64 c (*.f64 a -4)))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a))
43.9b
(*.f64 -1/2 (/.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) a))
33.5b
(*.f64 -1/2 (*.f64 (/.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (sqrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 a))))
Compiler

Compiled 5321 to 3221 computations (39.5% saved)

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

series74.0ms (1%)

Counts
1 → 20
Calls

1 calls:

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

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64
13×associate-*r*_binary64
12×*-un-lft-identity_binary64
11×times-frac_binary64
10×add-exp-log_binary64
Counts
1 → 43
Calls

1 calls:

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

simplify83.0ms (1.2%)

Algorithm
egg-herbie
Rules
460×times-frac_binary64
408×associate-*l*_binary64
317×unswap-sqr_binary64
311×associate-/l*_binary64
305×fma-def_binary64
Counts
63 → 91
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01311718
13701571
211781497
344451497
452761497

prune154.0ms (2.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2061207
Fresh369
Picked011
Done011
Total2099218
Error
5.0b
Counts
218 → 9
Alt Table
StatusErrorProgram
38.4b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.0b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
32.5b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))
33.6b
(*.f64 -1/2 (*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 a))))
32.6b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
43.3b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 b b (*.f64 c (*.f64 a -4)))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a))
43.9b
(*.f64 -1/2 (/.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) a))
42.1b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
Compiler

Compiled 5759 to 3616 computations (37.2% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 a) (cbrt.f64 a))
0.6b
(cbrt.f64 a)
0.7b
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))
14.3b
(sqrt.f64 (*.f64 c (*.f64 a -4)))

series262.0ms (3.7%)

Counts
4 → 38
Calls

4 calls:

165.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))
40.0ms
(*.f64 (cbrt.f64 a) (cbrt.f64 a))
36.0ms
(cbrt.f64 a)
21.0ms
(sqrt.f64 (*.f64 c (*.f64 a -4)))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
17×pow1_binary64
16×*-un-lft-identity_binary64
14×add-cube-cbrt_binary64
Counts
4 → 86
Calls

4 calls:

5.0ms
(*.f64 (cbrt.f64 a) (cbrt.f64 a))
3.0ms
(+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))
3.0ms
(sqrt.f64 (*.f64 c (*.f64 a -4)))
1.0ms
(cbrt.f64 a)

simplify104.0ms (1.5%)

Algorithm
egg-herbie
Rules
920×fma-def_binary64
616×times-frac_binary64
326×associate-/l*_binary64
259×associate-/r*_binary64
254×fma-neg_binary64
Counts
124 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01501568
13351418
29701356
338581335
449111335
549901335
649251335

prune314.0ms (4.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3191320
Fresh066
Picked101
Done022
Total3209329
Error
5.0b
Counts
329 → 9
Alt Table
StatusErrorProgram
38.4b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.0b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
32.5b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))
49.2b
(*.f64 -1/2 (*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 c) (sqrt.f64 (*.f64 a -4)))))) (cbrt.f64 a))))
32.6b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
43.3b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 b b (*.f64 c (*.f64 a -4)))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a))
43.9b
(*.f64 -1/2 (/.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) a))
42.1b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
Compiler

Compiled 17550 to 10495 computations (40.2% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

8.0ms
(*.f64 2 (/.f64 c b))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×associate-*r*_binary64
10×times-frac_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 34
Calls

1 calls:

5.0ms
(*.f64 2 (/.f64 c b))

simplify92.0ms (1.3%)

Algorithm
egg-herbie
Rules
873×times-frac_binary64
762×distribute-rgt-out_binary64
407×associate-/l*_binary64
338×associate-*l/_binary64
306×*-commutative_binary64
Counts
34 → 42
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
072381
1156345
2390345
3851345
41890345
52031345
62747345
73564345
84507345
94823345
105328345

prune29.0ms (0.4%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New39342
Fresh156
Picked011
Done022
Total401151
Error
5.0b
Counts
51 → 11
Alt Table
StatusErrorProgram
38.4b
(*.f64 -1/2 (*.f64 2 (/.f64 c b)))
47.0b
(*.f64 -1/2 (/.f64 (+.f64 b b) a))
38.5b
(*.f64 -1/2 (*.f64 (*.f64 2 c) (/.f64 1 b)))
47.1b
(*.f64 -1/2 (*.f64 2 (-.f64 (/.f64 b a) (/.f64 c b))))
38.8b
(*.f64 -1/2 (*.f64 (*.f64 2 (*.f64 (cbrt.f64 c) (cbrt.f64 c))) (/.f64 (cbrt.f64 c) b)))
32.5b
(*.f64 -1/2 (/.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) a))
49.2b
(*.f64 -1/2 (*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) (cbrt.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))))) (*.f64 (cbrt.f64 a) (cbrt.f64 a))) (/.f64 (cbrt.f64 (+.f64 b (hypot.f64 b (*.f64 (sqrt.f64 c) (sqrt.f64 (*.f64 a -4)))))) (cbrt.f64 a))))
32.6b
(*.f64 -1/2 (*.f64 (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (/.f64 1 a)))
43.3b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 b b (*.f64 c (*.f64 a -4)))) (-.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4)))))) a))
49.3b
(*.f64 -1/2 (exp.f64 (log.f64 (*.f64 2 (/.f64 c b)))))
42.1b
(*.f64 -1/2 (/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 a (*.f64 c -4) (*.f64 b b))) a) (-.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
Compiler

Compiled 772 to 470 computations (39.1% saved)

regimes1.3s (17.9%)

Accuracy

Total 4.8b remaining (47.5%)

Threshold costs 0b (0%)

Counts
98 → 3
Compiler

Compiled 9700 to 6554 computations (32.4% saved)

bsearch84.0ms (1.2%)

Steps
ItersRangePoint
5
9.80829702453035e+40
2.2638658576504296e+41
2.231921292472624e+41
9
-1.3813457207494118e-29
-3.0714808753382253e-37
-1.0146759972633307e-36
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
02860
13760
24460
34860
45160
55260
65260

end166.0ms (2.3%)

Compiler

Compiled 312 to 209 computations (33% saved)

Profiling

Loading profile data...