Details

Time bar (total: 3.4s)

analyze96.0ms (2.9%)

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
25%74.9%0.1%5
25%50%25.1%6
25%31.2%43.8%7
25%21.9%53.2%8
25%14%61%9
28.1%10.9%61%10
31.6%7.4%61%11
33.4%5.7%61%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 20 to 13 computations (35% saved)

sample954.0ms (28.3%)

Results
911.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify18.0ms (0.5%)

Algorithm
egg-herbie
Rules
612×fma-def_binary64
603×associate-*l*_binary64
311×fma-neg_binary64
233×associate-+l+_binary64
216×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01323
13021
26421
319321
477917
5263417
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
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 97 to 64 computations (34% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.0b
(pow.f64 (hypot.f64 a b) 4)

series71.0ms (2.1%)

Counts
3 → 72
Calls

3 calls:

32.0ms
(pow.f64 (hypot.f64 a b) 4)
29.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
9.0ms
(hypot.f64 a b)

rewrite48.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
626×prod-diff_binary64
243×fma-def_binary64
181×expm1-udef_binary64
181×log1p-udef_binary64
159×log-pow_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
121228
2260328
Stop Event
node limit
Counts
3 → 93
Calls

3 calls:

47.0ms
(hypot.f64 a b)
47.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
47.0ms
(pow.f64 (hypot.f64 a b) 4)

simplify46.0ms (1.4%)

Algorithm
egg-herbie
Rules
585×fma-neg_binary64
562×cancel-sign-sub-inv_binary64
306×fma-def_binary64
224×distribute-neg-frac_binary64
184×times-frac_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0691453
12191409
26911303
330041303
Stop Event
node limit
Counts
165 → 143

prune159.0ms (4.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1412143
Fresh011
Picked101
Done000
Total1423145
Error
0b
Counts
145 → 3
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 2928 to 1918 computations (34.5% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.0b
(fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)
0.1b
(*.f64 b (fma.f64 2 (*.f64 a a) 4))

series65.0ms (1.9%)

Counts
4 → 96
Calls

4 calls:

20.0ms
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
18.0ms
(+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1))
14.0ms
(fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)
13.0ms
(*.f64 b (fma.f64 2 (*.f64 a a) 4))

rewrite81.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
523×fma-def_binary64
273×fma-neg_binary64
250×expm1-udef_binary64
250×log1p-udef_binary64
163×egg-rr
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01474
130374
2387474
Stop Event
node limit
Counts
4 → 163
Calls

4 calls:

77.0ms
(+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1))
77.0ms
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
77.0ms
(fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)
77.0ms
(*.f64 b (fma.f64 2 (*.f64 a a) 4))

simplify52.0ms (1.5%)

Algorithm
egg-herbie
Rules
769×fma-neg_binary64
400×unswap-sqr_binary64
399×associate-*l*_binary64
342×distribute-rgt-neg-in_binary64
316×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0351854
1891576
22321474
38401474
423591474
Stop Event
node limit
Counts
259 → 194

prune198.0ms (5.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1940194
Fresh022
Picked011
Done000
Total1943197
Error
0b
Counts
197 → 3
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 5302 to 3480 computations (34.4% saved)

localize12.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 a a))
0.0b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
0.2b
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

series33.0ms (1%)

Counts
3 → 60
Calls

3 calls:

18.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
13.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
2.0ms
(*.f64 2 (*.f64 a a))

rewrite62.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
943×prod-diff_binary64
144×add-sqr-sqrt_binary64
140×log1p-expm1-u_binary64
140×expm1-log1p-u_binary64
139×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01559
130959
2367859
Stop Event
node limit
Counts
3 → 71
Calls

3 calls:

60.0ms
(*.f64 2 (*.f64 a a))
60.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
60.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

simplify42.0ms (1.2%)

Algorithm
egg-herbie
Rules
965×fma-def_binary64
744×fma-neg_binary64
348×unswap-sqr_binary64
347×associate-*l*_binary64
319×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0271067
1731023
2213933
3837907
43016907
Stop Event
node limit
Counts
131 → 93

prune99.0ms (2.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done011
Total93396
Error
0b
Counts
96 → 3
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 2869 to 1642 computations (42.8% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (*.f64 a a) (*.f64 b b))
0.0b
(*.f64 4 (*.f64 b b))
0.4b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series42.0ms (1.2%)

Counts
4 → 84
Calls

4 calls:

22.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
12.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
5.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
2.0ms
(*.f64 4 (*.f64 b b))

rewrite73.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
647×fma-def_binary64
362×fma-neg_binary64
226×log1p-udef_binary64
225×expm1-udef_binary64
177×egg-rr
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01349
128943
2378043
Stop Event
node limit
Counts
4 → 177
Calls

4 calls:

69.0ms
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
69.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
69.0ms
(*.f64 4 (*.f64 b b))
69.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify46.0ms (1.4%)

Algorithm
egg-herbie
Rules
939×fma-def_binary64
730×fma-neg_binary64
348×unswap-sqr_binary64
326×associate-*l*_binary64
306×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0271271
1741191
22171101
38211075
429881075
Stop Event
node limit
Counts
261 → 204

prune203.0ms (6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2040204
Fresh000
Picked011
Done022
Total2043207
Error
0b
Counts
207 → 3
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 4499 to 2813 computations (37.5% saved)

regimes867.0ms (25.7%)

Accuracy

Total 0.0b remaining (62.7%)

Threshold costs 0.0b (62.7%)

Counts
157 → 1
Compiler

Compiled 16353 to 12133 computations (25.8% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
11727
Stop Event
saturated

end74.0ms (2.2%)

Compiler

Compiled 106 to 72 computations (32.1% saved)

Profiling

Loading profile data...