Details

Time bar (total: 7.9s)

analyze1.3s (16.9%)

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)

sample249.0ms (3.2%)

Algorithm
intervals
Symmetry

(sort c s)

Results
23.0ms194×body128valid
13.0ms28×body1024valid
7.0ms67×body128invalid
6.0ms17×body512valid
4.0ms10×body512invalid
4.0ms17×body256valid
3.0msbody1024invalid
1.0msbody256invalid
Compiler

Compiled 42 to 32 computations (23.8% saved)

simplify109.0ms (1.4%)

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

localize12.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)))
4.0b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
9.1b
(*.f64 x (pow.f64 s 2))
19.0b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

series224.0ms (2.8%)

Counts
4 → 120
Calls

4 calls:

164.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
39.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
12.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
8.0ms
(*.f64 x (pow.f64 s 2))

rewrite36.0ms (0.5%)

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:

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

simplify151.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

prune253.0ms (3.2%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New17215187
Fresh000
Picked101
Done000
Total17315188
Error
12.6b
Counts
188 → 15
Alt Table
StatusErrorProgram
43.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 s (sqrt.f64 x)) (*.f64 s (sqrt.f64 x))) x)))
47.0b
(/.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)))))
27.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (*.f64 x (pow.f64 s 2))) x))
58.1b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (fma.f64 2 (+.f64 (log.f64 c) (log.f64 s)) (*.f64 2 (log.f64 x)))))
28.5b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 c 2)) (*.f64 (*.f64 x (pow.f64 s 2)) x))
21.8b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 x s) s) x)))
24.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
34.6b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 (*.f64 s x) (pow.f64 (sqrt.f64 s) 2)) x)))
23.6b
(/.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)))
35.5b
(*.f64 (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x))))) (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 s s) (*.f64 (*.f64 c c) (*.f64 x x))))))
33.8b
(cbrt.f64 (*.f64 (*.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))) (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))) (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))))
54.4b
(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)))))
59.9b
(exp.f64 (-.f64 (log.f64 (cos.f64 (*.f64 2 x))) (+.f64 (*.f64 (log.f64 c) 2) (+.f64 (log.f64 (*.f64 x (pow.f64 s 2))) (log.f64 x)))))
20.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
29.7b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 s s) (*.f64 x x)))))
Compiler

Compiled 5066 to 3074 computations (39.3% saved)

localize10.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.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))))
19.0b
(*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x))))

series227.0ms (2.9%)

Counts
3 → 96
Calls

3 calls:

186.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.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))))
5.0ms
(*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))

simplify134.0ms (1.7%)

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

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New13610146
Fresh9514
Picked101
Done000
Total14615161
Error
2.0b
Counts
161 → 15
Alt Table
StatusErrorProgram
6.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
47.0b
(/.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)))))
20.6b
(/.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (cbrt.f64 (cos.f64 (*.f64 2 x)))) (/.f64 (*.f64 (pow.f64 c 2) (*.f64 (fabs.f64 (*.f64 s x)) (fabs.f64 (*.f64 s x)))) (cbrt.f64 (cos.f64 (*.f64 2 x)))))
17.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
20.8b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (cbrt.f64 (pow.f64 c 2)) (cbrt.f64 (pow.f64 c 2))) (*.f64 (pow.f64 (fabs.f64 (*.f64 s x)) 2) (cbrt.f64 (*.f64 c c)))))
54.4b
(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)))))
20.5b
(*.f64 (cos.f64 (*.f64 2 x)) (/.f64 1 (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
14.6b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
27.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (*.f64 x (pow.f64 s 2))) x))
58.1b
(/.f64 (cos.f64 (*.f64 2 x)) (exp.f64 (fma.f64 2 (+.f64 (log.f64 c) (log.f64 s)) (*.f64 2 (log.f64 x)))))
20.9b
(*.f64 (/.f64 1 (*.f64 c c)) (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))
24.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
2.9b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
24.3b
(*.f64 (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))) (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))))
20.6b
(-.f64 (/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2))) (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 (*.f64 c c) (pow.f64 (fabs.f64 (*.f64 s x)) 2))))
Compiler

Compiled 4335 to 2170 computations (49.9% saved)

localize9.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.5b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
4.2b
(*.f64 c (fabs.f64 (*.f64 s x)))

series207.0ms (2.6%)

Counts
3 → 72
Calls

3 calls:

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

simplify100.0ms (1.3%)

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

prune166.0ms (2.1%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1007107
Fresh8614
Picked101
Done000
Total10913122
Error
0.1b
Counts
122 → 13
Alt Table
StatusErrorProgram
6.2b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 c (*.f64 c (fabs.f64 (*.f64 s x)))) (fabs.f64 (*.f64 s x))))
3.0b
(-.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)))
3.1b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (cbrt.f64 (cos.f64 (*.f64 2 x)))) (/.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))
24.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
20.9b
(*.f64 (/.f64 1 (*.f64 c c)) (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))
2.9b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) 1) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2))
2.5b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (fabs.f64 (*.f64 s x)))) (*.f64 c (fabs.f64 (*.f64 s x))))
2.2b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
3.1b
(/.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))
17.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
20.8b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (cbrt.f64 (pow.f64 c 2)) (cbrt.f64 (pow.f64 c 2))) (*.f64 (pow.f64 (fabs.f64 (*.f64 s x)) 2) (cbrt.f64 (*.f64 c c)))))
27.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (*.f64 x (pow.f64 s 2))) x))
22.9b
(*.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 2 x))) (*.f64 c (fabs.f64 (*.f64 s x)))) (/.f64 (sqrt.f64 (cos.f64 (*.f64 2 x))) (*.f64 c (fabs.f64 (*.f64 s x)))))
Compiler

Compiled 2985 to 1633 computations (45.3% saved)

localize10.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.5b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))
4.2b
(*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))

series310.0ms (3.9%)

Counts
3 → 108
Calls

3 calls:

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

rewrite20.0ms (0.3%)

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

simplify120.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

prune245.0ms (3.1%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1525157
Fresh21012
Picked011
Done000
Total15416170
Error
0.0b
Counts
170 → 16
Alt Table
StatusErrorProgram
2.9b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (*.f64 (fabs.f64 s) x)) 2))
2.2b
(/.f64 (cos.f64 (*.f64 2 x)) (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))))
3.0b
(-.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)))
3.1b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (cbrt.f64 (cos.f64 (*.f64 2 x)))) (/.f64 (cbrt.f64 (cos.f64 (*.f64 2 x))) (pow.f64 (*.f64 c (fabs.f64 (*.f64 s x))) 2)))
24.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (*.f64 c (*.f64 (*.f64 x (pow.f64 s 2)) x))))
20.9b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 c (fabs.f64 s)) 2)) (pow.f64 (fabs.f64 x) 2))
9.8b
(*.f64 (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))) (sqrt.f64 (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)) 2))))
20.9b
(*.f64 (/.f64 1 (*.f64 c c)) (/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (fabs.f64 (*.f64 s x)) 2)))
48.5b
(/.f64 (cos.f64 (*.f64 2 x)) (pow.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x))) (sqrt.f64 (*.f64 (*.f64 c (fabs.f64 s)) (fabs.f64 x)))) 2))
2.5b
(/.f64 (/.f64 (cos.f64 (*.f64 2 x)) (*.f64 c (fabs.f64 (*.f64 s x)))) (*.f64 c (fabs.f64 (*.f64 s x))))
3.1b
(/.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))
17.4b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (fabs.f64 (*.f64 s x))) (fabs.f64 (*.f64 s x))))
20.8b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (cbrt.f64 (pow.f64 c 2)) (cbrt.f64 (pow.f64 c 2))) (*.f64 (pow.f64 (fabs.f64 (*.f64 s x)) 2) (cbrt.f64 (*.f64 c c)))))
27.0b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (*.f64 (pow.f64 c 2) (*.f64 x (pow.f64 s 2))) x))
1.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)))
Compiler

Compiled 3942 to 2026 computations (48.6% saved)

regimes1.2s (15.1%)

Accuracy

Total 0.6b remaining (90%)

Threshold costs 0.6b (90%)

Counts
164 → 2
Compiler

Compiled 26931 to 18720 computations (30.5% saved)

bsearch6.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

end10.0ms (0.1%)

Remove

(sort c s)

Compiler

Compiled 180 to 102 computations (43.3% saved)

sample2.5s (31.5%)

Algorithm
intervals
Results
630.0ms6079×body128valid
521.0ms1009×body1024valid
204.0ms1868×body128invalid
201.0ms601×body512valid
107.0ms224×body1024invalid
88.0ms239×body512invalid
64.0ms308×body256valid
39.0ms167×body256invalid
3.0msbody2048valid
Compiler

Compiled 453 to 295 computations (34.9% saved)

Profiling

Loading profile data...