Details

Time bar (total: 31.4s)

analyze1.7s (5.4%)

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.9s (15.6%)

Results
2.5s3586×body1024valid
1.3s1276×body2048valid
640.0ms1483×body512valid
254.0ms601×body256valid
212.0ms1310×body128valid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify11.0ms (0%)

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
35.6b
Counts
2 → 1
Alt Table
StatusErrorProgram
35.6b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize7.0ms (0%)

Local error

Found 2 expressions with local error:

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

series77.0ms (0.2%)

Counts
2 → 48
Calls

2 calls:

47.0ms
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
30.0ms
(tan.f64 (+.f64 x eps))

rewrite12.0ms (0%)

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

simplify108.0ms (0.3%)

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

prune105.0ms (0.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New87693
Fresh000
Picked101
Done000
Total88694
Error
0.2b
Counts
94 → 6
Alt Table
StatusErrorProgram
20.7b
(/.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)))))
20.8b
(/.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)))
34.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 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))
20.6b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
33.5b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
34.3b
(+.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)))))
Compiler

Compiled 2915 to 1203 computations (58.7% saved)

localize10.0ms (0%)

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

series607.0ms (1.9%)

Counts
4 → 96
Calls

4 calls:

271.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
236.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
50.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))
49.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))

rewrite128.0ms (0.4%)

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:

26.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
19.0ms
(/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))
9.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
7.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

simplify480.0ms (1.5%)

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

prune584.0ms (1.9%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New23213245
Fresh235
Picked101
Done000
Total23516251
Error
0.1b
Counts
251 → 16
Alt Table
StatusErrorProgram
53.0b
(*.f64 (+.f64 (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (sqrt.f64 (tan.f64 x))) (-.f64 (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (sqrt.f64 (tan.f64 x))))
24.3b
(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)))
20.6b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (*.f64 (tan.f64 x) (*.f64 (cbrt.f64 (tan.f64 eps)) (cbrt.f64 (tan.f64 eps)))) (cbrt.f64 (tan.f64 eps))))) (tan.f64 x))
20.7b
(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)))
33.5b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
44.1b
(fma.f64 (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) 1) (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
20.6b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (tan.f64 x))
34.3b
(+.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.6b
(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)))
21.0b
(+.f64 (fma.f64 1 (/.f64 (+.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))))))
23.0b
(-.f64 (/.f64 (+.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (tan.f64 eps) 3)) (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))) (+.f64 (*.f64 (tan.f64 x) (tan.f64 x)) (-.f64 (*.f64 (tan.f64 eps) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
34.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 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))
20.6b
(+.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)
21.3b
(+.f64 (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 (*.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.0b
(+.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x))))
25.3b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps)))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (/.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
Compiler

Compiled 10009 to 3456 computations (65.5% saved)

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(exp.f64 (tan.f64 x))
0.3b
(pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))
2.1b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (tan.f64 x))
3.4b
(log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))

series9.2s (29.1%)

Counts
4 → 84
Calls

4 calls:

5.5s
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (tan.f64 x))
2.6s
(log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))
966.0ms
(pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))
14.0ms
(exp.f64 (tan.f64 x))

rewrite82.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
183×*-un-lft-identity_binary64
138×add-sqr-sqrt_binary64
97×times-frac_binary64
90×prod-diff_binary64
85×add-cube-cbrt_binary64
Counts
4 → 195
Calls

4 calls:

23.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (tan.f64 x))
5.0ms
(pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))
3.0ms
(log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))
3.0ms
(exp.f64 (tan.f64 x))

simplify515.0ms (1.6%)

Algorithm
egg-herbie
Rules
255×associate-/r/_binary64
224×unswap-sqr_binary64
160×associate-+r+_binary64
156×+-commutative_binary64
154×associate-*r*_binary64
Counts
279 → 254
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
039710716
18888677
229438377
349928377
449298377

prune616.0ms (2%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New2486254
Fresh8715
Picked101
Done000
Total25713270
Error
0.1b
Counts
270 → 13
Alt Table
StatusErrorProgram
20.7b
(fma.f64 (/.f64 1 (*.f64 (cbrt.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (cbrt.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))))) (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cbrt.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (neg.f64 (tan.f64 x)))
23.0b
(-.f64 (/.f64 (+.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (tan.f64 eps) 3)) (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))) (+.f64 (*.f64 (tan.f64 x) (tan.f64 x)) (-.f64 (*.f64 (tan.f64 eps) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
20.8b
(/.f64 (-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x)) (*.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (sin.f64 x))) (*.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (cos.f64 x)))
44.1b
(fma.f64 (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) 1) (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
34.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 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))
34.2b
(+.f64 (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 eps (+.f64 (*.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (fma.f64 1/3 (pow.f64 eps 3) (*.f64 4/3 (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (pow.f64 eps 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))))
24.3b
(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)))
20.6b
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
20.6b
(+.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)
40.0b
(+.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x))))
34.2b
(+.f64 (*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.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.0b
(+.f64 (fma.f64 1 (/.f64 (+.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))))))
25.3b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps)))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (/.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
Compiler

Compiled 10836 to 3453 computations (68.1% saved)

localize39.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(exp.f64 (tan.f64 x))
0.3b
(pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))
2.1b
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
3.4b
(log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))

series5.5s (17.5%)

Counts
1 → 24
Calls

1 calls:

5.5s
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))

rewrite3.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

2.0ms
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))

simplify181.0ms (0.6%)

Algorithm
egg-herbie
Rules
839×associate-/l*_binary64
640×fma-def_binary64
506×associate-/r*_binary64
147×associate-/r/_binary64
136×unswap-sqr_binary64
Counts
34 → 37
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01554906
14194559
215583874
349803874

prune1.4s (4.6%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New3661367
Fresh01212
Picked011
Done000
Total36614380
Error
0.0b
Counts
380 → 14
Alt Table
StatusErrorProgram
20.7b
(fma.f64 (/.f64 1 (*.f64 (cbrt.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (cbrt.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))))) (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cbrt.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (neg.f64 (tan.f64 x)))
23.0b
(-.f64 (/.f64 (+.f64 (pow.f64 (tan.f64 x) 3) (pow.f64 (tan.f64 eps) 3)) (*.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))) (+.f64 (*.f64 (tan.f64 x) (tan.f64 x)) (-.f64 (*.f64 (tan.f64 eps) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))))) (tan.f64 x))
20.8b
(/.f64 (-.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (cos.f64 x)) (*.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (sin.f64 x))) (*.f64 (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (cos.f64 x)))
44.1b
(fma.f64 (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) 1) (/.f64 (sqrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (-.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
34.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 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))
34.2b
(+.f64 (+.f64 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 eps (+.f64 (*.f64 eps (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))) (fma.f64 1/3 (pow.f64 eps 3) (*.f64 4/3 (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)) (pow.f64 eps 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))))
24.3b
(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)))
20.6b
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))
20.6b
(+.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)
21.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))) (cbrt.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x))))) (cbrt.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 (*.f64 1 1) (*.f64 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps))) (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))))) (+.f64 1 (log.f64 (pow.f64 (exp.f64 (tan.f64 x)) (tan.f64 eps)))) (neg.f64 (tan.f64 x)))))
40.0b
(+.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (*.f64 (neg.f64 (sqrt.f64 (tan.f64 x))) (sqrt.f64 (tan.f64 x))))
34.2b
(+.f64 (*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2)))) (*.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.0b
(+.f64 (fma.f64 1 (/.f64 (+.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))))))
25.3b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps)))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (/.f64 (cbrt.f64 (+.f64 (tan.f64 x) (tan.f64 eps))) (sqrt.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps))))) (neg.f64 (tan.f64 x)))
Compiler

Compiled 18267 to 5654 computations (69% saved)

regimes4.4s (14.1%)

Accuracy

Total 0.2b remaining (63.5%)

Threshold costs 0.2b (63.5%)

Counts
294 → 3
Compiler

Compiled 26745 to 14189 computations (46.9% saved)

bsearch138.0ms (0.4%)

Steps
ItersRangePoint
11
5.117691114295571e-21
12798436.935330635
6.61700448350665e-5
9
-0.036312549220129324
-1.4686995083758297e-7
-3.231461580256822e-5
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify11.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
059195
184195
2100195
3109195
4114195
5115195
6114195

end568.0ms (1.8%)

Compiler

Compiled 889 to 448 computations (49.6% saved)

Profiling

Loading profile data...