Details

Time bar (total: 3.0s)

analyze574.0ms (19.3%)

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)

sample45.0ms (1.5%)

Algorithm
intervals
Symmetry

(sort x y z)

Results
12.0ms256×body128valid
Compiler

Compiled 34 to 22 computations (35.3% saved)

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

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
37.4b
Counts
3 → 1
Alt Table
StatusErrorProgram
37.4b
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))
Compiler

Compiled 55 to 30 computations (45.5% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 x x) (*.f64 y y))
0.0b
(+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z))
34.7b
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))

series71.0ms (2.4%)

Counts
3 → 96
Calls

3 calls:

52.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))
13.0ms
(+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z))
6.0ms
(+.f64 (*.f64 x x) (*.f64 y y))

rewrite15.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
10×add-log-exp_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
sum-log_binary64
Counts
3 → 50
Calls

3 calls:

5.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))
5.0ms
(+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z))
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))

simplify82.0ms (2.8%)

Algorithm
egg-herbie
Rules
813×cancel-sign-sub-inv_binary64
368×fma-neg_binary64
357×sub-neg_binary64
254×fma-def_binary64
189×associate-*r*_binary64
Counts
146 → 162
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02903374
18423126
236483124
355893124

prune105.0ms (3.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1593162
Fresh000
Picked011
Done000
Total1594163
Error
0b
Counts
163 → 4
Alt Table
StatusErrorProgram
0.6b
(hypot.f64 z x)
37.4b
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))
6.2b
(fma.f64 1/2 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x))))) (hypot.f64 z x))
29.3b
(hypot.f64 z y)
Compiler

Compiled 4485 to 2174 computations (51.5% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 z x)

series11.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

11.0ms
(hypot.f64 z 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 z x)

simplify55.0ms (1.8%)

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

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh022
Picked011
Done011
Total42446
Error
0b
Counts
46 → 4
Alt Table
StatusErrorProgram
0.6b
(hypot.f64 z x)
37.4b
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))
6.2b
(fma.f64 1/2 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x))))) (hypot.f64 z x))
29.3b
(hypot.f64 z y)
Compiler

Compiled 616 to 372 computations (39.6% saved)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 z z (*.f64 x x))
0.4b
(/.f64 1 (fma.f64 z z (*.f64 x x)))
6.3b
(*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x)))))
34.3b
(sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x))))

series126.0ms (4.2%)

Counts
4 → 108
Calls

4 calls:

85.0ms
(*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x)))))
18.0ms
(sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x))))
16.0ms
(/.f64 1 (fma.f64 z z (*.f64 x x)))
6.0ms
(fma.f64 z z (*.f64 x x))

rewrite21.0ms (0.7%)

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:

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

simplify120.0ms (4%)

Algorithm
egg-herbie
Rules
655×associate-/l*_binary64
486×fma-neg_binary64
453×associate-/r*_binary64
291×fma-def_binary64
257×cancel-sign-sub-inv_binary64
Counts
219 → 247
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02084575
15154258
217214226
346034210
449734210

prune182.0ms (6.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2470247
Fresh011
Picked011
Done022
Total2474251
Error
0b
Counts
251 → 4
Alt Table
StatusErrorProgram
0.6b
(hypot.f64 z x)
37.4b
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))
6.2b
(fma.f64 1/2 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x))))) (hypot.f64 z x))
29.3b
(hypot.f64 z y)
Compiler

Compiled 6676 to 3003 computations (55% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 z y)

series11.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

11.0ms
(hypot.f64 z y)

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 z y)

simplify56.0ms (1.9%)

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

prune23.0ms (0.8%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New42042
Fresh000
Picked011
Done033
Total42446
Error
0b
Counts
46 → 4
Alt Table
StatusErrorProgram
0.6b
(hypot.f64 z x)
37.4b
(sqrt.f64 (+.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)))
6.2b
(fma.f64 1/2 (*.f64 (*.f64 y y) (sqrt.f64 (/.f64 1 (fma.f64 z z (*.f64 x x))))) (hypot.f64 z x))
29.3b
(hypot.f64 z y)
Compiler

Compiled 589 to 355 computations (39.7% saved)

regimes317.0ms (10.7%)

Accuracy

Total 0.4b remaining (72.8%)

Threshold costs 0.4b (72.8%)

Counts
37 → 1
Compiler

Compiled 4958 to 3251 computations (34.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
044
144

end13.0ms (0.4%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.1s (36.3%)

Algorithm
intervals
Results
387.0ms8000×body128valid
Compiler

Compiled 73 to 47 computations (35.6% saved)

Profiling

Loading profile data...