Details

Time bar (total: 13.8s)

analyze2.2s (15.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample269.0ms (1.9%)

Algorithm
intervals
Results
197.0ms55×body2048valid
37.0ms93×body1024valid
14.0ms56×body512valid
5.0ms30×body256valid
2.0msbody4096valid
2.0ms21×body128valid
Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify186.0ms (1.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
0100514
1100514

prune6.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
29.0b
Counts
2 → 1
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize17.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
0.8b
(-.f64 x (tan.f64 x))
0.8b
(-.f64 x (sin.f64 x))

rewrite47.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
25×times-frac_binary64
17×add-cube-cbrt_binary64
14×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
cancel-sign-sub-inv_binary64
associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
flip3--_binary64 flip--_binary64
pow1_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 associate-/r/_binary64
cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
3 → 84
Calls

3 calls:

17.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
10.0ms
(-.f64 x (sin.f64 x))
7.0ms
(-.f64 x (tan.f64 x))

series181.0ms (1.3%)

Counts
3 → 9
Calls

3 calls:

84.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
53.0ms
(-.f64 x (tan.f64 x))
44.0ms
(-.f64 x (sin.f64 x))

simplify99.0ms (0.7%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
061991847

prune91.0ms (0.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New90393
Fresh000
Picked101
Done000
Total91394
Error
0b
Counts
94 → 3
Compiler

Compiled 1614 to 339 computations (79% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
0.8b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
0.8b
(-.f64 x (tan.f64 x))
0.8b
(-.f64 x (tan.f64 x))

rewrite80.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity_binary64
61×add-sqr-sqrt_binary64
48×times-frac_binary64
27×add-cube-cbrt_binary64 cancel-sign-sub-inv_binary64
21×distribute-lft-out--_binary64
15×difference-of-squares_binary64
10×add-log-exp_binary64
associate-/r/_binary64
flip3--_binary64 flip--_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
pow1_binary64 div-inv_binary64
sub-neg_binary64 diff-log_binary64 distribute-rgt-out--_binary64 associate-/l*_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 sub-div_binary64 frac-sub_binary64
Counts
4 → 118
Calls

4 calls:

50.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
7.0ms
(-.f64 x (tan.f64 x))
6.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (tan.f64 x))

series354.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

167.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
81.0ms
(-.f64 x (tan.f64 x))
58.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
48.0ms
(-.f64 x (tan.f64 x))

simplify100.0ms (0.7%)

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049472684
149472684

prune147.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh022
Picked011
Done000
Total1303133
Error
0b
Counts
133 → 3
Compiler

Compiled 2815 to 493 computations (82.5% saved)

localize16.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 27/2800 (pow.f64 x 4))
0.2b
(*.f64 (*.f64 x x) 9/40)
16.3b
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))

rewrite39.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×add-exp-log_binary64
10×associate-*r*_binary64 add-cbrt-cube_binary64
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64
prod-exp_binary64
cbrt-unprod_binary64 associate-*l*_binary64 unswap-sqr_binary64 unpow-prod-down_binary64
pow-prod-down_binary64 cancel-sign-sub-inv_binary64
diff-log_binary64 sqr-pow_binary64 *-commutative_binary64
pow-to-exp_binary64 sub-neg_binary64 associate--r+_binary64 flip3--_binary64 flip--_binary64 pow-exp_binary64 sum-log_binary64
Counts
3 → 60
Calls

3 calls:

19.0ms
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
10.0ms
(*.f64 (*.f64 x x) 9/40)
6.0ms
(*.f64 27/2800 (pow.f64 x 4))

series75.0ms (0.5%)

Counts
3 → 9
Calls

3 calls:

30.0ms
(*.f64 27/2800 (pow.f64 x 4))
26.0ms
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
19.0ms
(*.f64 (*.f64 x x) 9/40)

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
05451873

prune93.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh011
Picked011
Done011
Total69372
Error
0b
Counts
72 → 3
Compiler

Compiled 1196 to 870 computations (27.3% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (sin.f64 x) 2)
0.8b
(-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))
0.8b
(-.f64 x (tan.f64 x))
15.2b
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x)))

rewrite71.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity_binary64
36×add-sqr-sqrt_binary64
28×times-frac_binary64
25×difference-of-squares_binary64
22×add-cube-cbrt_binary64
12×unpow-prod-down_binary64
11×cancel-sign-sub-inv_binary64
add-log-exp_binary64 distribute-lft-out_binary64 unpow2_binary64 sqr-pow_binary64
add-exp-log_binary64 associate-/l*_binary64
add-cbrt-cube_binary64
pow1_binary64
associate-/r*_binary64
pow-unpow_binary64 flip3--_binary64 flip--_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 associate-/r/_binary64
pow-to-exp_binary64 flip3-+_binary64 cbrt-undiv_binary64 pow-pow_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 distribute-lft-out--_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64 pow-exp_binary64
Counts
4 → 113
Calls

4 calls:

27.0ms
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x)))
11.0ms
(-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))
6.0ms
(-.f64 x (tan.f64 x))
6.0ms
(pow.f64 (sin.f64 x) 2)

series247.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

88.0ms
(-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2))
80.0ms
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (sin.f64 x) 2)) (+.f64 x (sin.f64 x)))
50.0ms
(-.f64 x (tan.f64 x))
28.0ms
(pow.f64 (sin.f64 x) 2)

simplify143.0ms (1%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (94.0ms)

IterNodesCost
049472224
149472224

prune136.0ms (1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done022
Total1253128
Error
0b
Counts
128 → 3
Compiler

Compiled 2885 to 872 computations (69.8% saved)

regimes87.0ms (0.6%)

Accuracy

Total 0.0b remaining (36.9%)

Threshold costs 0.0b (36.9%)

Compiler

Compiled 276 to 192 computations (30.4% saved)

bsearch88.0ms (0.6%)

Steps
ItersRangePoint
11
5.127669329324241e-05
29186608049147348.0
0.031920716483614116
10
-63.439410214120024
-2.2751728216128456e-14
-0.027623021734207834
Compiler

Compiled 1 to 1 computations (0% saved)

simplify6.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09655
19655

end0.0ms (0%)

sample9.0s (64.9%)

Algorithm
intervals
Results
6.1s2078×body2048valid
1.6s2996×body1024valid
405.0ms1505×body512valid
142.0ms734×body256valid
119.0ms79×body4096valid
67.0ms608×body128valid
Compiler

Compiled 174 to 121 computations (30.5% saved)

Profiling

Loading profile data...