Details

Time bar (total: 7.0s)

analyze486.0ms (7%)

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
37.4%62.4%0.1%7
43.7%56.2%0.1%8
43.7%56.2%0.1%9
65.5%34.3%0.1%10
70.2%29.6%0.1%11
70.2%29.6%0.1%12
81.9%17.9%0.1%13
84.6%15.2%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample3.0s (42.7%)

Results
1.4s2093×body1024valid
867.0ms4611×body128valid
420.0ms1046×body512valid
153.0ms497×body256valid
12.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0912
11312
21612
31612

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 42 to 23 computations (45.2% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.1b
(*.f64 z (cos.f64 y))

series22.0ms (0.3%)

Counts
2 → 60
Calls

2 calls:

14.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
7.0ms
(*.f64 z (cos.f64 y))

rewrite48.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
689×log1p-expm1-u_binary64
689×expm1-log1p-u_binary64
201×prod-diff_binary64
147×expm1-udef_binary64
147×log1p-udef_binary64
Counts
2 → 38
Calls

2 calls:

47.0ms
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
47.0ms
(*.f64 z (cos.f64 y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
115618
2180118
3510518
000
100

simplify75.0ms (1.1%)

Algorithm
egg-herbie
Rules
802×distribute-rgt-neg-in_binary64
744×cancel-sign-sub-inv_binary64
698×fma-def_binary64
621×distribute-lft-neg-in_binary64
362×fma-neg_binary64
Counts
98 → 55
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
039588
1106587
2305576
3987568
43070568
54686568
65000568

prune39.0ms (0.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New50555
Fresh000
Picked011
Done000
Total50656
Error
0.1b
Counts
56 → 6
Alt Table
StatusErrorProgram
25.9b
(fma.f64 x (sin.f64 y) (cbrt.f64 (*.f64 (pow.f64 z 3) (pow.f64 (cos.f64 y) 3))))
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
30.4b
(fma.f64 x (sin.f64 y) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2))
0.8b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
40.7b
(/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))
1.3b
(*.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) (pow.f64 (cbrt.f64 (fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))) 2))
Compiler

Compiled 941 to 378 computations (59.8% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
0.1b
(*.f64 z (cos.f64 y))
0.6b
(cbrt.f64 (*.f64 z (cos.f64 y)))
0.7b
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)

series1.4s (20.5%)

Counts
3 → 84
Calls

3 calls:

518.0ms
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
494.0ms
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
414.0ms
(cbrt.f64 (*.f64 z (cos.f64 y)))

rewrite56.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
863×log1p-expm1-u_binary64
863×expm1-log1p-u_binary64
297×prod-diff_binary64
100×add-sqr-sqrt_binary64
93×add-cbrt-cube_binary64
Counts
3 → 82
Calls

3 calls:

54.0ms
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
54.0ms
(cbrt.f64 (*.f64 z (cos.f64 y)))
54.0ms
(pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01126
120526
2226326
3583626
000
100

simplify120.0ms (1.7%)

Algorithm
egg-herbie
Rules
681×fma-neg_binary64
495×distribute-rgt-neg-in_binary64
480×distribute-lft-neg-in_binary64
304×unswap-sqr_binary64
296×associate-*r*_binary64
Counts
166 → 120
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0821368
12361361
26431197
32301897
44948885
54968885
65000885
74931885

prune105.0ms (1.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1394143
Fresh224
Picked011
Done011
Total1418149
Error
0.1b
Counts
149 → 8
Alt Table
StatusErrorProgram
18.7b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cos.f64 y) (cbrt.f64 (*.f64 z z))) (cbrt.f64 z)))
40.7b
(/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))
0.9b
(fma.f64 x (sin.f64 y) (pow.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (cos.f64 y))) 3))
0.3b
(fma.f64 x (sin.f64 y) (*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
30.4b
(fma.f64 x (sin.f64 y) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2))
0.8b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
16.4b
(fma.f64 x (sin.f64 y) (*.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) z)))
Compiler

Compiled 2421 to 1049 computations (56.7% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 (cos.f64 y)) z)
0.2b
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))
0.2b
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
0.3b
(cbrt.f64 (cos.f64 y))

series737.0ms (10.6%)

Counts
4 → 72
Calls

4 calls:

395.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) z)
168.0ms
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
165.0ms
(cbrt.f64 (cos.f64 y))
8.0ms
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))

rewrite81.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
708×log1p-expm1-u_binary64
708×expm1-log1p-u_binary64
147×expm1-udef_binary64
147×log1p-udef_binary64
85×add-sqr-sqrt_binary64
Counts
4 → 72
Calls

4 calls:

80.0ms
(*.f64 (cbrt.f64 (cos.f64 y)) z)
80.0ms
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z))
80.0ms
(pow.f64 (cbrt.f64 (cos.f64 y)) 2)
80.0ms
(cbrt.f64 (cos.f64 y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0927
117825
2188725
3496525
4491525
000
100

simplify83.0ms (1.2%)

Algorithm
egg-herbie
Rules
736×distribute-rgt-neg-in_binary64
634×fma-neg_binary64
537×sub-neg_binary64
399×neg-mul-1_binary64
385×*-commutative_binary64
Counts
144 → 103
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064628
1187621
2541604
31721602
43700602
54861602
65026602

prune121.0ms (1.7%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1322134
Fresh145
Picked101
Done022
Total1348142
Error
0.1b
Counts
142 → 8
Alt Table
StatusErrorProgram
30.4b
(fma.f64 x (sin.f64 y) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
0.8b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
16.4b
(fma.f64 x (sin.f64 y) (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 1/3) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
18.7b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cos.f64 y) (cbrt.f64 (*.f64 z z))) (cbrt.f64 z)))
40.7b
(/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.9b
(fma.f64 x (sin.f64 y) (pow.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (cos.f64 y))) 3))
Compiler

Compiled 2739 to 1240 computations (54.7% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 (cos.f64 y)) z)
0.2b
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) z))
0.3b
(pow.f64 (cos.f64 y) 2)
0.3b
(cbrt.f64 (cos.f64 y))

series12.0ms (0.2%)

Counts
2 → 28
Calls

2 calls:

7.0ms
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) z))
5.0ms
(pow.f64 (cos.f64 y) 2)

rewrite48.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
845×log1p-expm1-u_binary64
845×expm1-log1p-u_binary64
101×add-sqr-sqrt_binary64
95×add-cube-cbrt_binary64
95×add-cbrt-cube_binary64
Counts
2 → 37
Calls

2 calls:

47.0ms
(*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) z))
47.0ms
(pow.f64 (cos.f64 y) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
122412
2223812
3510612
000
100

simplify64.0ms (0.9%)

Algorithm
egg-herbie
Rules
642×distribute-rgt-neg-in_binary64
636×associate-*l*_binary64
620×distribute-lft-neg-in_binary64
545×fma-def_binary64
378×cancel-sign-sub-inv_binary64
Counts
65 → 53
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035239
192232
2262224
3790218
42703218
54654218
65093218

prune101.0ms (1.4%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1070107
Fresh055
Picked011
Done022
Total1078115
Error
0.1b
Counts
115 → 8
Alt Table
StatusErrorProgram
30.4b
(fma.f64 x (sin.f64 y) (pow.f64 (sqrt.f64 (*.f64 z (cos.f64 y))) 2))
0.2b
(fma.f64 x (sin.f64 y) (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 2) 1/3) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
0.8b
(fma.f64 x (sin.f64 y) (pow.f64 (cbrt.f64 (*.f64 z (cos.f64 y))) 3))
16.4b
(fma.f64 x (sin.f64 y) (*.f64 (pow.f64 (pow.f64 (cos.f64 y) 1/3) 2) (*.f64 (cbrt.f64 (cos.f64 y)) z)))
18.7b
(fma.f64 x (sin.f64 y) (*.f64 (*.f64 (cos.f64 y) (cbrt.f64 (*.f64 z z))) (cbrt.f64 z)))
40.7b
(/.f64 (+.f64 (pow.f64 (*.f64 x (sin.f64 y)) 3) (pow.f64 (*.f64 z (cos.f64 y)) 3)) (+.f64 (*.f64 (*.f64 x (sin.f64 y)) (*.f64 x (sin.f64 y))) (-.f64 (pow.f64 (*.f64 z (cos.f64 y)) 2) (*.f64 (*.f64 x (sin.f64 y)) (*.f64 z (cos.f64 y))))))
0.1b
(fma.f64 x (sin.f64 y) (*.f64 z (cos.f64 y)))
0.9b
(fma.f64 x (sin.f64 y) (pow.f64 (*.f64 (cbrt.f64 z) (cbrt.f64 (cos.f64 y))) 3))
Compiler

Compiled 2170 to 1093 computations (49.6% saved)

regimes182.0ms (2.6%)

Accuracy

Total 0.1b remaining (39.8%)

Threshold costs 0.1b (39.8%)

Counts
46 → 1
Compiler

Compiled 2888 to 1870 computations (35.2% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1912
2912

end128.0ms (1.8%)

Compiler

Compiled 174 to 108 computations (37.9% saved)

Profiling

Loading profile data...