Details

Time bar (total: 15.1s)

analyze1.4s (9%)

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)

sample4.0s (26.8%)

Results
2.1s3611×body1024valid
1.1s1233×body2048valid
496.0ms1425×body512valid
188.0ms1376×body128valid
145.0ms609×body256valid
3.0msbody4096valid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify11.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

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 18 computations (33.3% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
2.9b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
3.2b
(tan.f64 (+.f64 x eps))

series83.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

54.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
29.0ms
(tan.f64 (+.f64 x eps))

rewrite13.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:

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

simplify116.0ms (0.8%)

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 → 93
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02072570
15072289
217872148
349652145
449862145
549432145

prune101.0ms (0.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New85893
Fresh000
Picked101
Done000
Total86894
Error
0.2b
Counts
94 → 8
Alt Table
StatusErrorProgram
21.9b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
31.5b
(fma.f64 (/.f64 (pow.f64 (sin.f64 eps) 2) (pow.f64 (cos.f64 eps) 2)) x (/.f64 (sin.f64 eps) (cos.f64 eps)))
22.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)))))
22.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)))
30.6b
(fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps)
30.7b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
30.9b
(+.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)))))
30.9b
(+.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)))))))))))
Compiler

Compiled 3135 to 1349 computations (57% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series470.0ms (3.1%)

Counts
4 → 96
Calls

4 calls:

279.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
119.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
36.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
35.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

rewrite45.0ms (0.3%)

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:

13.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
6.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
4.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
4.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

simplify237.0ms (1.6%)

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 → 245
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
038510657
19259025
231708501
347678501
449238501

prune332.0ms (2.2%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New23411245
Fresh347
Picked101
Done000
Total23815253
Error
0.1b
Counts
253 → 15
Alt Table
StatusErrorProgram
22.0b
(-.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.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)))))
21.9b
(-.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))
25.5b
(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)))
22.4b
(+.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (neg.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x)))) (cbrt.f64 (tan.f64 x))))
30.0b
(log.f64 (/.f64 (exp.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (exp.f64 (tan.f64 x))))
30.9b
(+.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)))))
21.9b
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.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)))
30.9b
(+.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
(+.f64 (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (*.f64 (pow.f64 eps 3) 1/3)))) (*.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))))
22.2b
(fma.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))))) (neg.f64 (tan.f64 x)))
30.7b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
22.9b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps)))) 1) (/.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
22.9b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
21.9b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (tan.f64 x))
Compiler

Compiled 10091 to 3587 computations (64.5% saved)

localize17.0ms (0.1%)

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

series2.4s (15.9%)

Counts
3 → 72
Calls

3 calls:

2.2s
(-.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))
120.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)
63.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))

rewrite48.0ms (0.3%)

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

3 calls:

26.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))
10.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))
4.0ms
(pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)

simplify201.0ms (1.3%)

Algorithm
egg-herbie
Rules
506×associate-*l*_binary64
480×associate-*r*_binary64
338×times-frac_binary64
238×associate-/l*_binary64
173×associate-/r*_binary64
Counts
177 → 181
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
039210650
1112710156
2489010156
3513710156

prune706.0ms (4.7%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New3561357
Fresh11314
Picked101
Done000
Total35814372
Error
0.1b
Counts
372 → 14
Alt Table
StatusErrorProgram
22.0b
(-.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.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)))))
30.9b
(+.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)))))
21.9b
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.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)))
30.9b
(+.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
(+.f64 (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (*.f64 (pow.f64 eps 3) 1/3)))) (*.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))))
25.5b
(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)))
22.2b
(fma.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))))) (neg.f64 (tan.f64 x)))
30.7b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
22.9b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps)))) 1) (/.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
22.9b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
21.9b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (tan.f64 x))
22.4b
(+.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (neg.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x)))) (cbrt.f64 (tan.f64 x))))
22.1b
(/.f64 (-.f64 (*.f64 (cos.f64 x) (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 2) (*.f64 (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (fma.f64 (tan.f64 x) (tan.f64 eps) 1)))))) (*.f64 (sin.f64 x) (*.f64 (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)) (-.f64 1 (fma.f64 (tan.f64 x) (tan.f64 eps) (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 2)))))) (*.f64 (cos.f64 x) (*.f64 (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)) (-.f64 1 (fma.f64 (tan.f64 x) (tan.f64 eps) (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 2))))))
Compiler

Compiled 21536 to 8502 computations (60.5% saved)

localize14.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 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps))))
0.1b
(/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps))
0.2b
(*.f64 (tan.f64 x) (sin.f64 eps))
4.6b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (tan.f64 x))

series396.0ms (2.6%)

Counts
4 → 96
Calls

4 calls:

220.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (tan.f64 x))
118.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps))))
36.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps))
22.0ms
(*.f64 (tan.f64 x) (sin.f64 eps))

rewrite83.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
222×*-un-lft-identity_binary64
165×add-sqr-sqrt_binary64
124×times-frac_binary64
95×add-cube-cbrt_binary64
90×prod-diff_binary64
Counts
4 → 238
Calls

4 calls:

17.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (tan.f64 x))
8.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps))))
6.0ms
(/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps))
4.0ms
(*.f64 (tan.f64 x) (sin.f64 eps))

simplify407.0ms (2.7%)

Algorithm
egg-herbie
Rules
243×unswap-sqr_binary64
222×associate-+r+_binary64
217×associate-/l*_binary64
201×associate-*l*_binary64
192×+-commutative_binary64
Counts
334 → 333
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
043715753
1104312970
2376412233
3475612233
4498512233
5499912233
6492412233

prune530.0ms (3.5%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New3294333
Fresh4913
Picked011
Done000
Total33314347
Error
0.1b
Counts
347 → 14
Alt Table
StatusErrorProgram
22.4b
(+.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (*.f64 (neg.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x)))) (cbrt.f64 (tan.f64 x))))
25.5b
(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)))
30.9b
(+.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)))))
21.9b
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.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)))
30.9b
(+.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
(+.f64 (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 (fma.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) eps) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (*.f64 (pow.f64 eps 3) 1/3)))) (*.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))))
21.9b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (pow.f64 (/.f64 (*.f64 (sin.f64 eps) (tan.f64 x)) (cos.f64 eps)) 3))) (fma.f64 (/.f64 (*.f64 (sin.f64 eps) (tan.f64 x)) (cos.f64 eps)) (+.f64 1 (/.f64 (*.f64 (sin.f64 eps) (tan.f64 x)) (cos.f64 eps))) 1) (neg.f64 (tan.f64 x))) 0)
22.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)))))
22.2b
(fma.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))))) (neg.f64 (tan.f64 x)))
30.9b
(+.f64 (/.f64 eps (/.f64 (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 3) eps)) (+.f64 (*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (/.f64 (*.f64 (sin.f64 x) (*.f64 eps eps)) (cos.f64 x))))
22.9b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))))) (cbrt.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
21.9b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (tan.f64 x))
22.9b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps)))) 1) (/.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (-.f64 1 (/.f64 (*.f64 (tan.f64 x) (sin.f64 eps)) (cos.f64 eps)))) (neg.f64 (tan.f64 x)))
22.1b
(/.f64 (-.f64 (*.f64 (cos.f64 x) (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 2) (*.f64 (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (fma.f64 (tan.f64 x) (tan.f64 eps) 1)))))) (*.f64 (sin.f64 x) (*.f64 (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)) (-.f64 1 (fma.f64 (tan.f64 x) (tan.f64 eps) (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 2)))))) (*.f64 (cos.f64 x) (*.f64 (-.f64 1 (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 3)) (-.f64 1 (fma.f64 (tan.f64 x) (tan.f64 eps) (pow.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) 2))))))
Compiler

Compiled 13984 to 4132 computations (70.5% saved)

regimes2.9s (19.2%)

Accuracy

Total 0.2b remaining (64.5%)

Threshold costs 0.2b (64.5%)

Counts
294 → 3
Compiler

Compiled 28365 to 15527 computations (45.3% saved)

bsearch100.0ms (0.7%)

Steps
ItersRangePoint
7
0.00011401522651871665
0.012369311212215586
0.00023084122125612065
10
-60192765.94515767
-6.4651324250179464e-6
-0.00027961796206420387
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify11.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
084309
1122309
2137309
3146309
4151309
5152309
6150309

end446.0ms (3%)

Compiler

Compiled 1130 to 629 computations (44.3% saved)

Profiling

Loading profile data...