Details

Time bar (total: 5.0s)

analyze466.0ms (9.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
25%74.9%0.1%6
37.4%62.4%0.1%7
56.2%43.7%0.1%8
56.2%43.7%0.1%9
65.5%34.3%0.1%10
76.5%23.4%0.1%11
76.5%23.4%0.1%12
81.9%17.9%0.1%13
87.8%12.1%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample2.8s (55.1%)

Results
1.4s2052×body1024valid
704.0ms4648×body128valid
437.0ms1053×body512valid
147.0ms495×body256valid
11.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify12.0ms (0.2%)

Algorithm
egg-herbie
Rules
171×fma-def_binary64
87×fma-neg_binary64
37×cancel-sign-sub-inv_binary64
23×distribute-rgt-neg-in_binary64
20×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11714
23214
34914
47614
512414
620514
730614
840814
952414
1058214
1158814
Stop Event
saturated
Counts
1 → 1

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.1b
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series29.0ms (0.6%)

Counts
4 → 88
Calls

4 calls:

15.0ms
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
6.0ms
(*.f64 z (sin.f64 y))
6.0ms
(*.f64 x (cos.f64 y))
1.0ms
(cos.f64 y)

rewrite67.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
518×log-prod_binary64
391×fma-def_binary64
228×egg-rr
190×fma-neg_binary64
184×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0929
119829
2264829
Stop Event
node limit
Counts
4 → 228
Calls

4 calls:

61.0ms
(cos.f64 y)
61.0ms
(-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))
61.0ms
(*.f64 x (cos.f64 y))
61.0ms
(*.f64 z (sin.f64 y))

simplify39.0ms (0.8%)

Algorithm
egg-herbie
Rules
762×fma-neg_binary64
283×distribute-lft-neg-in_binary64
280×distribute-rgt-neg-in_binary64
261×fma-def_binary64
209×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
066906
1198891
2596866
32235865
Stop Event
node limit
Counts
316 → 259

prune198.0ms (4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New24811259
Fresh000
Picked101
Done000
Total24911260
Error
0.0b
Counts
260 → 11
Alt Table
StatusErrorProgram
21.6b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
0.1b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))
0.2b
(-.f64 (*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y)))) (*.f64 z (sin.f64 y)))
15.6b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 2) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
29.9b
(-.f64 (cbrt.f64 (pow.f64 (*.f64 x (cos.f64 y)) 3)) (*.f64 z (sin.f64 y)))
26.1b
(fma.f64 (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (*.f64 x (cos.f64 y)))
0.4b
(fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
33.4b
(pow.f64 (sqrt.f64 (-.f64 (*.f64 x (cos.f64 y)) (*.f64 z (sin.f64 y)))) 2)
35.2b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
Compiler

Compiled 5602 to 1373 computations (75.5% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series14.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

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

rewrite35.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
718×log1p-expm1-u_binary64
718×expm1-log1p-u_binary64
216×prod-diff_binary64
93×add-sqr-sqrt_binary64
84×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0914
117912
2220412
Stop Event
node limit
Counts
1 → 23
Calls

1 calls:

34.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (cos.f64 y)))

simplify28.0ms (0.6%)

Algorithm
egg-herbie
Rules
864×fma-neg_binary64
804×cancel-sign-sub-inv_binary64
381×distribute-rgt-neg-in_binary64
336×distribute-lft-neg-in_binary64
319×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027458
175458
2197458
3565454
42280454
Stop Event
node limit
Counts
59 → 34

prune89.0ms (1.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New84387
Fresh4610
Picked101
Done000
Total89998
Error
0.0b
Counts
98 → 9
Alt Table
StatusErrorProgram
0.2b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.4b
(fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
26.1b
(fma.f64 (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (*.f64 x (cos.f64 y)))
21.6b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y)))))
35.2b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
15.6b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 z (neg.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3))
Compiler

Compiled 1497 to 623 computations (58.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y)))))
0.1b
(*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y))))
0.1b
(expm1.f64 (log1p.f64 (cos.f64 y)))
0.3b
(log1p.f64 (cos.f64 y))

series165.0ms (3.3%)

Counts
4 → 84
Calls

4 calls:

142.0ms
(log1p.f64 (cos.f64 y))
14.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y)))))
8.0ms
(*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y))))
1.0ms
(expm1.f64 (log1p.f64 (cos.f64 y)))

rewrite53.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
793×expm1-log1p-u_binary64
792×log1p-expm1-u_binary64
251×prod-diff_binary64
101×add-sqr-sqrt_binary64
91×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01128
120026
2241126
Stop Event
node limit
Counts
4 → 75
Calls

4 calls:

52.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y)))))
52.0ms
(*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y))))
52.0ms
(expm1.f64 (log1p.f64 (cos.f64 y)))
52.0ms
(log1p.f64 (cos.f64 y))

simplify35.0ms (0.7%)

Algorithm
egg-herbie
Rules
619×fma-neg_binary64
324×*-commutative_binary64
235×distribute-rgt-neg-in_binary64
229×distribute-lft-neg-in_binary64
215×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
066828
1186821
2530805
31977803
Stop Event
node limit
Counts
159 → 108

prune88.0ms (1.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh088
Picked011
Done000
Total1089117
Error
0.0b
Counts
117 → 9
Alt Table
StatusErrorProgram
0.2b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.4b
(fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
26.1b
(fma.f64 (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (*.f64 x (cos.f64 y)))
21.6b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y)))))
35.2b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
15.6b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 z (neg.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3))
Compiler

Compiled 1845 to 815 computations (55.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series54.0ms (1.1%)

Counts
3 → 84
Calls

3 calls:

23.0ms
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
16.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))))
14.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))

rewrite50.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
897×expm1-log1p-u_binary64
708×prod-diff_binary64
114×add-sqr-sqrt_binary64
104×log1p-expm1-u_binary64
103×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01164
122051
2274551
Stop Event
node limit
Counts
3 → 68
Calls

3 calls:

49.0ms
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
49.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y))))
49.0ms
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))

simplify45.0ms (0.9%)

Algorithm
egg-herbie
Rules
760×fma-def_binary64
433×cancel-sign-sub-inv_binary64
408×fma-neg_binary64
399×associate-*l*_binary64
325×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
044726
1127720
2359708
31157704
44458704
Stop Event
node limit
Counts
152 → 89

prune93.0ms (1.9%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1121113
Fresh077
Picked011
Done011
Total11210122
Error
0.0b
Counts
122 → 10
Alt Table
StatusErrorProgram
0.2b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (cbrt.f64 (pow.f64 (cos.f64 y) 3))))
0.4b
(fma.f64 (pow.f64 (cbrt.f64 (cos.f64 y)) 2) (*.f64 (cbrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 z (sin.f64 y)))))
26.1b
(fma.f64 (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (sqrt.f64 (*.f64 (sin.f64 y) (neg.f64 z))) (*.f64 x (cos.f64 y)))
21.6b
(fma.f64 (cbrt.f64 (*.f64 x x)) (*.f64 (cbrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
0.2b
(fma.f64 z (neg.f64 (sin.f64 y)) (*.f64 x (expm1.f64 (log1p.f64 (cos.f64 y)))))
30.9b
(fma.f64 x (cos.f64 y) (fma.f64 z (neg.f64 (sin.f64 y)) (fma.f64 z (neg.f64 (sin.f64 y)) (pow.f64 (sqrt.f64 (*.f64 z (sin.f64 y))) 2))))
35.2b
(fma.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (cos.f64 y)) (*.f64 (sin.f64 y) (neg.f64 z)))
15.6b
(fma.f64 (sqrt.f64 (cos.f64 y)) (*.f64 (sqrt.f64 (cos.f64 y)) x) (*.f64 (sin.f64 y) (neg.f64 z)))
0.9b
(fma.f64 z (neg.f64 (sin.f64 y)) (pow.f64 (cbrt.f64 (*.f64 x (cos.f64 y))) 3))
Compiler

Compiled 2505 to 710 computations (71.7% saved)

regimes500.0ms (10%)

Accuracy

Total 0.1b remaining (78.3%)

Threshold costs 0.1b (78.3%)

Counts
121 → 1
Compiler

Compiled 7608 to 5078 computations (33.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
11814
22014
32114
Stop Event
saturated

end141.0ms (2.8%)

Compiler

Compiled 203 to 125 computations (38.4% saved)

Profiling

Loading profile data...