Details

Time bar (total: 8.4s)

analyze1.3s (15.2%)

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
12.5%87.4%0.1%7
18.7%81.1%0.1%8
26.5%72.9%0.5%9
38.2%60.7%1.1%10
41.7%54.9%3.4%11
47.6%47.4%5%12
53.4%39.4%7.2%13
54.9%34.5%10.6%14
Compiler

Compiled 20 to 15 computations (25% saved)

sample238.0ms (2.8%)

Algorithm
intervals
Symmetry

(sort c s)

Results
20.0ms204×body128valid
13.0ms27×body1024valid
6.0ms16×body512valid
6.0msbody512invalid
5.0ms55×body128invalid
4.0msbody1024invalid
2.0msbody256valid
1.0msbody256invalid
Compiler

Compiled 42 to 32 computations (23.8% saved)

simplify112.0ms (1.3%)

Algorithm
egg-herbie
Rules
750×unswap-sqr_binary64
704×sqr-pow_binary64
582×*-commutative_binary64
574×fabs-mul_binary64
502×cube-prod_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01324
12924
26824
321424
483324
5136724
6208424
7214924
8223024
9233124
10246424
11250124
12258024
13285324
14327724
15380424
16451824
17491124

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
29.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
29.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
Compiler

Compiled 73 to 51 computations (30.1% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
6.0b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
9.5b
(*.f64 x (pow.f64 s 2))
17.9b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

series206.0ms (2.4%)

Counts
4 → 120
Calls

4 calls:

149.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
37.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
11.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.0ms
(*.f64 x (pow.f64 s 2))

rewrite37.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
122×add-exp-log_binary64
82×prod-exp_binary64
34×add-cbrt-cube_binary64
18×add-sqr-sqrt_binary64
18×pow-exp_binary64
Counts
4 → 127
Calls

4 calls:

11.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
8.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
5.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
4.0ms
(*.f64 x (pow.f64 s 2))

simplify149.0ms (1.8%)

Algorithm
egg-herbie
Rules
709×associate-/l*_binary64
426×*-commutative_binary64
391×fma-def_binary64
263×associate-/l/_binary64
226×associate-*l*_binary64
Counts
247 → 187
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01914648
14234174
214794157
345654141
449724141
550204141

prune248.0ms (2.9%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New17314187
Fresh000
Picked101
Done000
Total17414188
Error
12.2b
Counts
188 → 14
Alt Table
StatusErrorProgram
29.6b
(*.f64 (/.f64 1 (pow.f64 c 2)) (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
24.1b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 x (*.f64 s (cbrt.f64 s))) (pow.f64 (cbrt.f64 s) 2)) x)))
46.4b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (+.f64 (log.f64 (pow.f64 c 2)) (+.f64 (+.f64 (log.f64 x) (log.f64 (pow.f64 s 2))) (log.f64 x)))))
52.5b
(exp.f64 (-.f64 (log.f64 (cos.f64 (*.f64 2 x))) (+.f64 (log.f64 (pow.f64 c 2)) (+.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 s) 2)) (log.f64 x)))))
30.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 s s) (*.f64 x x)))))
58.8b
(exp.f64 (-.f64 (log.f64 (cos.f64 (*.f64 2 x))) (+.f64 (*.f64 (log.f64 c) 2) (+.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 s) 2)) (log.f64 x)))))
26.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
19.1b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
22.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 x s) s) x)))
33.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 s x) (pow.f64 (sqrt.f64 s) 2)) x)))
32.7b
(-.f64 (/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x)))) (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x)))))
46.9b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (+.f64 (log.f64 (pow.f64 c 2)) (+.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 s) 2)) (log.f64 x)))))
57.6b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (fma.f64 2 (+.f64 (log.f64 c) (log.f64 s)) (*.f64 2 (log.f64 x)))))
27.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (*.f64 x (pow.f64 s 2))) x))
Compiler

Compiled 4966 to 3000 computations (39.6% saved)

localize14.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))
0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
17.9b
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))

series228.0ms (2.7%)

Counts
3 → 96
Calls

3 calls:

182.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
31.0ms
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))
15.0ms
(*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
39×add-exp-log_binary64
19×add-cbrt-cube_binary64
19×prod-exp_binary64
15×add-sqr-sqrt_binary64
12×associate-*l*_binary64
Counts
3 → 94
Calls

3 calls:

7.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
6.0ms
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))
4.0ms
(*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))

simplify128.0ms (1.5%)

Algorithm
egg-herbie
Rules
444×unswap-sqr_binary64
365×associate-/l/_binary64
258×associate-*r/_binary64
247×fma-def_binary64
237×associate-*l/_binary64
Counts
190 → 146
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01503754
13283350
216093296
343103242
449813242
550213242

prune306.0ms (3.6%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New13412146
Fresh8513
Picked101
Done000
Total14317160
Error
3.6b
Counts
160 → 17
Alt Table
StatusErrorProgram
19.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (pow.f64 (cbrt.f64 (fabs.f64 (*.f64 s x))) 5) (cbrt.f64 (fabs.f64 (*.f64 s x))))))
15.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
29.6b
(*.f64 (/.f64 1 (pow.f64 c 2)) (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
46.4b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (+.f64 (log.f64 (pow.f64 c 2)) (+.f64 (+.f64 (log.f64 x) (log.f64 (pow.f64 s 2))) (log.f64 x)))))
57.6b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (fma.f64 2 (+.f64 (log.f64 c) (log.f64 s)) (*.f64 2 (log.f64 x)))))
14.1b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
30.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 s s) (*.f64 x x)))))
21.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 s) (*.f64 (fabs.f64 x) (fabs.f64 (*.f64 s x))))))
26.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
50.1b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 (sqrt.f64 c) 2) (fabs.f64 (*.f64 s x))) (*.f64 (pow.f64 (sqrt.f64 c) 2) (fabs.f64 (*.f64 s x)))))
19.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2))) (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))) (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))))
54.1b
(exp.f64 (fma.f64 -2 (log.f64 (*.f64 c (fabs.f64 (*.f64 s x)))) (log.f64 (cos.f64 (*.f64 2 x)))))
6.9b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
4.1b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
28.5b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (cos.f64 (*.f64 2 x)) (cos.f64 (*.f64 2 x))) (cos.f64 (*.f64 2 x))) (*.f64 (*.f64 (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))))
15.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 (*.f64 (cbrt.f64 c) (cbrt.f64 c)) 2) (*.f64 (pow.f64 (fabs.f64 (*.f64 s x)) 2) (pow.f64 (cbrt.f64 c) 2))))
19.2b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 c 2)) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))
Compiler

Compiled 4463 to 2222 computations (50.2% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)
0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
5.4b
(*.f64 c (fabs.f64 (*.f64 s x)))

series204.0ms (2.4%)

Counts
3 → 72
Calls

3 calls:

175.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
20.0ms
(pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)
8.0ms
(*.f64 c (fabs.f64 (*.f64 s x)))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
18×times-frac_binary64
17×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
16×add-exp-log_binary64
Counts
3 → 86
Calls

3 calls:

4.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
3.0ms
(*.f64 c (fabs.f64 (*.f64 s x)))
3.0ms
(pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)

simplify98.0ms (1.2%)

Algorithm
egg-herbie
Rules
702×associate-/l*_binary64
356×fma-def_binary64
308×associate-/l/_binary64
208×*-commutative_binary64
202×associate-*r/_binary64
Counts
158 → 107
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01513209
12953090
211633083
342103081
449543081

prune210.0ms (2.5%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New989107
Fresh9716
Picked101
Done000
Total10816124
Error
0.1b
Counts
124 → 16
Alt Table
StatusErrorProgram
3.9b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (cbrt.f64 (cos.f64 (*.f64 2 x)))) (*.f64 c (fabs.f64 (*.f64 s x)))) (/.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (*.f64 c (fabs.f64 (*.f64 s x)))))
15.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
29.6b
(*.f64 (/.f64 1 (pow.f64 c 2)) (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
4.7b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (*.f64 (cbrt.f64 (fabs.f64 (*.f64 s x))) (cbrt.f64 (fabs.f64 (*.f64 s x))))) (cbrt.f64 (fabs.f64 (*.f64 s x)))) 2))
22.8b
(/.f64 (cos.f64 (*.f64 2 x)) (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 6)))
4.5b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))) (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))) (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))))
26.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
19.2b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 c 2)) (pow.f64 (fabs.f64 (*.f64 s x)) 2))
12.6b
(*.f64 (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))) (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))))
19.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2))) (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))) (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))))
4.1b
(/.f64 1 (/.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2) (cos.f64 (*.f64 2 x))))
3.1b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
6.9b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
14.1b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
28.5b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (cos.f64 (*.f64 2 x)) (cos.f64 (*.f64 2 x))) (cos.f64 (*.f64 2 x))) (*.f64 (*.f64 (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))))
3.8b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (fabs.f64 (*.f64 s x)))) (*.f64 c (fabs.f64 (*.f64 s x))))
Compiler

Compiled 3263 to 1783 computations (45.4% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)
0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
6.1b
(*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))

series302.0ms (3.6%)

Counts
3 → 108
Calls

3 calls:

258.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
28.0ms
(pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)
16.0ms
(*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))

rewrite21.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
26×add-exp-log_binary64
18×times-frac_binary64
18×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
Counts
3 → 92
Calls

3 calls:

6.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
5.0ms
(*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))
5.0ms
(pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)

simplify127.0ms (1.5%)

Algorithm
egg-herbie
Rules
480×associate-/l/_binary64
283×associate-*l/_binary64
273×fma-def_binary64
266×unswap-sqr_binary64
245×log-prod_binary64
Counts
200 → 157
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01774049
13613907
217563439
343383439
449503439

prune312.0ms (3.7%)

Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New1507157
Fresh51015
Picked011
Done000
Total15518173
Error
0.0b
Counts
173 → 18
Alt Table
StatusErrorProgram
11.9b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))) (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)))) 2))
22.8b
(/.f64 (cos.f64 (*.f64 2 x)) (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 6)))
4.5b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))) (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))) (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))))
14.1b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
6.8b
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (*.f64 (cbrt.f64 (pow.f64 (*.f64 c (*.f64 (fabs.f64 s) x)) 2)) (cbrt.f64 (pow.f64 (*.f64 c (*.f64 (fabs.f64 s) x)) 2)))) (cbrt.f64 (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)))
3.8b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (fabs.f64 (*.f64 s x)))) (*.f64 c (fabs.f64 (*.f64 s x))))
2.9b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))) (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)))
26.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
19.2b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 c 2)) (pow.f64 (fabs.f64 (*.f64 s x)) 2))
21.7b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 s)) 2)) (pow.f64 (fabs.f64 x) 2))
19.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2))) (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))) (cbrt.f64 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))))
4.1b
(/.f64 1 (/.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2) (cos.f64 (*.f64 2 x))))
3.1b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
6.9b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
3.3b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 (*.f64 c (fabs.f64 s)) (sqrt.f64 (fabs.f64 x))) (sqrt.f64 (fabs.f64 x))) 2))
29.6b
(*.f64 (/.f64 1 (pow.f64 c 2)) (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.5b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)) (cbrt.f64 (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)))) (cbrt.f64 (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)))
19.7b
(/.f64 (/.f64 (cos.f64 (*.f64 x 2)) (*.f64 c (*.f64 (fabs.f64 s) x))) (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)))
Compiler

Compiled 4030 to 2073 computations (48.6% saved)

regimes1.5s (17.5%)

Accuracy

Total 0.7b remaining (88.7%)

Threshold costs 0.7b (88.7%)

Counts
167 → 2
Compiler

Compiled 26807 to 18288 computations (31.8% saved)

bsearch8.0ms (0.1%)

Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02889
13789
23889
33889

end8.0ms (0.1%)

Compiler

Compiled 180 to 102 computations (43.3% saved)

sample2.6s (31.3%)

Algorithm
intervals
Results
637.0ms6173×body128valid
469.0ms934×body1024valid
187.0ms1822×body128invalid
163.0ms569×body512valid
100.0ms216×body1024invalid
70.0ms321×body256valid
70.0ms236×body512invalid
35.0ms168×body256invalid
3.0msbody2048valid
Compiler

Compiled 541 to 342 computations (36.8% saved)

Profiling

Loading profile data...