Details

Time bar (total: 4.6s)

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

sample63.0ms (1.4%)

Algorithm
intervals
Results
37.0ms71×body2048valid
8.0ms38×body1024valid
5.0ms44×body512valid
3.0ms83×body128valid
2.0msbody4096valid
1.0ms16×body256valid
Compiler

Compiled 17 to 14 computations (17.6% saved)

simplify107.0ms (2.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
036612
136612

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

Counts
2 → 1
Compiler

Compiled 16 to 12 computations (25% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_100 *-un-lft-identity_binary64_78
add-cbrt-cube_binary64_114 add-exp-log_binary64_116
times-frac_binary64_84 associate-/l*_binary64_23 difference-of-squares_binary64_47
add-cube-cbrt_binary64_113
add-log-exp_binary64_117
distribute-lft-out--_binary64_30 cancel-sign-sub-inv_binary64_44
cbrt-undiv_binary64_112 div-exp_binary64_129 flip3--_binary64_82 flip--_binary64_53 associate-/l/_binary64_25 pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127 diff-log_binary64_170 frac-2neg_binary64_89 div-inv_binary64_75 associate-/r*_binary64_22 clear-num_binary64_77 div-sub_binary64_83 sub-neg_binary64_71
Counts
2 → 47
Calls

2 calls:

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

series69.0ms (1.5%)

Counts
2 → 12
Calls

2 calls:

45.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
24.0ms
(-.f64 1 (cos.f64 x))
Compiler

Compiled 192 to 164 computations (14.6% saved)

simplify65.0ms (1.4%)

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
06192823

prune67.0ms (1.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New54559
Fresh000
Picked101
Done000
Total55560

Merged error: 0.0b

Counts
60 → 5
Compiler

Compiled 825 to 447 computations (45.8% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite35.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
24×*-un-lft-identity_binary64_78
22×times-frac_binary64_84
16×add-sqr-sqrt_binary64_100
14×add-cube-cbrt_binary64_113
12×cbrt-undiv_binary64_112 div-exp_binary64_129
11×associate-/l*_binary64_23 pow1_binary64_139
cbrt-unprod_binary64_111 prod-exp_binary64_127
add-log-exp_binary64_117 associate-/r/_binary64_24
associate-/r*_binary64_22 distribute-lft-out_binary64_29
flip-+_binary64_52 div-inv_binary64_75 flip3-+_binary64_81
associate-*l*_binary64_19 swap-sqr_binary64_45 associate-*r*_binary64_18 sqr-sin-a_binary64_226 div-sub_binary64_83
frac-2neg_binary64_89 sin-mult_binary64_233 clear-num_binary64_77 associate-/l/_binary64_25
+-commutative_binary64_8 pow2_binary64_159 *-commutative_binary64_9 pow-sqr_binary64_51 pow-prod-up_binary64_148 pow-prod-down_binary64_149 unswap-sqr_binary64_46 pow-plus_binary64_141 sum-log_binary64_169
Counts
4 → 111
Calls

4 calls:

11.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
8.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))

series211.0ms (4.6%)

Counts
4 → 24
Calls

4 calls:

91.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
69.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
32.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
19.0ms
(+.f64 1 (cos.f64 x))
Compiler

Compiled 536 to 428 computations (20.1% saved)

simplify64.0ms (1.4%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050552038

prune116.0ms (2.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1323135
Fresh224
Picked011
Done000
Total1346140

Merged error: 0b

Counts
140 → 6
Compiler

Compiled 2384 to 1178 computations (50.6% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64_100
22×times-frac_binary64_84
21×add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
19×add-cbrt-cube_binary64_114 add-exp-log_binary64_116
13×associate-*l*_binary64_19
cbrt-undiv_binary64_112 div-exp_binary64_129 associate-/r*_binary64_22
pow1_binary64_139
tan-quot_binary64_237 cbrt-unprod_binary64_111 prod-exp_binary64_127 associate-/l*_binary64_23
add-log-exp_binary64_117 div-inv_binary64_75 associate-*r*_binary64_18 associate-/l/_binary64_25
frac-2neg_binary64_89 frac-times_binary64_88 associate-*l/_binary64_21 unswap-sqr_binary64_46 associate-*r/_binary64_20 clear-num_binary64_77
*-commutative_binary64_9 pow-prod-down_binary64_149
Counts
3 → 87
Calls

3 calls:

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

series238.0ms (5.2%)

Counts
3 → 18
Calls

3 calls:

115.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
93.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
30.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 368 to 306 computations (16.8% saved)

simplify83.0ms (1.8%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049411687
149411687

prune86.0ms (1.9%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1041105
Fresh224
Picked011
Done011
Total1065111

Merged error: 0b

Counts
111 → 5
Compiler

Compiled 1746 to 916 computations (47.5% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))
0.1b
(/.f64 (sin.f64 x) x)
0.1b
(/.f64 x (tan.f64 (/.f64 x 2)))

rewrite52.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
461×times-frac_binary64_84
222×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113 *-un-lft-identity_binary64_78
32×div-inv_binary64_75
20×associate-/r*_binary64_22
19×add-cbrt-cube_binary64_114 associate-/l*_binary64_23 add-exp-log_binary64_116
16×associate-/r/_binary64_24
15×tan-quot_binary64_237
10×cbrt-undiv_binary64_112 div-exp_binary64_129
add-log-exp_binary64_117 frac-2neg_binary64_89 clear-num_binary64_77 pow1_binary64_139
associate-/l/_binary64_25
Counts
3 → 284
Calls

3 calls:

13.0ms
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))
4.0ms
(/.f64 x (tan.f64 (/.f64 x 2)))
4.0ms
(/.f64 (sin.f64 x) x)

series227.0ms (4.9%)

Counts
3 → 18
Calls

3 calls:

96.0ms
(/.f64 (/.f64 (sin.f64 x) x) (/.f64 x (tan.f64 (/.f64 x 2))))
94.0ms
(/.f64 x (tan.f64 (/.f64 x 2)))
36.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 364 to 302 computations (17% saved)

simplify154.0ms (3.3%)

Algorithm
egg-herbie
Counts
302 → 302
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049409484
149409484

prune320.0ms (6.9%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New3020302
Fresh022
Picked011
Done022
Total3025307

Merged error: 0b

Counts
307 → 5
Compiler

Compiled 6845 to 3283 computations (52% saved)

regimes114.0ms (2.5%)

Compiler

Compiled 1098 to 782 computations (28.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
1917

end0.0ms (0%)

sample2.2s (48.3%)

Algorithm
intervals
Results
923.0ms2067×body2048valid
222.0ms1082×body1024valid
189.0ms1475×body512valid
98.0ms2479×body128valid
77.0ms794×body256valid
48.0ms103×body4096valid
Compiler

Compiled 513 to 367 computations (28.5% saved)

Profiling

Loading profile data...