Details

Time bar (total: 2.7s)

analyze132.0ms (4.8%)

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)

sample1.1s (39.3%)

Results
1.0s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify77.0ms (2.8%)

Algorithm
egg-herbie
Rules
770×unswap-sqr_binary64
631×associate-*l*_binary64
623×fma-def_binary64
311×fma-neg_binary64
283×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01323
13021
26021
315921
451817
5168717
6359717
7502617

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 59 to 40 computations (32.2% saved)

localize7.0ms (0.3%)

Local error

Found 2 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))

series42.0ms (1.5%)

Counts
2 → 48
Calls

2 calls:

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

rewrite74.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
626×prod-diff_binary64
447×log-prod_binary64
243×fma-def_binary64
181×expm1-udef_binary64
181×log1p-udef_binary64
Counts
2 → 80
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
121221
2241721
3531921

simplify65.0ms (2.4%)

Algorithm
egg-herbie
Rules
812×fma-neg_binary64
562×cancel-sign-sub-inv_binary64
297×neg-mul-1_binary64
289×neg-sub0_binary64
280×fma-def_binary64
Counts
128 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0671045
12111007
2639925
32618925
44315925
55122925

prune85.0ms (3.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1241125
Fresh000
Picked011
Done000
Total1242126
Error
0b
Counts
126 → 2
Alt Table
StatusErrorProgram
57.1b
(pow.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3) 1/3)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 2538 to 1659 computations (34.6% saved)

localize10.0ms (0.4%)

Local error

Found 4 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.1b
(pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3)
17.5b
(pow.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3) 1/3)

series445.0ms (16.2%)

Counts
2 → 48
Calls

2 calls:

395.0ms
(pow.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3) 1/3)
50.0ms
(pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3)

rewrite114.0ms (4.1%)

Algorithm
batch-egg-rewrite
Rules
626×prod-diff_binary64
483×fma-udef_binary64
275×fma-def_binary64
222×expm1-udef_binary64
222×log1p-udef_binary64
Counts
2 → 91
Calls

2 calls:

112.0ms
(pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3)
112.0ms
(pow.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3) 1/3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01437
128437
2300237
3482437
4473737
5486437

simplify112.0ms (4.1%)

Algorithm
egg-herbie
Rules
669×times-frac_binary64
534×associate-/l*_binary64
291×+-commutative_binary64
264×fma-def_binary64
263×associate-+r+_binary64
Counts
139 → 143
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
07647397
125947339
251267339

prune338.0ms (12.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2680268
Fresh000
Picked011
Done011
Total2682270
Error
0b
Counts
270 → 2
Alt Table
StatusErrorProgram
57.1b
(pow.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) 3) 1/3)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 15050 to 11184 computations (25.7% saved)

regimes108.0ms (3.9%)

Accuracy

Total 0.0b remaining (1.6%)

Threshold costs 0.0b (1.6%)

Counts
16 → 1
Compiler

Compiled 1439 to 1082 computations (24.8% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11217
21217

end55.0ms (2%)

Compiler

Compiled 60 to 44 computations (26.7% saved)

Profiling

Loading profile data...