Details

Time bar (total: 20.8s)

analyze2.1s (10.1%)

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 10 to 7 computations (30% saved)

sample158.0ms (0.8%)

Algorithm
intervals
Results
69.0ms117×body1024valid
45.0ms41×body2048valid
14.0ms35×body512valid
9.0ms19×body256valid
5.0ms44×body128valid
Compiler

Compiled 21 to 15 computations (28.6% saved)

simplify31.0ms (0.1%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11011
21511
32211
42911
54611
67211
79311
811011
912011
1012411
1112611
1211211

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
37.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
37.8b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize13.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.2b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
3.4b
(tan.f64 (+.f64 x eps))

rewrite23.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
2 → 43
Calls

2 calls:

13.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
5.0ms
(tan.f64 (+.f64 x eps))

series270.0ms (1.3%)

Counts
2 → 48
Calls

2 calls:

174.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
96.0ms
(tan.f64 (+.f64 x eps))

simplify218.0ms (1.1%)

Algorithm
egg-herbie
Rules
936×fma-def_binary64
909×times-frac_binary64
194×associate-+r+_binary64
142×unswap-sqr_binary64
125×+-commutative_binary64
Counts
91 → 138
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02072570
15072289
217872148
349652145
449862145
549432145

prune283.0ms (1.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1326138
Fresh000
Picked101
Done000
Total1336139
Error
0.2b
Counts
139 → 6
Alt Table
StatusErrorProgram
31.2b
(+.f64 (+.f64 eps (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (fma.f64 5/3 (/.f64 (pow.f64 eps 4) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 3)) (fma.f64 (/.f64 (pow.f64 eps 4) (pow.f64 (cos.f64 x) 5)) (pow.f64 (sin.f64 x) 5) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (fma.f64 1/3 (pow.f64 eps 3) (*.f64 2/3 (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (pow.f64 eps 4)))))))))) (*.f64 (/.f64 (*.f64 eps eps) (cos.f64 x)) (+.f64 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
23.1b
(/.f64 (-.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))) (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))) (cos.f64 x)))
31.1b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3)) (+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.f64 eps (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 (*.f64 5/3 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3))) (+.f64 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 5)) (pow.f64 (cos.f64 x) 5)) (+.f64 (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 2/3 (/.f64 (*.f64 (pow.f64 eps 4) (sin.f64 x)) (cos.f64 x))) (*.f64 1/3 (pow.f64 eps 3)))))))))))
30.8b
(fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps)
22.8b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
23.0b
(/.f64 (fma.f64 (sin.f64 x) (+.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) -1) (*.f64 (cos.f64 x) (+.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (cos.f64 x) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))
Compiler

Compiled 3074 to 1303 computations (57.6% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
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.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
3.0b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))

rewrite167.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
103×*-un-lft-identity_binary64
74×add-sqr-sqrt_binary64
67×add-cube-cbrt_binary64
61×times-frac_binary64
54×prod-diff_binary64
Counts
4 → 171
Calls

4 calls:

25.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
13.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
8.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))
8.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

series1.8s (8.8%)

Counts
4 → 96
Calls

4 calls:

933.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
523.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
227.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
143.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

simplify499.0ms (2.4%)

Algorithm
egg-herbie
Rules
228×unswap-sqr_binary64
225×associate-+r+_binary64
225×distribute-rgt-in_binary64
203×distribute-lft-in_binary64
184×associate-*l*_binary64
Counts
267 → 446
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
038510657
19259025
231708501
347678501
449238501

prune611.0ms (2.9%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New43610446
Fresh325
Picked101
Done000
Total44012452
Error
0.1b
Counts
452 → 12
Alt Table
StatusErrorProgram
31.1b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3)) (+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.f64 eps (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 (*.f64 5/3 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3))) (+.f64 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 5)) (pow.f64 (cos.f64 x) 5)) (+.f64 (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 2/3 (/.f64 (*.f64 (pow.f64 eps 4) (sin.f64 x)) (cos.f64 x))) (*.f64 1/3 (pow.f64 eps 3)))))))))))
22.8b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 eps)) (cos.f64 x)))) (tan.f64 x))
31.2b
(+.f64 (+.f64 eps (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (fma.f64 5/3 (/.f64 (pow.f64 eps 4) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 3)) (fma.f64 (/.f64 (pow.f64 eps 4) (pow.f64 (cos.f64 x) 5)) (pow.f64 (sin.f64 x) 5) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (fma.f64 1/3 (pow.f64 eps 3) (*.f64 2/3 (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (pow.f64 eps 4)))))))))) (*.f64 (/.f64 (*.f64 eps eps) (cos.f64 x)) (+.f64 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
22.9b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 eps) (cos.f64 x)))) (cos.f64 x))) (/.f64 (sin.f64 eps) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 eps) (cos.f64 x)))) (cos.f64 eps)))) (/.f64 (sin.f64 x) (cos.f64 x)))
23.0b
(-.f64 (*.f64 (/.f64 1 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (cbrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cbrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
22.8b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x))) 0)
23.2b
(/.f64 (fma.f64 (cos.f64 x) (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (sin.f64 x) (+.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) -1))) (*.f64 (cos.f64 x) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))
23.5b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (pow.f64 1 3) (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))))) (neg.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x)))))) (fma.f64 (neg.f64 (cbrt.f64 (tan.f64 x))) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))) (*.f64 (cbrt.f64 (tan.f64 x)) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))))))
40.8b
(+.f64 (fma.f64 1 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x))))) (fma.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x)) (*.f64 (sqrt.f64 (tan.f64 x)) (sqrt.f64 (tan.f64 x)))))
22.8b
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
27.1b
(fma.f64 (/.f64 1 (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
31.1b
(+.f64 (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps) (*.f64 (/.f64 (*.f64 eps eps) (cos.f64 x)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)) (sin.f64 x))))
Compiler

Compiled 9939 to 3468 computations (65.1% saved)

localize23.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
0.1b
(+.f64 (tan.f64 x) (tan.f64 eps))
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
3.0b
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-exp-log_binary64
Counts
2 → 45
Calls

2 calls:

6.0ms
(/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
1.0ms
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))

series890.0ms (4.3%)

Counts
2 → 48
Calls

2 calls:

569.0ms
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
321.0ms
(/.f64 1 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))

simplify181.0ms (0.9%)

Algorithm
egg-herbie
Rules
942×associate-/l*_binary64
649×fma-def_binary64
456×associate-/r*_binary64
176×associate-/r/_binary64
160×unswap-sqr_binary64
Counts
93 → 168
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01953516
15053354
217283283
351943283

prune489.0ms (2.4%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New3112313
Fresh2911
Picked101
Done000
Total31411325
Error
0.1b
Counts
325 → 11
Alt Table
StatusErrorProgram
31.1b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3)) (+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.f64 eps (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 (*.f64 5/3 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3))) (+.f64 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 5)) (pow.f64 (cos.f64 x) 5)) (+.f64 (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 2/3 (/.f64 (*.f64 (pow.f64 eps 4) (sin.f64 x)) (cos.f64 x))) (*.f64 1/3 (pow.f64 eps 3)))))))))))
22.8b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 eps)) (cos.f64 x)))) (tan.f64 x))
31.2b
(+.f64 (+.f64 eps (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (fma.f64 5/3 (/.f64 (pow.f64 eps 4) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 3)) (fma.f64 (/.f64 (pow.f64 eps 4) (pow.f64 (cos.f64 x) 5)) (pow.f64 (sin.f64 x) 5) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (fma.f64 1/3 (pow.f64 eps 3) (*.f64 2/3 (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (pow.f64 eps 4)))))))))) (*.f64 (/.f64 (*.f64 eps eps) (cos.f64 x)) (+.f64 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
22.9b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 eps) (cos.f64 x)))) (cos.f64 x))) (/.f64 (sin.f64 eps) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 eps) (cos.f64 x)))) (cos.f64 eps)))) (/.f64 (sin.f64 x) (cos.f64 x)))
23.0b
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (cbrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (cbrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
22.8b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x))) 0)
23.2b
(/.f64 (fma.f64 (cos.f64 x) (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (sin.f64 x) (+.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) -1))) (*.f64 (cos.f64 x) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))
23.5b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (pow.f64 1 3) (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))))) (neg.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x)))))) (fma.f64 (neg.f64 (cbrt.f64 (tan.f64 x))) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))) (*.f64 (cbrt.f64 (tan.f64 x)) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))))))
22.8b
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (/.f64 1 (-.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)))))) (neg.f64 (tan.f64 x)))
27.1b
(fma.f64 (/.f64 1 (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
31.1b
(+.f64 (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps) (*.f64 (/.f64 (*.f64 eps eps) (cos.f64 x)) (+.f64 (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)) (sin.f64 x))))
Compiler

Compiled 6063 to 2528 computations (58.3% saved)

localize43.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (tan.f64 x) (tan.f64 eps))
0.2b
(*.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)
3.0b
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (/.f64 1 (-.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)))))) (neg.f64 (tan.f64 x)))

rewrite37.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
45×pow1_binary64
36×tan-quot_binary64
18×frac-times_binary64
18×pow-prod-down_binary64
18×add-cbrt-cube_binary64
Counts
3 → 88
Calls

3 calls:

16.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))
8.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
1.0ms
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (/.f64 1 (-.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)))))) (neg.f64 (tan.f64 x)))

series2.2s (10.4%)

Counts
3 → 72
Calls

3 calls:

1.7s
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (/.f64 1 (-.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)))))) (neg.f64 (tan.f64 x)))
260.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
219.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))

simplify346.0ms (1.7%)

Algorithm
egg-herbie
Rules
615×unswap-sqr_binary64
365×associate-*r*_binary64
359×associate-*l*_binary64
338×times-frac_binary64
231×associate-/l*_binary64
Counts
160 → 299
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03199251
18868844
241278446
355708446

prune737.0ms (3.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New4543457
Fresh2810
Picked101
Done000
Total45711468
Error
0.1b
Counts
468 → 11
Alt Table
StatusErrorProgram
31.1b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3)) (+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.f64 eps (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 (*.f64 5/3 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 3)) (pow.f64 (cos.f64 x) 3))) (+.f64 (/.f64 (*.f64 (pow.f64 eps 4) (pow.f64 (sin.f64 x) 5)) (pow.f64 (cos.f64 x) 5)) (+.f64 (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2))) (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 2/3 (/.f64 (*.f64 (pow.f64 eps 4) (sin.f64 x)) (cos.f64 x))) (*.f64 1/3 (pow.f64 eps 3)))))))))))
22.8b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 eps)) (cos.f64 x)))) (tan.f64 x))
22.8b
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (/.f64 1 (-.f64 1 (*.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (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)))))) (neg.f64 (tan.f64 x)))
23.5b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (pow.f64 1 3) (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))))) (neg.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x)))))) (fma.f64 (neg.f64 (cbrt.f64 (tan.f64 x))) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))) (*.f64 (cbrt.f64 (tan.f64 x)) (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))))))
31.2b
(+.f64 (+.f64 eps (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (fma.f64 5/3 (/.f64 (pow.f64 eps 4) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 3)) (fma.f64 (/.f64 (pow.f64 eps 4) (pow.f64 (cos.f64 x) 5)) (pow.f64 (sin.f64 x) 5) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (fma.f64 1/3 (pow.f64 eps 3) (*.f64 2/3 (*.f64 (/.f64 (sin.f64 x) (cos.f64 x)) (pow.f64 eps 4)))))))))) (*.f64 (/.f64 (*.f64 eps eps) (cos.f64 x)) (+.f64 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
22.9b
(-.f64 (+.f64 (/.f64 (sin.f64 x) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 eps) (cos.f64 x)))) (cos.f64 x))) (/.f64 (sin.f64 eps) (*.f64 (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (cos.f64 eps) (cos.f64 x)))) (cos.f64 eps)))) (/.f64 (sin.f64 x) (cos.f64 x)))
22.8b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x))) 0)
23.2b
(/.f64 (fma.f64 (cos.f64 x) (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (sin.f64 x) (+.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) -1))) (*.f64 (cos.f64 x) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))
22.8b
(fma.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (/.f64 1 (-.f64 1 (pow.f64 (/.f64 (*.f64 (sin.f64 x) (tan.f64 eps)) (cos.f64 x)) 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)))))) (neg.f64 (tan.f64 x)))
27.1b
(fma.f64 (/.f64 1 (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
31.1b
(+.f64 (/.f64 eps (/.f64 (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 3) eps)) (+.f64 (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps) (/.f64 (*.f64 (sin.f64 x) (*.f64 eps eps)) (cos.f64 x))))
Compiler

Compiled 11718 to 4892 computations (58.3% saved)

regimes6.7s (32.3%)

Accuracy

Total 0.2b remaining (62%)

Threshold costs 0.2b (62%)

Compiler

Compiled 32931 to 17969 computations (45.4% saved)

bsearch89.0ms (0.4%)

Steps
ItersRangePoint
8
0.00044265271264901963
7.859065038225004
0.00044940075034421095
9
-0.0012175791335672789
-4.764077824079606e-9
-0.00020782601609953486
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Rules
20×*-commutative_binary64
18×+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079291
1119291
2130291
3137291
4141291
5142291
6141291

end3.0ms (0%)

Compiler

Compiled 186 to 105 computations (43.5% saved)

sample2.8s (13.5%)

Algorithm
intervals
Results
1.1s3538×body1024valid
655.0ms1209×body2048valid
263.0ms1361×body512valid
86.0ms1292×body128valid
79.0ms594×body256valid
6.0msbody4096valid
Compiler

Compiled 793 to 438 computations (44.8% saved)

Profiling

Loading profile data...