Details

Time bar (total: 3.6s)

analyze617.0ms (17.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
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
18.7%81.1%0.1%8
28.1%71.8%0.1%9
42.1%57.7%0.1%10
49.1%50.7%0.1%11
57.3%42.5%0.1%12
66.9%33%0.1%13
71.7%28.2%0.1%14
Compiler

Compiled 16 to 10 computations (37.5% saved)

sample1.0s (28.5%)

Symmetry

(sort x y z)

Results
986.0ms8256×body128valid
Compiler

Compiled 47 to 29 computations (38.3% saved)

simplify6.0ms (0.2%)

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

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 51 to 26 computations (49% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series51.0ms (1.4%)

Counts
1 → 36
Calls

1 calls:

51.0ms
(sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))))

rewrite1.0ms (0%)

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

1 calls:

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

simplify119.0ms (3.3%)

Algorithm
egg-herbie
Rules
704×cancel-sign-sub-inv_binary64
387×fma-neg_binary64
324×sub-neg_binary64
203×fma-def_binary64
180×distribute-neg-in_binary64
Counts
51 → 92
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02422211
16882064
228202062
349702062
450332062

prune119.0ms (3.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New89392
Fresh000
Picked101
Done000
Total90393
Error
0b
Counts
93 → 3
Alt Table
StatusErrorProgram
32.3b
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x)))) (*.f64 z z)) (hypot.f64 y x))
0.4b
(hypot.f64 x z)
32.9b
(hypot.f64 y z)
Compiler

Compiled 3151 to 1876 computations (40.5% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x z)

series12.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

simplify52.0ms (1.4%)

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

prune25.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh022
Picked011
Done000
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
32.3b
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x)))) (*.f64 z z)) (hypot.f64 y x))
0.4b
(hypot.f64 x z)
32.9b
(hypot.f64 y z)
Compiler

Compiled 601 to 363 computations (39.6% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 y y (*.f64 x x))
0.7b
(/.f64 1 (fma.f64 y y (*.f64 x x)))
7.6b
(*.f64 (sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x)))) (*.f64 z z))
27.2b
(sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x))))

series173.0ms (4.8%)

Counts
4 → 108
Calls

4 calls:

85.0ms
(*.f64 (sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x)))) (*.f64 z z))
67.0ms
(sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x))))
13.0ms
(/.f64 1 (fma.f64 y y (*.f64 x x)))
7.0ms
(fma.f64 y y (*.f64 x x))

rewrite18.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt_binary64
31×times-frac_binary64
29×*-un-lft-identity_binary64
29×sqrt-prod_binary64
27×add-cube-cbrt_binary64
Counts
4 → 111
Calls

4 calls:

7.0ms
(*.f64 (sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x)))) (*.f64 z z))
2.0ms
(/.f64 1 (fma.f64 y y (*.f64 x x)))
2.0ms
(sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x))))
0.0ms
(fma.f64 y y (*.f64 x x))

simplify185.0ms (5.1%)

Algorithm
egg-herbie
Rules
667×associate-/l*_binary64
469×associate-/r*_binary64
437×fma-neg_binary64
291×fma-def_binary64
257×cancel-sign-sub-inv_binary64
Counts
219 → 248
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02084612
15084295
217094263
348434247
450764247

prune157.0ms (4.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2480248
Fresh011
Picked011
Done011
Total2483251
Error
0b
Counts
251 → 3
Alt Table
StatusErrorProgram
32.3b
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x)))) (*.f64 z z)) (hypot.f64 y x))
0.4b
(hypot.f64 x z)
32.9b
(hypot.f64 y z)
Compiler

Compiled 6716 to 3031 computations (54.9% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 y z)

series12.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

12.0ms
(hypot.f64 y 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 y z)

simplify54.0ms (1.5%)

Algorithm
egg-herbie
Rules
963×fma-neg_binary64
527×cancel-sign-sub-inv_binary64
291×distribute-rgt-neg-in_binary64
290×distribute-lft-neg-in_binary64
281×associate-/r/_binary64
Counts
34 → 42
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064574
1175541
2506525
32149525
44655525
55014525

prune21.0ms (0.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh000
Picked011
Done022
Total42345
Error
0b
Counts
45 → 3
Alt Table
StatusErrorProgram
32.3b
(fma.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 y y (*.f64 x x)))) (*.f64 z z)) (hypot.f64 y x))
0.4b
(hypot.f64 x z)
32.9b
(hypot.f64 y z)
Compiler

Compiled 574 to 346 computations (39.7% saved)

regimes431.0ms (12%)

Accuracy

Total 0.5b remaining (95.2%)

Threshold costs 0.5b (95.2%)

Counts
48 → 1
Compiler

Compiled 6927 to 4531 computations (34.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
144

end486.0ms (13.5%)

Compiler

Compiled 57 to 37 computations (35.1% saved)

Profiling

Loading profile data...