Details

Time bar (total: 7.3s)

analyze1.2s (15.7%)

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)

sample3.0s (40.2%)

Results
1.4s2355×body1024valid
759.0ms4088×body128valid
473.0ms1180×body512valid
178.0ms627×body256valid
29.0ms183×body128invalid
6.0msbody2048valid
1.0msbody1024invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Rules
105×fma-def_binary64
66×fma-neg_binary64
27×cancel-sign-sub-inv_binary64
19×sub-neg_binary64
11×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01119
12414
24814
38114
412214
516814
618714
722914
822614
924414
1024114
1121614

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(+.f64 (neg.f64 (*.f64 x (/.f64 1 (tan.f64 B)))) (/.f64 1 (sin.f64 B)))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
Compiler

Compiled 73 to 53 computations (27.4% 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 1 (sin.f64 B))
0.2b
(/.f64 x (tan.f64 B))

series88.0ms (1.2%)

Counts
3 → 52
Calls

3 calls:

41.0ms
(/.f64 x (tan.f64 B))
41.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 x (tan.f64 B)))
6.0ms
(/.f64 1 (sin.f64 B))

rewrite125.0ms (1.7%)

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

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
119926
2271426
3496526
4496626
000
100

simplify82.0ms (1.1%)

Algorithm
egg-herbie
Rules
610×+-commutative_binary64
500×sub-neg_binary64
422×associate--l+_binary64
420×fma-def_binary64
331×associate-+l+_binary64
Counts
309 → 283
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
063830
1177817
2528799
31983797
44141793
54721793
64945793

prune327.0ms (4.5%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2758283
Fresh101
Picked101
Done000
Total2778285
Error
0b
Counts
285 → 8
Alt Table
StatusErrorProgram
27.4b
(*.f64 (-.f64 (pow.f64 (sin.f64 B) -2) (pow.f64 (/.f64 x (tan.f64 B)) 2)) (/.f64 1 (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
15.6b
(-.f64 (cbrt.f64 (pow.f64 (sin.f64 B) -3)) (/.f64 x (tan.f64 B)))
10.5b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
10.6b
(/.f64 1 (/.f64 (*.f64 (tan.f64 B) (sin.f64 B)) (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B)))))
32.7b
(*.f64 (-.f64 (pow.f64 (sin.f64 B) -3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (/.f64 1 (fma.f64 (/.f64 x (tan.f64 B)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))) (pow.f64 (sin.f64 B) -2))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 8136 to 3095 computations (62% 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.1b
(/.f64 1 (sin.f64 B))
0.2b
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))

series54.0ms (0.7%)

Counts
3 → 35
Calls

3 calls:

26.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
21.0ms
(/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))
7.0ms
(*.f64 x (cos.f64 B))

rewrite143.0ms (1.9%)

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

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
121826
2304326
3520226
000
100

simplify68.0ms (0.9%)

Algorithm
egg-herbie
Rules
504×fma-neg_binary64
445×associate--l+_binary64
428×fma-def_binary64
320×associate-+l+_binary64
257×distribute-rgt-neg-in_binary64
Counts
366 → 358
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
076526
1217514
2656492
32541488
44791484
55040484

prune366.0ms (5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3871388
Fresh167
Picked011
Done000
Total3888396
Error
0b
Counts
396 → 8
Alt Table
StatusErrorProgram
11.3b
(*.f64 (-.f64 (sin.f64 B) (*.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))) (pow.f64 (sin.f64 B) -2))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
15.6b
(-.f64 (cbrt.f64 (pow.f64 (sin.f64 B) -3)) (/.f64 x (tan.f64 B)))
10.5b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
10.6b
(/.f64 1 (/.f64 (*.f64 (tan.f64 B) (sin.f64 B)) (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
32.7b
(*.f64 (-.f64 (pow.f64 (sin.f64 B) -3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (/.f64 1 (fma.f64 (/.f64 x (tan.f64 B)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))) (pow.f64 (sin.f64 B) -2))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 13305 to 4992 computations (62.5% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series122.0ms (1.7%)

Counts
3 → 60
Calls

3 calls:

63.0ms
(*.f64 x (/.f64 1 (tan.f64 B)))
43.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
16.0ms
(/.f64 1 (tan.f64 B))

rewrite123.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
846×prod-diff_binary64
689×fma-udef_binary64
192×expm1-udef_binary64
192×log1p-udef_binary64
144×fma-neg_binary64
Counts
3 → 125
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
121926
2271026
3499226
4453826
5510426
000
100

simplify83.0ms (1.1%)

Algorithm
egg-herbie
Rules
470×cancel-sign-sub-inv_binary64
461×sub-neg_binary64
439×associate--l+_binary64
433×fma-def_binary64
389×fma-neg_binary64
Counts
185 → 153
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
068894
1190879
2573864
32110863
44178859
54760859
65013859

prune152.0ms (2.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1830183
Fresh066
Picked011
Done011
Total1838191
Error
0b
Counts
191 → 8
Alt Table
StatusErrorProgram
11.3b
(*.f64 (-.f64 (sin.f64 B) (*.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))) (pow.f64 (sin.f64 B) -2))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
15.6b
(-.f64 (cbrt.f64 (pow.f64 (sin.f64 B) -3)) (/.f64 x (tan.f64 B)))
10.5b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
10.6b
(/.f64 1 (/.f64 (*.f64 (tan.f64 B) (sin.f64 B)) (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
32.7b
(*.f64 (-.f64 (pow.f64 (sin.f64 B) -3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (/.f64 1 (fma.f64 (/.f64 x (tan.f64 B)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))) (pow.f64 (sin.f64 B) -2))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 3604 to 1836 computations (49.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series180.0ms (2.4%)

Counts
3 → 72
Calls

3 calls:

86.0ms
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
47.0ms
(pow.f64 (/.f64 (tan.f64 B) x) -1)
46.0ms
(/.f64 (tan.f64 B) x)

rewrite133.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
662×prod-diff_binary64
452×fma-udef_binary64
293×fma-def_binary64
214×fma-neg_binary64
210×egg-rr
Counts
3 → 210
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01132
123626
2289126
3481326
4478026
5492626
000
100

simplify90.0ms (1.2%)

Algorithm
egg-herbie
Rules
536×sub-neg_binary64
418×associate--l+_binary64
388×fma-def_binary64
331×associate-+l+_binary64
330×cancel-sign-sub-inv_binary64
Counts
282 → 238
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0751077
12031064
25901046
320991044
443141040
549721040
650821040

prune199.0ms (2.7%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2680268
Fresh055
Picked011
Done022
Total2688276
Error
0b
Counts
276 → 8
Alt Table
StatusErrorProgram
11.3b
(*.f64 (-.f64 (sin.f64 B) (*.f64 (*.f64 x (cos.f64 B)) (sin.f64 B))) (pow.f64 (sin.f64 B) -2))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (pow.f64 (/.f64 (tan.f64 B) x) -1))
15.6b
(-.f64 (cbrt.f64 (pow.f64 (sin.f64 B) -3)) (/.f64 x (tan.f64 B)))
10.5b
(/.f64 (-.f64 (/.f64 (tan.f64 B) x) (sin.f64 B)) (*.f64 (sin.f64 B) (/.f64 (tan.f64 B) x)))
10.6b
(/.f64 1 (/.f64 (*.f64 (tan.f64 B) (sin.f64 B)) (-.f64 (tan.f64 B) (*.f64 x (sin.f64 B)))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (*.f64 x (/.f64 1 (tan.f64 B))))
32.7b
(*.f64 (-.f64 (pow.f64 (sin.f64 B) -3) (pow.f64 (/.f64 x (tan.f64 B)) 3)) (/.f64 1 (fma.f64 (/.f64 x (tan.f64 B)) (+.f64 (/.f64 x (tan.f64 B)) (/.f64 1 (sin.f64 B))) (pow.f64 (sin.f64 B) -2))))
0.2b
(-.f64 (/.f64 1 (sin.f64 B)) (/.f64 (*.f64 x (cos.f64 B)) (sin.f64 B)))
Compiler

Compiled 5881 to 2508 computations (57.4% saved)

regimes667.0ms (9.1%)

Accuracy

Total 0.1b remaining (85.8%)

Threshold costs 0.1b (85.8%)

Counts
203 → 1
Compiler

Compiled 11320 to 7512 computations (33.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

end186.0ms (2.5%)

Compiler

Compiled 163 to 105 computations (35.6% saved)

Profiling

Loading profile data...