Details

Time bar (total: 7.0s)

analyze514.0ms (7.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
25%74.9%0.1%7
31.2%68.6%0.1%8
35.9%64%0.1%9
47.6%49.9%2.5%10
49.1%46.8%4%11
51.1%44.1%4.8%12
60.2%29.9%9.9%13
60.6%27.9%11.6%14
Compiler

Compiled 15 to 10 computations (33.3% saved)

sample1.4s (20.3%)

Symmetry

(sort x y)

Results
1.0s8256×body128valid
211.0ms1609×body128invalid
Compiler

Compiled 44 to 29 computations (34.1% saved)

simplify93.0ms (1.3%)

Algorithm
egg-herbie
Rules
826×associate-*r/_binary64
769×associate-/l/_binary64
660×associate-*l/_binary64
522×associate-/l*_binary64
421×fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01016
13016
27814
319514
431414
538314
642614
763114
8100914
9220414
10286814
11296714
12307914
13319314
14305814
15371214
16498814
17482414

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
4.8b
Counts
3 → 2
Alt Table
StatusErrorProgram
7.6b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
12.7b
(/.f64 (*.f64 x y) (*.f64 (*.f64 z z) (+.f64 z 1)))
Compiler

Compiled 78 to 45 computations (42.3% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (/.f64 y (fma.f64 z z z)) z)
7.0b
(/.f64 y (fma.f64 z z z))
7.2b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))

series211.0ms (3%)

Counts
3 → 84
Calls

3 calls:

117.0ms
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
53.0ms
(/.f64 (/.f64 y (fma.f64 z z z)) z)
41.0ms
(/.f64 y (fma.f64 z z z))

rewrite56.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
153×times-frac_binary64
98×add-sqr-sqrt_binary64
89×*-un-lft-identity_binary64
89×add-cube-cbrt_binary64
43×associate-*r*_binary64
Counts
3 → 168
Calls

3 calls:

32.0ms
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
4.0ms
(/.f64 (/.f64 y (fma.f64 z z z)) z)
2.0ms
(/.f64 y (fma.f64 z z z))

simplify167.0ms (2.4%)

Algorithm
egg-herbie
Rules
805×fma-def_binary64
353×fma-neg_binary64
351×*-commutative_binary64
341×associate-/r/_binary64
275×sub-neg_binary64
Counts
252 → 296
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02874846
16874599
223044515
336074509
448174509
549634509

prune307.0ms (4.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New28610296
Fresh101
Picked011
Done000
Total28711298
Error
1.4b
Counts
298 → 11
Alt Table
StatusErrorProgram
4.7b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
15.8b
(*.f64 x (*.f64 (sqrt.f64 (/.f64 y (fma.f64 z z z))) (/.f64 (sqrt.f64 (/.f64 y (fma.f64 z z z))) z)))
6.4b
(*.f64 (/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
54.8b
(*.f64 (*.f64 (sqrt.f64 x) (/.f64 (/.f64 (sqrt.f64 y) (hypot.f64 z (sqrt.f64 z))) (sqrt.f64 z))) (*.f64 (sqrt.f64 x) (/.f64 (/.f64 (sqrt.f64 y) (hypot.f64 z (sqrt.f64 z))) (sqrt.f64 z))))
21.3b
(*.f64 (*.f64 x (sqrt.f64 y)) (/.f64 (/.f64 (sqrt.f64 y) (fma.f64 z z z)) z))
32.0b
(*.f64 (/.f64 y z) (-.f64 (/.f64 x z) x))
6.4b
(*.f64 (*.f64 x (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) 1)) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
12.7b
(/.f64 (*.f64 y x) (*.f64 z (fma.f64 z z z)))
7.6b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
12.6b
(*.f64 (*.f64 y x) (/.f64 (/.f64 1 (fma.f64 z z z)) z))
36.7b
(*.f64 (*.f64 x (/.f64 y (sqrt.f64 z))) (/.f64 (/.f64 1 (fma.f64 z z z)) (sqrt.f64 z)))
Compiler

Compiled 6327 to 1450 computations (77.1% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
6.2b
(*.f64 x (/.f64 y (fma.f64 z z z)))
7.0b
(/.f64 y (fma.f64 z z z))

series187.0ms (2.7%)

Counts
2 → 72
Calls

2 calls:

113.0ms
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
74.0ms
(*.f64 x (/.f64 y (fma.f64 z z z)))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
13×associate-*r*_binary64
13×times-frac_binary64
Counts
2 → 60
Calls

2 calls:

5.0ms
(*.f64 x (/.f64 y (fma.f64 z z z)))
4.0ms
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)

simplify84.0ms (1.2%)

Algorithm
egg-herbie
Rules
604×fma-neg_binary64
483×associate-*l*_binary64
433×associate-/r*_binary64
417×associate-*r*_binary64
378×associate-/r/_binary64
Counts
132 → 124
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01532289
13972096
215391990
344391990
449681990

prune155.0ms (2.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1732175
Fresh459
Picked011
Done011
Total1779186
Error
1.2b
Counts
186 → 9
Alt Table
StatusErrorProgram
21.3b
(*.f64 (*.f64 x (sqrt.f64 y)) (/.f64 (/.f64 (sqrt.f64 y) (fma.f64 z z z)) z))
32.0b
(*.f64 (/.f64 y z) (-.f64 (/.f64 x z) x))
12.7b
(/.f64 (*.f64 y x) (*.f64 z (fma.f64 z z z)))
34.0b
(/.f64 (*.f64 x (*.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (/.f64 y (hypot.f64 z (sqrt.f64 z))))) z)
4.7b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
6.4b
(*.f64 (/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
7.6b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
12.6b
(*.f64 (*.f64 y x) (/.f64 (/.f64 1 (fma.f64 z z z)) z))
7.6b
(/.f64 (/.f64 (*.f64 y x) (fma.f64 z z z)) z)
Compiler

Compiled 3216 to 893 computations (72.2% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))
3.9b
(/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))
3.9b
(*.f64 (/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
22.3b
(cbrt.f64 (fma.f64 z z z))

series894.0ms (12.8%)

Counts
4 → 84
Calls

4 calls:

773.0ms
(/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))
108.0ms
(*.f64 (/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
7.0ms
(*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))
6.0ms
(cbrt.f64 (fma.f64 z z z))

rewrite64.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
140×times-frac_binary64
113×add-sqr-sqrt_binary64
79×*-un-lft-identity_binary64
79×add-cube-cbrt_binary64
76×associate-*r*_binary64
Counts
4 → 195
Calls

4 calls:

23.0ms
(*.f64 (/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
5.0ms
(*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))
4.0ms
(/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z))))
1.0ms
(cbrt.f64 (fma.f64 z z z))

simplify173.0ms (2.5%)

Algorithm
egg-herbie
Rules
460×associate-*r/_binary64
329×associate-*l/_binary64
309×associate-/l*_binary64
300×associate-/r*_binary64
280×fma-def_binary64
Counts
279 → 337
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04128533
112106980
247206950
350026950

prune316.0ms (4.5%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New3970397
Fresh066
Picked011
Done022
Total3979406
Error
1.2b
Counts
406 → 9
Alt Table
StatusErrorProgram
21.3b
(*.f64 (*.f64 x (sqrt.f64 y)) (/.f64 (/.f64 (sqrt.f64 y) (fma.f64 z z z)) z))
32.0b
(*.f64 (/.f64 y z) (-.f64 (/.f64 x z) x))
12.7b
(/.f64 (*.f64 y x) (*.f64 z (fma.f64 z z z)))
34.0b
(/.f64 (*.f64 x (*.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (/.f64 y (hypot.f64 z (sqrt.f64 z))))) z)
4.7b
(/.f64 (*.f64 x (/.f64 y (fma.f64 z z z))) z)
6.4b
(*.f64 (/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
7.6b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
12.6b
(*.f64 (*.f64 y x) (/.f64 (/.f64 1 (fma.f64 z z z)) z))
7.6b
(/.f64 (/.f64 (*.f64 y x) (fma.f64 z z z)) z)
Compiler

Compiled 13250 to 2634 computations (80.1% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (/.f64 (*.f64 y x) (fma.f64 z z z)) z)
11.1b
(/.f64 (*.f64 y x) (fma.f64 z z z))

series186.0ms (2.7%)

Counts
2 → 72
Calls

2 calls:

109.0ms
(/.f64 (/.f64 (*.f64 y x) (fma.f64 z z z)) z)
76.0ms
(/.f64 (*.f64 y x) (fma.f64 z z z))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
36×times-frac_binary64
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
16×add-cbrt-cube_binary64
Counts
2 → 73
Calls

2 calls:

5.0ms
(/.f64 (/.f64 (*.f64 y x) (fma.f64 z z z)) z)
3.0ms
(/.f64 (*.f64 y x) (fma.f64 z z z))

simplify93.0ms (1.3%)

Algorithm
egg-herbie
Rules
695×fma-def_binary64
525×associate-/r*_binary64
470×associate-*l/_binary64
392×associate-*l*_binary64
327×associate-*r/_binary64
Counts
145 → 137
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01702800
14302607
214782497
345032497
451372497

prune139.0ms (2%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1334137
Fresh235
Picked011
Done123
Total13610146
Error
0.7b
Counts
146 → 10
Alt Table
StatusErrorProgram
34.7b
(*.f64 (/.f64 y (hypot.f64 z (sqrt.f64 z))) (/.f64 (/.f64 x (hypot.f64 z (sqrt.f64 z))) z))
33.3b
(/.f64 (*.f64 (/.f64 y (hypot.f64 z (sqrt.f64 z))) (/.f64 x (hypot.f64 z (sqrt.f64 z)))) z)
21.3b
(*.f64 (*.f64 x (sqrt.f64 y)) (/.f64 (/.f64 (sqrt.f64 y) (fma.f64 z z z)) z))
32.0b
(*.f64 (/.f64 y z) (-.f64 (/.f64 x z) x))
4.7b
(/.f64 (/.f64 y (/.f64 (fma.f64 z z z) x)) z)
34.0b
(/.f64 (*.f64 x (*.f64 (/.f64 1 (hypot.f64 z (sqrt.f64 z))) (/.f64 y (hypot.f64 z (sqrt.f64 z))))) z)
7.7b
(/.f64 (/.f64 y 1) (/.f64 z (/.f64 x (fma.f64 z z z))))
6.4b
(*.f64 (/.f64 x (*.f64 (cbrt.f64 (fma.f64 z z z)) (cbrt.f64 (fma.f64 z z z)))) (/.f64 (/.f64 y (cbrt.f64 (fma.f64 z z z))) z))
7.6b
(*.f64 x (/.f64 (/.f64 y (fma.f64 z z z)) z))
7.6b
(/.f64 (/.f64 (*.f64 y x) (fma.f64 z z z)) z)
Compiler

Compiled 2608 to 626 computations (76% saved)

regimes1.7s (24.5%)

Accuracy

Total 2.0b remaining (66%)

Threshold costs 0b (0%)

Counts
142 → 2
Compiler

Compiled 17730 to 8890 computations (49.9% saved)

bsearch5.0ms (0.1%)

Compiler

Compiled 10 to 7 computations (30% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02884
13584
23484

end154.0ms (2.2%)

Remove

(sort x y)

Compiler

Compiled 397 to 189 computations (52.4% saved)

Profiling

Loading profile data...