Details

Time bar (total: 5.0s)

analyze257.0ms (5.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample56.0ms (1.1%)

Algorithm
intervals
Results
30.0ms68×body2048valid
7.0ms30×body1024valid
6.0ms46×body512valid
4.0ms90×body128valid
2.0ms20×body256valid
1.0msbody4096valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify174.0ms (3.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
036412
136412

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.5b

Counts
2 → 1
Compiler

Compiled 16 to 12 computations (25% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.0b
(-.f64 1 (cos.f64 x))
16.3b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64_77 add-sqr-sqrt_binary64_98
add-exp-log_binary64_112 add-cbrt-cube_binary64_110
times-frac_binary64_83 associate-/l*_binary64_24 difference-of-squares_binary64_46
add-log-exp_binary64_113 add-cube-cbrt_binary64_109
distribute-lft-out--_binary64_31
cbrt-undiv_binary64_108 pow1_binary64_135 flip--_binary64_52 div-exp_binary64_125 flip3--_binary64_81 associate-/l/_binary64_26
associate-/r*_binary64_23 cbrt-unprod_binary64_107 div-sub_binary64_82 sub-neg_binary64_70 prod-exp_binary64_123 clear-num_binary64_76 diff-log_binary64_166 frac-2neg_binary64_88 div-inv_binary64_74
Counts
2 → 44
Calls

2 calls:

9.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
4.0ms
(-.f64 1 (cos.f64 x))

series80.0ms (1.6%)

Counts
2 → 6
Calls

2 calls:

57.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
23.0ms
(-.f64 1 (cos.f64 x))

simplify55.0ms (1.1%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05002700

prune63.0ms (1.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New43750
Fresh000
Picked101
Done000
Total44751

Merged error: 0.0b

Counts
51 → 7
Compiler

Compiled 744 to 407 computations (45.3% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.3b
(*.f64 (sin.f64 x) (sin.f64 x))
0.5b
(+.f64 1 (cos.f64 x))
16.5b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

rewrite42.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64_112 add-cbrt-cube_binary64_110
24×*-un-lft-identity_binary64_77
22×times-frac_binary64_83
16×add-sqr-sqrt_binary64_98
14×add-cube-cbrt_binary64_109
12×cbrt-undiv_binary64_108 div-exp_binary64_125
11×pow1_binary64_135 associate-/l*_binary64_24
cbrt-unprod_binary64_107 prod-exp_binary64_123
add-log-exp_binary64_113 associate-/r/_binary64_25
associate-/r*_binary64_23 distribute-lft-out_binary64_30
flip-+_binary64_51 flip3-+_binary64_80 div-inv_binary64_74
associate-*l*_binary64_20 div-sub_binary64_82 sqr-sin-a_binary64_222 swap-sqr_binary64_44 associate-*r*_binary64_19
sin-mult_binary64_229 clear-num_binary64_76 associate-/l/_binary64_26 frac-2neg_binary64_88
pow2_binary64_155 pow-prod-down_binary64_145 pow-sqr_binary64_50 pow-plus_binary64_137 pow-prod-up_binary64_144 +-commutative_binary64_9 unswap-sqr_binary64_45 *-commutative_binary64_10 sum-log_binary64_165
Counts
4 → 111
Calls

4 calls:

13.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
9.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
5.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
4.0ms
(+.f64 1 (cos.f64 x))

series259.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

133.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
89.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
26.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
12.0ms
(+.f64 1 (cos.f64 x))

simplify65.0ms (1.3%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049701781
149701781

prune112.0ms (2.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1212123
Fresh336
Picked011
Done000
Total1246130

Merged error: 0b

Counts
130 → 6
Compiler

Compiled 2148 to 1081 computations (49.7% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x))))
0.5b
(+.f64 1 (cos.f64 x))
0.5b
(+.f64 1 (cos.f64 x))
0.6b
(*.f64 (/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) x) (/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) x))

rewrite253.0ms (5.1%)

Algorithm
rewrite-expression-head
Rules
781×times-frac_binary64_83
486×*-un-lft-identity_binary64_77
456×add-sqr-sqrt_binary64_98
348×add-cube-cbrt_binary64_109
222×sqrt-prod_binary64_92
121×swap-sqr_binary64_44
85×associate-*l*_binary64_20 associate-*r*_binary64_19
60×distribute-lft-out_binary64_30
42×add-exp-log_binary64_112 add-cbrt-cube_binary64_110
26×sqrt-div_binary64_93 associate-/r/_binary64_25
19×cbrt-undiv_binary64_108 div-exp_binary64_125
17×div-inv_binary64_74
16×unswap-sqr_binary64_45
15×flip-+_binary64_51 flip3-+_binary64_80
11×pow1_binary64_135
cbrt-unprod_binary64_107 prod-exp_binary64_123
add-log-exp_binary64_113
associate-/r*_binary64_23
associate-/l*_binary64_24
+-commutative_binary64_9 sum-log_binary64_165
pow2_binary64_155 pow-prod-down_binary64_145 pow-sqr_binary64_50 pow-plus_binary64_137 frac-times_binary64_87 pow-prod-up_binary64_144 associate-*l/_binary64_22 associate-*r/_binary64_21 *-commutative_binary64_10 clear-num_binary64_76 frac-2neg_binary64_88
Counts
4 → 410
Calls

4 calls:

137.0ms
(*.f64 (/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) x) (/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) x))
8.0ms
(/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x))))
4.0ms
(+.f64 1 (cos.f64 x))
4.0ms
(+.f64 1 (cos.f64 x))

series271.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

131.0ms
(*.f64 (/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) x) (/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) x))
119.0ms
(/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x))))
10.0ms
(+.f64 1 (cos.f64 x))
10.0ms
(+.f64 1 (cos.f64 x))

simplify199.0ms (4%)

Algorithm
egg-herbie
Counts
422 → 422
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
0501318142

prune780.0ms (15.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New4220422
Fresh044
Picked011
Done011
Total4226428

Merged error: 0b

Counts
428 → 6
Compiler

Compiled 14925 to 7394 computations (50.5% saved)

localize15.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.2b
(*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x)))
16.5b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x))) (neg.f64 (*.f64 x x)))

rewrite22.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_98 associate-*r*_binary64_19
add-exp-log_binary64_112 add-cbrt-cube_binary64_110
add-cube-cbrt_binary64_109 *-un-lft-identity_binary64_77
associate-/r*_binary64_23 times-frac_binary64_83
distribute-lft-neg-in_binary64_36 distribute-rgt-neg-in_binary64_37
pow1_binary64_135
associate-*l*_binary64_20 neg-mul-1_binary64_73
add-log-exp_binary64_113 cbrt-unprod_binary64_107 cbrt-undiv_binary64_108 tan-quot_binary64_233 associate-*l/_binary64_22 div-exp_binary64_125 prod-exp_binary64_123 distribute-rgt-neg-out_binary64_39
pow-prod-down_binary64_145 associate-/l*_binary64_24 unswap-sqr_binary64_45 *-commutative_binary64_10 distribute-frac-neg_binary64_42 clear-num_binary64_76 associate-/l/_binary64_26 frac-2neg_binary64_88 div-inv_binary64_74
Counts
2 → 56
Calls

2 calls:

9.0ms
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x))) (neg.f64 (*.f64 x x)))
8.0ms
(*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x)))

series253.0ms (5.1%)

Counts
2 → 6
Calls

2 calls:

137.0ms
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x))) (neg.f64 (*.f64 x x)))
116.0ms
(*.f64 (tan.f64 (/.f64 x 2)) (neg.f64 (sin.f64 x)))

simplify68.0ms (1.4%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049271105
149271105

prune50.0ms (1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New62062
Fresh033
Picked011
Done022
Total62668

Merged error: 0b

Counts
68 → 6
Compiler

Compiled 1044 to 496 computations (52.5% saved)

regimes14.0ms (0.3%)

Compiler

Compiled 88 to 65 computations (26.1% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01234
11234

end0.0ms (0%)

sample1.8s (36.9%)

Algorithm
intervals
Results
851.0ms1928×body2048valid
237.0ms1093×body1024valid
222.0ms1479×body512valid
111.0ms2651×body128valid
79.0ms749×body256valid
43.0ms100×body4096valid
Compiler

Compiled 116 to 85 computations (26.7% saved)

Profiling

Loading profile data...