Details

Time bar (total: 9.7s)

analyze1.7s (17.8%)

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.0s (41.1%)

Results
2.5s3582×body1024valid
572.0ms1387×body512valid
411.0ms2427×body128valid
303.0ms216×body2048valid
193.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
+-commutative_binary64
associate-*r/_binary64
associate-*l/_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11314
21614
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 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
Compiler

Compiled 45 to 28 computations (37.8% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series81.0ms (0.8%)

Counts
3 → 52
Calls

3 calls:

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

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
19×times-frac_binary64
19×*-un-lft-identity_binary64
19×add-cube-cbrt_binary64
13×associate-*r*_binary64
Counts
3 → 73
Calls

3 calls:

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

simplify75.0ms (0.8%)

Algorithm
egg-herbie
Rules
696×fma-def_binary64
561×associate-/r*_binary64
437×associate-*l/_binary64
281×associate-/r/_binary64
239×associate-/l/_binary64
Counts
125 → 172
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02442790
16202642
222882580
353172580

prune179.0ms (1.8%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15913172
Fresh000
Picked101
Done000
Total16013173
Error
0.2b
Counts
173 → 13
Alt Table
StatusErrorProgram
14.9b
(*.f64 r (/.f64 (/.f64 (sin.f64 b) (*.f64 (cbrt.f64 (cos.f64 (+.f64 b a))) (cbrt.f64 (cos.f64 (+.f64 b a))))) (cbrt.f64 (cos.f64 (+.f64 a b)))))
36.3b
(*.f64 r (*.f64 (sqrt.f64 (sin.f64 b)) (/.f64 (sqrt.f64 (sin.f64 b)) (cos.f64 (+.f64 b a)))))
14.6b
(*.f64 r (/.f64 (sin.f64 b) (cbrt.f64 (*.f64 (*.f64 (cos.f64 (+.f64 a b)) (cos.f64 (+.f64 a b))) (cos.f64 (+.f64 a b))))))
15.2b
(*.f64 r (*.f64 (*.f64 (cbrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))) (cbrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))) (cbrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))))
29.0b
(+.f64 (/.f64 (*.f64 (sin.f64 b) r) (cos.f64 b)) (/.f64 (*.f64 (pow.f64 (sin.f64 b) 2) (*.f64 a r)) (pow.f64 (cos.f64 b) 2)))
32.9b
(*.f64 (*.f64 r (/.f64 1 (sqrt.f64 (cos.f64 (+.f64 a b))))) (/.f64 (sin.f64 b) (sqrt.f64 (cos.f64 (+.f64 a b)))))
14.5b
(/.f64 (*.f64 (sin.f64 b) r) (cos.f64 (+.f64 a b)))
35.2b
(*.f64 (*.f64 r (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))) (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))))
14.7b
(*.f64 r (/.f64 (sin.f64 b) (log.f64 (exp.f64 (cos.f64 (+.f64 a b))))))
0.4b
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
14.5b
(*.f64 (*.f64 r (sin.f64 b)) (/.f64 1 (cos.f64 (+.f64 a b))))
15.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))) (cbrt.f64 (*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))))) (cbrt.f64 (*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))))
18.2b
(*.f64 r (expm1.f64 (log1p.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))))
Compiler

Compiled 4123 to 1357 computations (67.1% saved)

localize380.0ms (3.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
0.2b
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

series198.0ms (2%)

Counts
4 → 80
Calls

4 calls:

108.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
65.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
14.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))

rewrite30.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
20×associate-*r*_binary64
19×times-frac_binary64
Counts
4 → 110
Calls

4 calls:

8.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
7.0ms
(/.f64 (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))

simplify149.0ms (1.5%)

Algorithm
egg-herbie
Rules
386×fma-neg_binary64
323×cancel-sign-sub-inv_binary64
290×associate-*r*_binary64
268×associate-*l*_binary64
198×distribute-rgt-neg-in_binary64
Counts
190 → 216
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03315599
18715281
232585029
345305023
449715023

prune247.0ms (2.6%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New20511216
Fresh9312
Picked101
Done000
Total21514229
Error
0b
Counts
229 → 14
Alt Table
StatusErrorProgram
34.2b
(cbrt.f64 (pow.f64 (/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1))) 3))
0.6b
(*.f64 r (log1p.f64 (expm1.f64 (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))))
35.2b
(*.f64 (*.f64 r (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))) (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a 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)))))
0.3b
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
31.0b
(*.f64 (sqrt.f64 (/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1)))) (sqrt.f64 (/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1)))))
24.8b
(*.f64 r (log.f64 (exp.f64 (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))))
0.5b
(*.f64 r (*.f64 (/.f64 (sin.f64 b) (-.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 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1)))
29.6b
(*.f64 (*.f64 r (sqrt.f64 (sin.f64 b))) (/.f64 (sqrt.f64 (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
0.6b
(*.f64 r (/.f64 (sin.f64 b) (cbrt.f64 (pow.f64 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) 3))))
15.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))) (cbrt.f64 (*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))))) (cbrt.f64 (*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))))
32.9b
(*.f64 (*.f64 r (/.f64 1 (sqrt.f64 (cos.f64 (+.f64 a b))))) (/.f64 (sin.f64 b) (sqrt.f64 (cos.f64 (+.f64 a b)))))
1.2b
(*.f64 (*.f64 (cbrt.f64 r) (cbrt.f64 r)) (/.f64 (cbrt.f64 r) (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1))))
Compiler

Compiled 6657 to 1973 computations (70.4% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (sin.f64 b) r)
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 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

series116.0ms (1.2%)

Counts
2 → 28
Calls

2 calls:

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

rewrite13.0ms (0.1%)

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

2 calls:

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

simplify59.0ms (0.6%)

Algorithm
egg-herbie
Rules
542×associate-/r*_binary64
499×fma-def_binary64
346×associate-/l/_binary64
337×associate-/r/_binary64
159×associate-/l*_binary64
Counts
75 → 98
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01972205
15422011
221011931
350021931

prune218.0ms (2.3%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1783181
Fresh31013
Picked011
Done000
Total18114195
Error
0b
Counts
195 → 14
Alt Table
StatusErrorProgram
0.6b
(*.f64 r (log1p.f64 (expm1.f64 (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))))
35.2b
(*.f64 (*.f64 r (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))) (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a 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)))))
0.3b
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
1.1b
(/.f64 1 (fma.f64 (/.f64 (cos.f64 a) r) (/.f64 (cos.f64 b) (sin.f64 b)) (*.f64 -1 (/.f64 (sin.f64 a) r))))
0.6b
(*.f64 r (/.f64 (sin.f64 b) (cbrt.f64 (pow.f64 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) 3))))
31.0b
(*.f64 (sqrt.f64 (/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1)))) (sqrt.f64 (/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1)))))
24.8b
(*.f64 r (log.f64 (exp.f64 (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))))
0.3b
(/.f64 (*.f64 (sin.f64 b) r) (fma.f64 (cos.f64 a) (cos.f64 b) (*.f64 (sin.f64 a) (neg.f64 (sin.f64 b)))))
0.4b
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (*.f64 (sin.f64 a) (*.f64 (cbrt.f64 (sin.f64 b)) (cbrt.f64 (sin.f64 b)))) (cbrt.f64 (sin.f64 b)))))
0.5b
(*.f64 r (*.f64 (/.f64 (sin.f64 b) (-.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)))))
29.6b
(*.f64 (*.f64 r (sqrt.f64 (sin.f64 b))) (/.f64 (sqrt.f64 (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
32.9b
(*.f64 (*.f64 r (/.f64 1 (sqrt.f64 (cos.f64 (+.f64 a b))))) (/.f64 (sin.f64 b) (sqrt.f64 (cos.f64 (+.f64 a b)))))
1.2b
(*.f64 (*.f64 (cbrt.f64 r) (cbrt.f64 r)) (/.f64 (cbrt.f64 r) (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1))))
Compiler

Compiled 5261 to 1518 computations (71.1% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series147.0ms (1.5%)

Counts
3 → 84
Calls

3 calls:

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

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
10×associate-*r*_binary64
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
Counts
3 → 61
Calls

3 calls:

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

simplify110.0ms (1.1%)

Algorithm
egg-herbie
Rules
672×fma-def_binary64
317×fma-neg_binary64
253×associate-/l/_binary64
211×associate-*r*_binary64
206×associate-*l*_binary64
Counts
145 → 147
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02403500
16293274
223783207
348813202
450043202

prune231.0ms (2.4%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1832185
Fresh21012
Picked011
Done011
Total18514199
Error
0b
Counts
199 → 14
Alt Table
StatusErrorProgram
0.6b
(*.f64 r (log1p.f64 (expm1.f64 (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))))
35.2b
(*.f64 (*.f64 r (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))) (sqrt.f64 (/.f64 (sin.f64 b) (cos.f64 (+.f64 a 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)))))
0.3b
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
1.1b
(/.f64 1 (fma.f64 (/.f64 (cos.f64 a) r) (/.f64 (cos.f64 b) (sin.f64 b)) (*.f64 -1 (/.f64 (sin.f64 a) r))))
0.6b
(*.f64 r (/.f64 (sin.f64 b) (cbrt.f64 (pow.f64 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))) 3))))
31.0b
(*.f64 (sqrt.f64 (/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1)))) (sqrt.f64 (/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1)))))
0.3b
(/.f64 (*.f64 (sin.f64 b) r) (fma.f64 (cos.f64 a) (cos.f64 b) (*.f64 (sin.f64 a) (neg.f64 (sin.f64 b)))))
0.6b
(*.f64 (/.f64 (sin.f64 b) 1) (/.f64 r (fma.f64 (cos.f64 a) (cos.f64 b) (*.f64 (sin.f64 a) (neg.f64 (sin.f64 b))))))
0.5b
(*.f64 r (*.f64 (/.f64 (sin.f64 b) (-.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)))))
29.6b
(*.f64 (*.f64 r (sqrt.f64 (sin.f64 b))) (/.f64 (sqrt.f64 (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
32.9b
(*.f64 (*.f64 r (/.f64 1 (sqrt.f64 (cos.f64 (+.f64 a b))))) (/.f64 (sin.f64 b) (sqrt.f64 (cos.f64 (+.f64 a b)))))
1.2b
(*.f64 (*.f64 (cbrt.f64 r) (cbrt.f64 r)) (/.f64 (cbrt.f64 r) (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (/.f64 (sin.f64 a) 1))))
1.0b
(/.f64 1 (/.f64 (fma.f64 (cos.f64 a) (cos.f64 b) (*.f64 (sin.f64 a) (neg.f64 (sin.f64 b)))) (*.f64 (sin.f64 b) r)))
Compiler

Compiled 4827 to 1285 computations (73.4% saved)

regimes1.4s (14.4%)

Accuracy

Total 0.3b remaining (88.8%)

Threshold costs 0.3b (88.8%)

Counts
194 → 1
Compiler

Compiled 21560 to 12507 computations (42% 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
12126
22826
33426
43726
53826
63826

end279.0ms (2.9%)

Compiler

Compiled 370 to 230 computations (37.8% saved)

Profiling

Loading profile data...