Details

Time bar (total: 10.6s)

analyze1.3s (12.7%)

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)

sample3.9s (36.8%)

Symmetry

(sort c s)

Results
1.8s6297×body128valid
753.0ms975×body1024valid
376.0ms1978×body128invalid
312.0ms652×body512valid
170.0ms230×body1024invalid
128.0ms258×body512invalid
112.0ms328×body256valid
52.0ms150×body256invalid
4.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify108.0ms (1%)

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
27.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
27.0b
(/.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)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
2.8b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.5b
(*.f64 x (pow.f64 s 2))
18.6b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

series235.0ms (2.2%)

Counts
4 → 120
Calls

4 calls:

173.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
40.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
11.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
10.0ms
(*.f64 x (pow.f64 s 2))

rewrite38.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:

10.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
9.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))

simplify202.0ms (1.9%)

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

prune306.0ms (2.9%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New17215187
Fresh000
Picked101
Done000
Total17315188
Error
11.5b
Counts
188 → 15
Alt Table
StatusErrorProgram
25.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (*.f64 x (pow.f64 s 2))) x))
39.1b
(*.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 2 x))) (pow.f64 c 2)) (/.f64 (sqrt.f64 (cos.f64 (*.f64 2 x))) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
45.1b
(/.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)))))
31.1b
(*.f64 (cos.f64 (*.f64 2 x)) (/.f64 1 (*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x)))))
27.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 s s) (*.f64 x x)))))
47.2b
(/.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)))))
20.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 x s) s) x)))
19.8b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
31.1b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 s x) (pow.f64 (sqrt.f64 s) 2)) x)))
27.1b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 c 2)) (*.f64 (*.f64 x (pow.f64 s 2)) x))
31.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 x (pow.f64 (sqrt.f64 s) 2)) (pow.f64 (sqrt.f64 s) 2)) x)))
22.6b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
57.0b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (fma.f64 2 (+.f64 (log.f64 c) (log.f64 s)) (*.f64 2 (log.f64 x)))))
31.4b
(/.f64 (cos.f64 (*.f64 2 x)) (expm1.f64 (log1p.f64 (*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x))))))
27.3b
(*.f64 (/.f64 1 (pow.f64 c 2)) (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
Compiler

Compiled 4964 to 3020 computations (39.2% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series222.0ms (2.1%)

Counts
3 → 96
Calls

3 calls:

181.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
32.0ms
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))
9.0ms
(*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))

rewrite25.0ms (0.2%)

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:

9.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)))

simplify200.0ms (1.9%)

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

prune215.0ms (2%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1388146
Fresh8614
Picked101
Done000
Total14714161
Error
2.9b
Counts
161 → 14
Alt Table
StatusErrorProgram
25.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (*.f64 x (pow.f64 s 2))) x))
49.1b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (*.f64 2 (log.f64 (*.f64 c (fabs.f64 (*.f64 s x)))))))
31.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 x (pow.f64 (sqrt.f64 s) 2)) (pow.f64 (sqrt.f64 s) 2)) x)))
6.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
15.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
3.2b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
45.1b
(/.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)))))
31.1b
(*.f64 (cos.f64 (*.f64 2 x)) (/.f64 1 (*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x)))))
22.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 s) (*.f64 (fabs.f64 x) (fabs.f64 (*.f64 s x))))))
13.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
27.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 s s) (*.f64 x x)))))
14.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))))
20.0b
(*.f64 (/.f64 1 (*.f64 c c)) (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))
27.1b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 c 2)) (*.f64 (*.f64 x (pow.f64 s 2)) x))
Compiler

Compiled 4199 to 2082 computations (50.4% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)
0.3b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
5.7b
(*.f64 c (fabs.f64 (*.f64 s x)))

series226.0ms (2.1%)

Counts
3 → 72
Calls

3 calls:

195.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)
10.0ms
(*.f64 c (fabs.f64 (*.f64 s x)))

rewrite16.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))
4.0ms
(*.f64 c (fabs.f64 (*.f64 s x)))
3.0ms
(pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)

simplify101.0ms (1%)

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

prune169.0ms (1.6%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New989107
Fresh7613
Picked101
Done000
Total10615121
Error
0.1b
Counts
121 → 15
Alt Table
StatusErrorProgram
3.6b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)) (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))) (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))
3.4b
(*.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)))))
6.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
3.5b
(/.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (cbrt.f64 (cos.f64 (*.f64 2 x)))) (/.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2) (cbrt.f64 (cos.f64 (*.f64 2 x)))))
3.4b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (sqrt.f64 (fabs.f64 (*.f64 s x)))) (sqrt.f64 (fabs.f64 (*.f64 s x)))) 2))
13.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
15.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
2.9b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
27.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 s s) (*.f64 x x)))))
22.2b
(/.f64 (sqrt.f64 (cos.f64 (*.f64 2 x))) (/.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2) (sqrt.f64 (cos.f64 (*.f64 2 x)))))
22.0b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (cos.f64 (*.f64 2 x)) (cos.f64 (*.f64 2 x))) (cos.f64 (*.f64 2 x))) (*.f64 (*.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))))
14.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))))
3.6b
(*.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))))
3.4b
(-.f64 (/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)) (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))
20.0b
(*.f64 (/.f64 1 (*.f64 c c)) (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))
Compiler

Compiled 3217 to 1773 computations (44.9% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)
0.3b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
4.4b
(*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))

series333.0ms (3.1%)

Counts
3 → 108
Calls

3 calls:

268.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
52.0ms
(pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)
14.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:

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)
4.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))

simplify121.0ms (1.1%)

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

prune292.0ms (2.8%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1498157
Fresh7714
Picked101
Done000
Total15715172
Error
0.0b
Counts
172 → 15
Alt Table
StatusErrorProgram
3.6b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)) (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))) (cbrt.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))
3.4b
(*.f64 (/.f64 1 (*.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)))) (/.f64 (cos.f64 (*.f64 2 x)) (cbrt.f64 (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))))
6.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
2.8b
(/.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)))
15.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
3.5b
(/.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (cbrt.f64 (cos.f64 (*.f64 2 x)))) (/.f64 (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2) (cbrt.f64 (cos.f64 (*.f64 2 x)))))
13.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
3.0b
(*.f64 (cos.f64 (*.f64 2 x)) (/.f64 1 (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)))
3.2b
(*.f64 (/.f64 1 (*.f64 c (*.f64 (fabs.f64 s) x))) (/.f64 (cos.f64 (*.f64 x 2)) (*.f64 c (*.f64 (fabs.f64 s) x))))
27.3b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 s s) (*.f64 x x)))))
18.3b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 s)) 2)) (pow.f64 (fabs.f64 x) 2))
3.3b
(*.f64 (cos.f64 (*.f64 2 x)) (/.f64 1 (pow.f64 (*.f64 c (*.f64 (fabs.f64 s) x)) 2)))
3.4b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))) (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)))) (cbrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))))
3.0b
(-.f64 (/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)) (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2)))
20.0b
(*.f64 (/.f64 1 (*.f64 c c)) (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))
Compiler

Compiled 3965 to 2033 computations (48.7% saved)

regimes2.2s (20.9%)

Accuracy

Total 0.8b remaining (90.9%)

Threshold costs 0.8b (90.9%)

Counts
213 → 2
Compiler

Compiled 34224 to 23634 computations (30.9% saved)

bsearch11.0ms (0.1%)

Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify4.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02889
13789
23889
33889

end248.0ms (2.3%)

Remove

(sort c s)

Compiler

Compiled 633 to 386 computations (39% saved)

Profiling

Loading profile data...