Details

Time bar (total: 1.7s)

analyze109.0ms (6.5%)

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 (64.2%)

Results
1.0s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify41.0ms (2.4%)

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

localize9.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.0b
(pow.f64 (hypot.f64 a b) 4)

series47.0ms (2.8%)

Counts
2 → 48
Calls

2 calls:

35.0ms
(pow.f64 (hypot.f64 a b) 4)
12.0ms
(hypot.f64 a b)

rewrite3.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
pow1_binary64
Counts
2 → 30
Calls

2 calls:

1.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(hypot.f64 a b)

simplify68.0ms (4%)

Algorithm
egg-herbie
Rules
586×fma-neg_binary64
526×cancel-sign-sub-inv_binary64
313×unswap-sqr_binary64
224×distribute-neg-frac_binary64
212×distribute-rgt-neg-in_binary64
Counts
78 → 77
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0941171
12361129
26451086
325731086
447821086
550251086

prune56.0ms (3.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh101
Picked011
Done000
Total77279
Error
0b
Counts
79 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.1b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 1576 to 1017 computations (35.5% saved)

localize9.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

series19.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

13.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
6.0ms
(+.f64 (*.f64 a a) (*.f64 b b))

rewrite10.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
2 → 34
Calls

2 calls:

5.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
3.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify68.0ms (4%)

Algorithm
egg-herbie
Rules
862×distribute-rgt-in_binary64
310×exp-prod_binary64
300×associate-*l*_binary64
257×associate-*r*_binary64
232×fma-neg_binary64
Counts
82 → 69
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0651008
1178923
2487866
31913863
44562863
54938863

prune46.0ms (2.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done011
Total69271
Error
0b
Counts
71 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.1b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 1427 to 759 computations (46.8% saved)

regimes60.0ms (3.6%)

Accuracy

Total 0.0b remaining (39.7%)

Threshold costs 0.0b (39.7%)

Counts
8 → 1
Compiler

Compiled 884 to 611 computations (30.9% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11217
21217

end52.0ms (3.1%)

Compiler

Compiled 60 to 42 computations (30% saved)

Profiling

Loading profile data...