Details

Time bar (total: 10.1s)

analyze1.5s (15.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
6.2%93.6%0.1%7
9.4%90.5%0.1%8
14%85.8%0.1%9
19.5%80.4%0.1%10
20.7%79.2%0.1%11
22%77.8%0.1%12
23.5%76.4%0.1%13
23.8%76%0.1%14
Compiler

Compiled 13 to 9 computations (30.8% saved)

sample4.3s (42.9%)

Results
2.8s3582×body1024valid
582.0ms1387×body512valid
410.0ms2427×body128valid
299.0ms216×body2048valid
205.0ms644×body256valid
1.0msbody1024invalid
Compiler

Compiled 38 to 26 computations (31.6% saved)

simplify8.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11314
21714
32014
42114
52114

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
14.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.5b
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
Compiler

Compiled 45 to 27 computations (40% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 r (sin.f64 b))
0.2b
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
3.7b
(cos.f64 (+.f64 a b))

series62.0ms (0.6%)

Counts
3 → 68
Calls

3 calls:

51.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
7.0ms
(*.f64 r (sin.f64 b))
4.0ms
(cos.f64 (+.f64 a b))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 53
Calls

3 calls:

4.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
3.0ms
(*.f64 r (sin.f64 b))
3.0ms
(cos.f64 (+.f64 a b))

simplify61.0ms (0.6%)

Algorithm
egg-herbie
Rules
558×fma-def_binary64
517×associate-/r*_binary64
394×associate-*l/_binary64
321×associate-/l/_binary64
308×associate-/r/_binary64
Counts
121 → 124
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02002011
15251879
220031831
350441831

prune123.0ms (1.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1159124
Fresh000
Picked101
Done000
Total1169125
Error
0.1b
Counts
125 → 9
Alt Table
StatusErrorProgram
15.2b
(/.f64 1 (/.f64 (cos.f64 (+.f64 a b)) (*.f64 r (sin.f64 b))))
0.3b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
14.5b
(/.f64 r (/.f64 (cos.f64 (+.f64 a b)) (sin.f64 b)))
15.2b
(/.f64 (*.f64 (*.f64 (cbrt.f64 r) (cbrt.f64 r)) (*.f64 (cbrt.f64 r) (sin.f64 b))) (cos.f64 (+.f64 a b)))
32.9b
(*.f64 (/.f64 r (sqrt.f64 (cos.f64 (+.f64 a b)))) (/.f64 (sin.f64 b) (sqrt.f64 (cos.f64 (+.f64 a b)))))
29.0b
(fma.f64 (/.f64 (sin.f64 b) (cos.f64 b)) r (/.f64 (*.f64 (pow.f64 (sin.f64 b) 2) (*.f64 a r)) (pow.f64 (cos.f64 b) 2)))
29.1b
(fma.f64 (/.f64 b (cos.f64 a)) r (/.f64 (*.f64 (sin.f64 a) (*.f64 b (*.f64 b r))) (pow.f64 (cos.f64 a) 2)))
14.6b
(/.f64 (*.f64 r (sin.f64 b)) (cbrt.f64 (*.f64 (*.f64 (cos.f64 (+.f64 a b)) (cos.f64 (+.f64 a b))) (cos.f64 (+.f64 a b)))))
14.9b
(/.f64 (/.f64 (*.f64 r (sin.f64 b)) (*.f64 (cbrt.f64 (cos.f64 (+.f64 a b))) (cbrt.f64 (cos.f64 (+.f64 a b))))) (cbrt.f64 (cos.f64 (+.f64 a b))))
Compiler

Compiled 2625 to 918 computations (65% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 r (sin.f64 b))
0.1b
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

series148.0ms (1.5%)

Counts
3 → 64
Calls

3 calls:

122.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
16.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
10.0ms
(*.f64 (sin.f64 a) (sin.f64 b))

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 66
Calls

3 calls:

7.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
4.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
3.0ms
(*.f64 (sin.f64 a) (sin.f64 b))

simplify131.0ms (1.3%)

Algorithm
egg-herbie
Rules
824×fma-def_binary64
381×fma-neg_binary64
329×cancel-sign-sub-inv_binary64
204×associate-*r*_binary64
204×distribute-rgt-neg-in_binary64
Counts
130 → 156
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02523500
16913279
225843054
345783049
449963049
549233049

prune235.0ms (2.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New18311194
Fresh718
Picked101
Done000
Total19112203
Error
0.0b
Counts
203 → 12
Alt Table
StatusErrorProgram
0.4b
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))
1.2b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))) (cbrt.f64 (/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))) (cbrt.f64 (/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))))
0.4b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (*.f64 (cbrt.f64 (sin.f64 a)) (cbrt.f64 (sin.f64 a))) (*.f64 (cbrt.f64 (sin.f64 a)) (sin.f64 b)))))
1.0b
(/.f64 1 (/.f64 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) (*.f64 r (sin.f64 b))))
0.3b
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))
1.2b
(*.f64 (*.f64 (cbrt.f64 (/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))) (cbrt.f64 (/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1))))) (cbrt.f64 (/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))))
1.2b
(/.f64 (*.f64 (*.f64 (cbrt.f64 r) (cbrt.f64 r)) (*.f64 (sin.f64 b) (cbrt.f64 r))) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
0.3b
(/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))
0.4b
(*.f64 (/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (pow.f64 (cos.f64 a) 2) (pow.f64 (cos.f64 b) 2)) (*.f64 (pow.f64 (sin.f64 a) 2) (pow.f64 (sin.f64 b) 2)))) (+.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
0.4b
(*.f64 (/.f64 (*.f64 r (sin.f64 b)) (-.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3) (pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3))) (+.f64 (*.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (cos.f64 a) (cos.f64 b))) (+.f64 (*.f64 (*.f64 (sin.f64 a) (sin.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) (*.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))))
0.4b
(*.f64 (*.f64 r (sin.f64 b)) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
14.9b
(/.f64 (/.f64 (*.f64 r (sin.f64 b)) (*.f64 (cbrt.f64 (cos.f64 (+.f64 a b))) (cbrt.f64 (cos.f64 (+.f64 a b))))) (cbrt.f64 (cos.f64 (+.f64 a b))))
Compiler

Compiled 5693 to 1601 computations (71.9% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b))))
0.1b
(*.f64 r (sin.f64 b))
0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))

series133.0ms (1.3%)

Counts
2 → 60
Calls

2 calls:

114.0ms
(/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))
17.0ms
(fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b))))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 33
Calls

2 calls:

4.0ms
(/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))
0.0ms
(fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b))))

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Rules
656×associate-*l*_binary64
468×fma-def_binary64
441×associate-/r*_binary64
304×associate-*l/_binary64
267×associate-/l/_binary64
Counts
93 → 88
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01702771
14512573
216502534
352102534

prune437.0ms (4.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1721173
Fresh2911
Picked011
Done000
Total17411185
Error
0.0b
Counts
185 → 11
Alt Table
StatusErrorProgram
14.9b
(/.f64 (/.f64 (*.f64 r (sin.f64 b)) (*.f64 (cbrt.f64 (cos.f64 (+.f64 a b))) (cbrt.f64 (cos.f64 (+.f64 a b))))) (cbrt.f64 (cos.f64 (+.f64 a b))))
1.2b
(/.f64 (*.f64 (*.f64 r (*.f64 (cbrt.f64 (sin.f64 b)) (cbrt.f64 (sin.f64 b)))) (cbrt.f64 (sin.f64 b))) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))
0.4b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (*.f64 (cbrt.f64 (sin.f64 a)) (cbrt.f64 (sin.f64 a))) (*.f64 (cbrt.f64 (sin.f64 a)) (sin.f64 b)))))
1.0b
(/.f64 1 (/.f64 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) (*.f64 r (sin.f64 b))))
0.3b
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))
1.2b
(*.f64 (*.f64 (cbrt.f64 (/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))) (cbrt.f64 (/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1))))) (cbrt.f64 (/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))))
0.4b
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))
0.3b
(/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))
0.4b
(*.f64 (/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (pow.f64 (cos.f64 a) 2) (pow.f64 (cos.f64 b) 2)) (*.f64 (pow.f64 (sin.f64 a) 2) (pow.f64 (sin.f64 b) 2)))) (+.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
0.4b
(*.f64 (/.f64 (*.f64 r (sin.f64 b)) (-.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3) (pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3))) (+.f64 (*.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (cos.f64 a) (cos.f64 b))) (+.f64 (*.f64 (*.f64 (sin.f64 a) (sin.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) (*.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))))
0.4b
(*.f64 (*.f64 r (sin.f64 b)) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
Compiler

Compiled 4929 to 1418 computations (71.2% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cos.f64 a) (cos.f64 b))
0.1b
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1))
0.2b
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
0.2b
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))

series222.0ms (2.2%)

Counts
4 → 76
Calls

4 calls:

162.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))
25.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1))
24.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
10.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

rewrite62.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
148×times-frac_binary64
141×add-sqr-sqrt_binary64
119×*-un-lft-identity_binary64
104×add-cube-cbrt_binary64
91×prod-diff_binary64
Counts
4 → 222
Calls

4 calls:

14.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1))
10.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))
10.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
3.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify307.0ms (3%)

Algorithm
egg-herbie
Rules
441×cancel-sign-sub-inv_binary64
312×fma-neg_binary64
237×associate-/l*_binary64
227×associate-*r*_binary64
223×associate-*l*_binary64
Counts
298 → 334
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
04067747
18467289
233106828
346896827
449876827
549986827
649096827

prune482.0ms (4.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New3313334
Fresh459
Picked011
Done011
Total33510345
Error
0b
Counts
345 → 10
Alt Table
StatusErrorProgram
0.3b
(/.f64 (*.f64 r (sin.f64 b)) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))
0.9b
(/.f64 r (-.f64 (/.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b))) (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b)))) (cbrt.f64 (*.f64 (cos.f64 a) (cos.f64 b)))) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))
0.4b
(*.f64 (*.f64 r (sin.f64 b)) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
13.9b
(*.f64 (/.f64 r (-.f64 (/.f64 (pow.f64 (cos.f64 a) 2) (/.f64 (pow.f64 (sin.f64 b) 2) (pow.f64 (cos.f64 b) 2))) (pow.f64 (sin.f64 a) 2))) (+.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))
1.2b
(/.f64 (*.f64 (*.f64 r (*.f64 (cbrt.f64 (sin.f64 b)) (cbrt.f64 (sin.f64 b)))) (cbrt.f64 (sin.f64 b))) (fma.f64 (cos.f64 a) (cos.f64 b) (neg.f64 (*.f64 (sin.f64 a) (sin.f64 b)))))
0.4b
(/.f64 r (fma.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (/.f64 1 (sin.f64 b)) (neg.f64 (sin.f64 a))))
0.4b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (*.f64 (cbrt.f64 (sin.f64 a)) (cbrt.f64 (sin.f64 a))) (*.f64 (cbrt.f64 (sin.f64 a)) (sin.f64 b)))))
0.3b
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (/.f64 (sin.f64 a) 1)))
0.4b
(*.f64 (/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (pow.f64 (cos.f64 a) 2) (pow.f64 (cos.f64 b) 2)) (*.f64 (pow.f64 (sin.f64 a) 2) (pow.f64 (sin.f64 b) 2)))) (+.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
0.4b
(*.f64 (/.f64 (*.f64 r (sin.f64 b)) (-.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3) (pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3))) (+.f64 (*.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (cos.f64 a) (cos.f64 b))) (+.f64 (*.f64 (*.f64 (sin.f64 a) (sin.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) (*.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))))
Compiler

Compiled 11983 to 4765 computations (60.2% saved)

regimes1.5s (14.5%)

Accuracy

Total 0.3b remaining (86.1%)

Threshold costs 0.3b (86.1%)

Counts
288 → 1
Compiler

Compiled 29000 to 16854 computations (41.9% saved)

simplify3.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
01326
12326
23126
33626
43826
53826

end192.0ms (1.9%)

Compiler

Compiled 339 to 193 computations (43.1% saved)

Profiling

Loading profile data...