Details

Time bar (total: 3.2s)

analyze3.0ms (0.1%)

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 18 to 12 computations (33.3% saved)

sample854.0ms (26.9%)

Infinites
0% of outputs are infinite.
Symmetry

(sort x y z)

Results
796.0ms8256×body128valid
Compiler

Compiled 53 to 35 computations (34% 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
01219
11717
22717
33117
43117

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 59 to 34 computations (42.4% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 y y))
0.1b
(/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3)
36.8b
(sqrt.f64 (/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3))

series123.0ms (3.9%)

Counts
3 → 96
Calls

3 calls:

93.0ms
(sqrt.f64 (/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3))
24.0ms
(/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3)
6.0ms
(fma.f64 x x (*.f64 y y))

rewrite9.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
19×times-frac_binary64
18×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
13×sqrt-prod_binary64
Counts
3 → 66
Calls

3 calls:

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

simplify105.0ms (3.3%)

Algorithm
egg-herbie
Rules
356×sub-neg_binary64
354×fma-neg_binary64
279×fma-def_binary64
227×times-frac_binary64
207×associate-*r*_binary64
Counts
162 → 203
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03954965
110084633
240524633
350044633

prune154.0ms (4.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2003203
Fresh000
Picked101
Done000
Total2013204
Error
0.2b
Counts
204 → 3
Alt Table
StatusErrorProgram
36.8b
(/.f64 (sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y)))) (sqrt.f64 3))
29.6b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
31.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y x))
Compiler

Compiled 6310 to 3656 computations (42.1% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 y z)
0.4b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))

series36.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

21.0ms
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
15.0ms
(hypot.f64 y z)

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
sqrt-prod_binary64
Counts
2 → 35
Calls

2 calls:

4.0ms
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
0.0ms
(hypot.f64 y z)

simplify74.0ms (2.3%)

Algorithm
egg-herbie
Rules
834×fma-neg_binary64
680×times-frac_binary64
411×associate-/l*_binary64
353×associate-*l*_binary64
322×fma-def_binary64
Counts
83 → 99
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01441671
13861602
212891582
347821582
453821582

prune64.0ms (2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New94599
Fresh022
Picked011
Done000
Total948102
Error
0.1b
Counts
102 → 8
Alt Table
StatusErrorProgram
30.1b
(*.f64 (*.f64 (sqrt.f64 1/3) (*.f64 (cbrt.f64 (hypot.f64 y z)) (cbrt.f64 (hypot.f64 y z)))) (cbrt.f64 (hypot.f64 y z)))
29.7b
(*.f64 (sqrt.f64 (*.f64 (cbrt.f64 1/3) (cbrt.f64 1/3))) (*.f64 (sqrt.f64 (cbrt.f64 1/3)) (hypot.f64 y z)))
29.5b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))
36.8b
(/.f64 (sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y)))) (sqrt.f64 3))
29.7b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 (hypot.f64 y z))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 (hypot.f64 y z))))
29.7b
(*.f64 (sqrt.f64 (*.f64 (sqrt.f64 1/3) (hypot.f64 y z))) (sqrt.f64 (*.f64 (sqrt.f64 1/3) (hypot.f64 y z))))
29.6b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
31.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y x))
Compiler

Compiled 1910 to 1344 computations (29.6% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 y z)
0.1b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))

series42.0ms (1.3%)

Counts
2 → 48
Calls

2 calls:

22.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))
20.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))

rewrite18.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
21×sqrt-prod_binary64
18×associate-*l*_binary64
15×add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 56
Calls

2 calls:

10.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))
5.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))

simplify107.0ms (3.4%)

Algorithm
egg-herbie
Rules
793×times-frac_binary64
578×fma-def_binary64
278×fma-neg_binary64
270×cancel-sign-sub-inv_binary64
196×associate-*r*_binary64
Counts
104 → 131
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01832514
14902292
217682170
346262170
449822170
549582170

prune121.0ms (3.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1721173
Fresh246
Picked011
Done011
Total1747181
Error
0.1b
Counts
181 → 7
Alt Table
StatusErrorProgram
29.7b
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))))
30.1b
(*.f64 (*.f64 (sqrt.f64 1/3) (*.f64 (cbrt.f64 (hypot.f64 y z)) (cbrt.f64 (hypot.f64 y z)))) (cbrt.f64 (hypot.f64 y z)))
29.5b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))
36.8b
(/.f64 (sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y)))) (sqrt.f64 3))
29.7b
(*.f64 (sqrt.f64 (*.f64 (sqrt.f64 1/3) (hypot.f64 y z))) (sqrt.f64 (*.f64 (sqrt.f64 1/3) (hypot.f64 y z))))
29.6b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
31.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y x))
Compiler

Compiled 3727 to 2839 computations (23.8% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 y z)
0.1b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))))
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))

series74.0ms (2.3%)

Counts
2 → 48
Calls

2 calls:

54.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))
19.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))))

rewrite29.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
36×sqrt-prod_binary64
24×associate-*l*_binary64
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
16×pow1_binary64
Counts
2 → 63
Calls

2 calls:

13.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z))))
10.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))

simplify77.0ms (2.4%)

Algorithm
egg-herbie
Rules
787×times-frac_binary64
540×fma-def_binary64
292×cancel-sign-sub-inv_binary64
258×fma-neg_binary64
248×associate-*r*_binary64
Counts
111 → 150
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02003441
15492716
219812662
350252662

prune175.0ms (5.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2531254
Fresh134
Picked101
Done022
Total2556261
Error
0.1b
Counts
261 → 6
Alt Table
StatusErrorProgram
29.5b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))
36.8b
(/.f64 (sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y)))) (sqrt.f64 3))
29.7b
(*.f64 (sqrt.f64 (*.f64 (sqrt.f64 1/3) (hypot.f64 y z))) (sqrt.f64 (*.f64 (sqrt.f64 1/3) (hypot.f64 y z))))
29.6b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
29.8b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3)))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 y z)))
31.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y x))
Compiler

Compiled 6735 to 5513 computations (18.1% saved)

regimes563.0ms (17.7%)

Accuracy

Total 0.6b remaining (63.3%)

Threshold costs 0.6b (63.3%)

Counts
50 → 1
Compiler

Compiled 8371 to 6177 computations (26.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
189
289

end495.0ms (15.6%)

Compiler

Compiled 122 to 95 computations (22.1% saved)

Profiling

Loading profile data...