Details

Time bar (total: 4.4s)

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

Compiled 13 to 9 computations (30.8% saved)

sample2.2s (50.1%)

Results
924.0ms1303×body1024valid
862.0ms5911×body128valid
290.0ms716×body512valid
91.0ms318×body256valid
11.0msbody2048valid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
+-commutative_binary64
associate-+r+_binary64
associate-+l+_binary64
*-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0914
11412
22212
32612
42612

prune3.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 z (cos.f64 y) (+.f64 x (sin.f64 y)))
Compiler

Compiled 42 to 23 computations (45.2% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series20.0ms (0.4%)

Counts
3 → 64
Calls

3 calls:

12.0ms
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
4.0ms
(+.f64 x (sin.f64 y))
3.0ms
(cos.f64 y)

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
fma-def_binary64
Counts
3 → 36
Calls

3 calls:

2.0ms
(+.f64 x (sin.f64 y))
1.0ms
(cos.f64 y)
0.0ms
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))

simplify125.0ms (2.8%)

Algorithm
egg-herbie
Rules
607×cancel-sign-sub-inv_binary64
443×distribute-rgt-neg-in_binary64
357×distribute-rgt-in_binary64
346×sub-neg_binary64
340×distribute-lft-in_binary64
Counts
100 → 80
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
092991
1226940
2515929
31512928
43685928
54604928
64967928
74999928
84879928

prune49.0ms (1.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New76480
Fresh000
Picked011
Done000
Total76581
Error
0.0b
Counts
81 → 5
Alt Table
StatusErrorProgram
34.7b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))
31.9b
(-.f64 (+.f64 y (+.f64 z x)) (*.f64 1/2 (*.f64 (pow.f64 y 2) z)))
0.2b
(fma.f64 z (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))) (+.f64 x (sin.f64 y)))
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
0.1b
(fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) (+.f64 x (sin.f64 y)))
Compiler

Compiled 1167 to 405 computations (65.3% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (sin.f64 y))
0.1b
(fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) (+.f64 x (sin.f64 y)))
0.2b
(expm1.f64 (log1p.f64 (cos.f64 y)))
0.3b
(log1p.f64 (cos.f64 y))

series218.0ms (5%)

Counts
3 → 60
Calls

3 calls:

200.0ms
(log1p.f64 (cos.f64 y))
16.0ms
(fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) (+.f64 x (sin.f64 y)))
2.0ms
(expm1.f64 (log1p.f64 (cos.f64 y)))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
3 → 32
Calls

3 calls:

0.0ms
(log1p.f64 (cos.f64 y))
0.0ms
(fma.f64 z (expm1.f64 (log1p.f64 (cos.f64 y))) (+.f64 x (sin.f64 y)))
0.0ms
(expm1.f64 (log1p.f64 (cos.f64 y)))

simplify88.0ms (2%)

Algorithm
egg-herbie
Rules
543×distribute-rgt-neg-in_binary64
450×distribute-lft-neg-in_binary64
413×sub-neg_binary64
354×fma-neg_binary64
308×*-commutative_binary64
Counts
92 → 78
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
086904
1176855
2442846
31419846
43440846
54714846
64998846

prune78.0ms (1.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1062108
Fresh123
Picked101
Done011
Total1085113
Error
0.0b
Counts
113 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
31.9b
(fma.f64 (*.f64 (*.f64 y y) z) -1/2 (+.f64 y (+.f64 x z)))
34.7b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))
17.4b
(fma.f64 z (expm1.f64 (*.f64 (sqrt.f64 (log1p.f64 (cos.f64 y))) (sqrt.f64 (log1p.f64 (cos.f64 y))))) (+.f64 x (sin.f64 y)))
0.2b
(fma.f64 z (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))) (+.f64 x (sin.f64 y)))
Compiler

Compiled 1691 to 550 computations (67.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))) (+.f64 x (sin.f64 y)))
0.1b
(*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))
0.3b
(*.f64 (cos.f64 y) (cos.f64 y))
0.4b
(cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))

series25.0ms (0.6%)

Counts
4 → 72
Calls

4 calls:

15.0ms
(fma.f64 z (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))) (+.f64 x (sin.f64 y)))
6.0ms
(*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))
3.0ms
(*.f64 (cos.f64 y) (cos.f64 y))
2.0ms
(cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
30×pow1_binary64
14×add-cbrt-cube_binary64
12×add-sqr-sqrt_binary64
11×add-exp-log_binary64
*-un-lft-identity_binary64
Counts
4 → 84
Calls

4 calls:

5.0ms
(*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))
4.0ms
(cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))
3.0ms
(*.f64 (cos.f64 y) (cos.f64 y))
0.0ms
(fma.f64 z (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))) (+.f64 x (sin.f64 y)))

simplify106.0ms (2.4%)

Algorithm
egg-herbie
Rules
644×unswap-sqr_binary64
637×fma-neg_binary64
472×associate-*l*_binary64
404×associate-*r*_binary64
290×exp-prod_binary64
Counts
156 → 148
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01351575
12801321
27661306
325441261
440851215
546931215
649361215

prune130.0ms (3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1462148
Fresh033
Picked101
Done011
Total1476153
Error
0.0b
Counts
153 → 6
Alt Table
StatusErrorProgram
17.4b
(fma.f64 z (expm1.f64 (*.f64 (sqrt.f64 (log1p.f64 (cos.f64 y))) (sqrt.f64 (log1p.f64 (cos.f64 y))))) (+.f64 x (sin.f64 y)))
0.2b
(fma.f64 z (log.f64 (exp.f64 (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))))) (+.f64 x (sin.f64 y)))
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
31.9b
(fma.f64 (*.f64 (*.f64 y y) z) -1/2 (+.f64 y (+.f64 x z)))
34.7b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))
0.2b
(fma.f64 z (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) (cos.f64 y))) (cbrt.f64 (cos.f64 y))) (+.f64 x (sin.f64 y)))
Compiler

Compiled 2810 to 871 computations (69% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))
0.3b
(*.f64 (cos.f64 y) (cos.f64 y))
0.3b
(log.f64 (exp.f64 (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))))
0.4b
(cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))

series2.0ms (0%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(log.f64 (exp.f64 (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))))

rewrite2.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
log-pow_binary64
exp-prod_binary64
log-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
1 → 18
Calls

1 calls:

2.0ms
(log.f64 (exp.f64 (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y)))))

simplify90.0ms (2%)

Algorithm
egg-herbie
Rules
1004×fma-neg_binary64
777×cancel-sign-sub-inv_binary64
308×distribute-rgt-neg-in_binary64
288×unswap-sqr_binary64
273×distribute-lft-neg-in_binary64
Counts
30 → 40
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055460
189283
2170199
3403197
41310197
54061197
64806197
74976197
84937197

prune150.0ms (3.4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1550155
Fresh044
Picked011
Done011
Total1556161
Error
0.0b
Counts
161 → 6
Alt Table
StatusErrorProgram
17.4b
(fma.f64 z (expm1.f64 (*.f64 (sqrt.f64 (log1p.f64 (cos.f64 y))) (sqrt.f64 (log1p.f64 (cos.f64 y))))) (+.f64 x (sin.f64 y)))
0.2b
(fma.f64 z (log.f64 (exp.f64 (cbrt.f64 (*.f64 (*.f64 (cos.f64 y) (cos.f64 y)) (cos.f64 y))))) (+.f64 x (sin.f64 y)))
0.1b
(fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))
31.9b
(fma.f64 (*.f64 (*.f64 y y) z) -1/2 (+.f64 y (+.f64 x z)))
34.7b
(cbrt.f64 (*.f64 (*.f64 (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))) (fma.f64 z (cos.f64 y) (+.f64 x (sin.f64 y)))))
0.2b
(fma.f64 z (*.f64 (cbrt.f64 (*.f64 (cos.f64 y) (cos.f64 y))) (cbrt.f64 (cos.f64 y))) (+.f64 x (sin.f64 y)))
Compiler

Compiled 3247 to 1120 computations (65.5% saved)

regimes334.0ms (7.6%)

Accuracy

Total 0.0b remaining (39.1%)

Threshold costs 0.0b (39.1%)

Counts
85 → 1
Compiler

Compiled 5276 to 3618 computations (31.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
1912
2912

end83.0ms (1.9%)

Compiler

Compiled 136 to 74 computations (45.6% saved)

Profiling

Loading profile data...