Details

Time bar (total: 6.6s)

analyze355.0ms (5.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 43 to 31 computations (27.9% saved)

sample365.0ms (5.5%)

Algorithm
intervals
Results
64.0ms130×body256valid
10.0ms48×body512valid
10.0ms278×pre128true
5.0ms78×body128valid
1.0ms22×body128nan
Compiler

Compiled 66 to 48 computations (27.3% saved)

simplify259.0ms (3.9%)

Algorithm
egg-herbie
Rules
1743×fma-neg_binary64
1393×fma-def_binary64
800×div-sub_binary64
619×times-frac_binary64
473×associate-/r/_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01526
13322
26722
313822
420422
533822
655822
792422
8138822
9160422
10237522
11274222
12253322
13262122
14317122
15331322
16387322
17367922
18402922
19431722
20448522
21456122
22480522
23479322
24479722
25479722
26494822

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
53.6b
Counts
3 → 2
Alt Table
StatusErrorProgram
53.6b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
53.6b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
Compiler

Compiled 111 to 74 computations (33.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
0.1b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
25.4b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)

series201.0ms (3.1%)

Counts
4 → 96
Calls

4 calls:

88.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
57.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
45.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
11.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt_binary64
32×*-un-lft-identity_binary64
28×add-cube-cbrt_binary64
18×prod-diff_binary64
17×sqrt-prod_binary64
Counts
4 → 109
Calls

4 calls:

8.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
6.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b 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))

simplify224.0ms (3.4%)

Algorithm
egg-herbie
Rules
527×fma-neg_binary64
338×distribute-rgt-in_binary64
273×cancel-sign-sub-inv_binary64
155×associate-*l*_binary64
153×associate-*r*_binary64
Counts
205 → 226
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02675424
16734468
225244293
345504293
449914293
549944293
648844293

prune154.0ms (2.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2215226
Fresh101
Picked101
Done000
Total2235228
Error
0.0b
Counts
228 → 5
Alt Table
StatusErrorProgram
53.6b
(/.f64 (*.f64 (-.f64 (pow.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) 3) (pow.f64 b 3)) (/.f64 1/2 a)) (+.f64 (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (+.f64 (*.f64 b b) (*.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))))
2.1b
(neg.f64 (fma.f64 2 (/.f64 (*.f64 (*.f64 a a) (pow.f64 c 3)) (pow.f64 b 5)) (fma.f64 5 (/.f64 (*.f64 (pow.f64 a 3) (pow.f64 c 4)) (pow.f64 b 7)) (+.f64 (/.f64 c b) (/.f64 (*.f64 c (*.f64 c a)) (pow.f64 b 3))))))
2.4b
(*.f64 (neg.f64 (+.f64 (*.f64 2 (/.f64 (*.f64 c a) b)) (+.f64 (*.f64 2 (/.f64 (*.f64 (pow.f64 c 2) (pow.f64 a 2)) (pow.f64 b 3))) (+.f64 (*.f64 10 (/.f64 (*.f64 (pow.f64 c 4) (pow.f64 a 4)) (pow.f64 b 7))) (*.f64 4 (/.f64 (*.f64 (pow.f64 c 3) (pow.f64 a 3)) (pow.f64 b 5))))))) (/.f64 1/2 a))
53.6b
(*.f64 (*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (sqrt.f64 (/.f64 1/2 a))) (sqrt.f64 (/.f64 1/2 a)))
0.3b
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
Compiler

Compiled 6297 to 3672 computations (41.7% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
0.1b
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.1b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.3b
(*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a))

series359.0ms (5.4%)

Counts
3 → 64
Calls

3 calls:

300.0ms
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
56.0ms
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
3.0ms
(*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a))

rewrite32.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
15×add-cube-cbrt_binary64
Counts
3 → 92
Calls

3 calls:

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

simplify122.0ms (1.9%)

Algorithm
egg-herbie
Rules
616×fma-neg_binary64
248×associate-*l*_binary64
225×associate-/l*_binary64
220×associate-*r*_binary64
176×div-sub_binary64
Counts
156 → 198
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02503787
17083244
231323157
346133157
449323157

prune197.0ms (3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2125217
Fresh404
Picked101
Done000
Total2175222
Error
0b
Counts
222 → 5
Alt Table
StatusErrorProgram
0.4b
(/.f64 (/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 c (*.f64 a -4)) 3) (pow.f64 0 3)) 1/2) (*.f64 (+.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (-.f64 (*.f64 0 0) (*.f64 (*.f64 c (*.f64 a -4)) 0))) a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.9b
(/.f64 (*.f64 (*.f64 c (*.f64 (*.f64 a -4) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a)))) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a))) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.4b
(/.f64 (*.f64 (+.f64 (*.f64 c (*.f64 a -4)) 0) (/.f64 1/2 a)) (fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b))
0.0b
(/.f64 (*.f64 -2 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.5b
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (*.f64 0 0)) (/.f64 1/2 a)) (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (-.f64 (*.f64 c (*.f64 a -4)) 0)))
Compiler

Compiled 7202 to 4540 computations (37% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series285.0ms (4.3%)

Counts
1 → 20
Calls

1 calls:

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

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
associate-/r*_binary64
times-frac_binary64
Counts
1 → 27
Calls

1 calls:

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

simplify67.0ms (1%)

Algorithm
egg-herbie
Rules
769×times-frac_binary64
615×associate-/l*_binary64
357×associate-/r*_binary64
352×fma-neg_binary64
235×fma-def_binary64
Counts
47 → 67
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01271488
13661333
211801254
348441254
450781254

prune184.0ms (2.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1802182
Fresh224
Picked011
Done000
Total1825187
Error
0b
Counts
187 → 5
Alt Table
StatusErrorProgram
0.0b
(/.f64 (*.f64 -2 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.1b
(/.f64 (*.f64 -2 c) (fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b))
0.4b
(/.f64 (/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 c (*.f64 a -4)) 3) (pow.f64 0 3)) 1/2) (*.f64 (+.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (-.f64 (*.f64 0 0) (*.f64 (*.f64 c (*.f64 a -4)) 0))) a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.5b
(/.f64 (*.f64 (-.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (*.f64 0 0)) (/.f64 1/2 a)) (*.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (-.f64 (*.f64 c (*.f64 a -4)) 0)))
0.5b
(/.f64 (/.f64 (*.f64 -2 c) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
Compiler

Compiled 4760 to 2872 computations (39.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
0.1b
(/.f64 (*.f64 -2 c) (fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b))
0.1b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
0.2b
(fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)

series422.0ms (6.4%)

Counts
3 → 108
Calls

3 calls:

254.0ms
(/.f64 (*.f64 -2 c) (fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b))
111.0ms
(fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
56.0ms
(sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×sqrt-prod_binary64
add-sqr-sqrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
Counts
3 → 54
Calls

3 calls:

4.0ms
(/.f64 (*.f64 -2 c) (fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b))
1.0ms
(sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
0.0ms
(fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)

simplify188.0ms (2.9%)

Algorithm
egg-herbie
Rules
742×times-frac_binary64
332×fma-def_binary64
205×*-commutative_binary64
174×fma-neg_binary64
136×distribute-neg-in_binary64
Counts
162 → 246
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
06108925
120998542
249788534
350768534

prune468.0ms (7.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3591360
Fresh123
Picked011
Done011
Total3605365
Error
0b
Counts
365 → 5
Alt Table
StatusErrorProgram
0.4b
(/.f64 (/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 c (*.f64 a -4)) 3) (pow.f64 0 3)) 1/2) (*.f64 (+.f64 (*.f64 (*.f64 c (*.f64 a -4)) (*.f64 c (*.f64 a -4))) (-.f64 (*.f64 0 0) (*.f64 (*.f64 c (*.f64 a -4)) 0))) a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
3.4b
(neg.f64 (+.f64 (/.f64 c b) (/.f64 (*.f64 a (*.f64 c c)) (pow.f64 b 3))))
0.0b
(/.f64 (*.f64 -2 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.1b
(/.f64 (*.f64 -2 c) (fma.f64 (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (sqrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b))
0.5b
(/.f64 (/.f64 (*.f64 -2 c) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))) (sqrt.f64 (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)))
Compiler

Compiled 18104 to 12201 computations (32.6% saved)

regimes708.0ms (10.7%)

Accuracy

Total 0.1b remaining (76.8%)

Threshold costs 0.1b (76.8%)

Counts
130 → 1
Compiler

Compiled 15996 to 10682 computations (33.2% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
11622
21622

end1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.9s (28.9%)

Algorithm
intervals
Results
524.0ms3797×body256valid
332.0ms8847×pre128true
295.0ms1471×body512valid
192.0ms2732×body128valid
58.0ms847×body128nan
Compiler

Compiled 214 to 147 computations (31.3% saved)

Profiling

Loading profile data...