Details

Time bar (total: 7.0s)

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

sample2.4s (34.3%)

Results
703.0ms5307×body128valid
654.0ms1194×body2048valid
338.0ms770×body1024valid
286.0ms430×body4096valid
179.0ms1140×body128invalid
120.0ms364×body512valid
46.0ms191×body256valid
Compiler

Compiled 62 to 44 computations (29% saved)

simplify30.0ms (0.4%)

Algorithm
egg-herbie
Rules
763×fma-neg_binary64
619×times-frac_binary64
367×fma-def_binary64
242×distribute-rgt-in_binary64
239×div-sub_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01526
13322
27222
316322
426722
543622
674722
7133522
8268922
9408622
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 111 to 75 computations (32.4% saved)

localize11.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))
1.0b
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))
1.7b
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
23.4b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))

series128.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

52.0ms
(/.f64 (+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))) (*.f64 2 a))
40.0ms
(+.f64 (neg.f64 b) (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))))
27.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c)))
9.0ms
(-.f64 (*.f64 b b) (*.f64 (*.f64 4 a) c))

rewrite79.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
278×log1p-udef_binary64
166×add-sqr-sqrt_binary64
162×log1p-expm1-u_binary64
162×expm1-log1p-u_binary64
161×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01574
134262
2486562
Stop Event
node limit
Counts
4 → 158
Calls

4 calls:

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

simplify50.0ms (0.7%)

Algorithm
egg-herbie
Rules
742×times-frac_binary64
467×associate-/l*_binary64
432×fma-def_binary64
422×associate-/r*_binary64
142×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01212241
14022164
214032078
Stop Event
node limit
Counts
254 → 232

prune166.0ms (2.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New22210232
Fresh011
Picked101
Done000
Total22311234
Error
5.2b
Counts
234 → 11
Alt Table
StatusErrorProgram
48.4b
(pow.f64 (/.f64 a (*.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) 1/2)) -1)
46.2b
(*.f64 1/2 (/.f64 (sqrt.f64 (neg.f64 (*.f64 4 (*.f64 c a)))) a))
37.2b
(/.f64 (+.f64 (neg.f64 b) (pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) 3)) (*.f64 2 a))
48.5b
(*.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))))) (*.f64 (sqrt.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))))) (/.f64 1/2 a)))
42.7b
(-.f64 (/.f64 c b) (/.f64 b a))
42.5b
(/.f64 (neg.f64 b) a)
40.2b
(/.f64 (neg.f64 c) b)
48.8b
(/.f64 (/.f64 (-.f64 (*.f64 b b) (fma.f64 b b (*.f64 c (*.f64 a -4)))) (-.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4)))))) (*.f64 2 a))
36.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b) (/.f64 1/2 a))
56.7b
(/.f64 (+.f64 (neg.f64 b) b) (*.f64 2 a))
56.1b
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 a 2))) (/.f64 (+.f64 b (sqrt.f64 (fma.f64 b b (*.f64 c (*.f64 a -4))))) (sqrt.f64 (*.f64 a 2))))
Compiler

Compiled 6192 to 3871 computations (37.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b) (/.f64 1/2 a))
1.3b
(fma.f64 b b (*.f64 a (*.f64 c -4)))
1.7b
(-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b)
23.4b
(sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4))))

series123.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

51.0ms
(*.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b) (/.f64 1/2 a))
36.0ms
(-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b)
27.0ms
(sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4))))
9.0ms
(fma.f64 b b (*.f64 a (*.f64 c -4)))

rewrite78.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
737×prod-diff_binary64
158×egg-rr
139×add-sqr-sqrt_binary64
132×log1p-expm1-u_binary64
132×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01362
128159
2362659
Stop Event
node limit
Counts
4 → 158
Calls

4 calls:

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

simplify47.0ms (0.7%)

Algorithm
egg-herbie
Rules
742×times-frac_binary64
467×associate-/l*_binary64
432×fma-def_binary64
422×associate-/r*_binary64
142×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01212241
14022164
214032078
Stop Event
node limit
Counts
254 → 232

prune221.0ms (3.2%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2266232
Fresh7310
Picked011
Done000
Total23310243
Error
5.2b
Counts
243 → 10
Alt Table
StatusErrorProgram
42.6b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
33.9b
(*.f64 (exp.f64 (log.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b))) (/.f64 1/2 a))
56.7b
(*.f64 (-.f64 b b) (/.f64 1/2 a))
42.7b
(-.f64 (/.f64 c b) (/.f64 b a))
42.5b
(/.f64 (neg.f64 b) a)
47.5b
(*.f64 (/.f64 (-.f64 (fma.f64 b b (*.f64 a (*.f64 c -4))) (*.f64 b b)) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) (/.f64 1/2 a))
40.2b
(/.f64 (neg.f64 c) b)
48.7b
(/.f64 (/.f64 (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2) (sqrt.f64 a)) (sqrt.f64 a))
36.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b) (/.f64 1/2 a))
31.9b
(/.f64 1 (/.f64 a (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2)))
Compiler

Compiled 5850 to 3643 computations (37.7% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series528.0ms (7.6%)

Counts
4 → 36
Calls

4 calls:

237.0ms
(/.f64 a (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2))
170.0ms
(/.f64 1 (/.f64 a (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2)))
95.0ms
(-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b)
25.0ms
(sqrt.f64 (*.f64 a (*.f64 c -4)))

rewrite77.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
593×prod-diff_binary64
165×egg-rr
158×add-sqr-sqrt_binary64
149×add-cbrt-cube_binary64
149×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01569
132466
2421866
Stop Event
node limit
Counts
4 → 165
Calls

4 calls:

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

simplify38.0ms (0.5%)

Algorithm
egg-herbie
Rules
585×associate-/l*_binary64
560×associate-/r*_binary64
397×fma-def_binary64
218×cancel-sign-sub-inv_binary64
212×associate-*r/_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01381518
14501376
215091333
Stop Event
node limit
Counts
201 → 237

prune238.0ms (3.4%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2352237
Fresh268
Picked011
Done011
Total23710247
Error
2.9b
Counts
247 → 10
Alt Table
StatusErrorProgram
44.3b
(/.f64 1 (fma.f64 4 (/.f64 a (/.f64 c (/.f64 b (*.f64 a -4)))) (/.f64 a b)))
42.6b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
42.7b
(-.f64 (/.f64 c b) (/.f64 b a))
42.5b
(/.f64 (neg.f64 b) a)
47.5b
(*.f64 (/.f64 (-.f64 (fma.f64 b b (*.f64 a (*.f64 c -4))) (*.f64 b b)) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) (/.f64 1/2 a))
40.2b
(/.f64 (neg.f64 c) b)
48.7b
(/.f64 (/.f64 (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2) (sqrt.f64 a)) (sqrt.f64 a))
36.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b) (/.f64 1/2 a))
47.7b
(/.f64 1 (/.f64 a (*.f64 (-.f64 (hypot.f64 b (*.f64 (sqrt.f64 (*.f64 c -4)) (sqrt.f64 a))) b) 1/2)))
31.9b
(/.f64 1 (/.f64 a (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2)))
Compiler

Compiled 6221 to 4216 computations (32.2% saved)

localize3.0ms (0%)

prune9.0ms (0.1%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New000
Fresh077
Picked011
Done022
Total01010
Error
2.9b
Counts
10 → 10
Alt Table
StatusErrorProgram
44.3b
(/.f64 1 (fma.f64 4 (/.f64 a (/.f64 c (/.f64 b (*.f64 a -4)))) (/.f64 a b)))
42.6b
(*.f64 (*.f64 -2 b) (/.f64 1/2 a))
42.7b
(-.f64 (/.f64 c b) (/.f64 b a))
42.5b
(/.f64 (neg.f64 b) a)
47.5b
(*.f64 (/.f64 (-.f64 (fma.f64 b b (*.f64 a (*.f64 c -4))) (*.f64 b b)) (+.f64 b (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))))) (/.f64 1/2 a))
40.2b
(/.f64 (neg.f64 c) b)
48.7b
(/.f64 (/.f64 (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2) (sqrt.f64 a)) (sqrt.f64 a))
36.2b
(*.f64 (-.f64 (sqrt.f64 (fma.f64 b b (*.f64 a (*.f64 c -4)))) b) (/.f64 1/2 a))
47.7b
(/.f64 1 (/.f64 a (*.f64 (-.f64 (hypot.f64 b (*.f64 (sqrt.f64 (*.f64 c -4)) (sqrt.f64 a))) b) 1/2)))
31.9b
(/.f64 1 (/.f64 a (*.f64 (-.f64 (hypot.f64 b (sqrt.f64 (*.f64 a (*.f64 c -4)))) b) 1/2)))
Compiler

Compiled 161 to 111 computations (31.1% saved)

regimes1.8s (26.1%)

Accuracy

Total 7.6b remaining (73%)

Threshold costs 0b (0%)

Counts
137 → 3
Compiler

Compiled 11184 to 8034 computations (28.2% saved)

bsearch88.0ms (1.3%)

Steps
ItersRangePoint
9
6.967160121756309e-24
9.911213757936085e-18
4.287267979175193e-23
8
-4.256315156865985e+122
-2.602874292754627e+114
-3.547150473588976e+120
Compiler

Compiled 4 to 3 computations (25% saved)

simplify3.0ms (0%)

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
02754
14552
27252
38452
49052
59152
Stop Event
saturated

end133.0ms (1.9%)

Compiler

Compiled 237 to 159 computations (32.9% saved)

Profiling

Loading profile data...