Details

Time bar (total: 2.9s)

analyze105.0ms (3.6%)

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.3s (44.3%)

Results
1.2s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify42.0ms (1.5%)

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

Local error

Found 2 expressions with local error:

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

series44.0ms (1.5%)

Counts
2 → 48
Calls

2 calls:

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

rewrite3.0ms (0.1%)

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)

simplify130.0ms (4.5%)

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

prune78.0ms (2.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New75277
Fresh101
Picked101
Done000
Total77279
Error
0.0b
Counts
79 → 2
Alt Table
StatusErrorProgram
0.2b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 1614 to 1047 computations (35.1% saved)

localize13.0ms (0.5%)

Local error

Found 3 expressions with local error:

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

series49.0ms (1.7%)

Counts
3 → 18
Calls

3 calls:

19.0ms
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
18.0ms
(+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))
11.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

rewrite26.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
17×unpow-prod-down_binary64
16×unswap-sqr_binary64
15×add-exp-log_binary64
11×sqr-pow_binary64
Counts
3 → 90
Calls

3 calls:

10.0ms
(+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))
7.0ms
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
5.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

simplify88.0ms (3%)

Algorithm
egg-herbie
Rules
918×fma-neg_binary64
441×fma-def_binary64
347×distribute-rgt-neg-in_binary64
314×distribute-lft-neg-in_binary64
309×*-commutative_binary64
Counts
108 → 134
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01301585
13091463
210091423
331421383
447921383
550751383

prune155.0ms (5.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh101
Picked011
Done000
Total1342136
Error
0b
Counts
136 → 2
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 a 4)) (sqrt.f64 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 4281 to 2986 computations (30.2% saved)

localize17.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))
0.2b
(fma.f64 (sqrt.f64 (pow.f64 a 4)) (sqrt.f64 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))
3.0b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
10.8b
(sqrt.f64 (pow.f64 a 4))

series21.0ms (0.7%)

Counts
2 → 36
Calls

2 calls:

19.0ms
(fma.f64 (sqrt.f64 (pow.f64 a 4)) (sqrt.f64 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))
2.0ms
(sqrt.f64 (pow.f64 a 4))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
unpow-prod-down_binary64
add-cube-cbrt_binary64
Counts
2 → 31
Calls

2 calls:

2.0ms
(sqrt.f64 (pow.f64 a 4))
0.0ms
(fma.f64 (sqrt.f64 (pow.f64 a 4)) (sqrt.f64 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)))

simplify68.0ms (2.4%)

Algorithm
egg-herbie
Rules
842×associate-*l*_binary64
699×associate-*r*_binary64
592×distribute-rgt-in_binary64
584×distribute-lft-in_binary64
470×exp-prod_binary64
Counts
67 → 56
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052942
181881
2191761
3633758
44822758
55470758

prune250.0ms (8.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1830183
Fresh000
Picked011
Done011
Total1832185
Error
0b
Counts
185 → 2
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 (sqrt.f64 (pow.f64 a 4)) (sqrt.f64 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
0.0b
(+.f64 (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 6316 to 4526 computations (28.3% saved)

regimes426.0ms (14.7%)

Accuracy

Total 0.0b remaining (5%)

Threshold costs 0.0b (5%)

Counts
70 → 1
Compiler

Compiled 8918 to 6413 computations (28.1% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01633
12033
22033

end81.0ms (2.8%)

Compiler

Compiled 107 to 82 computations (23.4% saved)

Profiling

Loading profile data...