Details

Time bar (total: 6.7s)

analyze1.1s (17%)

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
12.5%87.4%0.1%6
18.7%81.2%0.1%7
25%73.4%1.7%8
28.1%68.7%3.2%9
31.2%62.8%6%10
32.8%60.1%7.1%11
34.3%56.7%9%12
35.1%55.2%9.7%13
35.9%53.4%10.7%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample2.9s (43.4%)

Results
1.5s2299×body1024valid
684.0ms4191×body128valid
471.0ms1191×body512valid
161.0ms568×body256valid
28.0ms179×body128invalid
7.0msbody2048valid
2.0msbody1024invalid
0.0msbody512invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.2b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
Compiler

Compiled 42 to 33 computations (21.4% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
0.1b
(/.f64 1 (tan.f64 B))
0.2b
(/.f64 1 (sin.f64 B))
0.3b
(*.f64 x (/.f64 1 (tan.f64 B)))

series93.0ms (1.4%)

Counts
4 → 64
Calls

4 calls:

37.0ms
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
36.0ms
(*.f64 x (/.f64 1 (tan.f64 B)))
14.0ms
(/.f64 1 (tan.f64 B))
5.0ms
(/.f64 1 (sin.f64 B))

rewrite71.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
559×log-prod_binary64
394×fma-def_binary64
199×fma-neg_binary64
194×expm1-udef_binary64
194×log1p-udef_binary64
Counts
4 → 182
Calls

4 calls:

67.0ms
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
67.0ms
(/.f64 1 (tan.f64 B))
67.0ms
(/.f64 1 (sin.f64 B))
67.0ms
(*.f64 x (/.f64 1 (tan.f64 B)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01134
124032
2279132
3536832

prune191.0ms (2.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New23610246
Fresh000
Picked101
Done000
Total23710247
Error
0.0b
Counts
247 → 10
Alt Table
StatusErrorProgram
19.3b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (cbrt.f64 (pow.f64 (sin.f64 B) -3)))
29.6b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (+.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 1 (sin.f64 B)))) (cbrt.f64 (exp.f64 (/.f64 1 (sin.f64 B)))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (sin.f64 B)))))))
29.2b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (pow.f64 (pow.f64 (sin.f64 B) -1/2) 2))
30.2b
(+.f64 (neg.f64 (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x)))) (/.f64 1 (sin.f64 B)))
0.2b
(fma.f64 x (/.f64 -1 (tan.f64 B)) (/.f64 1 (sin.f64 B)))
0.1b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
14.0b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (*.f64 (/.f64 1 (cbrt.f64 (sin.f64 B))) (cbrt.f64 (pow.f64 (sin.f64 B) -2))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
29.5b
(+.f64 (neg.f64 (*.f64 x (+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B)))))))) (/.f64 1 (sin.f64 B)))
24.0b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
Compiler

Compiled 4118 to 2072 computations (49.7% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
0.1b
(/.f64 x (tan.f64 B))
0.2b
(/.f64 1 (sin.f64 B))

series79.0ms (1.2%)

Counts
3 → 52
Calls

3 calls:

37.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
37.0ms
(/.f64 x (tan.f64 B))
5.0ms
(/.f64 1 (sin.f64 B))

rewrite123.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
785×prod-diff_binary64
276×fma-def_binary64
254×egg-rr
223×fma-neg_binary64
184×expm1-udef_binary64
Counts
3 → 254
Calls

3 calls:

115.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
115.0ms
(/.f64 x (tan.f64 B))
115.0ms
(/.f64 1 (sin.f64 B))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
119926
2271426
3496526
4496626

prune366.0ms (5.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3033306
Fresh459
Picked101
Done000
Total3088316
Error
0.0b
Counts
316 → 8
Alt Table
StatusErrorProgram
0.2b
(/.f64 (/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B)) (tan.f64 B))
30.2b
(+.f64 (neg.f64 (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x)))) (/.f64 1 (sin.f64 B)))
0.2b
(fma.f64 x (/.f64 -1 (tan.f64 B)) (/.f64 1 (sin.f64 B)))
29.9b
(fma.f64 (sqrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))) (sqrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 x (tan.f64 B)))) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 2) (/.f64 x (tan.f64 B))))
13.2b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
29.5b
(+.f64 (neg.f64 (*.f64 x (+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B)))))))) (/.f64 1 (sin.f64 B)))
24.0b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
Compiler

Compiled 8386 to 3097 computations (63.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
0.1b
(*.f64 x (cos.f64 B))
0.2b
(/.f64 1 (sin.f64 B))
0.2b
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))

series55.0ms (0.8%)

Counts
4 → 39
Calls

4 calls:

24.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
19.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
6.0ms
(*.f64 x (cos.f64 B))
5.0ms
(/.f64 1 (sin.f64 B))

rewrite131.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
911×prod-diff_binary64
351×egg-rr
198×log1p-udef_binary64
111×add-sqr-sqrt_binary64
104×log1p-expm1-u_binary64
Counts
4 → 351
Calls

4 calls:

119.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
119.0ms
(*.f64 x (cos.f64 B))
119.0ms
(/.f64 1 (sin.f64 B))
119.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01037
121832
2304332
3520232

prune355.0ms (5.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3891390
Fresh167
Picked101
Done000
Total3917398
Error
0.0b
Counts
398 → 7
Alt Table
StatusErrorProgram
0.2b
(/.f64 (/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B)) (tan.f64 B))
30.2b
(+.f64 (neg.f64 (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x)))) (/.f64 1 (sin.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
29.9b
(fma.f64 (sqrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))) (sqrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 x (tan.f64 B)))) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 2) (/.f64 x (tan.f64 B))))
13.2b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
29.5b
(+.f64 (neg.f64 (*.f64 x (+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B)))))))) (/.f64 1 (sin.f64 B)))
24.0b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
Compiler

Compiled 13265 to 4903 computations (63% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (cos.f64 B))
0.1b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))

series24.0ms (0.4%)

Counts
2 → 40
Calls

2 calls:

17.0ms
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
6.0ms
(*.f64 x (cos.f64 B))

rewrite72.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
535×prod-diff_binary64
496×log-prod_binary64
174×expm1-udef_binary64
173×log1p-udef_binary64
151×log-pow_binary64
Counts
2 → 106
Calls

2 calls:

67.0ms
(*.f64 x (cos.f64 B))
67.0ms
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
119120
2247420
3532620

prune121.0ms (1.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1460146
Fresh066
Picked011
Done000
Total1467153
Error
0.0b
Counts
153 → 7
Alt Table
StatusErrorProgram
0.2b
(/.f64 (/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (sin.f64 B)) (tan.f64 B))
30.2b
(+.f64 (neg.f64 (/.f64 (sqrt.f64 x) (/.f64 (tan.f64 B) (sqrt.f64 x)))) (/.f64 1 (sin.f64 B)))
0.2b
(/.f64 (-.f64 1 (*.f64 x (cos.f64 B))) (sin.f64 B))
29.9b
(fma.f64 (sqrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))) (sqrt.f64 (-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))) (fma.f64 (neg.f64 (cbrt.f64 (/.f64 x (tan.f64 B)))) (pow.f64 (cbrt.f64 (/.f64 x (tan.f64 B))) 2) (/.f64 x (tan.f64 B))))
13.2b
(/.f64 (-.f64 (tan.f64 B) (*.f64 (sin.f64 B) x)) (*.f64 (sin.f64 B) (tan.f64 B)))
29.5b
(+.f64 (neg.f64 (*.f64 x (+.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (tan.f64 B)))))))) (/.f64 1 (sin.f64 B)))
24.0b
(/.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))))
Compiler

Compiled 4127 to 1635 computations (60.4% saved)

regimes843.0ms (12.5%)

Accuracy

Total 0.1b remaining (83.8%)

Threshold costs 0.1b (83.8%)

Counts
234 → 1
Compiler

Compiled 13462 to 9078 computations (32.6% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11717
22117
32417
42517
52417

end111.0ms (1.6%)

Compiler

Compiled 172 to 108 computations (37.2% saved)

Profiling

Loading profile data...