Details

Time bar (total: 7.6s)

analyze725.0ms (9.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0%14
Compiler

Compiled 17 to 9 computations (47.1% saved)

sample1.7s (23%)

Results
737.0ms1999×body1024valid
496.0ms4676×body128valid
295.0ms1045×body512valid
104.0ms530×body256valid
3.0msbody2048valid
Compiler

Compiled 50 to 26 computations (48% saved)

simplify90.0ms (1.2%)

Algorithm
egg-herbie
Rules
678×unsub-neg_binary64
627×times-frac_binary64
565×div-sub_binary64
547×fma-def_binary64
526×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0824
11922
23022
34722
49422
513722
621122
743722
892822
9171822
10307422
11386122
12444222
13482222

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.3b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (+.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))))
Compiler

Compiled 92 to 45 computations (51.1% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
0.2b
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.2b
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
0.2b
(*.f64 (tan.f64 x) (tan.f64 x))

series95.0ms (1.3%)

Counts
4 → 48
Calls

4 calls:

63.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
14.0ms
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
9.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
9.0ms
(*.f64 (tan.f64 x) (tan.f64 x))

rewrite79.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
872×log1p-expm1-u_binary64
872×expm1-log1p-u_binary64
248×prod-diff_binary64
145×egg-rr
89×add-sqr-sqrt_binary64
Counts
4 → 145
Calls

4 calls:

75.0ms
(fma.f64 (tan.f64 x) (tan.f64 x) 1)
75.0ms
(/.f64 (-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
75.0ms
(-.f64 1 (*.f64 (tan.f64 x) (tan.f64 x)))
75.0ms
(*.f64 (tan.f64 x) (tan.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0844
117644
2219244
3584144

simplify104.0ms (1.4%)

Algorithm
egg-herbie
Rules
669×fma-def_binary64
542×associate-*l*_binary64
461×unswap-sqr_binary64
457×associate-*r*_binary64
342×cancel-sign-sub-inv_binary64
Counts
193 → 178
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046868
1132864
2326858
3936856
43585856
54667856
64878856
74953856

prune374.0ms (4.9%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New16513178
Fresh101
Picked101
Done000
Total16713180
Error
0.0b
Counts
180 → 13
Alt Table
StatusErrorProgram
0.4b
(*.f64 (/.f64 1 (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.7b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2)))) (fma.f64 (neg.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (pow.f64 (tan.f64 x) 2) (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2))))
0.4b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 3))
0.5b
(+.f64 (fma.f64 1 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (neg.f64 (/.f64 (pow.f64 (tan.f64 x) 2) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (fma.f64 (neg.f64 (sqrt.f64 (/.f64 (pow.f64 (tan.f64 x) 2) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (sqrt.f64 (/.f64 (pow.f64 (tan.f64 x) 2) (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (pow.f64 (tan.f64 x) 2) (fma.f64 (tan.f64 x) (tan.f64 x) 1))))
0.4b
(/.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 6)) (+.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) (pow.f64 (tan.f64 x) 4)))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.4b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) (pow.f64 (tan.f64 x) 4))) (-.f64 1 (pow.f64 (tan.f64 x) 6)))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
1.4b
(/.f64 (-.f64 1 (log.f64 (exp.f64 (pow.f64 (tan.f64 x) 2)))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
0.3b
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2))) -1)
0.4b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) 1)
0.7b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))) (fma.f64 (neg.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))))))
0.9b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2))))) (fma.f64 (neg.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)) (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)))))
13.9b
(exp.f64 (-.f64 (log1p.f64 (neg.f64 (pow.f64 (tan.f64 x) 2))) (log1p.f64 (pow.f64 (tan.f64 x) 2))))
0.4b
(/.f64 (-.f64 1 (cbrt.f64 (pow.f64 (tan.f64 x) 6))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
Compiler

Compiled 6733 to 3885 computations (42.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
0.2b
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2))) -1)
0.2b
(-.f64 1 (pow.f64 (tan.f64 x) 2))
0.2b
(pow.f64 (tan.f64 x) 2)

series211.0ms (2.8%)

Counts
4 → 48
Calls

4 calls:

128.0ms
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2))) -1)
63.0ms
(/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
11.0ms
(-.f64 1 (pow.f64 (tan.f64 x) 2))
9.0ms
(pow.f64 (tan.f64 x) 2)

rewrite72.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
472×log-prod_binary64
185×expm1-udef_binary64
184×log1p-udef_binary64
173×pow3_binary64
171×prod-diff_binary64
Counts
4 → 162
Calls

4 calls:

69.0ms
(/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2)))
69.0ms
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (pow.f64 (tan.f64 x) 2))) -1)
69.0ms
(-.f64 1 (pow.f64 (tan.f64 x) 2))
69.0ms
(pow.f64 (tan.f64 x) 2)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01158
123555
2257655
3491155

simplify66.0ms (0.9%)

Algorithm
egg-herbie
Rules
776×fma-def_binary64
652×associate-*l*_binary64
538×associate-*r*_binary64
461×unswap-sqr_binary64
342×cancel-sign-sub-inv_binary64
Counts
210 → 195
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0521029
11431025
23561019
310411017
441301017
550381017

prune426.0ms (5.6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1914195
Fresh6612
Picked101
Done000
Total19810208
Error
0.0b
Counts
208 → 10
Alt Table
StatusErrorProgram
0.7b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2)))) (fma.f64 (neg.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (pow.f64 (tan.f64 x) 2) (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2))))
0.4b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (+.f64 (pow.f64 (tan.f64 x) 2) 1)))) 1)
0.4b
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x)))) -1)
0.4b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 3))
0.3b
(/.f64 (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
0.7b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))) (fma.f64 (neg.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))))))
0.9b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2))))) (fma.f64 (neg.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)) (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)))))
13.9b
(exp.f64 (-.f64 (log1p.f64 (neg.f64 (pow.f64 (tan.f64 x) 2))) (log1p.f64 (pow.f64 (tan.f64 x) 2))))
1.4b
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (+.f64 (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2))))) (log.f64 (sqrt.f64 (exp.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2))))))) -1)
0.4b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) (pow.f64 (tan.f64 x) 4))) (-.f64 1 (pow.f64 (tan.f64 x) 6)))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
Compiler

Compiled 4928 to 3384 computations (31.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2)))
0.2b
(-.f64 1 (pow.f64 (tan.f64 x) 2))
0.2b
(/.f64 (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
0.2b
(pow.f64 (tan.f64 x) 2)

series101.0ms (1.3%)

Counts
2 → 24
Calls

2 calls:

58.0ms
(/.f64 (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
43.0ms
(/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2)))

rewrite64.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
276×prod-diff_binary64
239×fma-def_binary64
204×expm1-udef_binary64
204×log1p-udef_binary64
198×log-div_binary64
Counts
2 → 85
Calls

2 calls:

62.0ms
(/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2)))
62.0ms
(/.f64 (/.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01138
125532
2302432
3509432

simplify85.0ms (1.1%)

Algorithm
egg-herbie
Rules
461×distribute-rgt-neg-in_binary64
404×distribute-lft-neg-in_binary64
382×fma-def_binary64
348×associate-*l*_binary64
333×unswap-sqr_binary64
Counts
109 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037543
198539
2227533
3630531
42411531
54824531
64973531
74936531

prune507.0ms (6.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2302232
Fresh279
Picked101
Done000
Total2339242
Error
0.0b
Counts
242 → 9
Alt Table
StatusErrorProgram
0.4b
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x)))) -1)
0.4b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 3))
0.6b
(*.f64 (/.f64 (/.f64 1 (hypot.f64 1 (tan.f64 x))) (cbrt.f64 (pow.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) -2))) (/.f64 (/.f64 1 (hypot.f64 1 (tan.f64 x))) (/.f64 1 (cbrt.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2))))))
0.4b
(/.f64 (/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 6)) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
0.7b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))) (fma.f64 (neg.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))))))
0.9b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2))))) (fma.f64 (neg.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)) (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)))))
13.9b
(exp.f64 (-.f64 (log1p.f64 (neg.f64 (pow.f64 (tan.f64 x) 2))) (log1p.f64 (pow.f64 (tan.f64 x) 2))))
0.7b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2)))) (fma.f64 (neg.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (pow.f64 (tan.f64 x) 2) (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2))))
0.4b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) (pow.f64 (tan.f64 x) 4))) (-.f64 1 (pow.f64 (tan.f64 x) 6)))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
Compiler

Compiled 6025 to 4444 computations (26.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 6)) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
0.2b
(pow.f64 (tan.f64 x) 2)
0.5b
(pow.f64 (tan.f64 x) 6)
11.0b
(cbrt.f64 (pow.f64 (tan.f64 x) 6))

series86.0ms (1.1%)

Counts
3 → 36
Calls

3 calls:

57.0ms
(/.f64 (/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 6)) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
19.0ms
(pow.f64 (tan.f64 x) 6)
9.0ms
(cbrt.f64 (pow.f64 (tan.f64 x) 6))

rewrite103.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
290×prod-diff_binary64
265×fma-def_binary64
252×fma-udef_binary64
232×expm1-udef_binary64
232×log1p-udef_binary64
Counts
3 → 122
Calls

3 calls:

100.0ms
(/.f64 (/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 6)) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
100.0ms
(pow.f64 (tan.f64 x) 6)
100.0ms
(cbrt.f64 (pow.f64 (tan.f64 x) 6))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01442
131932
2337932
3498232
4489332

simplify66.0ms (0.9%)

Algorithm
egg-herbie
Rules
793×fma-def_binary64
595×times-frac_binary64
473×fma-neg_binary64
412×cancel-sign-sub-inv_binary64
231×*-commutative_binary64
Counts
158 → 149
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
055686
1144684
2348676
31050674
43776650
54861650
65000650

prune375.0ms (4.9%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1890189
Fresh088
Picked011
Done000
Total1899198
Error
0.0b
Counts
198 → 9
Alt Table
StatusErrorProgram
0.4b
(pow.f64 (/.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1) (-.f64 1 (/.f64 (*.f64 (sin.f64 x) (tan.f64 x)) (cos.f64 x)))) -1)
0.4b
(cbrt.f64 (pow.f64 (/.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 3))
0.6b
(*.f64 (/.f64 (/.f64 1 (hypot.f64 1 (tan.f64 x))) (cbrt.f64 (pow.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2)) -2))) (/.f64 (/.f64 1 (hypot.f64 1 (tan.f64 x))) (/.f64 1 (cbrt.f64 (-.f64 1 (pow.f64 (tan.f64 x) 2))))))
0.4b
(/.f64 (/.f64 1 (+.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 6)) 1)) (/.f64 1 (-.f64 1 (pow.f64 (tan.f64 x) 2))))
0.7b
(+.f64 (fma.f64 (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (sqrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))))) (fma.f64 (neg.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (*.f64 (/.f64 (pow.f64 (cbrt.f64 (tan.f64 x)) 2) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (cbrt.f64 (pow.f64 (tan.f64 x) 4)) (sqrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))))))
0.9b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2))))) (fma.f64 (neg.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)) (*.f64 (/.f64 (tan.f64 x) (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (/.f64 (tan.f64 x) (pow.f64 (cbrt.f64 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) 2)))))
13.9b
(exp.f64 (-.f64 (log1p.f64 (neg.f64 (pow.f64 (tan.f64 x) 2))) (log1p.f64 (pow.f64 (tan.f64 x) 2))))
0.7b
(+.f64 (fma.f64 (*.f64 (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)))) (cbrt.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (neg.f64 (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2)))) (fma.f64 (neg.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1))) (pow.f64 (tan.f64 x) 2) (*.f64 (/.f64 1 (fma.f64 (tan.f64 x) (tan.f64 x) 1)) (pow.f64 (tan.f64 x) 2))))
0.4b
(/.f64 (/.f64 1 (/.f64 (+.f64 1 (+.f64 (pow.f64 (tan.f64 x) 2) (pow.f64 (tan.f64 x) 4))) (-.f64 1 (pow.f64 (tan.f64 x) 6)))) (fma.f64 (tan.f64 x) (tan.f64 x) 1))
Compiler

Compiled 4755 to 3356 computations (29.4% saved)

regimes1.9s (25.6%)

Accuracy

Total 0.2b remaining (70.4%)

Threshold costs 0.2b (70.4%)

Counts
431 → 1
Compiler

Compiled 39794 to 29438 computations (26% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
11622
22222
32622
42822
52722

end238.0ms (3.1%)

Compiler

Compiled 440 to 271 computations (38.4% saved)

Profiling

Loading profile data...