Details

Time bar (total: 2.0s)

analyze99.0ms (4.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)

sample1.0s (49.4%)

Results
933.0ms8256×body128valid
1.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify43.0ms (2.1%)

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

prune4.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
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.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
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)

series55.0ms (2.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite55.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 → 79
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01024
121224
2241724
3531924
000
100

simplify78.0ms (3.8%)

Algorithm
egg-herbie
Rules
944×fma-def_binary64
730×fma-neg_binary64
348×unswap-sqr_binary64
339×sub-neg_binary64
330×associate-*l*_binary64
Counts
127 → 98
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
026983
172939
2208849
3633823
41838823
54657823
64892823
75191823

prune70.0ms (3.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New98098
Fresh011
Picked011
Done000
Total982100
Error
0b
Counts
100 → 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 1921 to 1232 computations (35.9% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 a a) (*.f64 b b))
0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
0.0b
(*.f64 4 (*.f64 b b))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series49.0ms (2.4%)

Counts
4 → 84
Calls

4 calls:

21.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
19.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
6.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
2.0ms
(*.f64 4 (*.f64 b b))

rewrite73.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
514×log-prod_binary64
459×fma-def_binary64
214×fma-neg_binary64
197×expm1-udef_binary64
197×log1p-udef_binary64
Counts
4 → 169
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01146
124240
2278140
3532540
000
100

simplify102.0ms (5%)

Algorithm
egg-herbie
Rules
648×distribute-rgt-in_binary64
590×distribute-lft-in_binary64
416×fma-def_binary64
383×*-commutative_binary64
348×unswap-sqr_binary64
Counts
253 → 192
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0211223
1541143
21521055
34171031
411851031
516131031
617511031
719261031
823901031
932391031
1049271031

prune135.0ms (6.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1920192
Fresh000
Picked011
Done011
Total1922194
Error
0b
Counts
194 → 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 4252 to 2561 computations (39.8% saved)

regimes192.0ms (9.4%)

Accuracy

Total 0.0b remaining (54.3%)

Threshold costs 0.0b (54.3%)

Counts
35 → 1
Compiler

Compiled 3651 to 2680 computations (26.6% saved)

simplify5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11217
21217

end53.0ms (2.6%)

Compiler

Compiled 61 to 42 computations (31.1% saved)

Profiling

Loading profile data...