Details

Time bar (total: 10.7s)

analyze657.0ms (6.2%)

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
25%74.9%0.1%4
37.4%62.4%0.1%5
37.4%62.4%0.1%6
37.4%56.2%6.4%7
45.2%48.4%6.4%8
49.1%42.1%8.7%9
51.5%35.1%13.4%10
58.1%27.7%14.2%11
60.8%22.6%16.5%12
62.3%18.7%19%13
66.2%14.4%19.4%14
Compiler

Compiled 21 to 15 computations (28.6% saved)

sample2.7s (25.4%)

Results
933.0ms5655×body128valid
695.0ms1093×body2048valid
329.0ms635×body1024valid
287.0ms373×body4096valid
133.0ms343×body512valid
109.0ms669×body128invalid
44.0ms157×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify301.0ms (2.8%)

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%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 111 to 74 computations (33.3% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
0.8b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.0b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
25.0b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series361.0ms (3.4%)

Counts
4 → 96
Calls

4 calls:

166.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
107.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
66.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
21.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite59.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
10×fma-def_binary64
10×add-cube-cbrt_binary64
10×add-log-exp_binary64
Counts
4 → 90
Calls

4 calls:

19.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
14.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
7.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
7.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify231.0ms (2.2%)

Algorithm
egg-herbie
Rules
701×fma-neg_binary64
334×cancel-sign-sub-inv_binary64
215×distribute-rgt-neg-in_binary64
159×associate-*r*_binary64
150×distribute-rgt-neg-out_binary64
Counts
186 → 207
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02434208
16953858
225123724
346943704
450313704

prune357.0ms (3.4%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1998207
Fresh011
Picked101
Done000
Total2009209
Error
3.5b
Counts
209 → 9
Alt Table
StatusErrorProgram
39.9b
(/.f64 (neg.f64 b) a)
29.0b
(*.f64 (/.f64 (sqrt.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) 2) (/.f64 (sqrt.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))) a))
44.7b
(fma.f64 1/4 (/.f64 (*.f64 b b) (*.f64 a (sqrt.f64 (*.f64 c (*.f64 a -4))))) (*.f64 1/2 (-.f64 (/.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) a) (/.f64 b a))))
29.6b
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 c a) -4 (*.f64 b b))) (cbrt.f64 (fma.f64 (*.f64 c a) -4 (*.f64 b b)))) (cbrt.f64 (fma.f64 (*.f64 c a) -4 (*.f64 b b)))))) (*.f64 2 a))
39.2b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
41.5b
(neg.f64 (/.f64 c b))
47.0b
(*.f64 (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2))) (sqrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2))))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
40.0b
(-.f64 (/.f64 c b) (/.f64 b a))
Compiler

Compiled 5699 to 3321 computations (41.7% saved)

localize21.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
1.0b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
25.0b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series350.0ms (3.3%)

Counts
3 → 60
Calls

3 calls:

162.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
106.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
82.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

rewrite26.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64
31×*-un-lft-identity_binary64
27×add-cube-cbrt_binary64
18×prod-diff_binary64
17×sqrt-prod_binary64
Counts
3 → 99
Calls

3 calls:

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

simplify153.0ms (1.4%)

Algorithm
egg-herbie
Rules
505×fma-neg_binary64
316×distribute-rgt-in_binary64
279×distribute-lft-in_binary64
261×cancel-sign-sub-inv_binary64
151×associate-*r*_binary64
Counts
159 → 207
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02584859
16623980
224793807
348593807
449663807

prune181.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2052207
Fresh448
Picked011
Done000
Total2097216
Error
3.5b
Counts
216 → 7
Alt Table
StatusErrorProgram
39.9b
(/.f64 (neg.f64 b) a)
38.4b
(/.f64 (*.f64 1/2 (+.f64 (*.f64 a (*.f64 c -4)) 0)) (*.f64 a (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))))
40.0b
(-.f64 (/.f64 c b) (/.f64 b a))
33.4b
(/.f64 (*.f64 (+.f64 (*.f64 a (*.f64 c -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
41.5b
(neg.f64 (/.f64 c b))
39.2b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
Compiler

Compiled 5742 to 3336 computations (41.9% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 (+.f64 (*.f64 a (*.f64 c -4)) 0) (/.f64 1/2 a)) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
0.6b
(+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
11.0b
(*.f64 (+.f64 (*.f64 a (*.f64 c -4)) 0) (/.f64 1/2 a))
25.0b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series354.0ms (3.3%)

Counts
3 → 64
Calls

3 calls:

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

rewrite32.0ms (0.3%)

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:

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

simplify152.0ms (1.4%)

Algorithm
egg-herbie
Rules
645×fma-neg_binary64
245×associate-*l*_binary64
225×associate-/l*_binary64
221×associate-*r*_binary64
177×div-sub_binary64
Counts
156 → 196
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02493787
17043238
231183153
345283153
449983153
549033153

prune184.0ms (1.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2382240
Fresh235
Picked101
Done011
Total2416247
Error
3.5b
Counts
247 → 6
Alt Table
StatusErrorProgram
31.9b
(/.f64 (*.f64 -2 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
41.5b
(neg.f64 (/.f64 c b))
39.2b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
34.9b
(/.f64 1 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 c (*.f64 a -4))))) (/.f64 (*.f64 (*.f64 c a) -2) a)))
40.0b
(-.f64 (/.f64 c b) (/.f64 b a))
Compiler

Compiled 7929 to 5001 computations (36.9% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series286.0ms (2.7%)

Counts
1 → 20
Calls

1 calls:

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

simplify68.0ms (0.6%)

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

prune118.0ms (1.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1592161
Fresh134
Picked011
Done011
Total1607167
Error
3.5b
Counts
167 → 7
Alt Table
StatusErrorProgram
37.3b
(/.f64 (*.f64 -2 c) (+.f64 (exp.f64 (log.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) b))
39.2b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
31.9b
(/.f64 (*.f64 -2 c) (+.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b))
41.5b
(neg.f64 (/.f64 c b))
32.5b
(/.f64 -2 (/.f64 (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4))))) c))
28.9b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
40.0b
(-.f64 (/.f64 c b) (/.f64 b a))
Compiler

Compiled 4171 to 2512 computations (39.8% saved)

regimes3.8s (35.6%)

Accuracy

Total 1.0b remaining (16.7%)

Threshold costs 1.0b (16.7%)

Counts
187 → 4
Compiler

Compiled 16943 to 11895 computations (29.8% saved)

bsearch118.0ms (1.1%)

Steps
ItersRangePoint
7
4.199021549675812e+120
7.979983627339533e+128
5.69311637248718e+122
7
4.199590604817195e-304
9.40127380898348e-302
5.206369630189784e-304
4
-4.8293727107314014e+85
-1.0473602901519483e+84
-3.765674528228214e+85
Compiler

Compiled 4 to 3 computations (25% saved)

simplify5.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03780
16080
28380
39580
410180
510280
610180

end105.0ms (1%)

Compiler

Compiled 227 to 146 computations (35.7% saved)

Profiling

Loading profile data...