Details

Time bar (total: 11.7s)

analyze1.7s (14.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
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
0%99.9%0.1%8
0%99.9%0.1%9
0%99.9%0.1%10
0%99.9%0.1%11
0%99.9%0.1%12
0%99.9%0.1%13
0%99.9%0.1%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample3.8s (32.5%)

Results
1.9s3651×body1024valid
1.0s1221×body2048valid
499.0ms1413×body512valid
185.0ms1379×body128valid
142.0ms590×body256valid
3.0msbody4096valid
Compiler

Compiled 19 to 13 computations (31.6% 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
38.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
38.4b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.6b
(-.f64 (tan.f64 (+.f64 x eps)) (tan.f64 x))
4.3b
(tan.f64 (+.f64 x eps))

series87.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

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

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

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

simplify111.0ms (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 → 93
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02072570
15072289
217872148
349652145
449862145
549432145

prune104.0ms (0.9%)

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
32.8b
(+.f64 (fma.f64 (/.f64 (pow.f64 (sin.f64 eps) 2) (pow.f64 (cos.f64 eps) 2)) x (fma.f64 (/.f64 (sin.f64 eps) (cos.f64 eps)) (*.f64 x x) (/.f64 (sin.f64 eps) (cos.f64 eps)))) (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 eps) 2) (pow.f64 x 3)) (pow.f64 (cos.f64 eps) 2)) (fma.f64 (/.f64 (pow.f64 (sin.f64 eps) 3) (pow.f64 (cos.f64 eps) 3)) (*.f64 x x) (/.f64 (*.f64 (pow.f64 x 3) (pow.f64 (sin.f64 eps) 4)) (pow.f64 (cos.f64 eps) 4)))))
24.5b
(/.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)))
29.1b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
24.4b
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
29.4b
(+.f64 (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (+.f64 (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (*.f64 1/3 (pow.f64 eps 3))) (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 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
29.4b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.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 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 eps (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 1/3 (pow.f64 eps 3)) (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))))))
Compiler

Compiled 2989 to 1255 computations (58% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series354.0ms (3%)

Counts
4 → 96
Calls

4 calls:

245.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
38.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
38.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))
33.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))

rewrite39.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
88×*-un-lft-identity_binary64
67×add-sqr-sqrt_binary64
60×add-cube-cbrt_binary64
57×prod-diff_binary64
49×times-frac_binary64
Counts
4 → 153
Calls

4 calls:

12.0ms
(-.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
5.0ms
(*.f64 (tan.f64 x) (tan.f64 eps))
4.0ms
(+.f64 (tan.f64 x) (tan.f64 eps))
3.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))

simplify281.0ms (2.4%)

Algorithm
egg-herbie
Rules
223×unswap-sqr_binary64
200×distribute-rgt-in_binary64
194×fma-neg_binary64
189×cancel-sign-sub-inv_binary64
185×associate-*l*_binary64
Counts
249 → 232
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03679237
18527571
228627052
345637052
449907052
549907052
648827052

prune283.0ms (2.4%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2239232
Fresh235
Picked101
Done000
Total22612238
Error
0.1b
Counts
238 → 12
Alt Table
StatusErrorProgram
29.1b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
28.8b
(-.f64 (/.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (+.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))
24.4b
(-.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))
24.4b
(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)))
24.8b
(-.f64 (/.f64 (fma.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))) (cbrt.f64 (tan.f64 x)) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
25.3b
(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)))
29.4b
(+.f64 (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (+.f64 (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (*.f64 1/3 (pow.f64 eps 3))) (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 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
24.4b
(+.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)
24.5b
(-.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)))
28.2b
(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)))
29.4b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.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 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 eps (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 1/3 (pow.f64 eps 3)) (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))))))
24.4b
(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 (tan.f64 x)))
Compiler

Compiled 8881 to 3032 computations (65.9% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(+.f64 (tan.f64 x) (tan.f64 eps))
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)))
2.4b
(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)))

series550.0ms (4.7%)

Counts
2 → 48
Calls

2 calls:

473.0ms
(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)))
76.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))

rewrite15.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
41×pow1_binary64
32×tan-quot_binary64
17×frac-times_binary64
17×pow-prod-down_binary64
14×add-cbrt-cube_binary64
Counts
2 → 61
Calls

2 calls:

8.0ms
(*.f64 (*.f64 (tan.f64 x) (tan.f64 eps)) (*.f64 (tan.f64 x) (tan.f64 eps)))
1.0ms
(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)))

simplify124.0ms (1.1%)

Algorithm
egg-herbie
Rules
761×fma-def_binary64
744×associate-/r*_binary64
237×associate-/r/_binary64
224×associate-*r*_binary64
219×associate-*l*_binary64
Counts
109 → 99
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02526615
16756255
224145516
356145516

prune349.0ms (3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2191220
Fresh11011
Picked101
Done000
Total22111232
Error
0.1b
Counts
232 → 11
Alt Table
StatusErrorProgram
29.1b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
28.8b
(-.f64 (/.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (+.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))
24.4b
(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)))
24.8b
(-.f64 (/.f64 (fma.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))) (cbrt.f64 (tan.f64 x)) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
25.3b
(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)))
29.4b
(+.f64 (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (+.f64 (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (*.f64 1/3 (pow.f64 eps 3))) (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 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
24.5b
(-.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)))
28.2b
(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)))
24.4b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x))) 0)
29.4b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.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 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 eps (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 1/3 (pow.f64 eps 3)) (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))))))
24.4b
(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 (tan.f64 x)))
Compiler

Compiled 10457 to 4010 computations (61.7% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps)))
0.2b
(*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))
0.2b
(*.f64 (sin.f64 x) (tan.f64 eps))
2.4b
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x)))

series635.0ms (5.4%)

Counts
4 → 96
Calls

4 calls:

540.0ms
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x)))
46.0ms
(*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps)))
30.0ms
(*.f64 (sin.f64 x) (tan.f64 eps))
18.0ms
(*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
23×add-cbrt-cube_binary64
23×add-exp-log_binary64
23×pow1_binary64
12×cbrt-unprod_binary64
12×prod-exp_binary64
Counts
4 → 79
Calls

4 calls:

7.0ms
(*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps)))
5.0ms
(*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))
4.0ms
(*.f64 (sin.f64 x) (tan.f64 eps))
1.0ms
(fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x)))

simplify186.0ms (1.6%)

Algorithm
egg-herbie
Rules
415×associate-*l*_binary64
375×associate-*r*_binary64
335×unswap-sqr_binary64
236×cancel-sign-sub-inv_binary64
186×*-commutative_binary64
Counts
175 → 174
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03577712
19507092
236107076
349057072
449657072

prune280.0ms (2.4%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1731174
Fresh01010
Picked011
Done000
Total17312185
Error
0.1b
Counts
185 → 12
Alt Table
StatusErrorProgram
29.1b
(*.f64 eps (+.f64 1 (/.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 (cos.f64 x) 2))))
28.8b
(-.f64 (/.f64 (cbrt.f64 (*.f64 (*.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (+.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))
24.4b
(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)))
24.8b
(-.f64 (/.f64 (fma.f64 (*.f64 (cbrt.f64 (tan.f64 x)) (cbrt.f64 (tan.f64 x))) (cbrt.f64 (tan.f64 x)) (tan.f64 eps)) (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 eps)))) (tan.f64 x))
25.3b
(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)))
29.4b
(+.f64 (+.f64 (/.f64 (pow.f64 eps 3) (pow.f64 (/.f64 (cos.f64 x) (sin.f64 x)) 4)) (+.f64 (fma.f64 4/3 (/.f64 (*.f64 (pow.f64 (sin.f64 x) 2) (pow.f64 eps 3)) (pow.f64 (cos.f64 x) 2)) (*.f64 1/3 (pow.f64 eps 3))) (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 (sin.f64 x) (/.f64 (pow.f64 (sin.f64 x) 3) (pow.f64 (cos.f64 x) 2)))))
24.5b
(-.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)))
24.4b
(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 (tan.f64 x)))
25.1b
(+.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x)))) (cbrt.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x))))) (cbrt.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x))))) 0)
28.2b
(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)))
24.4b
(+.f64 (fma.f64 (/.f64 (+.f64 (tan.f64 x) (tan.f64 eps)) (-.f64 1 (/.f64 (*.f64 (*.f64 (sin.f64 x) (sin.f64 eps)) (*.f64 (sin.f64 x) (tan.f64 eps))) (*.f64 (*.f64 (cos.f64 x) (cos.f64 eps)) (cos.f64 x))))) (fma.f64 (tan.f64 x) (tan.f64 eps) 1) (neg.f64 (tan.f64 x))) 0)
29.4b
(+.f64 (/.f64 (*.f64 (pow.f64 eps 2) (sin.f64 x)) (cos.f64 x)) (+.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 3) (pow.f64 (sin.f64 x) 4)) (pow.f64 (cos.f64 x) 4)) (+.f64 eps (+.f64 (/.f64 (*.f64 eps (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)) (+.f64 (*.f64 1/3 (pow.f64 eps 3)) (*.f64 4/3 (/.f64 (*.f64 (pow.f64 eps 3) (pow.f64 (sin.f64 x) 2)) (pow.f64 (cos.f64 x) 2)))))))))
Compiler

Compiled 9622 to 3524 computations (63.4% saved)

regimes2.2s (18.8%)

Accuracy

Total 0.2b remaining (61%)

Threshold costs 0.2b (61%)

Counts
285 → 3
Compiler

Compiled 26748 to 14762 computations (44.8% saved)

bsearch105.0ms (0.9%)

Steps
ItersRangePoint
10
8.28463773366438e-17
0.00014690515572541568
5.9543033066741405e-5
8
-0.0006637061522229891
-3.3852055228738227e-7
-2.3680288234376444e-5
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Rules
16×+-commutative_binary64
14×*-commutative_binary64
10×sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060209
182209
295209
3107209
4121209
5129209
6134209
7136209
8135209

end356.0ms (3%)

Compiler

Compiled 839 to 429 computations (48.9% saved)

Profiling

Loading profile data...