Details

Time bar (total: 15.1s)

analyze783.0ms (5.2%)

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.4%)

Algorithm
intervals
Results
25.0ms100×body1024valid
17.0ms42×body2048valid
7.0ms48×body512valid
2.0ms24×body256valid
2.0ms42×body128valid
Compiler

Compiled 15 to 15 computations (0% saved)

simplify98.0ms (0.6%)

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.3b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize7.0ms (0%)

Local error

Found 2 expressions with local error:

1.1b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
2.8b
(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))

series175.0ms (1.2%)

Counts
2 → 6
Calls

2 calls:

112.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
63.0ms
(tan.f64 (+.f64 x eps))

simplify96.0ms (0.6%)

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
04834544
14834544

prune40.0ms (0.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

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

Compiled 567 to 180 computations (68.3% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(+.f64 (tan.f64 x) (tan.f64 eps))
0.1b
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
2.8b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))

rewrite43.0ms (0.3%)

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:

15.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))
5.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

series1.0s (6.7%)

Counts
4 → 12
Calls

4 calls:

522.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
286.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
105.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
99.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

simplify88.0ms (0.6%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
056192567

prune134.0ms (0.9%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New8614100
Fresh527
Picked101
Done000
Total9216108
Error
14.8b
Counts
108 → 16
Compiler

Compiled 2961 to 1008 computations (66% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
0.3b
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))
0.3b
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
2.6b
(-.f64 (*.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps))) (*.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))

rewrite71.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
48×pow1_binary64_1503
45×tan-quot_binary64_1601
21×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 frac-times_binary64_1452
19×pow-prod-down_binary64_1513
15×associate-*r/_binary64_1384
14×associate-*l/_binary64_1385
10×cbrt-unprod_binary64_1475 add-sqr-sqrt_binary64_1464 prod-exp_binary64_1491
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
add-log-exp_binary64_1481
frac-sub_binary64_1451
associate-*r*_binary64_1382 associate-*l*_binary64_1383 pow-sqr_binary64_1415 pow-prod-up_binary64_1512
cancel-sign-sub-inv_binary64_1408 pow-unpow_binary64_1519 cube-div_binary64_1471
associate--l+_binary64_1379 pow-exp_binary64_1510 pow-plus_binary64_1505 *-commutative_binary64_1373 rem-cube-cbrt_binary64_1465 flip3-+_binary64_1445 flip-+_binary64_1416 pow-pow_binary64_1514
pow2_binary64_1523 cube-mult_binary64_1472 swap-sqr_binary64_1409 sub-neg_binary64_1435 flip3--_binary64_1446 cube-prod_binary64_1470 flip--_binary64_1417 diff-log_binary64_1534 distribute-lft-in_binary64_1391 sqr-pow_binary64_1414 unpow3_binary64_1508 distribute-rgt-in_binary64_1392 unpow-prod-down_binary64_1521 pow-to-exp_binary64_1511 unswap-sqr_binary64_1410
Counts
4 → 116
Calls

4 calls:

25.0ms
(-.f64 (*.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps))) (*.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
15.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))
6.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
5.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)

series4.2s (27.9%)

Counts
4 → 12
Calls

4 calls:

3.8s
(-.f64 (*.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps))) (*.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
187.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
160.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))
103.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

simplify97.0ms (0.6%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
050353722

prune266.0ms (1.8%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1244128
Fresh41115
Picked101
Done000
Total12915144
Error
14.8b
Counts
144 → 15
Compiler

Compiled 6921 to 2712 computations (60.8% saved)

localize33.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (cos.f64 eps) 2)
0.3b
(pow.f64 (sin.f64 eps) 2)
0.3b
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
2.6b
(-.f64 (*.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))) (+.f64 (*.f64 1 1) (+.f64 (/.f64 (*.f64 (tan.f64 x) (*.f64 (sin.f64 x) (pow.f64 (sin.f64 eps) 2))) (*.f64 (cos.f64 x) (pow.f64 (cos.f64 eps) 2))) (*.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))

rewrite57.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_1464 add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
pow-unpow_binary64_1519 add-exp-log_binary64_1480 pow1_binary64_1503 tan-quot_binary64_1601
add-cbrt-cube_binary64_1478 unpow-prod-down_binary64_1521
add-log-exp_binary64_1481
frac-sub_binary64_1451
pow-exp_binary64_1510 pow-pow_binary64_1514
associate-*r/_binary64_1384 cancel-sign-sub-inv_binary64_1408 frac-times_binary64_1452 sqr-pow_binary64_1414 cube-div_binary64_1471 pow-to-exp_binary64_1511
associate--l+_binary64_1379 unpow2_binary64_1507 rem-cube-cbrt_binary64_1465 flip3-+_binary64_1445 flip-+_binary64_1416 associate-*l/_binary64_1385
cube-mult_binary64_1472 cbrt-unprod_binary64_1475 sub-neg_binary64_1435 flip3--_binary64_1446 cube-prod_binary64_1470 pow-prod-down_binary64_1513 flip--_binary64_1417 diff-log_binary64_1534 distribute-lft-in_binary64_1391 unpow3_binary64_1508 distribute-rgt-in_binary64_1392 prod-exp_binary64_1491
Counts
4 → 82
Calls

4 calls:

31.0ms
(-.f64 (*.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))) (+.f64 (*.f64 1 1) (+.f64 (/.f64 (*.f64 (tan.f64 x) (*.f64 (sin.f64 x) (pow.f64 (sin.f64 eps) 2))) (*.f64 (cos.f64 x) (pow.f64 (cos.f64 eps) 2))) (*.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
6.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
3.0ms
(pow.f64 (sin.f64 eps) 2)
2.0ms
(pow.f64 (cos.f64 eps) 2)

series4.1s (27.3%)

Counts
4 → 12
Calls

4 calls:

3.9s
(-.f64 (*.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))) (+.f64 (*.f64 1 1) (+.f64 (/.f64 (*.f64 (tan.f64 x) (*.f64 (sin.f64 x) (pow.f64 (sin.f64 eps) 2))) (*.f64 (cos.f64 x) (pow.f64 (cos.f64 eps) 2))) (*.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
190.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
14.0ms
(pow.f64 (sin.f64 eps) 2)
12.0ms
(pow.f64 (cos.f64 eps) 2)

simplify87.0ms (0.6%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050933769

prune226.0ms (1.5%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New94094
Fresh01414
Picked011
Done000
Total9415109
Error
14.8b
Counts
109 → 15
Compiler

Compiled 5923 to 2666 computations (55% saved)

regimes377.0ms (2.5%)

Accuracy

Total 0.9b remaining (5.6%)

Threshold costs 0.9b (5.6%)

Compiler

Compiled 4029 to 2212 computations (45.1% saved)

bsearch75.0ms (0.5%)

Steps
ItersRangePoint
7
1.8438654255481383e-60
1.633205598528326e-58
1.6694113497634884e-59
10
-4.2149623711150614e-17
-5.817536317265985e-29
-7.780852968026817e-23
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify23.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0546141
1546141

end0.0ms (0%)

sample2.9s (19%)

Algorithm
intervals
Results
869.0ms3550×body1024valid
530.0ms1223×body2048valid
203.0ms1346×body512valid
61.0ms611×body256valid
59.0ms1269×body128valid
1.0msbody4096valid
Compiler

Compiled 1433 to 781 computations (45.5% saved)

Profiling

Loading profile data...