Details

Time bar (total: 5.7s)

analyze770.0ms (13.6%)

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)

sample88.0ms (1.6%)

Algorithm
intervals
Results
48.0ms109×body1280valid
13.0ms15×body2560valid
12.0ms55×body640valid
3.0ms24×body320valid
2.0ms19×body160valid
1.0ms34×body80valid
Compiler

Compiled 15 to 15 computations (0% saved)

simplify17.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
07311
17311

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.9b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

1.6b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
3.6b
(tan.f64 (+.f64 x eps))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 add-sqr-sqrt_binary64 tan-quot_binary64
tan-sum_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 frac-sub_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64
Counts
2 → 24
Calls

2 calls:

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

series47.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

27.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
20.0ms
(tan.f64 (+.f64 x eps))

simplify94.0ms (1.7%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
04926529
14926529

prune32.0ms (0.6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New23730
Fresh000
Picked101
Done000
Total24731

Merged error: 13.4b

Counts
31 → 7
Compiler

Compiled 533 to 170 computations (68.1% saved)

localize21.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x))
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
9.2b
(-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x)) (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))) (sin.f64 x)))

rewrite32.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
17×associate-*l/_binary64
16×add-sqr-sqrt_binary64
14×tan-quot_binary64
12×*-un-lft-identity_binary64
10×pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-*l*_binary64
associate-*r*_binary64
add-log-exp_binary64 frac-sub_binary64
flip3--_binary64 flip--_binary64
pow-prod-down_binary64 flip3-+_binary64 cbrt-unprod_binary64 frac-add_binary64 unswap-sqr_binary64 prod-exp_binary64 flip-+_binary64 *-commutative_binary64
associate-*r/_binary64 frac-times_binary64
sub-neg_binary64 diff-log_binary64 distribute-lft-out_binary64
Counts
4 → 81
Calls

4 calls:

10.0ms
(-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x)) (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))) (sin.f64 x)))
8.0ms
(*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x))
6.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

series131.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

55.0ms
(-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x)) (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))) (sin.f64 x)))
28.0ms
(*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x))
25.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
23.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

simplify102.0ms (1.8%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049832268
149832268

prune116.0ms (2.1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New86793
Fresh516
Picked101
Done000
Total928100

Merged error: 0.1b

Counts
100 → 8
Compiler

Compiled 3987 to 1247 computations (68.7% saved)

localize27.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 (sin.f64 eps) (cos.f64 eps)) (+.f64 (cos.f64 x) (/.f64 (pow.f64 (sin.f64 x) 2) (cos.f64 x))))
0.2b
(/.f64 (pow.f64 (sin.f64 x) 2) (cos.f64 x))
0.2b
(pow.f64 (sin.f64 x) 2)
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))

rewrite35.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
35×*-un-lft-identity_binary64
34×times-frac_binary64
33×add-cube-cbrt_binary64
17×add-exp-log_binary64
16×associate-*l*_binary64
15×unpow-prod-down_binary64
13×add-cbrt-cube_binary64
pow1_binary64
associate-/l*_binary64
associate-*r*_binary64
unpow2_binary64 sqr-pow_binary64
add-log-exp_binary64 div-exp_binary64 tan-quot_binary64
pow-unpow_binary64 associate-/r*_binary64 cbrt-unprod_binary64 associate-*r/_binary64 unswap-sqr_binary64 prod-exp_binary64 frac-times_binary64
pow-to-exp_binary64 pow-prod-down_binary64 flip3-+_binary64 cbrt-undiv_binary64 div-inv_binary64 flip-+_binary64 pow-exp_binary64 associate-*l/_binary64 *-commutative_binary64
distribute-lft-out_binary64 pow-pow_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 clear-num_binary64 frac-2neg_binary64
Counts
4 → 127
Calls

4 calls:

16.0ms
(*.f64 (/.f64 (sin.f64 eps) (cos.f64 eps)) (+.f64 (cos.f64 x) (/.f64 (pow.f64 (sin.f64 x) 2) (cos.f64 x))))
6.0ms
(/.f64 (pow.f64 (sin.f64 x) 2) (cos.f64 x))
6.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
3.0ms
(pow.f64 (sin.f64 x) 2)

series80.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

43.0ms
(*.f64 (/.f64 (sin.f64 eps) (cos.f64 eps)) (+.f64 (cos.f64 x) (/.f64 (pow.f64 (sin.f64 x) 2) (cos.f64 x))))
24.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
9.0ms
(/.f64 (pow.f64 (sin.f64 x) 2) (cos.f64 x))
4.0ms
(pow.f64 (sin.f64 x) 2)

simplify88.0ms (1.6%)

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
051342680

prune154.0ms (2.7%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1309139
Fresh437
Picked101
Done000
Total13512147

Merged error: 0.0b

Counts
147 → 12
Compiler

Compiled 5133 to 1927 computations (62.5% saved)

localize27.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (sin.f64 x) 2)
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
0.3b
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
27.6b
(cbrt.f64 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64 tan-quot_binary64
10×*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64
add-cbrt-cube_binary64
cbrt-prod_binary64
pow-unpow_binary64 cube-div_binary64
unpow-prod-down_binary64
add-log-exp_binary64
cbrt-div_binary64 associate-*r*_binary64 associate-*r/_binary64 pow-pow_binary64 sqr-pow_binary64 associate-*l*_binary64 frac-times_binary64 pow-exp_binary64 associate-*l/_binary64
pow-to-exp_binary64 pow-prod-down_binary64 cbrt-unprod_binary64 rem-cube-cbrt_binary64 prod-exp_binary64 cube-prod_binary64 unpow3_binary64 cube-mult_binary64
rem-cbrt-cube_binary64 unpow2_binary64 pow1/3_binary64 unswap-sqr_binary64 *-commutative_binary64
Counts
4 → 84
Calls

4 calls:

6.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
6.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
4.0ms
(cbrt.f64 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))
3.0ms
(pow.f64 (sin.f64 x) 2)

series93.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

40.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
26.0ms
(cbrt.f64 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3))
24.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
4.0ms
(pow.f64 (sin.f64 x) 2)

simplify67.0ms (1.2%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
051521144

prune77.0ms (1.4%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh01111
Picked011
Done000
Total9612108

Merged error: 0.0b

Counts
108 → 12
Compiler

Compiled 3260 to 1311 computations (59.8% saved)

regimes108.0ms (1.9%)

Compiler

Compiled 970 to 592 computations (39% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03849
13849

end0.0ms (0%)

sample3.4s (60.1%)

Algorithm
intervals
Results
1.2s3258×body1280valid
575.0ms673×body2560valid
384.0ms1828×body640valid
111.0ms780×body320valid
48.0ms1102×body80valid
33.0ms359×body160valid
Compiler

Compiled 531 to 331 computations (37.7% saved)

Profiling

Loading profile data...