Details

Time bar (total: 2.7s)

analyze108.0ms (3.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)

sample956.0ms (34.8%)

Results
915.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify29.0ms (1%)

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.1b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 97 to 64 computations (34% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series64.0ms (2.3%)

Counts
3 → 72
Calls

3 calls:

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

rewrite51.0ms (1.8%)

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:

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

simplify46.0ms (1.7%)

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

Useful iterations: 2 (0.0ms)

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

prune140.0ms (5.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1412143
Fresh101
Picked101
Done000
Total1432145
Error
0b
Counts
145 → 2
Alt Table
StatusErrorProgram
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.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))
Compiler

Compiled 2890 to 1894 computations (34.5% saved)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 2 (*.f64 a a) 4)
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))

series48.0ms (1.8%)

Counts
4 → 84
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)))
15.0ms
(fma.f64 b (*.f64 b (fma.f64 2 (*.f64 a a) 4)) -1)
11.0ms
(*.f64 b (fma.f64 2 (*.f64 a a) 4))
2.0ms
(fma.f64 2 (*.f64 a a) 4)

rewrite65.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
523×fma-def_binary64
273×fma-neg_binary64
250×expm1-udef_binary64
250×log1p-udef_binary64
142×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01461
130361
2387461
Stop Event
node limit
Counts
4 → 130
Calls

4 calls:

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

simplify46.0ms (1.7%)

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
0351394
1891216
22321146
38401146
423591146
Stop Event
node limit
Counts
214 → 166

prune202.0ms (7.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1660166
Fresh011
Picked011
Done000
Total1662168
Error
0b
Counts
168 → 2
Alt Table
StatusErrorProgram
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.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))
Compiler

Compiled 4256 to 2840 computations (33.3% saved)

localize13.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
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.0b
(*.f64 2 (*.f64 a a))
0.2b
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

series40.0ms (1.5%)

Counts
3 → 60
Calls

3 calls:

16.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))
11.0ms
(*.f64 2 (*.f64 a a))

rewrite66.0ms (2.4%)

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:

63.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))
63.0ms
(*.f64 2 (*.f64 a a))
63.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

simplify44.0ms (1.6%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
0271067
1731023
2213933
3831907
43027907
Stop Event
node limit
Counts
131 → 93

prune84.0ms (3.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done011
Total93295
Error
0b
Counts
95 → 2
Alt Table
StatusErrorProgram
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.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))
Compiler

Compiled 2831 to 1618 computations (42.8% saved)

regimes631.0ms (23%)

Accuracy

Total 0.0b remaining (28.7%)

Threshold costs 0.0b (28.7%)

Counts
110 → 1
Compiler

Compiled 11421 to 8377 computations (26.7% 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

end89.0ms (3.2%)

Compiler

Compiled 87 to 60 computations (31% saved)

Profiling

Loading profile data...