Details

Time bar (total: 4.4s)

analyze19.0ms (0.4%)

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
49.9%49.9%0.1%5
74.9%25%0.1%6
87.4%12.5%0.1%7
93.6%6.2%0.1%8
96.7%3.1%0.1%9
98.3%1.6%0.1%10
99.1%0.8%0.1%11
99.5%0.4%0.1%12
99.7%0.2%0.1%13
99.8%0.1%0.1%14
Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.2s (27.6%)

Symmetry

(sort x y z)

Results
1.2s8256×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
38.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
38.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)

localize14.0ms (0.3%)

Local error

Found 4 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)))
0.1b
(/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3)
36.1b
(sqrt.f64 (/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3))

series167.0ms (3.8%)

Counts
4 → 132
Calls

4 calls:

113.0ms
(sqrt.f64 (/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3))
28.0ms
(/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3)
13.0ms
(fma.f64 z z (fma.f64 x x (*.f64 y y)))
13.0ms
(fma.f64 x x (*.f64 y y))

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
19×*-un-lft-identity_binary64
19×times-frac_binary64
19×add-cube-cbrt_binary64
13×sqrt-prod_binary64
Counts
4 → 76
Calls

4 calls:

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

simplify151.0ms (3.4%)

Algorithm
egg-herbie
Rules
358×sub-neg_binary64
354×fma-neg_binary64
279×fma-def_binary64
227×times-frac_binary64
207×associate-*r*_binary64
Counts
208 → 228
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04005513
110125152
241075152
350785152

prune195.0ms (4.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2253228
Fresh000
Picked011
Done000
Total2254229
Error
0.2b
Counts
229 → 4
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 1/3) (hypot.f64 x z))
33.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
38.8b
(sqrt.f64 (/.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y))) 3))
38.9b
(/.f64 (sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y)))) (sqrt.f64 3))
Compiler

Compiled 6702 to 3782 computations (43.6% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series42.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

22.0ms
(*.f64 (sqrt.f64 1/3) (hypot.f64 x z))
19.0ms
(hypot.f64 x z)

rewrite7.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:

5.0ms
(*.f64 (sqrt.f64 1/3) (hypot.f64 x z))
1.0ms
(hypot.f64 x z)

simplify91.0ms (2.1%)

Algorithm
egg-herbie
Rules
904×fma-neg_binary64
600×times-frac_binary64
384×associate-/l*_binary64
380×associate-*r*_binary64
345×associate-*l*_binary64
Counts
83 → 99
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01311647
13811602
212451582
350001582
456731582

prune80.0ms (1.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New94599
Fresh022
Picked011
Done101
Total958103
Error
0.0b
Counts
103 → 8
Alt Table
StatusErrorProgram
33.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
1.3b
(*.f64 (sqrt.f64 1/3) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x z)) (cbrt.f64 (hypot.f64 x z))) (cbrt.f64 (hypot.f64 x z))))
38.9b
(/.f64 (sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y)))) (sqrt.f64 3))
1.3b
(*.f64 (*.f64 (sqrt.f64 1/3) (*.f64 (cbrt.f64 (hypot.f64 x z)) (cbrt.f64 (hypot.f64 x z)))) (cbrt.f64 (hypot.f64 x z)))
0.4b
(*.f64 (sqrt.f64 1/3) (hypot.f64 x z))
0.7b
(*.f64 (*.f64 (sqrt.f64 1/3) (sqrt.f64 (hypot.f64 x z))) (sqrt.f64 (hypot.f64 x z)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))
0.7b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 (hypot.f64 x z))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 (hypot.f64 x z))))
Compiler

Compiled 1910 to 1326 computations (30.6% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x z)
0.0b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z))
0.2b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))

series53.0ms (1.2%)

Counts
2 → 48
Calls

2 calls:

31.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z))
22.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))

rewrite19.0ms (0.4%)

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:

11.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))
4.0ms
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z))

simplify112.0ms (2.5%)

Algorithm
egg-herbie
Rules
785×fma-neg_binary64
710×times-frac_binary64
483×associate-/l*_binary64
470×fma-def_binary64
235×cancel-sign-sub-inv_binary64
Counts
104 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01602514
14632398
216572278
347852274
453012274

prune153.0ms (3.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1712173
Fresh246
Picked011
Done011
Total1738181
Error
0.0b
Counts
181 → 8
Alt Table
StatusErrorProgram
0.6b
(*.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 x z))))
0.7b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 (hypot.f64 x z))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (sqrt.f64 (hypot.f64 x z))))
0.4b
(*.f64 (sqrt.f64 1/3) (hypot.f64 x z))
33.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
0.7b
(*.f64 (*.f64 (sqrt.f64 1/3) (sqrt.f64 (hypot.f64 x z))) (sqrt.f64 (hypot.f64 x z)))
38.9b
(/.f64 (sqrt.f64 (fma.f64 z z (fma.f64 x x (*.f64 y y)))) (sqrt.f64 3))
1.3b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (cbrt.f64 (hypot.f64 x z)) (cbrt.f64 (hypot.f64 x z)))) (cbrt.f64 (hypot.f64 x z))))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))
Compiler

Compiled 3810 to 2905 computations (23.8% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x z)
0.0b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))
0.4b
(*.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 x z))))

series83.0ms (1.9%)

Counts
2 → 48
Calls

2 calls:

55.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))
28.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 x z))))

rewrite34.0ms (0.8%)

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:

12.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 x z))))
12.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 1/3))) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))

simplify123.0ms (2.8%)

Algorithm
egg-herbie
Rules
708×times-frac_binary64
669×fma-neg_binary64
449×fma-def_binary64
244×cancel-sign-sub-inv_binary64
239×associate-*r*_binary64
Counts
111 → 150
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01773441
15222910
218672694
347632690
451672690

prune233.0ms (5.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2531254
Fresh325
Picked011
Done022
Total2566262
Error
0.0b
Counts
262 → 6
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 1/3) (hypot.f64 x z))
33.2b
(*.f64 (sqrt.f64 1/3) (hypot.f64 y z))
0.7b
(*.f64 (*.f64 (sqrt.f64 1/3) (sqrt.f64 (hypot.f64 x z))) (sqrt.f64 (hypot.f64 x z)))
0.9b
(*.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 x z)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 1/3)) (*.f64 (sqrt.f64 (sqrt.f64 1/3)) (hypot.f64 x z)))
0.6b
(*.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 x z))))
Compiler

Compiled 6783 to 5564 computations (18% saved)

regimes954.0ms (21.7%)

Accuracy

Total 0.5b remaining (61%)

Threshold costs 0.5b (61%)

Counts
73 → 1
Compiler

Compiled 12174 to 9326 computations (23.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0918
11118
21118

end608.0ms (13.8%)

Compiler

Compiled 143 to 119 computations (16.8% saved)

Profiling

Loading profile data...