Details

Time bar (total: 3.2s)

analyze5.0ms (0.2%)

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
99.9%0%0.1%4
Compiler

Compiled 16 to 10 computations (37.5% saved)

sample1.3s (38.8%)

Symmetry

(sort x y z)

Results
1.2s8256×body128valid
Compiler

Compiled 47 to 29 computations (38.3% saved)

simplify20.0ms (0.6%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01016
11514
22514
32914
42914

prune6.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
36.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
36.0b
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))
Compiler

Compiled 51 to 26 computations (49% saved)

localize14.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 y y))
0.0b
(fma.f64 z z (fma.f64 x x (*.f64 y y)))
36.0b
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))

series141.0ms (4.3%)

Counts
3 → 96
Calls

3 calls:

104.0ms
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))
29.0ms
(fma.f64 z z (fma.f64 x x (*.f64 y y)))
7.0ms
(fma.f64 x x (*.f64 y y))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
sqrt-prod_binary64
Counts
3 → 35
Calls

3 calls:

1.0ms
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))
0.0ms
(fma.f64 z z (fma.f64 x x (*.f64 y y)))
0.0ms
(fma.f64 x x (*.f64 y y))

simplify161.0ms (5%)

Algorithm
egg-herbie
Rules
704×cancel-sign-sub-inv_binary64
335×fma-neg_binary64
324×sub-neg_binary64
203×fma-def_binary64
180×distribute-neg-in_binary64
Counts
131 → 140
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02603034
17032846
228902844
349642844
449752844

prune133.0ms (4.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1382140
Fresh000
Picked011
Done000
Total1383141
Error
0b
Counts
141 → 3
Alt Table
StatusErrorProgram
0.5b
(hypot.f64 x z)
29.7b
(hypot.f64 y x)
36.0b
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))
Compiler

Compiled 3751 to 2017 computations (46.2% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x z)

series14.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

14.0ms
(hypot.f64 x z)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(hypot.f64 x z)

simplify71.0ms (2.2%)

Algorithm
egg-herbie
Rules
953×fma-neg_binary64
534×cancel-sign-sub-inv_binary64
273×associate-/r/_binary64
262×distribute-rgt-neg-in_binary64
259×distribute-lft-neg-in_binary64
Counts
34 → 42
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064550
1178541
2505525
32143525
44483525
55070525

prune24.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done011
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
0.5b
(hypot.f64 x z)
29.7b
(hypot.f64 y x)
36.0b
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))
Compiler

Compiled 572 to 344 computations (39.9% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 y x)

series12.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

12.0ms
(hypot.f64 y x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(hypot.f64 y x)

simplify106.0ms (3.3%)

Algorithm
egg-herbie
Rules
755×fma-neg_binary64
537×cancel-sign-sub-inv_binary64
354×neg-mul-1_binary64
312×distribute-rgt-neg-in_binary64
310×distribute-lft-neg-in_binary64
Counts
34 → 42
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
063568
1174541
2511525
32175525
44416525
55032525

prune36.0ms (1.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh000
Picked011
Done022
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
0.5b
(hypot.f64 x z)
29.7b
(hypot.f64 y x)
36.0b
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))
Compiler

Compiled 566 to 340 computations (39.9% saved)

regimes308.0ms (9.5%)

Accuracy

Total 0.4b remaining (75.5%)

Threshold costs 0.4b (75.5%)

Counts
13 → 1
Compiler

Compiled 1397 to 940 computations (32.7% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
144

end916.0ms (28.3%)

Compiler

Compiled 49 to 31 computations (36.7% saved)

Profiling

Loading profile data...