Details

Time bar (total: 6.5s)

analyze610.0ms (9.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.6s (39.6%)

Results
889.0ms1212×body2048valid
692.0ms5276×body128valid
353.0ms795×body1024valid
254.0ms423×body4096valid
135.0ms1082×body128invalid
109.0ms354×body512valid
43.0ms196×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify257.0ms (4%)

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
38.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
38.3b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
38.2b
(/.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)

localize10.0ms (0.2%)

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.4b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
0.7b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
26.8b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series132.0ms (2%)

Counts
4 → 96
Calls

4 calls:

55.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
34.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
33.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
10.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite29.0ms (0.4%)

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:

10.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
7.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
3.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

simplify120.0ms (1.8%)

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

prune150.0ms (2.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New19611207
Fresh101
Picked101
Done000
Total19811209
Error
4.9b
Counts
209 → 11
Alt Table
StatusErrorProgram
35.0b
(*.f64 (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) 2) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a))
41.6b
(/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a))
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
34.9b
(/.f64 (-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (*.f64 a -2))
45.0b
(/.f64 (neg.f64 b) a)
49.6b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2)) 3))
37.3b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
38.3b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
45.2b
(-.f64 (/.f64 c b) (/.f64 b a))
35.4b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2))) (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2)))) (cbrt.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2))))
36.3b
(neg.f64 (/.f64 c b))
Compiler

Compiled 5721 to 3361 computations (41.3% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series281.0ms (4.3%)

Counts
3 → 24
Calls

3 calls:

168.0ms
(/.f64 (-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (*.f64 a -2))
99.0ms
(-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))
14.0ms
(sqrt.f64 (*.f64 c (*.f64 a -4)))

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64
19×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
prod-diff_binary64
pow1_binary64
Counts
3 → 74
Calls

3 calls:

5.0ms
(/.f64 (-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (*.f64 a -2))
4.0ms
(sqrt.f64 (*.f64 c (*.f64 a -4)))
3.0ms
(-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))

simplify71.0ms (1.1%)

Algorithm
egg-herbie
Rules
822×associate-/r*_binary64
545×fma-def_binary64
225×cancel-sign-sub-inv_binary64
153×fma-neg_binary64
142×associate-/l/_binary64
Counts
98 → 159
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02232931
15622482
219232293
351312293

prune122.0ms (1.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1581159
Fresh2810
Picked011
Done000
Total16010170
Error
2.4b
Counts
170 → 10
Alt Table
StatusErrorProgram
35.0b
(*.f64 (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) 2) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a))
41.6b
(/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a))
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
34.9b
(/.f64 (-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (*.f64 a -2))
45.0b
(/.f64 (neg.f64 b) a)
49.6b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2)) 3))
37.3b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
38.3b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
49.3b
(/.f64 (-.f64 b (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (*.f64 a -4))) b)) (*.f64 a -2))
36.3b
(neg.f64 (/.f64 c b))
Compiler

Compiled 4721 to 3085 computations (34.7% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series494.0ms (7.6%)

Counts
3 → 28
Calls

3 calls:

267.0ms
(/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a)
138.0ms
(*.f64 (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) 2) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a))
88.0ms
(-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)

rewrite51.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
110×add-sqr-sqrt_binary64
84×times-frac_binary64
80×*-un-lft-identity_binary64
58×add-cube-cbrt_binary64
56×sqrt-prod_binary64
Counts
3 → 168
Calls

3 calls:

20.0ms
(*.f64 (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) 2) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a))
6.0ms
(/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a)
3.0ms
(-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)

simplify208.0ms (3.2%)

Algorithm
egg-herbie
Rules
626×fma-def_binary64
323×fma-neg_binary64
314×cancel-sign-sub-inv_binary64
215×neg-mul-1_binary64
195×associate-*r/_binary64
Counts
196 → 293
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03447621
18776852
228266588
344586392
449316392
549016392

prune342.0ms (5.3%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New3960396
Fresh088
Picked011
Done011
Total39610406
Error
2.4b
Counts
406 → 10
Alt Table
StatusErrorProgram
35.0b
(*.f64 (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) 2) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a))
41.6b
(/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a))
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
34.9b
(/.f64 (-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (*.f64 a -2))
45.0b
(/.f64 (neg.f64 b) a)
49.6b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2)) 3))
37.3b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
38.3b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
49.3b
(/.f64 (-.f64 b (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (*.f64 a -4))) b)) (*.f64 a -2))
36.3b
(neg.f64 (/.f64 c b))
Compiler

Compiled 16278 to 10572 computations (35.1% saved)

localize3.0ms (0%)

prune8.0ms (0.1%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New000
Fresh077
Picked011
Done022
Total01010
Error
2.4b
Counts
10 → 10
Alt Table
StatusErrorProgram
35.0b
(*.f64 (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) 2) (/.f64 (sqrt.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b)) a))
41.6b
(/.f64 (+.f64 (neg.f64 b) (exp.f64 (log.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)))) (*.f64 2 a))
55.2b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
34.9b
(/.f64 (-.f64 b (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b)) (*.f64 a -2))
45.0b
(/.f64 (neg.f64 b) a)
49.6b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b) b) (*.f64 a 2)) 3))
37.3b
(/.f64 (/.f64 (*.f64 4 (*.f64 c a)) (-.f64 (neg.f64 b) (hypot.f64 (sqrt.f64 (*.f64 c (*.f64 a -4))) b))) (*.f64 2 a))
38.3b
(/.f64 1 (/.f64 (*.f64 2 a) (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))))
49.3b
(/.f64 (-.f64 b (hypot.f64 (*.f64 (sqrt.f64 c) (sqrt.f64 (*.f64 a -4))) b)) (*.f64 a -2))
36.3b
(neg.f64 (/.f64 c b))
Compiler

Compiled 176 to 127 computations (27.8% saved)

regimes775.0ms (11.9%)

Accuracy

Total 7.1b remaining (72.1%)

Threshold costs 0b (0%)

Counts
62 → 3
Compiler

Compiled 5535 to 3913 computations (29.3% saved)

bsearch80.0ms (1.2%)

Steps
ItersRangePoint
10
4.241946271543068e-138
4.350640292110055e-126
4.1779810674765516e-126
9
-1.1141153340912374e+99
-1.146861339112528e+94
-1.0963394235440253e+99
Compiler

Compiled 4 to 3 computations (25% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
02654
14552
27052
38252
48852
58952
68852

end139.0ms (2.1%)

Compiler

Compiled 252 to 173 computations (31.3% saved)

Profiling

Loading profile data...