Details

Time bar (total: 10.7s)

analyze1.7s (15.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0100514
1100514
011
111
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)

sample169.0ms (1.6%)

Algorithm
intervals
Results
100.0ms57×body2048valid
32.0ms100×body1024valid
11.0ms57×body512valid
7.0msbody4096valid
3.0ms22×body256valid
2.0ms13×body128valid
Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify78.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
0100514
1100514

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 18 to 12 computations (33.3% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite102.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
31.8b
Rules
45×add-sqr-sqrt_binary64 *-un-lft-identity_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
add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64 associate-/r*_binary64
flip3--_binary64 flip--_binary64
pow1_binary64
diff-log_binary64 sub-neg_binary64 associate-/l/_binary64 associate-/r/_binary64
div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 div-sub_binary64 clear-num_binary64 div-inv_binary64
Counts
3 → 84
Calls

3 calls:

15.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (sin.f64 x))
3.0ms
(-.f64 x (tan.f64 x))
Compiler

Compiled 1513 to 300 computations (80.2% saved)

series233.0ms (2.2%)

Error
0.0b
Counts
3 → 23
Calls

3 calls:

112.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
58.0ms
(-.f64 x (tan.f64 x))
39.0ms
(-.f64 x (sin.f64 x))
Compiler

Compiled 878 to 528 computations (39.9% saved)

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049572110
149572110

prune81.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh000
Picked011
Done000
Total1053108
Error
0.0b
Counts
108 → 3
Compiler

Compiled 1796 to 394 computations (78.1% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite91.0ms (0.8%)

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

3 calls:

8.0ms
(-.f64 (*.f64 9/40 (*.f64 x x)) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
5.0ms
(*.f64 27/2800 (pow.f64 x 4))
5.0ms
(*.f64 9/40 (*.f64 x x))
Compiler

Compiled 1235 to 905 computations (26.7% saved)

series106.0ms (1%)

Error
0.0b
Counts
3 → 11
Calls

3 calls:

39.0ms
(-.f64 (*.f64 9/40 (*.f64 x x)) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
34.0ms
(*.f64 27/2800 (pow.f64 x 4))
25.0ms
(*.f64 9/40 (*.f64 x x))
Compiler

Compiled 331 to 289 computations (12.7% saved)

simplify90.0ms (0.8%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
04889858
14889858

prune72.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh011
Picked101
Done011
Total71374
Error
0b
Counts
74 → 3
Compiler

Compiled 1201 to 876 computations (27.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 27/2800 (pow.f64 x 4))
0.1b
(*.f64 9/40 (*.f64 x x))
1.6b
(log.f64 (exp.f64 (*.f64 9/40 (*.f64 x x))))
19.4b
(-.f64 (log.f64 (exp.f64 (*.f64 9/40 (*.f64 x x)))) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))

rewrite131.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
19×add-sqr-sqrt_binary64
14×add-exp-log_binary64 *-un-lft-identity_binary64
11×pow1_binary64 add-cbrt-cube_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 associate-*r*_binary64
log-prod_binary64 prod-exp_binary64 associate-*l*_binary64
log-pow_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 unpow-prod-down_binary64
cancel-sign-sub-inv_binary64 associate--l+_binary64 pow-prod-down_binary64
diff-log_binary64 distribute-lft-out--_binary64 *-commutative_binary64 sqr-pow_binary64
sum-log_binary64 flip3--_binary64 sub-neg_binary64 flip--_binary64 difference-of-squares_binary64 associate--r+_binary64 exp-to-pow_binary64 exp-prod_binary64 rem-log-exp_binary64 pow-to-exp_binary64 pow-exp_binary64
Counts
4 → 80
Calls

4 calls:

8.0ms
(-.f64 (log.f64 (exp.f64 (*.f64 9/40 (*.f64 x x)))) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
6.0ms
(*.f64 9/40 (*.f64 x x))
6.0ms
(*.f64 27/2800 (pow.f64 x 4))
2.0ms
(log.f64 (exp.f64 (*.f64 9/40 (*.f64 x x))))
Compiler

Compiled 1811 to 1364 computations (24.7% saved)

series363.0ms (3.4%)

Error
0b
Counts
4 → 16
Calls

4 calls:

206.0ms
(-.f64 (log.f64 (exp.f64 (*.f64 9/40 (*.f64 x x)))) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
78.0ms
(log.f64 (exp.f64 (*.f64 9/40 (*.f64 x x))))
38.0ms
(*.f64 27/2800 (pow.f64 x 4))
28.0ms
(*.f64 9/40 (*.f64 x x))
Compiler

Compiled 564 to 504 computations (10.6% saved)

simplify75.0ms (0.7%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049181216
149181216

prune106.0ms (1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New96096
Fresh011
Picked011
Done011
Total96399
Error
0b
Counts
99 → 3
Compiler

Compiled 1747 to 1298 computations (25.7% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
1.1b
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
1.2b
(-.f64 x (tan.f64 x))
1.2b
(-.f64 x (tan.f64 x))

rewrite143.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0b
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
diff-log_binary64 sub-neg_binary64 distribute-rgt-out--_binary64 associate-/l*_binary64
frac-sub_binary64 sub-div_binary64 div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 clear-num_binary64
Counts
4 → 118
Calls

4 calls:

32.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
7.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
4.0ms
(-.f64 x (tan.f64 x))
4.0ms
(-.f64 x (tan.f64 x))
Compiler

Compiled 2808 to 489 computations (82.6% saved)

series372.0ms (3.5%)

Error
0b
Counts
4 → 31
Calls

4 calls:

149.0ms
(-.f64 (/.f64 x (-.f64 x (tan.f64 x))) (/.f64 (sin.f64 x) (-.f64 x (tan.f64 x))))
85.0ms
(/.f64 (sin.f64 x) (-.f64 x (tan.f64 x)))
58.0ms
(-.f64 x (tan.f64 x))
56.0ms
(-.f64 x (tan.f64 x))
Compiler

Compiled 1513 to 859 computations (43.2% saved)

simplify91.0ms (0.8%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049433009
149433009

prune107.0ms (1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh000
Picked011
Done022
Total1493152
Error
0b
Counts
152 → 3
Compiler

Compiled 3089 to 551 computations (82.2% saved)

regimes147.0ms (1.4%)

Accuracy

Total 0.0b remaining (52.2%)

Threshold costs 0.0b (52.2%)

Compiler

Compiled 1169 to 780 computations (33.3% saved)

bsearch61.0ms (0.6%)

Steps
ItersRangePoint
9
0.0010676440095607226
48315.44055431785
0.03205460313101732
11
-32700.857052817322
-9.971483357033686e-16
-0.036947823895944455
Compiler

Compiled 1 to 1 computations (0% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
013087
113087

end0.0ms (0%)

sample6.3s (59%)

Algorithm
intervals
Results
3.8s2056×body2048valid
1.1s3010×body1024valid
276.0ms1453×body512valid
112.0ms755×body256valid
110.0ms111×body4096valid
54.0ms615×body128valid
Compiler

Compiled 625 to 411 computations (34.2% saved)

Profiling

Loading profile data...