Details

Time bar (total: 6.8s)

analyze1.0s (14.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 17 to 15 computations (11.8% saved)

sample59.0ms (0.9%)

Algorithm
intervals
Results
17.0ms199×body128valid
9.0ms24×body1024valid
5.0ms61×body128invalid
5.0ms18×body512valid
4.0ms10×body1024invalid
3.0ms15×body256valid
3.0ms10×body512invalid
1.0msbody256invalid
Compiler

Compiled 33 to 32 computations (3% saved)

simplify171.0ms (2.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (164.0ms)

IterNodesCost
0489124
1489124

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 24.9b

Counts
2 → 1
Compiler

Compiled 32 to 26 computations (18.8% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
3.2b
(*.f64 (*.f64 x (pow.f64 s 2)) x)
6.3b
(*.f64 x (pow.f64 s 2))
17.3b
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))

rewrite47.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
122×add-exp-log_binary64
82×prod-exp_binary64
34×add-cbrt-cube_binary64
18×pow-to-exp_binary64 add-sqr-sqrt_binary64 pow-exp_binary64
16×cbrt-unprod_binary64 div-exp_binary64
12×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 associate-*l*_binary64
unpow-prod-down_binary64
pow1_binary64
add-log-exp_binary64 cbrt-undiv_binary64 unswap-sqr_binary64
unpow2_binary64 sqr-pow_binary64 associate-/l*_binary64 times-frac_binary64 *-commutative_binary64
pow-prod-down_binary64 associate-/r*_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 cos-2_binary64
Counts
4 → 119
Calls

4 calls:

12.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
10.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
6.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
6.0ms
(*.f64 x (pow.f64 s 2))

series347.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

140.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x)))
108.0ms
(*.f64 (pow.f64 c 2) (*.f64 (*.f64 x (pow.f64 s 2)) x))
50.0ms
(*.f64 (*.f64 x (pow.f64 s 2)) x)
49.0ms
(*.f64 x (pow.f64 s 2))

simplify86.0ms (1.3%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049732214
149732214

prune400.0ms (5.9%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New12011131
Fresh000
Picked101
Done000
Total12111132

Merged error: 1.7b

Counts
132 → 11
Compiler

Compiled 7344 to 4570 computations (37.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(cos.f64 (*.f64 2 x))
0.5b
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
4.2b
(*.f64 s (*.f64 c x))
4.2b
(*.f64 s (*.f64 c x))

rewrite24.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
19×add-exp-log_binary64 add-cbrt-cube_binary64
14×pow1_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
cbrt-unprod_binary64 prod-exp_binary64
pow-prod-down_binary64 associate-*l*_binary64
add-log-exp_binary64
associate-/l*_binary64 times-frac_binary64
associate-*r*_binary64 cbrt-undiv_binary64 div-exp_binary64 cos-2_binary64 *-commutative_binary64
associate-/r*_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64
Counts
4 → 66
Calls

4 calls:

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

series317.0ms (4.7%)

Counts
4 → 12
Calls

4 calls:

201.0ms
(/.f64 (cos.f64 (*.f64 2 x)) (*.f64 (fabs.f64 (*.f64 s (*.f64 c x))) (fabs.f64 (*.f64 s (*.f64 c x)))))
52.0ms
(*.f64 s (*.f64 c x))
51.0ms
(*.f64 s (*.f64 c x))
13.0ms
(cos.f64 (*.f64 2 x))

simplify53.0ms (0.8%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050461049

prune491.0ms (7.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New71778
Fresh5510
Picked101
Done000
Total771289

Merged error: 1.2b

Counts
89 → 12
Compiler

Compiled 9453 to 5805 computations (38.6% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(cos.f64 (*.f64 x 2))
0.8b
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
4.2b
(*.f64 s (*.f64 c x))
4.2b
(*.f64 s (*.f64 c x))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
16×add-exp-log_binary64 add-cbrt-cube_binary64
14×*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
times-frac_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64
add-log-exp_binary64
associate-/r*_binary64 associate-/l*_binary64
associate-*r*_binary64 *-commutative_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
4 → 70
Calls

4 calls:

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

series225.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

111.0ms
(/.f64 (cos.f64 (*.f64 x 2)) (fabs.f64 (*.f64 s (*.f64 c x))))
53.0ms
(*.f64 s (*.f64 c x))
51.0ms
(*.f64 s (*.f64 c x))
10.0ms
(cos.f64 (*.f64 x 2))

simplify74.0ms (1.1%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
053691235

prune267.0ms (3.9%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New77582
Fresh4711
Picked011
Done000
Total811394

Merged error: 1.2b

Counts
94 → 13
Compiler

Compiled 5393 to 2965 computations (45% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (*.f64 s (*.f64 c x)) 2))
1.9b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (*.f64 s (*.f64 c x)) 2))
4.2b
(*.f64 s (*.f64 c x))
4.2b
(*.f64 s (*.f64 c x))

rewrite42.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
72×add-exp-log_binary64
28×prod-exp_binary64
24×add-cbrt-cube_binary64
20×div-exp_binary64
14×pow1_binary64
12×associate-/r*_binary64 times-frac_binary64 pow-exp_binary64
10×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
cbrt-unprod_binary64
pow-prod-down_binary64 associate-*l*_binary64
pow-to-exp_binary64 add-log-exp_binary64 unpow2_binary64 cbrt-undiv_binary64 sqr-pow_binary64 unpow-prod-down_binary64
associate-/l/_binary64 associate-*r*_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64 div-inv_binary64 *-commutative_binary64
cos-mult_binary64 div-sub_binary64 sin-mult_binary64 sqr-sin-a_binary64
Counts
4 → 109
Calls

4 calls:

9.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (*.f64 s (*.f64 c x)) 2))
8.0ms
(/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (*.f64 s (*.f64 c x)) 2))
5.0ms
(*.f64 s (*.f64 c x))
5.0ms
(*.f64 s (*.f64 c x))

series424.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

169.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (pow.f64 (*.f64 s (*.f64 c x)) 2))
157.0ms
(/.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (pow.f64 (*.f64 s (*.f64 c x)) 2))
51.0ms
(*.f64 s (*.f64 c x))
46.0ms
(*.f64 s (*.f64 c x))

simplify59.0ms (0.9%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050091936

prune230.0ms (3.4%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1183121
Fresh2911
Picked101
Done011
Total12113134

Merged error: 1.0b

Counts
134 → 13
Compiler

Compiled 5484 to 2275 computations (58.5% saved)

regimes123.0ms (1.8%)

Compiler

Compiled 1436 to 924 computations (35.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01528
11528

end0.0ms (0%)

sample2.2s (33.1%)

Algorithm
intervals
Results
701.0ms6095×body128valid
360.0ms929×body1024valid
173.0ms643×body512valid
165.0ms1846×body128invalid
85.0ms224×body1024invalid
58.0ms330×body256valid
56.0ms225×body512invalid
24.0ms146×body256invalid
2.0msbody2048valid
Compiler

Compiled 391 to 253 computations (35.3% saved)

Profiling

Loading profile data...