Details

Time bar (total: 9.1s)

analyze860.0ms (9.5%)

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.5s (27.8%)

Results
704.0ms5363×body128valid
615.0ms1172×body2048valid
407.0ms437×body4096valid
317.0ms745×body1024valid
227.0ms1084×body128invalid
109.0ms346×body512valid
50.0ms193×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify269.0ms (3%)

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

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

series174.0ms (1.9%)

Counts
4 → 96
Calls

4 calls:

76.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
50.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
39.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
9.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))

rewrite80.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
781×prod-diff_binary64
244×log1p-udef_binary64
165×egg-rr
138×add-sqr-sqrt_binary64
132×log1p-expm1-u_binary64
Counts
4 → 165
Calls

4 calls:

76.0ms
(fma.f64 a (*.f64 c -4) (*.f64 b b))
76.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (/.f64 1/2 a))
76.0ms
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
76.0ms
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01362
127962
2338562
3510262
000
100

simplify119.0ms (1.3%)

Algorithm
egg-herbie
Rules
742×times-frac_binary64
467×associate-/l*_binary64
436×fma-def_binary64
432×fma-neg_binary64
426×associate-/r*_binary64
Counts
261 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01212241
13982164
213272078
349542078
452182078

prune206.0ms (2.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2299238
Fresh101
Picked101
Done000
Total2319240
Error
4.3b
Counts
240 → 9
Alt Table
StatusErrorProgram
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
49.7b
(/.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (*.f64 (*.f64 a 2) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))))
37.8b
(neg.f64 (/.f64 c b))
43.3b
(/.f64 (neg.f64 b) a)
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
47.1b
(*.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (/.f64 1/2 a))
35.9b
(*.f64 (*.f64 (cbrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) (pow.f64 (cbrt.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)) 2)) (/.f64 1/2 a))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
Compiler

Compiled 6476 to 3763 computations (41.9% 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 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
0.8b
(-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b)
25.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series79.0ms (0.9%)

Counts
1 → 20
Calls

1 calls:

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

rewrite67.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
384×fma-def_binary64
249×expm1-udef_binary64
249×log1p-udef_binary64
205×fma-neg_binary64
140×add-sqr-sqrt_binary64
Counts
1 → 60
Calls

1 calls:

65.0ms
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
128122
2364122
3487522
000
100

simplify63.0ms (0.7%)

Algorithm
egg-herbie
Rules
794×fma-neg_binary64
351×unswap-sqr_binary64
333×distribute-neg-frac_binary64
328×times-frac_binary64
221×associate-*r*_binary64
Counts
80 → 83
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064612
1210609
2666585
33266585
44979585
55005585

prune177.0ms (1.9%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2542256
Fresh268
Picked011
Done000
Total2569265
Error
4.3b
Counts
265 → 9
Alt Table
StatusErrorProgram
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
43.3b
(/.f64 (neg.f64 b) a)
37.4b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
37.8b
(neg.f64 (/.f64 c b))
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
47.1b
(*.f64 (*.f64 -2 (fma.f64 (/.f64 c b) a (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (/.f64 1/2 a))
36.8b
(/.f64 (-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) (*.f64 a 2))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
Compiler

Compiled 6922 to 4093 computations (40.9% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
8.9b
(-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
25.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
25.9b
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series154.0ms (1.7%)

Counts
3 → 92
Calls

3 calls:

53.0ms
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
52.0ms
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
48.0ms
(-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)

rewrite72.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
865×prod-diff_binary64
208×expm1-udef_binary64
208×log1p-udef_binary64
147×egg-rr
124×log1p-expm1-u_binary64
Counts
3 → 147
Calls

3 calls:

67.0ms
(cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))))
67.0ms
(-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b)
67.0ms
(cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01359
126643
2281743
3488143
000
100

simplify110.0ms (1.2%)

Algorithm
egg-herbie
Rules
299×associate-*r*_binary64
259×associate-/r*_binary64
250×times-frac_binary64
242×fma-neg_binary64
206×fma-def_binary64
Counts
239 → 274
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03654666
112214570
246884530
349664530

prune266.0ms (2.9%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3181319
Fresh167
Picked011
Done011
Total3199328
Error
4.3b
Counts
328 → 9
Alt Table
StatusErrorProgram
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
47.9b
(/.f64 (*.f64 -2 (+.f64 (/.f64 (*.f64 c a) b) (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (*.f64 a 2))
37.4b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
43.3b
(/.f64 (neg.f64 b) a)
37.8b
(neg.f64 (/.f64 c b))
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
36.8b
(/.f64 (-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) (*.f64 a 2))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
Compiler

Compiled 13601 to 8432 computations (38% saved)

localize13.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a (*.f64 c -4) (*.f64 b b))
23.3b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
25.1b
(sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))

series72.0ms (0.8%)

Counts
1 → 20
Calls

1 calls:

72.0ms
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))

rewrite157.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
554×prod-diff_binary64
399×egg-rr
271×log1p-udef_binary64
165×add-sqr-sqrt_binary64
155×log1p-expm1-u_binary64
Counts
1 → 399
Calls

1 calls:

137.0ms
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01628
133826
2375526
3511526
000
100

simplify81.0ms (0.9%)

Algorithm
egg-herbie
Rules
794×fma-neg_binary64
351×unswap-sqr_binary64
333×distribute-neg-frac_binary64
328×times-frac_binary64
221×associate-*r*_binary64
Counts
419 → 422
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064612
1210609
2666585
33266585
44979585
55005585

prune507.0ms (5.6%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New5001501
Fresh066
Picked011
Done022
Total50010510
Error
4.3b
Counts
510 → 10
Alt Table
StatusErrorProgram
46.8b
(/.f64 (*.f64 (-.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)) (*.f64 b b)) (/.f64 1/2 a)) (+.f64 b (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))))
43.4b
(-.f64 (/.f64 c b) (/.f64 b a))
49.5b
(+.f64 (fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (*.f64 b (/.f64 1/2 a))) (fma.f64 1 (*.f64 b (/.f64 1/2 a)) (*.f64 b (/.f64 1/2 a))))
47.9b
(/.f64 (*.f64 -2 (+.f64 (/.f64 (*.f64 c a) b) (/.f64 (*.f64 (*.f64 c a) (*.f64 c a)) (pow.f64 b 3)))) (*.f64 a 2))
37.4b
(fma.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) (/.f64 1/2 a) (neg.f64 (/.f64 b (*.f64 a 2))))
43.3b
(/.f64 (neg.f64 b) a)
37.8b
(neg.f64 (/.f64 c b))
35.4b
(/.f64 (-.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b))) b) (*.f64 a 2))
36.8b
(/.f64 (-.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) (cbrt.f64 (fma.f64 a (*.f64 c -4) (*.f64 b b)))) b) (*.f64 a 2))
45.1b
(*.f64 (*.f64 -2 (/.f64 (*.f64 c a) b)) (/.f64 1/2 a))
Compiler

Compiled 23735 to 15055 computations (36.6% saved)

regimes2.7s (29.6%)

Accuracy

Total 4.7b remaining (45.5%)

Threshold costs 0b (0%)

Counts
117 → 5
Compiler

Compiled 10004 to 6938 computations (30.6% saved)

bsearch148.0ms (1.6%)

Steps
ItersRangePoint
8
1.2344334649195314e-55
1.322700660035437e-51
4.4233955990605117e-54
5
6.863344029837293e-72
1.4734283974003753e-71
1.3948090615163448e-71
8
2.6189808425900012e-111
1.3010807537774533e-107
1.2846674157042731e-107
9
-1.2695432231346224e+46
-1.731480671832066e+41
-1.251564096671974e+46
Compiler

Compiled 4 to 3 computations (25% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
037115
156115
273115
384115
489115
589115

end149.0ms (1.6%)

Compiler

Compiled 360 to 214 computations (40.6% saved)

Profiling

Loading profile data...