Details

Time bar (total: 10.4s)

analyze755.0ms (7.3%)

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
12.5%87.4%0.1%5
18.7%81.2%0.1%6
21.9%78%0.1%7
23.4%76.5%0.1%8
24.2%75.7%0.1%9
24.6%75.3%0.1%10
24.8%75.1%0.1%11
24.9%75%0.1%12
24.9%75%0.1%13
25%75%0.1%14
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample62.0ms (0.6%)

Algorithm
intervals
Results
29.0ms114×body1024valid
15.0ms39×body2048valid
7.0ms45×body512valid
2.0ms20×body256valid
2.0ms38×body128valid
Compiler

Compiled 15 to 15 computations (0% saved)

simplify97.0ms (0.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07211
17211

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 14 to 12 computations (14.3% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

2.5b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
3.9b
(tan.f64 (+.f64 x eps))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
add-log-exp_binary64_1481 tan-quot_binary64_1601
cancel-sign-sub-inv_binary64_1408 add-cube-cbrt_binary64_1477
add-cbrt-cube_binary64_1478 frac-sub_binary64_1451 add-exp-log_binary64_1480 pow1_binary64_1503 tan-sum_binary64_1577
sub-neg_binary64_1435 flip3--_binary64_1446 flip--_binary64_1417 diff-log_binary64_1534 difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394
Counts
2 → 27
Calls

2 calls:

7.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
4.0ms
(tan.f64 (+.f64 x eps))

series174.0ms (1.7%)

Counts
2 → 6
Calls

2 calls:

113.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
61.0ms
(tan.f64 (+.f64 x eps))

simplify97.0ms (0.9%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
04834544
14834544

prune38.0ms (0.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New25833
Fresh000
Picked101
Done000
Total26834
Error
12.8b
Counts
34 → 8
Compiler

Compiled 566 to 179 computations (68.4% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
0.1b
(+.f64 (tan.f64 x) (tan.f64 eps))
0.3b
(*.f64 (tan.f64 x) (tan.f64 eps))
4.1b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))

rewrite40.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity_binary64_1442
23×add-sqr-sqrt_binary64_1464
16×add-cube-cbrt_binary64_1477
13×times-frac_binary64_1448
tan-quot_binary64_1601
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481 add-exp-log_binary64_1480
pow1_binary64_1503
distribute-lft-out_binary64_1393
associate-/l*_binary64_1387
associate-*r*_binary64_1382 associate-/r*_binary64_1386 cancel-sign-sub-inv_binary64_1408 associate-/l/_binary64_1389 associate-*l*_binary64_1383
associate-/r/_binary64_1388 flip3--_binary64_1446 flip--_binary64_1417 flip3-+_binary64_1445 flip-+_binary64_1416 frac-add_binary64_1450 difference-of-squares_binary64_1411
associate-*r/_binary64_1384 cbrt-undiv_binary64_1476 cbrt-unprod_binary64_1475 sum-log_binary64_1533 div-inv_binary64_1439 sub-neg_binary64_1435 clear-num_binary64_1441 +-commutative_binary64_1372 frac-sub_binary64_1451 pow-prod-down_binary64_1513 *-commutative_binary64_1373 frac-2neg_binary64_1453 diff-log_binary64_1534 frac-times_binary64_1452 prod-exp_binary64_1491 distribute-lft-out--_binary64_1394 associate-*l/_binary64_1385 div-exp_binary64_1493 unswap-sqr_binary64_1410
Counts
4 → 88
Calls

4 calls:

14.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
9.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
4.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

series1.0s (9.7%)

Counts
4 → 12
Calls

4 calls:

515.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
288.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
103.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))
97.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

simplify84.0ms (0.8%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
056192567

prune138.0ms (1.3%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New8713100
Fresh527
Picked101
Done000
Total9315108
Error
12.7b
Counts
108 → 15
Compiler

Compiled 3002 to 1022 computations (66% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sin.f64 x) (sin.f64 eps))
0.3b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))
0.3b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))
4.1b
(-.f64 (+.f64 (/.f64 (sin.f64 eps) (*.f64 (cos.f64 eps) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps))))))) (/.f64 (sin.f64 x) (cos.f64 x)))

rewrite65.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
30×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480
20×add-sqr-sqrt_binary64_1464
18×*-un-lft-identity_binary64_1442
13×cancel-sign-sub-inv_binary64_1408 add-cube-cbrt_binary64_1477
12×times-frac_binary64_1448
cbrt-unprod_binary64_1475 add-log-exp_binary64_1481 prod-exp_binary64_1491
cbrt-undiv_binary64_1476 div-exp_binary64_1493
pow1_binary64_1503
associate-*r*_binary64_1382 div-inv_binary64_1439 associate-*l*_binary64_1383 frac-sub_binary64_1451 sin-mult_binary64_1597
associate-/r*_binary64_1386 associate-/l/_binary64_1389 associate-/r/_binary64_1388 clear-num_binary64_1441 associate-/l*_binary64_1387 frac-2neg_binary64_1453 diff-log_binary64_1534 cos-mult_binary64_1596 difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394
associate--l+_binary64_1379 sum-log_binary64_1533 sub-neg_binary64_1435 flip3--_binary64_1446 pow-prod-down_binary64_1513 *-commutative_binary64_1373 distribute-lft-out_binary64_1393 flip--_binary64_1417 flip3-+_binary64_1445 flip-+_binary64_1416 frac-add_binary64_1450 unswap-sqr_binary64_1410
Counts
4 → 98
Calls

4 calls:

29.0ms
(-.f64 (+.f64 (/.f64 (sin.f64 eps) (*.f64 (cos.f64 eps) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps))))))) (/.f64 (sin.f64 x) (cos.f64 x)))
8.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))
8.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))
5.0ms
(*.f64 (sin.f64 x) (sin.f64 eps))

series801.0ms (7.7%)

Counts
4 → 12
Calls

4 calls:

547.0ms
(-.f64 (+.f64 (/.f64 (sin.f64 eps) (*.f64 (cos.f64 eps) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))))) (/.f64 (sin.f64 x) (*.f64 (cos.f64 x) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps))))))) (/.f64 (sin.f64 x) (cos.f64 x)))
113.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))
101.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 x) (cos.f64 eps)))
39.0ms
(*.f64 (sin.f64 x) (sin.f64 eps))

simplify101.0ms (1%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049794006
149794006

prune215.0ms (2.1%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New9911110
Fresh10414
Picked101
Done000
Total11015125
Error
11.1b
Counts
125 → 15
Compiler

Compiled 7157 to 2004 computations (72% saved)

localize34.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (+.f64 (/.f64 (sin.f64 eps) (*.f64 (cos.f64 eps) (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x)))))) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1))))
3.6b
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)
3.6b
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)
3.6b
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)

rewrite100.0ms (1%)

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt_binary64_1464
35×*-un-lft-identity_binary64_1442
18×times-frac_binary64_1448 difference-of-squares_binary64_1411
10×add-log-exp_binary64_1481
cancel-sign-sub-inv_binary64_1408 difference-of-sqr-1_binary64_1412
add-cube-cbrt_binary64_1477
cbrt-div_binary64_1474
distribute-lft-out--_binary64_1394
flip3--_binary64_1446 flip--_binary64_1417 frac-add_binary64_1450
add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503
div-inv_binary64_1439 sub-neg_binary64_1435 cbrt-prod_binary64_1473 diff-log_binary64_1534
associate-*r/_binary64_1384 frac-times_binary64_1452
flip3-+_binary64_1445 flip-+_binary64_1416 pow1/3_binary64_1524 associate-*l/_binary64_1385
Counts
4 → 93
Calls

4 calls:

17.0ms
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)
17.0ms
(cbrt.f64 (+.f64 (/.f64 (sin.f64 eps) (*.f64 (cos.f64 eps) (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x)))))) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1))))
16.0ms
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)
16.0ms
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)

series1.4s (13.5%)

Counts
4 → 12
Calls

4 calls:

874.0ms
(cbrt.f64 (+.f64 (/.f64 (sin.f64 eps) (*.f64 (cos.f64 eps) (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x)))))) (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1))))
180.0ms
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)
176.0ms
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)
171.0ms
(-.f64 (/.f64 1 (-.f64 1 (/.f64 (*.f64 (sin.f64 eps) (sin.f64 x)) (*.f64 (cos.f64 eps) (cos.f64 x))))) 1)

simplify91.0ms (0.9%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049465663
149465663

prune489.0ms (4.7%)

Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New978105
Fresh21214
Picked101
Done000
Total10020120
Error
11.1b
Counts
120 → 20
Compiler

Compiled 15744 to 5010 computations (68.2% saved)

regimes649.0ms (6.3%)

Accuracy

Total 0.4b remaining (3.1%)

Threshold costs 0.4b (3.1%)

Compiler

Compiled 12336 to 5443 computations (55.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08170
18170

end0.0ms (0%)

sample3.9s (37.3%)

Algorithm
intervals
Results
848.0ms3565×body1024valid
511.0ms1164×body2048valid
199.0ms1348×body512valid
60.0ms1328×body128valid
57.0ms593×body256valid
2.0msbody4096valid
Compiler

Compiled 4157 to 1838 computations (55.8% saved)

Profiling

Loading profile data...